Skip to main content

network_service_design_versions

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

Overview

Namenetwork_service_design_versions
TypeResource
Idazure.hybrid_network.network_service_design_versions

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionIdGets information about a network service design version.
list_by_network_service_design_groupSELECTnetworkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionIdGets information about a list of network service design versions under a network service design group.
create_or_updateINSERTnetworkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionIdCreates or updates a network service design version.
deleteDELETEnetworkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionIdDeletes the specified network service design version.
updateUPDATEnetworkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionIdUpdates a network service design version resource.
update_stateEXECnetworkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionIdUpdate network service design version state.

SELECT examples

Gets information about a list of network service design versions under a network service design group.

SELECT
description,
configuration_group_schema_references,
location,
networkServiceDesignGroupName,
networkServiceDesignVersionName,
nfvis_from_site,
provisioning_state,
publisherName,
resourceGroupName,
resource_element_templates,
subscriptionId,
tags,
version_state
FROM azure.hybrid_network.vw_network_service_design_versions
WHERE networkServiceDesignGroupName = '{{ networkServiceDesignGroupName }}'
AND 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_versions resource.

/*+ create */
INSERT INTO azure.hybrid_network.network_service_design_versions (
networkServiceDesignGroupName,
networkServiceDesignVersionName,
publisherName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ networkServiceDesignGroupName }}',
'{{ networkServiceDesignVersionName }}',
'{{ publisherName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a network_service_design_versions resource.

/*+ update */
UPDATE azure.hybrid_network.network_service_design_versions
SET
tags = '{{ tags }}'
WHERE
networkServiceDesignGroupName = '{{ networkServiceDesignGroupName }}'
AND networkServiceDesignVersionName = '{{ networkServiceDesignVersionName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified network_service_design_versions resource.

/*+ delete */
DELETE FROM azure.hybrid_network.network_service_design_versions
WHERE networkServiceDesignGroupName = '{{ networkServiceDesignGroupName }}'
AND networkServiceDesignVersionName = '{{ networkServiceDesignVersionName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';