network_function_definition_versions
Creates, updates, deletes, gets or lists a network_function_definition_versions
resource.
Overview
Name | network_function_definition_versions |
Type | Resource |
Id | azure.hybrid_network.network_function_definition_versions |
Fields
- vw_network_function_definition_versions
- network_function_definition_versions
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
deploy_parameters | text | field from the properties object |
location | text | The geo-location where the resource lives |
networkFunctionDefinitionGroupName | text | field from the properties object |
networkFunctionDefinitionVersionName | text | field from the properties object |
network_function_type | 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. |
version_state | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Network function definition version properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionId | Gets information about a network function definition version. |
list_by_network_function_definition_group | SELECT | networkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionId | Gets information about a list of network function definition versions under a network function definition group. |
create_or_update | INSERT | networkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionId | Creates or updates a network function definition version. |
delete | DELETE | networkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionId | Deletes the specified network function definition version. |
update | UPDATE | networkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionId | Updates a network function definition version resource. |
update_state | EXEC | networkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionId | Update network function definition version state. |
SELECT
examples
Gets information about a list of network function definition versions under a network function definition group.
- vw_network_function_definition_versions
- network_function_definition_versions
SELECT
description,
deploy_parameters,
location,
networkFunctionDefinitionGroupName,
networkFunctionDefinitionVersionName,
network_function_type,
provisioning_state,
publisherName,
resourceGroupName,
subscriptionId,
tags,
version_state
FROM azure.hybrid_network.vw_network_function_definition_versions
WHERE networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.hybrid_network.network_function_definition_versions
WHERE networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new network_function_definition_versions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.hybrid_network.network_function_definition_versions (
networkFunctionDefinitionGroupName,
networkFunctionDefinitionVersionName,
publisherName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ networkFunctionDefinitionGroupName }}',
'{{ networkFunctionDefinitionVersionName }}',
'{{ 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: deployParameters
value: string
- name: networkFunctionType
value: []
UPDATE
example
Updates a network_function_definition_versions
resource.
/*+ update */
UPDATE azure.hybrid_network.network_function_definition_versions
SET
tags = '{{ tags }}'
WHERE
networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}'
AND networkFunctionDefinitionVersionName = '{{ networkFunctionDefinitionVersionName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified network_function_definition_versions
resource.
/*+ delete */
DELETE FROM azure.hybrid_network.network_function_definition_versions
WHERE networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}'
AND networkFunctionDefinitionVersionName = '{{ networkFunctionDefinitionVersionName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';