network_functions
Creates, updates, deletes, gets or lists a network_functions
resource.
Overview
Name | network_functions |
Type | Resource |
Id | azure.hybrid_network.network_functions |
Fields
- vw_network_functions
- network_functions
Name | Datatype | Description |
---|---|---|
allow_software_update | text | field from the properties object |
configuration_type | text | field from the properties object |
etag | text | A unique read-only string that changes whenever the resource is updated. |
identity | text | Managed service identity (system assigned and/or user assigned identities) |
location | text | The geo-location where the resource lives |
networkFunctionName | text | field from the properties object |
network_function_definition_group_name | text | field from the properties object |
network_function_definition_offering_location | text | field from the properties object |
network_function_definition_version | text | field from the properties object |
network_function_definition_version_resource_reference | text | field from the properties object |
nfvi_id | text | field from the properties object |
nfvi_type | text | field from the properties object |
provisioning_state | text | field from the properties object |
publisher_name | text | field from the properties object |
publisher_scope | text | field from the properties object |
resourceGroupName | text | field from the properties object |
role_override_values | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
etag | string | A unique read-only string that changes whenever the resource is updated. |
identity | object | Managed service identity (system assigned and/or user assigned identities) |
location | string | The geo-location where the resource lives |
properties | object | Network function properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkFunctionName, resourceGroupName, subscriptionId | Gets information about the specified network function resource. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all the network function resources in a resource group. |
list_by_subscription | SELECT | subscriptionId | Lists all the network functions in a subscription. |
create_or_update | INSERT | networkFunctionName, resourceGroupName, subscriptionId | Creates or updates a network function resource. |
delete | DELETE | networkFunctionName, resourceGroupName, subscriptionId | Deletes the specified network function resource. |
execute_request | EXEC | networkFunctionName, resourceGroupName, subscriptionId, data__requestMetadata, data__serviceEndpoint | Execute a request to services on a containerized network function. |
update_tags | EXEC | networkFunctionName, resourceGroupName, subscriptionId | Updates the tags for the network function resource. |
SELECT
examples
Lists all the network functions in a subscription.
- vw_network_functions
- network_functions
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 }}';
SELECT
etag,
identity,
location,
properties,
tags
FROM azure.hybrid_network.network_functions
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new network_functions
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: publisherName
value: string
- name: publisherScope
value: []
- name: networkFunctionDefinitionGroupName
value: string
- name: networkFunctionDefinitionVersion
value: string
- name: networkFunctionDefinitionOfferingLocation
value: string
- name: networkFunctionDefinitionVersionResourceReference
value:
- name: idType
value: []
- name: nfviType
value: []
- name: nfviId
value: string
- name: allowSoftwareUpdate
value: boolean
- name: configurationType
value: []
- name: roleOverrideValues
value:
- []
- name: etag
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: []
- name: userAssignedIdentities
value: []
- name: tags
value: object
- name: location
value: string
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 }}';