Skip to main content

network_function_definition_groups

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

Overview

Namenetwork_function_definition_groups
TypeResource
Idazure.hybrid_network.network_function_definition_groups

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
locationtextThe geo-location where the resource lives
networkFunctionDefinitionGroupNametextfield 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
getSELECTnetworkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionIdGets information about the specified networkFunctionDefinition group.
list_by_publisherSELECTpublisherName, resourceGroupName, subscriptionIdGets information of the network function definition groups under a publisher.
create_or_updateINSERTnetworkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionIdCreates or updates a network function definition group.
deleteDELETEnetworkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionIdDeletes a specified network function definition group.
updateUPDATEnetworkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionIdUpdates a network function definition group resource.

SELECT examples

Gets information of the network function definition groups under a publisher.

SELECT
description,
location,
networkFunctionDefinitionGroupName,
provisioning_state,
publisherName,
resourceGroupName,
subscriptionId,
tags
FROM azure.hybrid_network.vw_network_function_definition_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_function_definition_groups resource.

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

UPDATE example

Updates a network_function_definition_groups resource.

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

DELETE example

Deletes the specified network_function_definition_groups resource.

/*+ delete */
DELETE FROM azure.hybrid_network.network_function_definition_groups
WHERE networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';