Snowflake エンドポイント
要約
以下は、Account Credential サービスが提供する、 Snowflake Vendor 固有の API の一覧である。
エンドポイント
POST api/v1/credentials/snowflake/user
このAPIは、新しい Snowflake クレデンシャルを作成するために使用される
リクエスト例
{
"organization_id": "12345",
"account_id": "123456789012",
"provider_info": {
"region": "us-west-2",
"cost_report_spec": {
"org": "apptio",
"account": "prod1",
"db": "cldy_poc_db",
"schema": "cldy_poc_db.public",
"user": "cldy_poc_user"
}
}
}
回答例
UUID:
b07e9611-12cf-4c37-b30b-1ccb35b89299
PUT api/v1/credentials/snowflake/user/{id}
このAPIは、与えられたIDでクレデンシャルを更新するために使用される
リクエスト例
{
"organization_id": "12345",
"account_id": "123456789012",
"provider_info": {
"region": "us-west-2",
"cost_report_spec": {
"org": "apptio",
"account": "prod1",
"db": "cldy_poc_db",
"schema": "cldy_poc_db.public",
"user": "cldy_poc_user"
}
}
}
GET api/v1/credentials/snowflake/user/{id}
このAPIは、クレデンシャルの詳細を取得するために使用される。
GET api/v1/credentials/snowflake/user/template/{id}
このAPIはテンプレートの詳細を取得するために使用される。
POST api/v1/credentials/{id}/verification
このAPIは検証目的で使用される。
DELETE
api/v1/credentials/vendors/Snowflake/organizations/<org_id>/accounts/<account_id>
このAPIはアカウントの削除に使用される。
GET api/v1/credentials/accounts/trees?organizationId=<org_id>&vendorId=137
このAPIは、すべてのアカウント詳細を取得するために使用される(Tree API)。
GET api/v1/credentials/accounts/trees?organizationId=<org_id>&vendorId=137
このAPIはパーミッションリストを取得するために使用される。
POST
api/v1/credentials/vendors/Snowflake/organizations/<org_id>/accounts/<account_id>/archive
このAPIは、 Snowflake アカウントをアーカイブするために使用される。