Skip to main content

vnet_connection_gateways

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

Overview

Namevnet_connection_gateways
TypeResource
Idazure.app_service.vnet_connection_gateways

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectVnetGateway resource specific properties
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTgatewayName, name, resourceGroupName, subscriptionId, vnetNameDescription for Gets an app's Virtual Network gateway.
create_or_updateINSERTgatewayName, name, resourceGroupName, subscriptionId, vnetNameDescription for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).
updateUPDATEgatewayName, name, resourceGroupName, subscriptionId, vnetNameDescription for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

SELECT examples

Description for Gets an app's Virtual Network gateway.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.vnet_connection_gateways
WHERE gatewayName = '{{ gatewayName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vnetName = '{{ vnetName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.app_service.vnet_connection_gateways (
gatewayName,
name,
resourceGroupName,
subscriptionId,
vnetName,
kind,
properties
)
SELECT
'{{ gatewayName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vnetName }}',
'{{ kind }}',
'{{ properties }}'
;

UPDATE example

Updates a vnet_connection_gateways resource.

/*+ update */
UPDATE azure.app_service.vnet_connection_gateways
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
gatewayName = '{{ gatewayName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vnetName = '{{ vnetName }}';