vnet_connection_gateway_slots
Creates, updates, deletes, gets or lists a vnet_connection_gateway_slots
resource.
Overview
Name | vnet_connection_gateway_slots |
Type | Resource |
Id | azure.app_service.vnet_connection_gateway_slots |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | VnetGateway resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | gatewayName, name, resourceGroupName, slot, subscriptionId, vnetName | Description for Gets an app's Virtual Network gateway. |
create_or_update | INSERT | gatewayName, name, resourceGroupName, slot, subscriptionId, vnetName | Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). |
update | UPDATE | gatewayName, name, resourceGroupName, slot, subscriptionId, vnetName | Description 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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: kind
value: string
- name: type
value: string
- name: properties
value:
- name: vnetName
value: string
- name: vpnPackageUri
value: string
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 }}';