smf_deployments
Creates, updates, deletes, gets or lists a smf_deployments
resource.
Overview
Name | smf_deployments |
Type | Resource |
Id | azure_extras.mobile_packet_core.smf_deployments |
Fields
- vw_smf_deployments
- smf_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 |
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 |
smfDeploymentName | 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 | SMF Deployment Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, smfDeploymentName, subscriptionId | Get a SmfDeploymentResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all Session Management Function Deployments by Resource Group. |
list_by_subscription | SELECT | subscriptionId | List all Session Management Function Deployments by Subscription ID. |
create_or_update | INSERT | resourceGroupName, smfDeploymentName, subscriptionId | Create a SmfDeploymentResource |
delete | DELETE | resourceGroupName, smfDeploymentName, subscriptionId | Delete a SmfDeploymentResource |
update_tags | EXEC | resourceGroupName, smfDeploymentName, subscriptionId | Update a SmfDeploymentResource |
SELECT
examples
List all Session Management Function Deployments by Subscription ID.
- vw_smf_deployments
- smf_deployments
SELECT
cluster_service,
component_parameters,
location,
operational_status,
provisioning_state,
release_version,
resourceGroupName,
secrets_parameters,
smfDeploymentName,
subscriptionId,
tags
FROM azure_extras.mobile_packet_core.vw_smf_deployments
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure_extras.mobile_packet_core.smf_deployments
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new smf_deployments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.mobile_packet_core.smf_deployments (
resourceGroupName,
smfDeploymentName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ smfDeploymentName }}',
'{{ 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 smf_deployments
resource.
/*+ delete */
DELETE FROM azure_extras.mobile_packet_core.smf_deployments
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND smfDeploymentName = '{{ smfDeploymentName }}'
AND subscriptionId = '{{ subscriptionId }}';