Skip to main content

frontend_endpoints

Creates, updates, deletes, gets or lists a frontend_endpoints resource.

Overview

Namefrontend_endpoints
TypeResource
Idazure.front_door.frontend_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
customHttpsConfigurationobjectThe configuration specifying how to enable HTTPS.
customHttpsProvisioningStatestringProvisioning status of Custom Https of the frontendEndpoint. Known values are: "Enabling", "Enabled", "Disabling", "Disabled", and "Failed". (Enabling, Enabled, Disabling, Disabled, Failed)
customHttpsProvisioningSubstatestringProvisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. Known values are: "SubmittingDomainControlValidationRequest", "PendingDomainControlValidationREquestApproval", "DomainControlValidationRequestApproved", "DomainControlValidationRequestRejected", "DomainControlValidationRequestTimedOut", "IssuingCertificate", "DeployingCertificate", "CertificateDeployed", "DeletingCertificate", and "CertificateDeleted". (SubmittingDomainControlValidationRequest, PendingDomainControlValidationREquestApproval, DomainControlValidationRequestApproved, DomainControlValidationRequestRejected, DomainControlValidationRequestTimedOut, IssuingCertificate, DeployingCertificate, CertificateDeployed, DeletingCertificate, CertificateDeleted)
hostNamestringThe host name of the frontendEndpoint. Must be a domain name.
resourceStatestringResource status of the Front Door or Front Door SubResource. Known values are: "Creating", "Enabling", "Enabled", "Disabling", "Disabled", "Deleting", "Migrating", and "Migrated". (Creating, Enabling, Enabled, Disabling, Disabled, Deleting, Migrating, Migrated)
sessionAffinityEnabledStatestringWhether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
sessionAffinityTtlSecondsintegerUNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.
typestringResource type.
webApplicationFirewallPolicyLinkobjectDefines the Web Application Firewall policy for each host (if applicable).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, front_door_name, frontend_endpoint_name, subscription_idGets a Frontend endpoint with the specified name within the specified Front Door.
list_by_front_doorselectresource_group_name, front_door_name, subscription_idLists all of the frontend endpoints within a Front Door.
enable_httpsexecresource_group_name, front_door_name, frontend_endpoint_name, subscription_id, certificateSource, protocolType, minimumTlsVersionEnables a frontendEndpoint for HTTPS traffic.
disable_httpsexecresource_group_name, front_door_name, frontend_endpoint_name, subscription_idDisables a frontendEndpoint for HTTPS traffic.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
front_door_namestringName of the Front Door which is globally unique. Required.
frontend_endpoint_namestringName of the Frontend endpoint which is unique within the Front Door. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets a Frontend endpoint with the specified name within the specified Front Door.

SELECT
id,
name,
customHttpsConfiguration,
customHttpsProvisioningState,
customHttpsProvisioningSubstate,
hostName,
resourceState,
sessionAffinityEnabledState,
sessionAffinityTtlSeconds,
type,
webApplicationFirewallPolicyLink
FROM azure.front_door.frontend_endpoints
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND front_door_name = '{{ front_door_name }}' -- required
AND frontend_endpoint_name = '{{ frontend_endpoint_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Enables a frontendEndpoint for HTTPS traffic.

EXEC azure.front_door.frontend_endpoints.enable_https 
@resource_group_name='{{ resource_group_name }}' --required,
@front_door_name='{{ front_door_name }}' --required,
@frontend_endpoint_name='{{ frontend_endpoint_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"certificateSource": "{{ certificateSource }}",
"protocolType": "{{ protocolType }}",
"minimumTlsVersion": "{{ minimumTlsVersion }}",
"keyVaultCertificateSourceParameters": "{{ keyVaultCertificateSourceParameters }}",
"frontDoorCertificateSourceParameters": "{{ frontDoorCertificateSourceParameters }}"
}'
;