delegated_subnet_services
Creates, updates, deletes, gets or lists a delegated_subnet_services
resource.
Overview
Name | delegated_subnet_services |
Type | Resource |
Id | azure.delegated_network.delegated_subnet_services |
Fields
The following fields are returned by SELECT
queries:
- list_by_resource_group
- list_by_subscription
This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the DelegatedSubnets in the resource group.
Name | Datatype | Description |
---|---|---|
id | string | An identifier that represents the resource. |
name | string | The name of the resource. |
location | string | Location of the resource. |
properties | object | Properties of the provision operation request. |
tags | object | The resource tags. |
type | string | The type of resource. |
This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the DelegatedSubnets in the subscription.
Name | Datatype | Description |
---|---|---|
id | string | An identifier that represents the resource. |
name | string | The name of the resource. |
location | string | Location of the resource. |
properties | object | Properties of the provision operation request. |
tags | object | The resource tags. |
type | string | The type of resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_by_resource_group | select | resourceGroupName , subscriptionId | Get all the DelegatedSubnets resources in a resource group. | |
list_by_subscription | select | subscriptionId | Get all the DelegatedSubnets resources in a subscription. | |
put_details | exec | resourceGroupName , resourceName , subscriptionId | Put delegated subnet resource | |
patch_details | exec | resourceGroupName , resourceName , subscriptionId | Patch 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
resourceName | string | The name of the resource. It must be a minimum of 3 characters, and a maximum of 63. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list_by_resource_group
- list_by_subscription
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
;
Get all the DelegatedSubnets resources in a subscription.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.delegated_network.delegated_subnet_services
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
Lifecycle Methods
- put_details
- patch_details
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 }}"
}'
;
Patch delegated subnet resource
EXEC azure.delegated_network.delegated_subnet_services.patch_details
@resourceGroupName='{{ resourceGroupName }}' --required,
@resourceName='{{ resourceName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"tags": "{{ tags }}"
}'
;