cluster_managers
Creates, updates, deletes, gets or lists a cluster_managers
resource.
Overview
Name | cluster_managers |
Type | Resource |
Id | azure.nexus.cluster_managers |
Fields
- vw_cluster_managers
- cluster_managers
Name | Datatype | Description |
---|---|---|
analytics_workspace_id | text | field from the properties object |
availability_zones | text | field from the properties object |
clusterManagerName | text | field from the properties object |
cluster_versions | text | field from the properties object |
detailed_status | text | field from the properties object |
detailed_status_message | text | field from the properties object |
fabric_controller_id | text | field from the properties object |
identity | text | Managed service identity (system assigned and/or user assigned identities) |
location | text | The geo-location where the resource lives |
managed_resource_group_configuration | text | field from the properties object |
manager_extended_location | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
vm_size | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
identity | object | Managed service identity (system assigned and/or user assigned identities) |
location | string | The geo-location where the resource lives |
properties | object | |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterManagerName, resourceGroupName, subscriptionId | Get the properties of the provided cluster manager. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Get a list of cluster managers in the provided resource group. |
list_by_subscription | SELECT | subscriptionId | Get a list of cluster managers in the provided subscription. |
create_or_update | INSERT | clusterManagerName, resourceGroupName, subscriptionId, data__properties | Create a new cluster manager or update properties of the cluster manager if it exists. |
delete | DELETE | clusterManagerName, resourceGroupName, subscriptionId | Delete the provided cluster manager. |
update | UPDATE | clusterManagerName, resourceGroupName, subscriptionId | Patch 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.
- vw_cluster_managers
- cluster_managers
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 }}';
SELECT
identity,
location,
properties,
tags
FROM azure.nexus.cluster_managers
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new cluster_managers
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: []
- name: userAssignedIdentities
value: []
- name: properties
value:
- name: analyticsWorkspaceId
value: string
- name: availabilityZones
value:
- string
- name: clusterVersions
value:
- - name: supportExpiryDate
value: string
- name: targetClusterVersion
value: string
- name: detailedStatus
value: string
- name: detailedStatusMessage
value: string
- name: fabricControllerId
value: string
- name: managedResourceGroupConfiguration
value:
- name: location
value: string
- name: name
value: string
- name: managerExtendedLocation
value:
- name: name
value: string
- name: type
value: string
- name: provisioningState
value: string
- name: vmSize
value: string
- name: tags
value: object
- name: location
value: string
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 }}';