nrf_deployments
Creates, updates, deletes, gets or lists a nrf_deployments
resource.
Overview
Name | nrf_deployments |
Type | Resource |
Id | azure_extras.mobile_packet_core.nrf_deployments |
Fields
- vw_nrf_deployments
- nrf_deployments
Name | Datatype | Description |
---|---|---|
cluster_service | text | field from the properties object |
component_parameters | text | field from the properties object |
location | text | The geo-location where the resource lives |
nrfDeploymentName | text | field from the properties object |
operational_status | text | field from the properties object |
provisioning_state | text | field from the properties object |
release_version | text | field from the properties object |
resourceGroupName | text | field from the properties object |
secrets_parameters | 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 | NRF Deployment Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | nrfDeploymentName, resourceGroupName, subscriptionId | Get a NrfDeploymentResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all Network Repository Function Deployments by Resource Group. |
list_by_subscription | SELECT | subscriptionId | List all Network Repository Function Deployments by Subscription ID. |
create_or_update | INSERT | nrfDeploymentName, resourceGroupName, subscriptionId | Create a NrfDeploymentResource |
delete | DELETE | nrfDeploymentName, resourceGroupName, subscriptionId | Delete a NrfDeploymentResource |
update_tags | EXEC | nrfDeploymentName, resourceGroupName, subscriptionId | Update a NrfDeploymentResource |
SELECT
examples
List all Network Repository Function Deployments by Subscription ID.
- vw_nrf_deployments
- nrf_deployments
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 }}';
SELECT
location,
properties,
tags
FROM azure_extras.mobile_packet_core.nrf_deployments
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new nrf_deployments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.mobile_packet_core.nrf_deployments (
nrfDeploymentName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ nrfDeploymentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: componentParameters
value: []
- name: secretsParameters
value: []
- name: clusterService
value: []
- name: releaseVersion
value: []
- name: operationalStatus
value:
- name: workload
value: string
- name: healthCheck
value: string
- name: tags
value: object
- name: location
value: string
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 }}';