Skip to main content

plans_vnet_routes

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

Overview

Nameplans_vnet_routes
TypeResource
Idazure.app_service.plans_vnet_routes

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
create_or_updateINSERTname, resourceGroupName, routeName, subscriptionId, vnetNameDescription for Create or update a Virtual Network route in an App Service plan.
deleteDELETEname, resourceGroupName, routeName, subscriptionId, vnetNameDescription for Delete a Virtual Network route in an App Service plan.
updateUPDATEname, resourceGroupName, routeName, subscriptionId, vnetNameDescription 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.

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

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 }}';