Skip to main content

nrf_deployments

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

Overview

Namenrf_deployments
TypeResource
Idazure_extras.mobile_packet_core.nrf_deployments

Fields

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, nrfDeploymentNameGet a NrfDeploymentResource
list_by_resource_groupselectsubscriptionId, resourceGroupNameList all Network Repository Function Deployments by Resource Group.
list_by_subscriptionselectsubscriptionIdList all Network Repository Function Deployments by Subscription ID.
create_or_updateinsertsubscriptionId, resourceGroupName, nrfDeploymentNameCreate a NrfDeploymentResource
deletedeletesubscriptionId, resourceGroupName, nrfDeploymentNameDelete a NrfDeploymentResource
update_tagsexecsubscriptionId, resourceGroupName, nrfDeploymentNameUpdate a NrfDeploymentResource

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
nrfDeploymentNamestringThe name of the NrfDeployment
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get a NrfDeploymentResource

SELECT
location,
properties,
tags
FROM azure_extras.mobile_packet_core.nrf_deployments
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND nrfDeploymentName = '{{ nrfDeploymentName }}' -- required
;

INSERT examples

Create a NrfDeploymentResource

INSERT INTO azure_extras.mobile_packet_core.nrf_deployments (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
nrfDeploymentName
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ nrfDeploymentName }}'
RETURNING
location,
properties,
tags
;

DELETE examples

Delete a NrfDeploymentResource

DELETE FROM azure_extras.mobile_packet_core.nrf_deployments
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND nrfDeploymentName = '{{ nrfDeploymentName }}' --required
;

Lifecycle Methods

Update a NrfDeploymentResource

EXEC azure_extras.mobile_packet_core.nrf_deployments.update_tags 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@nrfDeploymentName='{{ nrfDeploymentName }}' --required
@@json=
'{
"tags": "{{ tags }}"
}'
;