Skip to main content

cluster_services

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

Overview

Namecluster_services
TypeResource
Idazure_extras.mobile_packet_core.cluster_services

Fields

NameDatatypeDescription
clusterServiceNametextfield from the properties object
cluster_type_specific_datatextfield from the properties object
component_parameterstextfield from the properties object
deployment_typetextfield 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
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterServiceName, resourceGroupName, subscriptionIdGet a ClusterServiceResource
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all Cluster Services by Resource Group.
list_by_subscriptionSELECTsubscriptionIdList all Cluster Services by Subscription ID.
create_or_updateINSERTclusterServiceName, resourceGroupName, subscriptionIdCreate a ClusterServiceResource
deleteDELETEclusterServiceName, resourceGroupName, subscriptionIdDelete a ClusterServiceResource
update_tagsEXECclusterServiceName, resourceGroupName, subscriptionIdUpdate a ClusterServiceResource

SELECT examples

List all Cluster Services by Subscription ID.

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

INSERT example

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

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

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