Skip to main content

network_service_design_groups

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

Overview

Namenetwork_service_design_groups
TypeResource
Idazure.hybrid_network.network_service_design_groups

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
locationtextThe geo-location where the resource lives
networkServiceDesignGroupNametextfield from the properties object
provisioning_statetextfield from the properties object
publisherNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionIdGets information about the specified networkServiceDesign group.
list_by_publisherSELECTpublisherName, resourceGroupName, subscriptionIdGets information of the network service design groups under a publisher.
create_or_updateINSERTnetworkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionIdCreates or updates a network service design group.
deleteDELETEnetworkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionIdDeletes a specified network service design group.
updateUPDATEnetworkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionIdUpdates a network service design groups resource.

SELECT examples

Gets information of the network service design groups under a publisher.

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 }}';

INSERT example

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

/*+ 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 }}'
;

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 }}';