Skip to main content

Create a bucket for a cloud provider

POST /account/{accountId}/providers/cloudmanager_cbs/api/v1/object-storage

Creates a bucket for the specified cloud provider.

Parameters

Name Type In Required Description

account-id

string

query

False

Account ID for the AWS provider

project-id

string

query

False

Project ID for the Google Cloud provider

resource-group

string

query

False

Resource group for the Azure provider

subscription

string

query

False

Subscription for the Azure provider

credential-id

string

query

False

Credential ID for the SGWS or ONTAP S3 provider

accountId

string

path

True

Account ID

job-id

string

header

True

Job ID for the create bucket operation

authorization

string

header

True

Authorization token

X-Agent-Id

string

header

True

Agent ID

Request Body

Name Type Required Description

provider

string

True

Cloud provider

region

string

True

Region

object-lock

string

True

Object lock mode

object-store-name

string

True

Object store name

tags

array[tags]

False

aws

aws

False

azure

azure

False

gcp

gcp

False

sgws

sgws

False

ontap-s3

ontap-s3

False

Example request
{
  "provider": "string",
  "region": "string",
  "object-lock": "string",
  "object-store-name": "string",
  "tags": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "aws": {
    "account-id": "string",
    "kms-key-id": "string",
    "private-endpoint": {
      "id": "string"
    },
    "archive-storage-class": "string"
  },
  "azure": {
    "resource-group": "string",
    "storage-account": "string",
    "subscription": "string",
    "private-endpoint": {
      "subnet": "string"
    },
    "key-vault": {
      "key-vault-id": "string",
      "key-name": "string"
    }
  },
  "gcp": {
    "project-id": "string",
    "kms": {
      "key-ring-id": "string",
      "crypto-key-id": "string"
    }
  },
  "sgws": {
    "credential-id": "string"
  },
  "ontap-s3": {
    "credential-id": "string"
  }
}

Response

Status: 202, Default response

Definitions

See Definitions

tags

Name Type Required Description

key

string

True

Tag key

value

string

True

Tag value

private-endpoint

Name Type Required Description

id

string

True

AWS private endpoint ID

aws

Name Type Required Description

account-id

string

True

AWS account ID

kms-key-id

string

False

AWS KMS key ID

private-endpoint

private-endpoint

False

archive-storage-class

string

False

AWS archive storage class

private-endpoint

Name Type Required Description

subnet

string

True

Azure private endpoint subnet

key-vault

Name Type Required Description

key-vault-id

string

True

Azure Key Vault ID

key-name

string

True

Azure Key Vault key name

azure

Name Type Required Description

resource-group

string

True

Azure resource group

storage-account

string

True

Azure storage account

subscription

string

True

Azure subscription

private-endpoint

private-endpoint

False

key-vault

key-vault

False

kms

Name Type Required Description

key-ring-id

string

True

Google Cloud KMS key ring ID

crypto-key-id

string

True

Google Cloud KMS crypto key ID

gcp

Name Type Required Description

project-id

string

True

Google Cloud project ID

kms

kms

False

sgws

Name Type Required Description

credential-id

string

True

ontap-s3

Name Type Required Description

credential-id

string

True

body

Name Type Required Description

provider

string

True

Cloud provider

region

string

True

Region

object-lock

string

True

Object lock mode

object-store-name

string

True

Object store name

tags

array[tags]

False

aws

aws

False

azure

azure

False

gcp

gcp

False

sgws

sgws

False

ontap-s3

ontap-s3

False