plans_vnet_routes
Creates, updates, deletes, gets or lists a plans_vnet_routes
resource.
Overview
Name | plans_vnet_routes |
Type | Resource |
Id | azure.app_service.plans_vnet_routes |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_or_update | INSERT | name, resourceGroupName, routeName, subscriptionId, vnetName | Description for Create or update a Virtual Network route in an App Service plan. |
delete | DELETE | name, resourceGroupName, routeName, subscriptionId, vnetName | Description for Delete a Virtual Network route in an App Service plan. |
update | UPDATE | name, resourceGroupName, routeName, subscriptionId, vnetName | Description for Create or update a Virtual Network route in an App Service plan. |
INSERT
example
Use the following StackQL query and manifest file to create a new plans_vnet_routes
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.plans_vnet_routes (
name,
resourceGroupName,
routeName,
subscriptionId,
vnetName,
kind,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ routeName }}',
'{{ 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: startAddress
value: string
- name: endAddress
value: string
- name: routeType
value: string
UPDATE
example
Updates a plans_vnet_routes
resource.
/*+ update */
UPDATE azure.app_service.plans_vnet_routes
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND routeName = '{{ routeName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vnetName = '{{ vnetName }}';
DELETE
example
Deletes the specified plans_vnet_routes
resource.
/*+ delete */
DELETE FROM azure.app_service.plans_vnet_routes
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND routeName = '{{ routeName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vnetName = '{{ vnetName }}';