Dijeli putem


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

--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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--system-assigned

Set the system managed identity on the storage account.

Accepted values: false, true
Default value: False
--user-assigned

Set the user managed identity on the storage account.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--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.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--system-assigned

Set the system managed identity on the storage account.

Accepted values: false, true
Default value: False
--user-assigned

Set the user managed identity on the storage account.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.