az ams account storage

Manage storage for an Azure Media Services account.

Commands

az ams account storage add

Attach a secondary storage to an Azure Media Services account.

az ams account storage remove

Detach a secondary storage from an Azure Media Services account.

az ams account storage set-authentication

Set the authentication of a storage account attached to an Azure Media Services account.

az ams account storage sync-storage-keys

Synchronize storage account keys for a storage account associated with an Azure Media Services account.

az ams account storage add

Attach a secondary storage to an Azure Media Services account.

az ams account storage add [--account-name]
                           [--ids]
                           [--name]
                           [--resource-group]
                           [--system-assigned {false, true}]
                           [--user-assigned]

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name or resource ID of the secondary storage account to detach from the Azure Media Services account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--system-assigned

Set the system managed identity on the storage account.

accepted values: false, true
--user-assigned

Set the user managed identity on the storage account.

az ams account storage remove

Detach a secondary storage from an Azure Media Services account.

az ams account storage remove [--account-name]
                              [--ids]
                              [--name]
                              [--resource-group]

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name or resource ID of the secondary storage account to detach from the Azure Media Services account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az ams account storage set-authentication

Set the authentication of a storage account attached to an Azure Media Services account.

az ams account storage set-authentication --storage-auth {ManagedIdentity, System}
                                          [--account-name]
                                          [--ids]
                                          [--resource-group]
                                          [--storage-account-id]
                                          [--system-assigned {false, true}]
                                          [--user-assigned]

Required Parameters

--storage-auth

The type of authentication for the storage account associated with the media services account.

accepted values: ManagedIdentity, System

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--storage-account-id

The storage account Id.

--system-assigned

Set the system managed identity on the storage account.

accepted values: false, true
--user-assigned

Set the user managed identity on the storage account.

az ams account storage sync-storage-keys

Synchronize storage account keys for a storage account associated with an Azure Media Services account.

az ams account storage sync-storage-keys --storage-account-id
                                         [--account-name]
                                         [--ids]
                                         [--resource-group]

Required Parameters

--storage-account-id

The storage account Id.

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.