Skip to main content

controllers

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

Overview

Namecontrollers
TypeResource
Idazure.delegated_network.controllers

Fields

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

Methods

NameAccessible byRequired ParamsDescription
createINSERTresourceGroupName, resourceName, subscriptionIdCreate a dnc controller
deleteDELETEresourceGroupName, resourceName, subscriptionIdDeletes the DNC controller
patchUPDATEresourceGroupName, resourceName, subscriptionIdUpdate dnc controller

INSERT example

Use the following StackQL query and manifest file to create a new controllers resource.

/*+ create */
INSERT INTO azure.delegated_network.controllers (
resourceGroupName,
resourceName,
subscriptionId,
location,
tags,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}'
;

UPDATE example

Updates a controllers resource.

/*+ update */
UPDATE azure.delegated_network.controllers
SET
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified controllers resource.

/*+ delete */
DELETE FROM azure.delegated_network.controllers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';