cluster_services
Creates, updates, deletes, gets or lists a cluster_services
resource.
Overview
Name | cluster_services |
Type | Resource |
Id | azure_extras.mobile_packet_core.cluster_services |
Fields
- vw_cluster_services
- cluster_services
Name | Datatype | Description |
---|---|---|
clusterServiceName | text | field from the properties object |
cluster_type_specific_data | text | field from the properties object |
component_parameters | text | field from the properties object |
deployment_type | 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 |
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 | Cluster Service Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterServiceName, resourceGroupName, subscriptionId | Get a ClusterServiceResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all Cluster Services by Resource Group. |
list_by_subscription | SELECT | subscriptionId | List all Cluster Services by Subscription ID. |
create_or_update | INSERT | clusterServiceName, resourceGroupName, subscriptionId | Create a ClusterServiceResource |
delete | DELETE | clusterServiceName, resourceGroupName, subscriptionId | Delete a ClusterServiceResource |
update_tags | EXEC | clusterServiceName, resourceGroupName, subscriptionId | Update a ClusterServiceResource |
SELECT
examples
List all Cluster Services by Subscription ID.
- vw_cluster_services
- cluster_services
SELECT
clusterServiceName,
cluster_type_specific_data,
component_parameters,
deployment_type,
location,
operational_status,
provisioning_state,
release_version,
resourceGroupName,
subscriptionId,
tags
FROM azure_extras.mobile_packet_core.vw_cluster_services
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure_extras.mobile_packet_core.cluster_services
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new cluster_services
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.mobile_packet_core.cluster_services (
clusterServiceName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ clusterServiceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: deploymentType
value: []
- name: releaseVersion
value: []
- name: clusterTypeSpecificData
value:
- name: type
value: []
- name: customLocationId
value: []
- name: componentParameters
value:
- - name: type
value: []
- name: parameters
value: []
- name: secrets
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 cluster_services
resource.
/*+ delete */
DELETE FROM azure_extras.mobile_packet_core.cluster_services
WHERE clusterServiceName = '{{ clusterServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';