controllers
Creates, updates, deletes, gets or lists a controllers
resource.
Overview
Name | controllers |
Type | Resource |
Id | azure.delegated_network.controllers |
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 | INSERT | resourceGroupName, resourceName, subscriptionId | Create a dnc controller |
delete | DELETE | resourceGroupName, resourceName, subscriptionId | Deletes the DNC controller |
patch | UPDATE | resourceGroupName, resourceName, subscriptionId | Update dnc controller |
INSERT
example
Use the following StackQL query and manifest file to create a new controllers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.delegated_network.controllers (
resourceGroupName,
resourceName,
subscriptionId,
location,
tags,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
- name: properties
value:
- name: resourceGuid
value: string
- name: provisioningState
value: string
- name: dncAppId
value: string
- name: dncTenantId
value: string
- name: dncEndpoint
value: string
- name: purpose
value: string
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 }}';