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

NameDatatypeDescription
cluster_servicetextfield from the properties object
component_parameterstextfield from the properties object
locationtextThe geo-location where the resource lives
nrfDeploymentNametextfield from the properties object
operational_statustextfield from the properties object
provisioning_statetextfield from the properties object
release_versiontextfield from the properties object
resourceGroupNametextfield from the properties object
secrets_parameterstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnrfDeploymentName, resourceGroupName, subscriptionIdGet a NrfDeploymentResource
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all Network Repository Function Deployments by Resource Group.
list_by_subscriptionSELECTsubscriptionIdList all Network Repository Function Deployments by Subscription ID.
create_or_updateINSERTnrfDeploymentName, resourceGroupName, subscriptionIdCreate a NrfDeploymentResource
deleteDELETEnrfDeploymentName, resourceGroupName, subscriptionIdDelete a NrfDeploymentResource
update_tagsEXECnrfDeploymentName, resourceGroupName, subscriptionIdUpdate a NrfDeploymentResource

SELECT examples

List all Network Repository Function Deployments by Subscription ID.

SELECT
cluster_service,
component_parameters,
location,
nrfDeploymentName,
operational_status,
provisioning_state,
release_version,
resourceGroupName,
secrets_parameters,
subscriptionId,
tags
FROM azure_extras.mobile_packet_core.vw_nrf_deployments
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.mobile_packet_core.nrf_deployments (
nrfDeploymentName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ nrfDeploymentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

DELETE example

Deletes the specified nrf_deployments resource.

/*+ delete */
DELETE FROM azure_extras.mobile_packet_core.nrf_deployments
WHERE nrfDeploymentName = '{{ nrfDeploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';