Skip to main content

delegated_subnet_services

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

Overview

Namedelegated_subnet_services
TypeResource
Idazure.delegated_network.delegated_subnet_services

Fields

The following fields are returned by SELECT queries:

This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the DelegatedSubnets in the resource group.

NameDatatypeDescription
idstringAn identifier that represents the resource.
namestringThe name of the resource.
locationstringLocation of the resource.
propertiesobjectProperties of the provision operation request.
tagsobjectThe resource tags.
typestringThe type of resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_resource_groupselectresourceGroupName, subscriptionIdGet all the DelegatedSubnets resources in a resource group.
list_by_subscriptionselectsubscriptionIdGet all the DelegatedSubnets resources in a subscription.
put_detailsexecresourceGroupName, resourceName, subscriptionIdPut delegated subnet resource
patch_detailsexecresourceGroupName, resourceName, subscriptionIdPatch delegated subnet resource

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
resourceNamestringThe name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get all the DelegatedSubnets resources in a resource group.

SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.delegated_network.delegated_subnet_services
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

Lifecycle Methods

Put delegated subnet resource

EXEC azure.delegated_network.delegated_subnet_services.put_details 
@resourceGroupName='{{ resourceGroupName }}' --required,
@resourceName='{{ resourceName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"location": "{{ location }}",
"tags": "{{ tags }}",
"properties": "{{ properties }}"
}'
;