跳到主要内容

Validate cloud storage Validates the cloud storage setting.

POST 

/bv/configurations/v1/cloud-storages:validate

Notice: The /bv/configurations/v1/cloud-storages:validate will be deprecated soon. Please use /bv/configuration/v1/cloud-storages:validate instead.

Request

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Body

required
    cloud_storage objectrequired
    name stringrequired

    Required. The display name of cloud storage.

    type string

    Possible values: [CLOUD_STORAGE_TYPE_AWS]

    Immutable. The type of cloud storage.

    aws_storage object
    bucket_name stringrequired

    Required. AWS name of s3 bucket.

    path stringrequired

    Required. AWS path of s3 bucket.

    region stringrequired

    Required. AWS region of s3 bucket.

    user_role_arn stringrequired

    Required. The user AWS role arn.

    external_id stringrequired

    Required. AWS external id for policy. You need to get external id from GetTrustPolicyInfo API.

Responses

A successful response.

Schema

    object

Loading...