Skip to main content

application_gateways

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

Overview

Nameapplication_gateways
TypeResource
Idazure.network.application_gateways

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
applicationGatewayNametextfield from the properties object
authentication_certificatestextfield from the properties object
autoscale_configurationtextfield from the properties object
backend_address_poolstextfield from the properties object
backend_http_settings_collectiontextfield from the properties object
backend_settings_collectiontextfield from the properties object
custom_error_configurationstextfield from the properties object
default_predefined_ssl_policytextfield from the properties object
enable_fipstextfield from the properties object
enable_http2textfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
firewall_policytextfield from the properties object
force_firewall_policy_associationtextfield from the properties object
frontend_ip_configurationstextfield from the properties object
frontend_portstextfield from the properties object
gateway_ip_configurationstextfield from the properties object
global_configurationtextfield from the properties object
http_listenerstextfield from the properties object
identitytextIdentity for the resource.
listenerstextfield from the properties object
load_distribution_policiestextfield from the properties object
locationtextResource location.
operational_statetextfield from the properties object
private_endpoint_connectionstextfield from the properties object
private_link_configurationstextfield from the properties object
probestextfield from the properties object
provisioning_statetextfield from the properties object
redirect_configurationstextfield from the properties object
request_routing_rulestextfield from the properties object
resourceGroupNametextfield from the properties object
resource_guidtextfield from the properties object
rewrite_rule_setstextfield from the properties object
routing_rulestextfield from the properties object
skutextfield from the properties object
ssl_certificatestextfield from the properties object
ssl_policytextfield from the properties object
ssl_profilestextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
trusted_client_certificatestextfield from the properties object
trusted_root_certificatestextfield from the properties object
typetextResource type.
url_path_mapstextfield from the properties object
web_application_firewall_configurationtextfield from the properties object
zonestextA list of availability zones denoting where the resource needs to come from.

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationGatewayName, resourceGroupName, subscriptionIdGets the specified application gateway.
listSELECTresourceGroupName, subscriptionIdLists all application gateways in a resource group.
list_allSELECTsubscriptionIdGets all the application gateways in a subscription.
create_or_updateINSERTapplicationGatewayName, resourceGroupName, subscriptionIdCreates or updates the specified application gateway.
deleteDELETEapplicationGatewayName, resourceGroupName, subscriptionIdDeletes the specified application gateway.
backend_healthEXECapplicationGatewayName, resourceGroupName, subscriptionIdGets the backend health of the specified application gateway in a resource group.
backend_health_on_demandEXECapplicationGatewayName, resourceGroupName, subscriptionIdGets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group.
startEXECapplicationGatewayName, resourceGroupName, subscriptionIdStarts the specified application gateway.
stopEXECapplicationGatewayName, resourceGroupName, subscriptionIdStops the specified application gateway in a resource group.
update_tagsEXECapplicationGatewayName, resourceGroupName, subscriptionIdUpdates the specified application gateway tags.

SELECT examples

Gets all the application gateways in a subscription.

SELECT
id,
name,
applicationGatewayName,
authentication_certificates,
autoscale_configuration,
backend_address_pools,
backend_http_settings_collection,
backend_settings_collection,
custom_error_configurations,
default_predefined_ssl_policy,
enable_fips,
enable_http2,
etag,
firewall_policy,
force_firewall_policy_association,
frontend_ip_configurations,
frontend_ports,
gateway_ip_configurations,
global_configuration,
http_listeners,
identity,
listeners,
load_distribution_policies,
location,
operational_state,
private_endpoint_connections,
private_link_configurations,
probes,
provisioning_state,
redirect_configurations,
request_routing_rules,
resourceGroupName,
resource_guid,
rewrite_rule_sets,
routing_rules,
sku,
ssl_certificates,
ssl_policy,
ssl_profiles,
subscriptionId,
tags,
trusted_client_certificates,
trusted_root_certificates,
type,
url_path_maps,
web_application_firewall_configuration,
zones
FROM azure.network.vw_application_gateways
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.application_gateways (
applicationGatewayName,
resourceGroupName,
subscriptionId,
properties,
zones,
identity,
id,
location,
tags
)
SELECT
'{{ applicationGatewayName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ zones }}',
'{{ identity }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified application_gateways resource.

/*+ delete */
DELETE FROM azure.network.application_gateways
WHERE applicationGatewayName = '{{ applicationGatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';