メインコンテンツまでスキップ

Storage Integration を作成します (V2)

この操作では、指定された認証情報が対象の bucket または container にアクセスできることを検証した後、bucket storage integration を作成します。

POST/v2/storageIntegrations
接続エンドポイント

https://api.cloud.zilliz.com

shell
export BASE_URL="https://api.cloud.zilliz.com"
パラメータ
Authorizationstringheader必要

認証トークンは、適切な権限を持つ API key である必要があります。

値の例: Bearer {{TOKEN}}
リクエスト・ボディ

AWS ストレージ統合を作成するためのリクエストボディです。projectId、name、regionId、bucketName を指定します。

projectIdstring必要

プロジェクトの ID。

namestring必要

storage integration の名前。

descriptionstring

storage integration の説明。

regionIdstring必要

リージョンの ID。サーバーはこのフィールドを使用して cloud provider を導出します。

bucketNamestring必要

bucket、container、または storage の名前。Azure Blob Storage の場合、これは container 名です。

externalCredobject

provider 固有の認証情報フィールド。

roleArnstring

AWS IAM role の ARN。

externalIdstring

AWS role の引き受けに使用する external ID。

accountNamestring

Azure ストレージアカウント名。

clientIdstring

Azure フェデレーション ID クライアント ID。

tenantIdstring

Azure テナント ID。

gcpProjectIdstring

顧客の GCP プロジェクト ID。

serviceAccountEmailstring

バケットへのアクセスを許可する、顧客が作成した GCP サービスアカウントのメールアドレス。

レスポンス

作成された storage integration を返します。

成功レスポンス。

codeinteger<int32>

レスポンスコード。

値の例: 0
dataobject

作成された storage integration を返します。

integrationIdstring

storage integration の ID。

namestring

storage integration の名前。

失敗レスポンス。

codeinteger

レスポンスコード。

値の例: 1800
messagestring

エラーメッセージ。

値の例: User hasn't authenticated
Failurejson
{
"code": 1800,
"message": "User hasn't authenticated"
}