The Azure Table Storage コネクタはベータ版です。 詳しくは、 ソースの概要 ベータ版のコネクタの使用に関する詳細は、を参照してください。
ベース接続は、ソースと Adobe Experience Platform 間の認証済み接続を表します。
このチュートリアルでは、Flow Service API を使用して、Azure Table Storage のベース接続を作成する手順を説明します。
このガイドでは、Adobe Experience Platform の次のコンポーネントに関する十分な知識が必要です。
次の節では、に正常に接続するために知っておく必要がある追加情報を示します。 Azure Table Storage の使用 Flow Service API.
Flow Service を Azure Table Storage に接続するには、次の接続プロパティの値を指定する必要があります。
資格情報 | 説明 |
---|---|
connectionString |
接続に使用する接続文字列 Azure Table Storage インスタンス。 次の接続文字列パターン: Azure Table Storage 次に該当: DefaultEndpointsProtocol=https;AccountName={ACCOUNT_NAME};AccountKey={ACCOUNT_KEY} . |
connectionSpec.id |
接続仕様は、ベース接続とソース接続の作成に関連する認証仕様などの、ソースのコネクタプロパティを返します。の接続仕様 ID Azure Table Storage 次に該当 ecde33f2-c56f-46cc-bdea-ad151c16cd69 . |
接続文字列の取得について詳しくは、 この Azure Table Storage 文書.
Platform API への呼び出しを正常に実行する方法について詳しくは、Platform API の概要を参照してください。
ベース接続は、ソースと Platform 間の情報(ソースの認証資格情報、現在の接続状態、固有のベース接続 ID など)を保持します。ベース接続 ID により、ソース内からファイルを参照および移動し、データタイプやフォーマットに関する情報を含む、取り込みたい特定の項目を識別することができます。
ベース接続 ID を作成するには、/connections
エンドポイントに POST リクエストを実行し、Azure Table Storage 認証資格情報をリクエストパラメーターの一部として使用します。
API 形式
POST /connections
リクエスト
次のリクエストは、Azure Table Storage のベース接続を作成します。
curl -X POST \
'https://platform.adobe.io/data/foundation/flowservice/connections' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {ORG_ID}' \
-H 'x-sandbox-name: {SANDBOX_NAME}' \
-H 'Content-Type: application/json' \
-d '{
"name": "Azure Table Storage connection",
"description": "Azure Table Storage connection",
"auth": {
"specName": "Connection String Based Authentication",
"params": {
"connectionString": "DefaultEndpointsProtocol=https;AccountName={ACCOUNT_NAME};AccountKey={ACCOUNT_KEY}"
}
},
"connectionSpec": {
"id": "ecde33f2-c56f-46cc-bdea-ad151c16cd69",
"version": "1.0"
}
}'
パラメーター | 説明 |
---|---|
auth.params.connectionString |
接続に使用する接続文字列 Azure Table Storage インスタンス。 次の接続文字列パターン: Azure Table Storage 次に該当: DefaultEndpointsProtocol=https;AccountName={ACCOUNT_NAME};AccountKey={ACCOUNT_KEY} . |
connectionSpec.id |
The Azure Table Storage 接続仕様 ID: ecde33f2-c56f-46cc-bdea-ad151c16cd69 . |
応答
リクエストが成功した場合は、一意の ID(id
)を含む、新しく作成した接続の詳細が返されます。この ID は、次のチュートリアルでデータを調べるために必要です。
{
"id": "82abddb3-d59a-436c-abdd-b3d59a436c21",
"etag": "\"7d00fde3-0000-0200-0000-5e84d9430000\""
}
このチュートリアルでは、Flow Service API を使用して Azure Table Storage ベース接続を作成しました。このベース接続 ID は、次のチュートリアルで使用できます。