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

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}}
リクエスト・ボディ
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。

レスポンス

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

成功レスポンス。

codeinteger

レスポンスコード。

値の例: 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"
}
Ctrl I