front_doors
Creates, updates, deletes, gets or lists a front_doors
resource.
Overview
Name | front_doors |
Type | Resource |
Id | azure.front_door.front_doors |
Fields
- vw_front_doors
- front_doors
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
backend_pools | text | field from the properties object |
backend_pools_settings | text | field from the properties object |
cname | text | field from the properties object |
enabled_state | text | field from the properties object |
extended_properties | text | field from the properties object |
friendly_name | text | field from the properties object |
frontDoorName | text | field from the properties object |
frontdoor_id | text | field from the properties object |
frontend_endpoints | text | field from the properties object |
health_probe_settings | text | field from the properties object |
load_balancing_settings | text | field from the properties object |
location | text | Resource location. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_state | text | field from the properties object |
routing_rules | text | field from the properties object |
rules_engines | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
location | string | Resource location. |
properties | object | The JSON object that contains the properties required to create an endpoint. |
tags | object | Resource tags. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | frontDoorName, resourceGroupName, subscriptionId | Gets a Front Door with the specified Front Door name under the specified subscription and resource group. |
list | SELECT | subscriptionId | Lists all of the Front Doors within an Azure subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all of the Front Doors within a resource group under a subscription. |
create_or_update | INSERT | frontDoorName, resourceGroupName, subscriptionId | Creates a new Front Door with a Front Door name under the specified subscription and resource group. |
delete | DELETE | frontDoorName, resourceGroupName, subscriptionId | Deletes an existing Front Door with the specified parameters. |
validate_custom_domain | EXEC | frontDoorName, resourceGroupName, subscriptionId, data__hostName | Validates 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.
- vw_front_doors
- front_doors
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 }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.front_door.front_doors
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new front_doors
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.front_door.front_doors (
frontDoorName,
resourceGroupName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ frontDoorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: friendlyName
value: string
- name: routingRules
value:
- - name: properties
value:
- name: frontendEndpoints
value:
- - name: id
value: string
- name: acceptedProtocols
value:
- string
- name: patternsToMatch
value:
- string
- name: enabledState
value: string
- name: routeConfiguration
value:
- name: '@odata.type'
value: string
- name: rulesEngine
value:
- name: id
value: string
- name: webApplicationFirewallPolicyLink
value:
- name: id
value: string
- name: resourceState
value: []
- name: name
value: string
- name: type
value: string
- name: id
value: string
- name: loadBalancingSettings
value:
- - name: properties
value:
- name: sampleSize
value: integer
- name: successfulSamplesRequired
value: integer
- name: additionalLatencyMilliseconds
value: integer
- name: name
value: string
- name: type
value: string
- name: id
value: string
- name: healthProbeSettings
value:
- - name: properties
value:
- name: path
value: string
- name: protocol
value: string
- name: intervalInSeconds
value: integer
- name: healthProbeMethod
value: string
- name: enabledState
value: string
- name: name
value: string
- name: type
value: string
- name: id
value: string
- name: backendPools
value:
- - name: properties
value:
- name: backends
value:
- - name: address
value: string
- name: privateLinkAlias
value: string
- name: privateLinkResourceId
value: string
- name: privateLinkLocation
value: string
- name: privateEndpointStatus
value: string
- name: privateLinkApprovalMessage
value: string
- name: httpPort
value: integer
- name: httpsPort
value: integer
- name: enabledState
value: string
- name: priority
value: integer
- name: weight
value: integer
- name: backendHostHeader
value: string
- name: name
value: string
- name: type
value: string
- name: id
value: string
- name: frontendEndpoints
value:
- - name: properties
value:
- name: hostName
value: string
- name: sessionAffinityEnabledState
value: string
- name: sessionAffinityTtlSeconds
value: integer
- name: webApplicationFirewallPolicyLink
value:
- name: id
value: string
- name: customHttpsProvisioningState
value: string
- name: customHttpsProvisioningSubstate
value: string
- name: customHttpsConfiguration
value:
- name: certificateSource
value: string
- name: protocolType
value: string
- name: minimumTlsVersion
value: string
- name: keyVaultCertificateSourceParameters
value:
- name: vault
value:
- name: id
value: string
- name: secretName
value: string
- name: secretVersion
value: string
- name: frontDoorCertificateSourceParameters
value:
- name: certificateType
value: string
- name: name
value: string
- name: type
value: string
- name: id
value: string
- name: backendPoolsSettings
value:
- name: enforceCertificateNameCheck
value: string
- name: sendRecvTimeoutSeconds
value: integer
- name: enabledState
value: string
- name: provisioningState
value: string
- name: cname
value: string
- name: frontdoorId
value: string
- name: rulesEngines
value:
- - name: properties
value:
- name: rules
value:
- - name: name
value: string
- name: priority
value: integer
- name: action
value:
- name: requestHeaderActions
value:
- - name: headerActionType
value: string
- name: headerName
value: string
- name: value
value: string
- name: responseHeaderActions
value:
- - name: headerActionType
value: string
- name: headerName
value: string
- name: value
value: string
- name: matchConditions
value:
- - name: rulesEngineMatchVariable
value: string
- name: selector
value: string
- name: rulesEngineOperator
value: string
- name: negateCondition
value: boolean
- name: rulesEngineMatchValue
value:
- string
- name: transforms
value:
- []
- name: matchProcessingBehavior
value: string
- name: name
value: string
- name: type
value: string
- name: id
value: string
- name: extendedProperties
value: object
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
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 }}';