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

The following fields are returned by SELECT queries:

Request is successful. The operation returns the resulting publisher network function definition group resource.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectNetwork function definition group properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, publisherName, networkFunctionDefinitionGroupName, subscriptionIdGets information about the specified networkFunctionDefinition group.
list_by_publisherselectresourceGroupName, publisherName, subscriptionIdGets information of the network function definition groups under a publisher.
create_or_updateinsertresourceGroupName, publisherName, networkFunctionDefinitionGroupName, subscriptionIdCreates or updates a network function definition group.
updateupdateresourceGroupName, publisherName, networkFunctionDefinitionGroupName, subscriptionIdUpdates a network function definition group resource.
deletedeleteresourceGroupName, publisherName, networkFunctionDefinitionGroupName, subscriptionIdDeletes a specified network function definition group.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
networkFunctionDefinitionGroupNamestringThe name of the network function definition group.
publisherNamestringThe name of the publisher.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets information about the specified networkFunctionDefinition group.

SELECT
location,
properties,
tags
FROM azure.hybrid_network.network_function_definition_groups
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND publisherName = '{{ publisherName }}' -- required
AND networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates a network function definition group.

INSERT INTO azure.hybrid_network.network_function_definition_groups (
data__properties,
data__tags,
data__location,
resourceGroupName,
publisherName,
networkFunctionDefinitionGroupName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ resourceGroupName }}',
'{{ publisherName }}',
'{{ networkFunctionDefinitionGroupName }}',
'{{ subscriptionId }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Updates a network function definition group resource.

UPDATE azure.hybrid_network.network_function_definition_groups
SET
data__tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND publisherName = '{{ publisherName }}' --required
AND networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Deletes a specified network function definition group.

DELETE FROM azure.hybrid_network.network_function_definition_groups
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND publisherName = '{{ publisherName }}' --required
AND networkFunctionDefinitionGroupName = '{{ networkFunctionDefinitionGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;