az cdn
Note
This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.
Manage Azure Content Delivery Networks (CDNs).
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az cdn custom-domain |
Manage Azure CDN Custom Domains to provide custom host names for endpoints. |
Core and Extension | GA |
| az cdn custom-domain create |
Create a new custom domain within an endpoint. |
Core | GA |
| az cdn custom-domain create (cdn extension) |
Create a new custom domain within an endpoint. |
Extension | GA |
| az cdn custom-domain delete |
Delete an existing custom domain within an endpoint. |
Core | GA |
| az cdn custom-domain delete (cdn extension) |
Delete an existing custom domain within an endpoint. |
Extension | GA |
| az cdn custom-domain disable-https |
Disable https delivery of the custom domain. |
Core | GA |
| az cdn custom-domain disable-https (cdn extension) |
Disable https delivery of the custom domain. |
Extension | GA |
| az cdn custom-domain enable-https |
Enable HTTPS for a custom domain. The resource name of the custom domain could be obtained using "az cdn custom-domain list". |
Core | GA |
| az cdn custom-domain enable-https (cdn extension) |
Enable HTTPS for a custom domain. The resource name of the custom domain could be obtained using "az cdn custom-domain list". |
Extension | GA |
| az cdn custom-domain list |
List all of the existing custom domains within an endpoint. |
Core | GA |
| az cdn custom-domain list (cdn extension) |
List all of the existing custom domains within an endpoint. |
Extension | GA |
| az cdn custom-domain show |
Get an existing custom domain within an endpoint. |
Core | GA |
| az cdn custom-domain show (cdn extension) |
Get an existing custom domain within an endpoint. |
Extension | GA |
| az cdn custom-domain update |
Update a new custom domain within an endpoint. |
Core | GA |
| az cdn custom-domain update (cdn extension) |
Update a new custom domain within an endpoint. |
Extension | GA |
| az cdn custom-domain wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
| az cdn custom-domain wait (cdn extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
| az cdn edge-node |
View all available CDN edge nodes. |
Core and Extension | GA |
| az cdn edge-node list |
List are the global Point of Presence (POP) locations used to deliver CDN content to end users. |
Core | GA |
| az cdn edge-node list (cdn extension) |
List are the global Point of Presence (POP) locations used to deliver CDN content to end users. |
Extension | GA |
| az cdn endpoint |
Manage CDN endpoints. |
Core and Extension | GA |
| az cdn endpoint create |
Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. |
Core | GA |
| az cdn endpoint create (cdn extension) |
Create a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. |
Extension | GA |
| az cdn endpoint delete |
Delete an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. |
Core | GA |
| az cdn endpoint delete (cdn extension) |
Delete an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. |
Extension | GA |
| az cdn endpoint list |
List existing CDN endpoints. |
Core | GA |
| az cdn endpoint list (cdn extension) |
List existing CDN endpoints. |
Extension | GA |
| az cdn endpoint load |
Pre-loads a content to CDN. Available for Verizon Profiles. |
Core | GA |
| az cdn endpoint load (cdn extension) |
Pre-loads a content to CDN. Available for Verizon Profiles. |
Extension | GA |
| az cdn endpoint name-exists |
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. |
Core | GA |
| az cdn endpoint name-exists (cdn extension) |
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. |
Extension | GA |
| az cdn endpoint purge |
Removes a content from CDN. |
Core | GA |
| az cdn endpoint purge (cdn extension) |
Removes a content from CDN. |
Extension | GA |
| az cdn endpoint rule |
Manage delivery rules for an endpoint. |
Core and Extension | Preview |
| az cdn endpoint rule action |
Manage delivery rule actions for an endpoint. |
Core and Extension | Preview |
| az cdn endpoint rule action add |
Add an action to a delivery rule. |
Core | Preview |
| az cdn endpoint rule action add (cdn extension) |
Add an action to a delivery rule. |
Extension | Preview |
| az cdn endpoint rule action remove |
Remove an action from a delivery rule. |
Core | Preview |
| az cdn endpoint rule action remove (cdn extension) |
Remove an action from a delivery rule. |
Extension | Preview |
| az cdn endpoint rule action show |
Show delivery rules asscociate with the endpoint. |
Core | Preview |
| az cdn endpoint rule action show (cdn extension) |
Show delivery rules asscociate with the endpoint. |
Extension | Preview |
| az cdn endpoint rule add |
Add a delivery rule to a CDN endpoint. |
Core | Preview |
| az cdn endpoint rule add (cdn extension) |
Add a delivery rule to a CDN endpoint. |
Extension | Preview |
| az cdn endpoint rule condition |
Manage delivery rule conditions for an endpoint. |
Core and Extension | Preview |
| az cdn endpoint rule condition add |
Add a condition to a delivery rule. |
Core | Preview |
| az cdn endpoint rule condition add (cdn extension) |
Add a condition to a delivery rule. |
Extension | Preview |
| az cdn endpoint rule condition remove |
Remove a condition from a delivery rule. |
Core | Preview |
| az cdn endpoint rule condition remove (cdn extension) |
Remove a condition from a delivery rule. |
Extension | Preview |
| az cdn endpoint rule condition show |
Show delivery rules associate with the endpoint. |
Core | Preview |
| az cdn endpoint rule condition show (cdn extension) |
Show delivery rules associate with the endpoint. |
Extension | Preview |
| az cdn endpoint rule remove |
Remove a delivery rule from an endpoint. |
Core | Preview |
| az cdn endpoint rule remove (cdn extension) |
Remove a delivery rule from an endpoint. |
Extension | Preview |
| az cdn endpoint rule show |
Show delivery rules associate with the endpoint. |
Core | Preview |
| az cdn endpoint rule show (cdn extension) |
Show delivery rules associate with the endpoint. |
Extension | Preview |
| az cdn endpoint show |
Get an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. |
Core | GA |
| az cdn endpoint show (cdn extension) |
Get an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. |
Extension | GA |
| az cdn endpoint start |
Starts an existing CDN endpoint that is on a stopped state. |
Core | GA |
| az cdn endpoint start (cdn extension) |
Starts an existing CDN endpoint that is on a stopped state. |
Extension | GA |
| az cdn endpoint stop |
Stops an existing running CDN endpoint. |
Core | GA |
| az cdn endpoint stop (cdn extension) |
Stops an existing running CDN endpoint. |
Extension | GA |
| az cdn endpoint update |
Update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation. |
Core | GA |
| az cdn endpoint update (cdn extension) |
Update an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation. |
Extension | GA |
| az cdn endpoint validate-custom-domain |
Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. |
Core | GA |
| az cdn endpoint validate-custom-domain (cdn extension) |
Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. |
Extension | GA |
| az cdn endpoint wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
| az cdn endpoint wait (cdn extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
| az cdn name-exists |
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. |
Core | GA |
| az cdn name-exists (cdn extension) |
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. |
Extension | GA |
| az cdn origin |
List or show existing origins related to CDN endpoints. |
Core and Extension | GA |
| az cdn origin-group |
Manage origin groups of an endpoint. |
Core and Extension | GA |
| az cdn origin-group create |
Create a new origin group within the specified endpoint. |
Core | GA |
| az cdn origin-group create (cdn extension) |
Create a new origin group within the specified endpoint. |
Extension | GA |
| az cdn origin-group delete |
Delete an existing origin group within an endpoint. |
Core | GA |
| az cdn origin-group delete (cdn extension) |
Delete an existing origin group within an endpoint. |
Extension | GA |
| az cdn origin-group list |
List all of the existing origin groups within an endpoint. |
Core | GA |
| az cdn origin-group list (cdn extension) |
List all of the existing origin groups within an endpoint. |
Extension | GA |
| az cdn origin-group show |
Get an existing origin group within an endpoint. |
Core | GA |
| az cdn origin-group show (cdn extension) |
Get an existing origin group within an endpoint. |
Extension | GA |
| az cdn origin-group update |
Update a new origin group within the specified endpoint. |
Core | GA |
| az cdn origin-group update (cdn extension) |
Update a new origin group within the specified endpoint. |
Extension | GA |
| az cdn origin-group wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
| az cdn origin-group wait (cdn extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
| az cdn origin create |
Create a new origin within the specified endpoint. |
Core | GA |
| az cdn origin create (cdn extension) |
Create a new origin within the specified endpoint. |
Extension | GA |
| az cdn origin delete |
Delete an existing origin within an endpoint. |
Core | GA |
| az cdn origin delete (cdn extension) |
Delete an existing origin within an endpoint. |
Extension | GA |
| az cdn origin list |
List all of the existing origins within an endpoint. |
Core | GA |
| az cdn origin list (cdn extension) |
List all of the existing origins within an endpoint. |
Extension | GA |
| az cdn origin show |
Get an existing origin within an endpoint. |
Core | GA |
| az cdn origin show (cdn extension) |
Get an existing origin within an endpoint. |
Extension | GA |
| az cdn origin update |
Update a new origin within the specified endpoint. |
Core | GA |
| az cdn origin update (cdn extension) |
Update a new origin within the specified endpoint. |
Extension | GA |
| az cdn origin wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
| az cdn origin wait (cdn extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
| az cdn profile |
Manage Profile. |
Core and Extension | GA |
| az cdn profile-migration |
Classic cdn profile migration operations. |
Core and Extension | Preview |
| az cdn profile-migration abort |
Abort the migration to Azure Frontdoor Premium/Standard. |
Core | Preview |
| az cdn profile-migration abort (cdn extension) |
Abort the migration to Azure Frontdoor Premium/Standard. |
Extension | Preview |
| az cdn profile-migration check-compatibility |
Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. |
Core | Preview |
| az cdn profile-migration check-compatibility (cdn extension) |
Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile. |
Extension | Preview |
| az cdn profile-migration commit |
Commit the migrated Azure Frontdoor(Standard/Premium) profile. |
Core | Preview |
| az cdn profile-migration commit (cdn extension) |
Commit the migrated Azure Frontdoor(Standard/Premium) profile. |
Extension | Preview |
| az cdn profile-migration migrate |
Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration. |
Core | Preview |
| az cdn profile-migration migrate (cdn extension) |
Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration. |
Extension | Preview |
| az cdn profile create |
Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group. |
Core | GA |
| az cdn profile create (cdn extension) |
Create a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group. |
Extension | GA |
| az cdn profile delete |
Delete an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains. |
Core | GA |
| az cdn profile delete (cdn extension) |
Delete an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains. |
Extension | GA |
| az cdn profile deployment-version |
Manage Deployment Version. |
Core and Extension | GA |
| az cdn profile deployment-version approve |
Approve the deployment of the version. |
Core | GA |
| az cdn profile deployment-version approve (cdn extension) |
Approve the deployment of the version. |
Extension | GA |
| az cdn profile deployment-version compare |
Compare the deployment version to another deployment version. |
Core | GA |
| az cdn profile deployment-version compare (cdn extension) |
Compare the deployment version to another deployment version. |
Extension | GA |
| az cdn profile deployment-version list |
List existing deployment versions by profile. |
Core | GA |
| az cdn profile deployment-version list (cdn extension) |
List existing deployment versions by profile. |
Extension | GA |
| az cdn profile deployment-version show |
Get an existing DeploymentVersion with the specified version name under the specified subscription, resource group and profile. |
Core | GA |
| az cdn profile deployment-version show (cdn extension) |
Get an existing DeploymentVersion with the specified version name under the specified subscription, resource group and profile. |
Extension | GA |
| az cdn profile deployment-version update |
Update an existing DeploymentVersion within a profile. |
Core | GA |
| az cdn profile deployment-version update (cdn extension) |
Update an existing DeploymentVersion within a profile. |
Extension | GA |
| az cdn profile list |
List all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription. |
Core | GA |
| az cdn profile list (cdn extension) |
List all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription. |
Extension | GA |
| az cdn profile show |
Get an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. |
Core | GA |
| az cdn profile show (cdn extension) |
Get an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group. |
Extension | GA |
| az cdn profile update |
Update a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group. |
Core | GA |
| az cdn profile update (cdn extension) |
Update a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group. |
Extension | GA |
| az cdn usage |
Check the quota and actual usage of the CDN profiles under the given subscription. |
Core | GA |
| az cdn usage (cdn extension) |
Check the quota and actual usage of the CDN profiles under the given subscription. |
Extension | GA |
az cdn name-exists
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
az cdn name-exists --name
[--acquire-policy-token]
[--change-reference]
[--type {Microsoft.Cdn/Profiles/AfdEndpoints, Microsoft.Cdn/Profiles/Endpoints}]
Examples
Check whether the resource name contoso is available or not.
az cdn name-exists --name contoso
Required Parameters
The resource name to validate.
| Property | Value |
|---|---|
| Parameter group: | CheckNameAvailabilityInput Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The type of the resource whose name is to be validated.
| Property | Value |
|---|---|
| Parameter group: | CheckNameAvailabilityInput Arguments |
| Default value: | Microsoft.Cdn/Profiles/Endpoints |
| Accepted values: | Microsoft.Cdn/Profiles/AfdEndpoints, Microsoft.Cdn/Profiles/Endpoints |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az cdn name-exists (cdn extension)
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
az cdn name-exists --name
[--acquire-policy-token]
[--change-reference]
[--type {Microsoft.Cdn/Profiles/AfdEndpoints, Microsoft.Cdn/Profiles/Endpoints}]
Examples
Check whether the resource name contoso is available or not.
az cdn name-exists --name contoso
Required Parameters
The resource name to validate.
| Property | Value |
|---|---|
| Parameter group: | CheckNameAvailabilityInput Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The type of the resource whose name is to be validated.
| Property | Value |
|---|---|
| Parameter group: | CheckNameAvailabilityInput Arguments |
| Default value: | Microsoft.Cdn/Profiles/Endpoints |
| Accepted values: | Microsoft.Cdn/Profiles/AfdEndpoints, Microsoft.Cdn/Profiles/Endpoints |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az cdn usage
Check the quota and actual usage of the CDN profiles under the given subscription.
az cdn usage [--acquire-policy-token]
[--change-reference]
[--max-items]
[--next-token]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az cdn usage (cdn extension)
Check the quota and actual usage of the CDN profiles under the given subscription.
az cdn usage [--acquire-policy-token]
[--change-reference]
[--max-items]
[--next-token]
Examples
ResourceUsage_List
az cdn usage
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |