az network front-door frontend-endpoint

Note

This reference is part of the front-door extension for the Azure CLI (version 2.0.68 or higher). The extension will automatically install the first time you run an az network front-door frontend-endpoint command. Learn more about extensions.

Manage Front Door frontend endpoints.

Commands

az network front-door frontend-endpoint create

Create a Front Door frontend endpoint.

az network front-door frontend-endpoint delete

Delete a Front Door frontend endpoint.

az network front-door frontend-endpoint disable-https

Disable HTTPS protocol for a custom domain.

az network front-door frontend-endpoint enable-https

Enable HTTPS protocol for a custom domain.

az network front-door frontend-endpoint list

List Front Door frontend endpoints.

az network front-door frontend-endpoint show

Get the details of a Front Door frontend endpoint.

az network front-door frontend-endpoint wait

Place the CLI in a waiting state until a condition of the Front Door frontend endpoint is met.

az network front-door frontend-endpoint create

Create a Front Door frontend endpoint.

az network front-door frontend-endpoint create --front-door-name
                                               --host-name
                                               --name
                                               --resource-group
                                               [--session-affinity-enabled {Disabled, Enabled}]
                                               [--session-affinity-ttl]
                                               [--waf-policy]

Required Parameters

--front-door-name -f

Name of the Front Door.

--host-name

Domain name of the frontend endpoint.

--name -n

Name of the frontend endpoint.

--resource-group -g

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

Optional Parameters

--session-affinity-enabled

Whether to allow session affinity on this host.

accepted values: Disabled, Enabled
--session-affinity-ttl

The TTL to use in seconds for session affinity.

--waf-policy

Name or ID of a web application firewall policy.

az network front-door frontend-endpoint delete

Delete a Front Door frontend endpoint.

az network front-door frontend-endpoint delete --front-door-name
                                               --name
                                               --resource-group

Required Parameters

--front-door-name -f

Name of the Front Door.

--name -n

Name of the frontend endpoint.

--resource-group -g

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

az network front-door frontend-endpoint disable-https

Disable HTTPS protocol for a custom domain.

az network front-door frontend-endpoint disable-https --front-door-name
                                                      --name
                                                      --resource-group

Required Parameters

--front-door-name -f

Name of the Front Door.

--name -n

Name of the frontend endpoint.

--resource-group -g

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

az network front-door frontend-endpoint enable-https

Enable HTTPS protocol for a custom domain.

HTTPS protocol for a custom domain can be enabled using Front Door managed certificate or using your own certificate in Azure Key Vault. For Azure Key Vault, right permissions need to be set for Front Door to access the Key vault. Learn more at https://aka.ms/FrontDoorCustomDomain.

az network front-door frontend-endpoint enable-https --front-door-name
                                                     --name
                                                     --resource-group
                                                     [--certificate-source {AzureKeyVault, FrontDoor}]
                                                     [--minimum-tls-version {1.0, 1.2}]
                                                     [--secret-name]
                                                     [--secret-version]
                                                     [--vault-id]

Required Parameters

--front-door-name -f

Name of the Front Door.

--name -n

Name of the frontend endpoint.

--resource-group -g

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

Optional Parameters

--certificate-source

Certificate source to enable HTTPS.

accepted values: AzureKeyVault, FrontDoor
default value: FrontDoor
--minimum-tls-version

The minimum TLS version required from the clients to establish an SSL handshake with Front Door.

accepted values: 1.0, 1.2
default value: 1.2
--secret-name

The name of the Key Vault secret representing the full certificate PFX.

--secret-version

The version of the Key Vault secret representing the full certificate PFX, the "Latest" version will always be used if not specified and your certificate will be auto-rotated when a new version of secret generated.

--vault-id

The resource id of the Key Vault containing the SSL certificate.

az network front-door frontend-endpoint list

List Front Door frontend endpoints.

az network front-door frontend-endpoint list --front-door-name
                                             --resource-group

Required Parameters

--front-door-name -f

Name of the Front Door.

--resource-group -g

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

az network front-door frontend-endpoint show

Get the details of a Front Door frontend endpoint.

az network front-door frontend-endpoint show --front-door-name
                                             --name
                                             --resource-group

Required Parameters

--front-door-name -f

Name of the Front Door.

--name -n

Name of the frontend endpoint.

--resource-group -g

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

az network front-door frontend-endpoint wait

Place the CLI in a waiting state until a condition of the Front Door frontend endpoint is met.

az network front-door frontend-endpoint wait --front-door-name
                                             --name
                                             --resource-group
                                             [--created]
                                             [--custom]
                                             [--deleted]
                                             [--exists]
                                             [--interval]
                                             [--timeout]
                                             [--updated]

Examples

Wait until a front endpoint's certificate is deployed.

az network front-door frontend-endpoint wait -g MyResourceGroup --name endpoint1 --front-door-name frontdoor1 --custom "customHttpsProvisioningState=='Enabled'"

Required Parameters

--front-door-name -f

Name of the Front Door.

--name -n

Name of the frontend endpoint.

--resource-group -g

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

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

--exists

Wait until the resource exists.

--interval

Polling interval in seconds.

default value: 30
--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.