az ams account

Manage Azure Media Services accounts.

Commands

az ams account check-name

Checks whether the Media Service resource name is available.

az ams account create

Create an Azure Media Services account.

az ams account delete

Delete an Azure Media Services account.

az ams account encryption

Manage encryption for an Azure Media Services account.

az ams account encryption set

Set the encryption settings for an Azure Media Services account.

az ams account encryption show

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

az ams account identity

Manage managed identity settings for an Azure Media Services account.

az ams account identity assign

Assign a managed identity to an Azure Media Services account.

az ams account identity remove

Remove a managed identity to an Azure Media Services account.

az ams account identity show

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

az ams account list

List Azure Media Services accounts for the entire subscription.

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.

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.

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.

az ams account show

Show the details of an Azure Media Services account.

az ams account sp

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

az ams account sp create

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

az ams account sp reset-credentials

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

az ams account storage

Manage storage for an Azure Media Services account.

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 update

Update the details of an Azure Media Services account.

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

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.

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

az ams account delete

Delete an Azure Media Services account.

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

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

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

az ams account show

Show the details of an Azure Media Services account.

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

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

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

--force-string

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

--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 OR --remove propertyToRemove.

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

--tags

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