network_function_definition_groups
Creates, updates, deletes, gets or lists a network_function_definition_groups
resource.
Overview
Name | network_function_definition_groups |
Type | Resource |
Id | azure.hybrid_network.network_function_definition_groups |
Fields
- vw_network_function_definition_groups
- network_function_definition_groups
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
location | text | The geo-location where the resource lives |
networkFunctionDefinitionGroupName | 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. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Network function definition group properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionId | Gets information about the specified networkFunctionDefinition group. |
list_by_publisher | SELECT | publisherName, resourceGroupName, subscriptionId | Gets information of the network function definition groups under a publisher. |
create_or_update | INSERT | networkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionId | Creates or updates a network function definition group. |
delete | DELETE | networkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionId | Deletes a specified network function definition group. |
update | UPDATE | networkFunctionDefinitionGroupName, publisherName, resourceGroupName, subscriptionId | Updates a network function definition group resource. |
SELECT
examples
Gets information of the network function definition groups under a publisher.
- vw_network_function_definition_groups
- network_function_definition_groups
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 }}';
SELECT
location,
properties,
tags
FROM azure.hybrid_network.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: description
value: string
- name: tags
value: object
- name: location
value: string
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 }}';