az ams account storage
Manage storage for an Azure Media Services account.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ams account storage add |
Attach a secondary storage to an Azure Media Services account. |
Core | GA |
az ams account storage remove |
Detach a secondary storage from an Azure Media Services account. |
Core | GA |
az ams account storage set-authentication |
Set the authentication of a storage account attached to an Azure Media Services account. |
Core | GA |
az ams account storage sync-storage-keys |
Synchronize storage account keys for a storage account associated with an Azure Media Services account. |
Core | GA |
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]
[--subscription]
[--system-assigned {false, true}]
[--user-assigned]
Optional Parameters
The name of the Azure Media Services account.
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.
The name or resource ID of the secondary storage account to detach from the Azure Media Services account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Set the system managed identity on the storage account.
Set the user managed identity on the storage account.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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]
[--subscription]
Optional Parameters
The name of the Azure Media Services account.
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.
The name or resource ID of the secondary storage account to detach from the Azure Media Services account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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]
[--subscription]
[--system-assigned {false, true}]
[--user-assigned]
Required Parameters
The type of authentication for the storage account associated with the media services account.
Optional Parameters
The name of the Azure Media Services account.
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 of resource group. You can configure the default group using az configure --defaults group=<name>
.
The storage account Id.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Set the system managed identity on the storage account.
Set the user managed identity on the storage account.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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]
[--subscription]
Required Parameters
The storage account Id.
Optional Parameters
The name of the Azure Media Services account.
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 of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.