network_service_design_versions
Creates, updates, deletes, gets or lists a network_service_design_versions
resource.
Overview
Name | network_service_design_versions |
Type | Resource |
Id | azure.hybrid_network.network_service_design_versions |
Fields
- vw_network_service_design_versions
- network_service_design_versions
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
configuration_group_schema_references | text | field from the properties object |
location | text | The geo-location where the resource lives |
networkServiceDesignGroupName | text | field from the properties object |
networkServiceDesignVersionName | text | field from the properties object |
nfvis_from_site | 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 |
resource_element_templates | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
version_state | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | network service design version properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionId | Gets information about a network service design version. |
list_by_network_service_design_group | SELECT | networkServiceDesignGroupName, publisherName, resourceGroupName, subscriptionId | Gets information about a list of network service design versions under a network service design group. |
create_or_update | INSERT | networkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionId | Creates or updates a network service design version. |
delete | DELETE | networkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionId | Deletes the specified network service design version. |
update | UPDATE | networkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionId | Updates a network service design version resource. |
update_state | EXEC | networkServiceDesignGroupName, networkServiceDesignVersionName, publisherName, resourceGroupName, subscriptionId | Update network service design version state. |
SELECT
examples
Gets information about a list of network service design versions under a network service design group.
- vw_network_service_design_versions
- network_service_design_versions
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 }}';
SELECT
location,
properties,
tags
FROM azure.hybrid_network.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: versionState
value: []
- name: description
value: string
- name: configurationGroupSchemaReferences
value: object
- name: nfvisFromSite
value: object
- name: resourceElementTemplates
value:
- - name: name
value: string
- name: type
value: []
- name: dependsOnProfile
value:
- name: installDependsOn
value:
- string
- name: uninstallDependsOn
value:
- string
- name: updateDependsOn
value:
- string
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 }}';