Skip to main content

network_functions

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

Overview

Namenetwork_functions
TypeResource
Idazure.hybrid_network.network_functions

Fields

NameDatatypeDescription
allow_software_updatetextfield from the properties object
configuration_typetextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
identitytextManaged service identity (system assigned and/or user assigned identities)
locationtextThe geo-location where the resource lives
networkFunctionNametextfield from the properties object
network_function_definition_group_nametextfield from the properties object
network_function_definition_offering_locationtextfield from the properties object
network_function_definition_versiontextfield from the properties object
network_function_definition_version_resource_referencetextfield from the properties object
nfvi_idtextfield from the properties object
nfvi_typetextfield from the properties object
provisioning_statetextfield from the properties object
publisher_nametextfield from the properties object
publisher_scopetextfield from the properties object
resourceGroupNametextfield from the properties object
role_override_valuestextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkFunctionName, resourceGroupName, subscriptionIdGets information about the specified network function resource.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all the network function resources in a resource group.
list_by_subscriptionSELECTsubscriptionIdLists all the network functions in a subscription.
create_or_updateINSERTnetworkFunctionName, resourceGroupName, subscriptionIdCreates or updates a network function resource.
deleteDELETEnetworkFunctionName, resourceGroupName, subscriptionIdDeletes the specified network function resource.
execute_requestEXECnetworkFunctionName, resourceGroupName, subscriptionId, data__requestMetadata, data__serviceEndpointExecute a request to services on a containerized network function.
update_tagsEXECnetworkFunctionName, resourceGroupName, subscriptionIdUpdates the tags for the network function resource.

SELECT examples

Lists all the network functions in a subscription.

SELECT
allow_software_update,
configuration_type,
etag,
identity,
location,
networkFunctionName,
network_function_definition_group_name,
network_function_definition_offering_location,
network_function_definition_version,
network_function_definition_version_resource_reference,
nfvi_id,
nfvi_type,
provisioning_state,
publisher_name,
publisher_scope,
resourceGroupName,
role_override_values,
subscriptionId,
tags
FROM azure.hybrid_network.vw_network_functions
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.hybrid_network.network_functions (
networkFunctionName,
resourceGroupName,
subscriptionId,
properties,
etag,
identity,
tags,
location
)
SELECT
'{{ networkFunctionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ etag }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;

DELETE example

Deletes the specified network_functions resource.

/*+ delete */
DELETE FROM azure.hybrid_network.network_functions
WHERE networkFunctionName = '{{ networkFunctionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';