vnet_connection_gateways
Creates, updates, deletes, gets or lists a vnet_connection_gateways
resource.
Overview
Name | vnet_connection_gateways |
Type | Resource |
Id | azure.app_service.vnet_connection_gateways |
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, subscriptionId, vnetName | Description for Gets an app's Virtual Network gateway. |
create_or_update | INSERT | gatewayName, name, resourceGroupName, subscriptionId, vnetName | Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). |
update | UPDATE | gatewayName, name, resourceGroupName, 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_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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.vnet_connection_gateways (
gatewayName,
name,
resourceGroupName,
subscriptionId,
vnetName,
kind,
properties
)
SELECT
'{{ gatewayName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ 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_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 }}';