# StorageSchemaPatch

## object

## spec
objectOptional

The specification of the storage instance.

### Discriminated by `type`. Select one variant:

- Microsoft.Storage  object  [AzureStorageSpecPatch](https://docs.mediakind.com/api-reference/media-api/schemas/azurestoragespecpatch)

- **description**: string or null Optional
    - Description of the storage.

- **privateLinkServiceConnection**: object or null  [PrivateLinkServiceConnectionNullable](https://docs.mediakind.com/api-reference/media-api/schemas/privatelinkserviceconnectionnullable) Optional
    - Optional settings for a Private Link. Set it to null to remove the Private Link.

#### Show 4 properties

- **requestMessage**: string Required 0-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.

- **resourceGroupName**: string Required 1-90 characters
      - The name of the resource group containing the storage account. This field cannot be modified, only set during creation.

- **storageAccountName**: string Required 3-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.

- **subscriptionId**: string Required format: uuid
      - The ID of the Azure subscription containing the storage account. This field cannot be modified, only set during creation.

- **type**: enum Optional
      - The type of storage. This field cannot be modified, only set during creation.  
        - Allowed values: Microsoft.Storage, AWS.S3, Google.Storage

- AWS.S3  object  [AWSStorageSpecPatch](https://docs.mediakind.com/api-reference/media-api/schemas/awsstoragespecpatch)

- **description**: string or null Optional
    - Description of the storage.

- Google.Storage  object  [GoogleStorageSpecPatch](https://docs.mediakind.com/api-reference/media-api/schemas/googlestoragespecpatch)

- **description**: string or null Optional
    - Description of the storage.
