Skip to main content

vnet_connection_gateway_slots

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

Overview

Namevnet_connection_gateway_slots
TypeResource
Idazure.app_service.vnet_connection_gateway_slots

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTgatewayName, name, resourceGroupName, slot, subscriptionId, vnetNameDescription for Gets an app's Virtual Network gateway.
create_or_updateINSERTgatewayName, name, resourceGroupName, slot, subscriptionId, vnetNameDescription for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).
updateUPDATEgatewayName, name, resourceGroupName, slot, 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_gateway_slots
WHERE gatewayName = '{{ gatewayName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND slot = '{{ slot }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vnetName = '{{ vnetName }}';

INSERT example

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

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

UPDATE example

Updates a vnet_connection_gateway_slots resource.

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