network_service_design_groups
Creates, updates, deletes, gets or lists a network_service_design_groups
resource.
Overview
Name | network_service_design_groups |
Type | Resource |
Id | azure.hybrid_network.network_service_design_groups |
Fields
- vw_network_service_design_groups
- network_service_design_groups
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
location | text | The geo-location where the resource lives |
networkServiceDesignGroupName | text | field from the properties object |
provisioning_state | text | field from the properties object |
publisherName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | network service design group properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionId | Gets information about the specified networkServiceDesign group. |
list_by_publisher | SELECT | publisherName, resourceGroupName, subscriptionId | Gets information of the network service design groups under a publisher. |
create_or_update | INSERT | networkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionId | Creates or updates a network service design group. |
delete | DELETE | networkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionId | Deletes a specified network service design group. |
update | UPDATE | networkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionId | Updates a network service design groups resource. |
SELECT
examples
Gets information of the network service design groups under a publisher.
- vw_network_service_design_groups
- network_service_design_groups
SELECT
description,
location,
networkServiceDesignGroupName,
provisioning_state,
publisherName,
resourceGroupName,
subscriptionId,
tags
FROM azure.hybrid_network.vw_network_service_design_groups
WHERE publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.hybrid_network.network_service_design_groups
WHERE publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new network_service_design_groups
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.hybrid_network.network_service_design_groups (
networkServiceDesignGroupName,
publisherName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ networkServiceDesignGroupName }}',
'{{ publisherName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: description
value: string
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a network_service_design_groups
resource.
/*+ update */
UPDATE azure.hybrid_network.network_service_design_groups
SET
tags = '{{ tags }}'
WHERE
networkServiceDesignGroupName = '{{ networkServiceDesignGroupName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified network_service_design_groups
resource.
/*+ delete */
DELETE FROM azure.hybrid_network.network_service_design_groups
WHERE networkServiceDesignGroupName = '{{ networkServiceDesignGroupName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';