az cdn profile

Manage CDN profiles to define an edge network.

Commands

az cdn profile create Create a new CDN profile.
az cdn profile delete Delete a CDN profile.
az cdn profile list List CDN profiles.
az cdn profile show Gets a CDN profile with the specified profile name under the specified subscription and resource group.
az cdn profile update Update a CDN profile.
az cdn profile usage Checks the quota and actual usage of endpoints under the given CDN profile.

az cdn profile create

Create a new CDN profile.

az cdn profile create --name
--resource-group
[--location]
[--sku {Custom_Verizon, Premium_Verizon, Standard_Akamai, Standard_ChinaCdn, Standard_Verizon}]
[--tags]

Examples

Create a CDN profile using Verizon premium CDN.

az cdn profile create -g group -n profile --sku Premium_Verizon

Required Parameters

--name -n
Name of the CDN profile which is unique within the resource group.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

Optional Parameters

--location -l
Location. You can configure the default location using `az configure --defaults location=<location>`.
--sku
The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. Defaults to Standard_Akamai.
accepted values: Custom_Verizon, Premium_Verizon, Standard_Akamai, Standard_ChinaCdn, Standard_Verizon
default value: Standard_Akamai
--tags
Space separated tags in 'key[=value]' format. Use "" to clear existing tags.

az cdn profile delete

Delete a CDN profile.

az cdn profile delete --name
--resource-group

Examples

Delete a CDN profile.

az cdn profile create -g group -n profile

Required Parameters

--name -n
Name of the CDN profile which is unique within the resource group.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

az cdn profile list

List CDN profiles.

az cdn profile list [--resource-group]

Examples

List CDN profiles in a resource group.

az cdn profile list -g group

Optional Parameters

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

az cdn profile show

Gets a CDN profile with the specified profile name under the specified subscription and resource group.

az cdn profile show --name
--resource-group

Required Parameters

--name -n
Name of the CDN profile which is unique within the resource group.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

az cdn profile update

Update a CDN profile.

az cdn profile update --name
--resource-group
[--add]
[--remove]
[--set]
[--tags]

Required Parameters

--name -n
Name of the CDN profile which is unique within the resource group.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.

Optional Parameters

--add
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .
--remove
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
--set
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
--tags
Space separated tags in 'key[=value]' format. Use "" to clear existing tags.

az cdn profile usage

Checks the quota and actual usage of endpoints under the given CDN profile.

az cdn profile usage --name
--resource-group

Required Parameters

--name -n
Name of the CDN profile which is unique within the resource group.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.