StorageSchemaPut – Media API – MediaKind

StorageSchemaPut

object

spec

object Required

The specification of the storage instance.


Discriminated by type. Select one variant:

Microsoft.Storage

object
AzureStorageSpecCreate

The credential for the Azure Storage Account

SAS Token for Azure Storage Account, including leading ?

Optional settings for a Private Link. Set it to null to remove the Private Link.


A message passed to the owner of the remote resource with this connection request.
This field cannot be modified, only set during creation.

The name of the resource group containing the storage account
This field cannot be modified, only set during creation.

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.

The ID of the Azure subscription containing the storage account
This field cannot be modified, only set during creation.

The type of storage.
This field cannot be modified, only set during creation.

Allowed values: Microsoft.Storage, AWS.S3, Google.Storage

HTTP(S) URL required for access to the storage.
This field cannot be modified, only set during creation.


AWS.S3

object
AWSStorageSpecCreate

The name of the AWS S3 bucket.
This field cannot be modified, only set during creation.

The credential for the AWS S3 bucket. Required at creation.

The access key ID for the bucket.

The secret access key for the bucket.

Description of the storage.

The type of storage.
This field cannot be modified, only set during creation.

Allowed values: Microsoft.Storage, AWS.S3, Google.Storage


Google.Storage

object
GoogleStorageSpecCreate

The name of the Google Storage bucket.
This field cannot be modified, only set during creation.

The credential for the Google Storage bucket. Required at creation.

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.

Description of the storage.

The type of storage.
This field cannot be modified, only set during creation.

Allowed values: Microsoft.Storage, AWS.S3, Google.Storage