Skip to main content

smf_deployments

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

Overview

Namesmf_deployments
TypeResource
Idazure_extras.mobile_packet_core.smf_deployments

Fields

NameDatatypeDescription
cluster_servicetextfield from the properties object
component_parameterstextfield from the properties object
locationtextThe geo-location where the resource lives
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
smfDeploymentNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, smfDeploymentName, subscriptionIdGet a SmfDeploymentResource
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all Session Management Function Deployments by Resource Group.
list_by_subscriptionSELECTsubscriptionIdList all Session Management Function Deployments by Subscription ID.
create_or_updateINSERTresourceGroupName, smfDeploymentName, subscriptionIdCreate a SmfDeploymentResource
deleteDELETEresourceGroupName, smfDeploymentName, subscriptionIdDelete a SmfDeploymentResource
update_tagsEXECresourceGroupName, smfDeploymentName, subscriptionIdUpdate a SmfDeploymentResource

SELECT examples

List all Session Management Function Deployments by Subscription ID.

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 }}';

INSERT example

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

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

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 }}';