Share via


az ams account

Manage Azure Media Services accounts.

Commands

Name Description Type Status
az ams account check-name

Checks whether the Media Service resource name is available.

Core GA
az ams account create

Create an Azure Media Services account.

Core GA
az ams account delete

Delete an Azure Media Services account.

Core GA
az ams account encryption

Manage encryption for an Azure Media Services account.

Core GA
az ams account encryption set

Set the encryption settings for an Azure Media Services account.

Core GA
az ams account encryption show

Show the details of encryption settings for an Azure Media Services account.

Core GA
az ams account identity

Manage managed identity settings for an Azure Media Services account.

Core GA
az ams account identity assign

Assign a managed identity to an Azure Media Services account.

Core GA
az ams account identity remove

Remove a managed identity to an Azure Media Services account.

Core GA
az ams account identity show

Show the details of managed identity settings for an Azure Media Services account.

Core GA
az ams account list

List Azure Media Services accounts for the entire subscription.

Core GA
az ams account mru

Manage media reserved units for an Azure Media Services account. This doesn't work with accounts created with 2020-05-01 version of the Media Services API or later. Accounts created this way no longer need to set media reserved units as the system will automaticaly scale up and down based on load.

Core GA
az ams account mru set

Set the type and number of media reserved units for an Azure Media Services account. This doesn't work with accounts created with 2020-05-01 version of the Media Services API or later. Accounts created this way no longer need to set media reserved units as the system will automaticaly scale up and down based on load.

Core GA
az ams account mru show

Show the details of media reserved units for an Azure Media Services account. This doesn't work with accounts created with 2020-05-01 version of the Media Services API or later. Accounts created this way no longer need to set media reserved units as the system will automaticaly scale up and down based on load.

Core GA
az ams account show

Show the details of an Azure Media Services account.

Core GA
az ams account sp

Manage service principal and role based access for an Azure Media Services account.

Core GA
az ams account sp create

Create or update a service principal and configure its access to an Azure Media Services account.

Core GA
az ams account sp reset-credentials

Generate a new client secret for a service principal configured for an Azure Media Services account.

Core GA
az ams account storage

Manage storage for an Azure Media Services account.

Core GA
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 update

Update the details of an Azure Media Services account.

Core GA

az ams account check-name

Checks whether the Media Service resource name is available.

az ams account check-name --name
                          [--location]

Required Parameters

--name -n

The name of the Azure Media Services account.

Optional Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

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 create

Create an Azure Media Services account.

az ams account create --name
                      --resource-group
                      --storage-account
                      [--default-action]
                      [--disable-public-network]
                      [--ip-allow-list]
                      [--location]
                      [--mi-system-assigned {false, true}]
                      [--mi-user-assigned]
                      [--tags]

Required Parameters

--name -n

The name of the resource.

--resource-group -g

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

--storage-account

The name or resource ID of the primary storage account to attach to the Azure Media Services account. The storage account MUST be in the same Azure subscription as the Media Services account. It is strongly recommended that the storage account be in the same resource group as the Media Services account. Blob only accounts are not allowed as primary.

Optional Parameters

--default-action

The behavior for IP access control in Key Delivery. Allowed values: Allow,Deny.

--disable-public-network

Set this flag to disable public network access for resources under the Media Services account. If not set public network access will be enabled.

Default value: False
--ip-allow-list

The IP allow list for access control in Key Delivery. If the default action is set to Allow, the IP allow list must be empty.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--mi-system-assigned

Set the system managed identity on the media services account.

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

Set the user managed identities on the media services account.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

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 delete

Delete an Azure Media Services account.

az ams account delete [--ids]
                      [--name]
                      [--resource-group]
                      [--subscription]

Optional Parameters

--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 of the resource.

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

List Azure Media Services accounts for the entire subscription.

az ams account list [--resource-group]

Optional Parameters

--resource-group -g

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

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 show

Show the details of an Azure Media Services account.

az ams account show [--ids]
                    [--name]
                    [--resource-group]
                    [--subscription]

Optional Parameters

--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 of the resource.

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

Update the details of an Azure Media Services account.

az ams account update [--add]
                      [--force-string]
                      [--ids]
                      [--name]
                      [--remove]
                      [--resource-group]
                      [--set]
                      [--subscription]
                      [--tags]

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

Default value: []
--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Default value: False
--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 of the resource.

--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

Default value: []
--resource-group -g

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

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

Default value: []
--subscription

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

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

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.