Skip to main content

front_doors

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

Overview

Namefront_doors
TypeResource
Idazure.front_door.front_doors

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
backend_poolstextfield from the properties object
backend_pools_settingstextfield from the properties object
cnametextfield from the properties object
enabled_statetextfield from the properties object
extended_propertiestextfield from the properties object
friendly_nametextfield from the properties object
frontDoorNametextfield from the properties object
frontdoor_idtextfield from the properties object
frontend_endpointstextfield from the properties object
health_probe_settingstextfield from the properties object
load_balancing_settingstextfield from the properties object
locationtextResource location.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_statetextfield from the properties object
routing_rulestextfield from the properties object
rules_enginestextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfrontDoorName, resourceGroupName, subscriptionIdGets a Front Door with the specified Front Door name under the specified subscription and resource group.
listSELECTsubscriptionIdLists all of the Front Doors within an Azure subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all of the Front Doors within a resource group under a subscription.
create_or_updateINSERTfrontDoorName, resourceGroupName, subscriptionIdCreates a new Front Door with a Front Door name under the specified subscription and resource group.
deleteDELETEfrontDoorName, resourceGroupName, subscriptionIdDeletes an existing Front Door with the specified parameters.
validate_custom_domainEXECfrontDoorName, resourceGroupName, subscriptionId, data__hostNameValidates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.

SELECT examples

Lists all of the Front Doors within an Azure subscription.

SELECT
id,
name,
backend_pools,
backend_pools_settings,
cname,
enabled_state,
extended_properties,
friendly_name,
frontDoorName,
frontdoor_id,
frontend_endpoints,
health_probe_settings,
load_balancing_settings,
location,
provisioning_state,
resourceGroupName,
resource_state,
routing_rules,
rules_engines,
subscriptionId,
tags,
type
FROM azure.front_door.vw_front_doors
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new front_doors resource.

/*+ create */
INSERT INTO azure.front_door.front_doors (
frontDoorName,
resourceGroupName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ frontDoorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified front_doors resource.

/*+ delete */
DELETE FROM azure.front_door.front_doors
WHERE frontDoorName = '{{ frontDoorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';