Skip to main content

cluster_managers

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

Overview

Namecluster_managers
TypeResource
Idazure.nexus.cluster_managers

Fields

NameDatatypeDescription
analytics_workspace_idtextfield from the properties object
availability_zonestextfield from the properties object
clusterManagerNametextfield from the properties object
cluster_versionstextfield from the properties object
detailed_statustextfield from the properties object
detailed_status_messagetextfield from the properties object
fabric_controller_idtextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
locationtextThe geo-location where the resource lives
managed_resource_group_configurationtextfield from the properties object
manager_extended_locationtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
vm_sizetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterManagerName, resourceGroupName, subscriptionIdGet the properties of the provided cluster manager.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet a list of cluster managers in the provided resource group.
list_by_subscriptionSELECTsubscriptionIdGet a list of cluster managers in the provided subscription.
create_or_updateINSERTclusterManagerName, resourceGroupName, subscriptionId, data__propertiesCreate a new cluster manager or update properties of the cluster manager if it exists.
deleteDELETEclusterManagerName, resourceGroupName, subscriptionIdDelete the provided cluster manager.
updateUPDATEclusterManagerName, resourceGroupName, subscriptionIdPatch properties of the provided cluster manager, or update the tags assigned to the cluster manager. Properties and tag updates can be done independently.

SELECT examples

Get a list of cluster managers in the provided subscription.

SELECT
analytics_workspace_id,
availability_zones,
clusterManagerName,
cluster_versions,
detailed_status,
detailed_status_message,
fabric_controller_id,
identity,
location,
managed_resource_group_configuration,
manager_extended_location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
vm_size
FROM azure.nexus.vw_cluster_managers
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.nexus.cluster_managers (
clusterManagerName,
resourceGroupName,
subscriptionId,
data__properties,
identity,
properties,
tags,
location
)
SELECT
'{{ clusterManagerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ identity }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a cluster_managers resource.

/*+ update */
UPDATE azure.nexus.cluster_managers
SET
identity = '{{ identity }}',
tags = '{{ tags }}'
WHERE
clusterManagerName = '{{ clusterManagerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified cluster_managers resource.

/*+ delete */
DELETE FROM azure.nexus.cluster_managers
WHERE clusterManagerName = '{{ clusterManagerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';