แชร์ผ่าน


az cdn

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 GA
az cdn custom-domain create

Create a new custom domain within an endpoint.

Core GA
az cdn custom-domain delete

Delete an existing custom domain within an endpoint.

Core GA
az cdn custom-domain disable-https

Disable https delivery of the custom domain.

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

List all of the existing custom domains within an endpoint.

Core GA
az cdn custom-domain show

Get an existing custom domain within an endpoint.

Core GA
az cdn custom-domain update

Update a new custom domain within an endpoint.

Core GA
az cdn custom-domain wait

Place the CLI in a waiting state until a condition is met.

Core GA
az cdn edge-node

View all available CDN edge nodes.

Core 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 endpoint

Manage CDN endpoints.

Core 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 delete

Delete an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.

Core GA
az cdn endpoint list

List existing CDN endpoints.

Core GA
az cdn endpoint load

Pre-loads a content to CDN. Available for Verizon Profiles.

Core 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 purge

Removes a content from CDN.

Core GA
az cdn endpoint rule

Manage delivery rules for an endpoint.

Core Preview
az cdn endpoint rule action

Manage delivery rule actions for an endpoint.

Core Preview
az cdn endpoint rule action add

Add an action to a delivery rule.

Core Preview
az cdn endpoint rule action remove

Remove an action from a delivery rule.

Core Preview
az cdn endpoint rule action show

Show delivery rules asscociate with the endpoint.

Core Preview
az cdn endpoint rule add

Add a delivery rule to a CDN endpoint.

Core Preview
az cdn endpoint rule condition

Manage delivery rule conditions for an endpoint.

Core Preview
az cdn endpoint rule condition add

Add a condition to a delivery rule.

Core Preview
az cdn endpoint rule condition remove

Remove a condition from a delivery rule.

Core Preview
az cdn endpoint rule condition show

Show delivery rules associate with the endpoint.

Core Preview
az cdn endpoint rule remove

Remove a delivery rule from an endpoint.

Core Preview
az cdn endpoint rule show

Show delivery rules associate with the endpoint.

Core 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 start

Starts an existing CDN endpoint that is on a stopped state.

Core GA
az cdn endpoint stop

Stops an existing running CDN endpoint.

Core 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 validate-custom-domain

Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.

Core GA
az cdn endpoint wait

Place the CLI in a waiting state until a condition is met.

Core 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 origin

List or show existing origins related to CDN endpoints.

Core GA
az cdn origin-group

Manage origin groups of an endpoint.

Core GA
az cdn origin-group create

Create a new origin group within the specified endpoint.

Core GA
az cdn origin-group delete

Delete an existing origin group within an endpoint.

Core GA
az cdn origin-group list

List all of the existing origin groups within an endpoint.

Core GA
az cdn origin-group show

Get an existing origin group within an endpoint.

Core GA
az cdn origin-group update

Update a new origin group within the specified endpoint.

Core GA
az cdn origin-group wait

Place the CLI in a waiting state until a condition is met.

Core GA
az cdn origin create

Create a new origin within the specified endpoint.

Core GA
az cdn origin delete

Delete an existing origin within an endpoint.

Core GA
az cdn origin list

List all of the existing origins within an endpoint.

Core GA
az cdn origin show

Get an existing origin within an endpoint.

Core GA
az cdn origin update

Update a new origin within the specified endpoint.

Core GA
az cdn origin wait

Place the CLI in a waiting state until a condition is met.

Core GA
az cdn profile Core GA
az cdn profile-migration

Classic cdn profile migration operations.

Core Preview
az cdn profile-migration abort

Abort the migration to Azure Frontdoor Premium/Standard.

Core 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 commit

Commit the migrated Azure Frontdoor(Standard/Premium) profile.

Core 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 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 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 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 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 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 usage

Check the quota and actual usage of the CDN profiles under the given subscription.

Core 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
                   [--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

--name

The resource name to validate.

Optional Parameters

--type

The type of the resource whose name is to be validated.

Accepted values: Microsoft.Cdn/Profiles/AfdEndpoints, Microsoft.Cdn/Profiles/Endpoints
Default value: Microsoft.Cdn/Profiles/Endpoints
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 cdn usage

Check the quota and actual usage of the CDN profiles under the given subscription.

az cdn usage [--max-items]
             [--next-token]

Optional Parameters

--max-items

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.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

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.