Skip to main content

amf_deployments

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

Overview

Nameamf_deployments
TypeResource
Idazure_extras.mobile_packet_core.amf_deployments

Fields

NameDatatypeDescription
amfDeploymentNametextfield from the properties object
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
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTamfDeploymentName, resourceGroupName, subscriptionIdGet a AmfDeploymentResource
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all Access and Mobility Function Deployments by Resource Group.
list_by_subscriptionSELECTsubscriptionIdList all Access and Mobility Function Deployments by Subscription ID.
create_or_updateINSERTamfDeploymentName, resourceGroupName, subscriptionIdCreate a AmfDeploymentResource
deleteDELETEamfDeploymentName, resourceGroupName, subscriptionIdDelete a AmfDeploymentResource
update_tagsEXECamfDeploymentName, resourceGroupName, subscriptionIdUpdate a AmfDeploymentResource

SELECT examples

List all Access and Mobility Function Deployments by Subscription ID.

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

INSERT example

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

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

DELETE example

Deletes the specified amf_deployments resource.

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