amf_deployments
Creates, updates, deletes, gets or lists a amf_deployments
resource.
Overview
Name | amf_deployments |
Type | Resource |
Id | azure_extras.mobile_packet_core.amf_deployments |
Fields
- vw_amf_deployments
- amf_deployments
Name | Datatype | Description |
---|---|---|
amfDeploymentName | text | field from the properties object |
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 |
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 | AMF Deployment Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | amfDeploymentName, resourceGroupName, subscriptionId | Get a AmfDeploymentResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all Access and Mobility Function Deployments by Resource Group. |
list_by_subscription | SELECT | subscriptionId | List all Access and Mobility Function Deployments by Subscription ID. |
create_or_update | INSERT | amfDeploymentName, resourceGroupName, subscriptionId | Create a AmfDeploymentResource |
delete | DELETE | amfDeploymentName, resourceGroupName, subscriptionId | Delete a AmfDeploymentResource |
update_tags | EXEC | amfDeploymentName, resourceGroupName, subscriptionId | Update a AmfDeploymentResource |
SELECT
examples
List all Access and Mobility Function Deployments by Subscription ID.
- vw_amf_deployments
- amf_deployments
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 }}';
SELECT
location,
properties,
tags
FROM azure_extras.mobile_packet_core.amf_deployments
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new amf_deployments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.mobile_packet_core.amf_deployments (
amfDeploymentName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ amfDeploymentName }}',
'{{ 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 amf_deployments
resource.
/*+ delete */
DELETE FROM azure_extras.mobile_packet_core.amf_deployments
WHERE amfDeploymentName = '{{ amfDeploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';