Skip to main content

network_function_definition_versions

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

Overview

Namenetwork_function_definition_versions
TypeResource
Idazure.hybrid_network.network_function_definition_versions

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
deploy_parameterstextfield from the properties object
locationtextThe geo-location where the resource lives
networkFunctionDefinitionGroupNametextfield from the properties object
networkFunctionDefinitionVersionNametextfield from the properties object
network_function_typetextfield 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.
version_statetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionIdGets information about a network function definition version.
list_by_network_function_definition_groupSELECTnetworkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionIdGets information about a list of network function definition versions under a network function definition group.
create_or_updateINSERTnetworkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionIdCreates or updates a network function definition version.
deleteDELETEnetworkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionIdDeletes the specified network function definition version.
updateUPDATEnetworkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionIdUpdates a network function definition version resource.
update_stateEXECnetworkFunctionDefinitionGroupName, networkFunctionDefinitionVersionName, publisherName, resourceGroupName, subscriptionIdUpdate network function definition version state.

SELECT examples

Gets information about a list of network function definition versions under a network function definition group.

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

INSERT example

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

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

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