StorageSchemaPut

object
specobjectRequired
The specification of the storage instance.
Show 3 variantsHide 3 variants

Discriminated by type. Select one variant:

Microsoft.StorageobjectAzureStorageSpecCreate
credentialobjectAzureCredentialCreateOptional
The credential for the Azure Storage Account
Show 1 propertyHide 1 property
sasTokenstringRequiredpattern: ^\?([a-z]+=[^&]+)(&[a-z]+=[^&]+)+$
SAS Token for Azure Storage Account, including leading ?
descriptionstring or nullOptional
Description of the storage.
privateLinkServiceConnectionobject or nullPrivateLinkServiceConnectionNullableOptional
Optional settings for a Private Link. Set it to null to remove the Private Link.
Show 4 propertiesHide 4 properties
requestMessagestringRequired0-140 characters
A message passed to the owner of the remote resource with this connection request. This field cannot be modified, only set during creation.
resourceGroupNamestringRequired1-90 characters
The name of the resource group containing the storage account This field cannot be modified, only set during creation.
storageAccountNamestringRequired3-24 characters
The name of the storage account. The full Azure ID would be '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}' This field cannot be modified, only set during creation.
subscriptionIdstringRequiredformat: uuid
The ID of the Azure subscription containing the storage account This field cannot be modified, only set during creation.
typeenumRequired
The type of storage. This field cannot be modified, only set during creation.
Allowed values:Microsoft.StorageAWS.S3Google.Storage
urlstringRequired
HTTP(S) URL required for access to the storage. This field cannot be modified, only set during creation.
AWS.S3objectAWSStorageSpecCreate
bucketNamestringRequiredpattern: ^(?!.*\.\.)[a-z0-9][-a-z0-9.]{1,61}[a-z0-9]$
The name of the AWS S3 bucket. This field cannot be modified, only set during creation.
credentialobjectAWSCredentialOptional
The credential for the AWS S3 bucket. Required at creation.
Show 2 propertiesHide 2 properties
accessKeyIdstringRequiredpattern: ^A[KS]IA[0-9A-Z]{16}$
The access key ID for the bucket.
secretAccessKeystringRequiredpattern: ^[A-Za-z0-9+/=]{40}$
The secret access key for the bucket.
descriptionstring or nullOptional
Description of the storage.
typeenumRequired
The type of storage. This field cannot be modified, only set during creation.
Allowed values:Microsoft.StorageAWS.S3Google.Storage
Google.StorageobjectGoogleStorageSpecCreate
bucketNamestringRequired2-256 characters
The name of the Google Storage bucket. This field cannot be modified, only set during creation.
credentialobjectGoogleCredentialOptional
The credential for the Google Storage bucket. Required at creation.
Show 1 propertyHide 1 property
gacmap from strings to stringRequired
Google Application Credentials in JSON format.
You can generate this from the command line with gcloud iam service-accounts keys create key.json --iam-account=<service_account>@<project>.iam.gserviceaccount.com
Or download it from the GCP console.
Show value schemaHide value schema
[any key]string
descriptionstring or nullOptional
Description of the storage.
typeenumRequired
The type of storage. This field cannot be modified, only set during creation.
Allowed values:Microsoft.StorageAWS.S3Google.Storage