Skip to main content

cluster_managers

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

Overview

Namecluster_managers
TypeResource
Idazure_extras.network_cloud.cluster_managers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
analyticsWorkspaceIdstringThe resource ID of the Log Analytics workspace that is used for the logs collection.
availabilityZonesarrayThe Azure availability zones within the region that will be used to support the cluster manager resource.
clusterVersionsarrayThe list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.
detailedStatusstringThe detailed status that provides additional information about the cluster manager. Known values are: "Error", "Available", "Provisioning", "ProvisioningFailed", "Updating", and "UpdateFailed". (Error, Available, Provisioning, ProvisioningFailed, Updating, UpdateFailed)
detailedStatusMessagestringThe descriptive message about the current detailed status.
etagstring"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").
fabricControllerIdstringThe resource ID of the fabric controller that has one to one mapping with the cluster manager. Required.
identityobjectThe managed service identities assigned to this resource.
kindstringThe kind of the cluster manager. Known values are: "Nexus" and "AzureLocal". (Nexus, AzureLocal)
locationstringThe geo-location where the resource lives. Required.
managedResourceGroupConfigurationobjectThe configuration of the managed resource group associated with the resource.
managerExtendedLocationobjectThe extended location (custom location) that represents the cluster manager's control plane location. This extended location is used when creating cluster and rack manifest resources.
provisioningStatestringThe provisioning state of the cluster manager. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Accepted", and "Updating". (Succeeded, Failed, Canceled, Provisioning, Accepted, Updating)
relayConfigurationobjectThe relay configuration for the cluster manager.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vmSizestringThe size of the Azure virtual machines to use for hosting the cluster manager resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_manager_name, subscription_idGet the properties of the provided cluster manager.
list_by_resource_groupselectresource_group_name, subscription_id$top, $skipTokenGet a list of cluster managers in the provided resource group.
list_by_subscriptionselectsubscription_id$top, $skipTokenGet a list of cluster managers in the provided subscription.
create_or_updateinsertresource_group_name, cluster_manager_name, subscription_id, location, propertiesCreate a new cluster manager or update properties of the cluster manager if it exists.
updateupdateresource_group_name, cluster_manager_name, subscription_idPatch properties of the provided cluster manager, or update the tags assigned to the cluster manager. Properties and tag updates can be done independently.
create_or_updatereplaceresource_group_name, cluster_manager_name, subscription_id, location, propertiesCreate a new cluster manager or update properties of the cluster manager if it exists.
deletedeleteresource_group_name, cluster_manager_name, subscription_idDelete the provided cluster manager.
update_relay_private_endpoint_connectionexecresource_group_name, cluster_manager_name, subscription_id, connectionState, privateEndpointResourceIdUpdate the private endpoint connection for the Azure Relay namespace managed by the specified cluster manager. Use this operation to approve or reject a pending private endpoint connection request for the relay namespace managed by the cluster manager.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_manager_namestringThe name of the cluster manager. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$skipTokenstringThe opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets. Default value is None.
$topintegerThe maximum number of resources to return from the operation. Example: '$top=10'. Default value is None.

SELECT examples

Get the properties of the provided cluster manager.

SELECT
id,
name,
analyticsWorkspaceId,
availabilityZones,
clusterVersions,
detailedStatus,
detailedStatusMessage,
etag,
fabricControllerId,
identity,
kind,
location,
managedResourceGroupConfiguration,
managerExtendedLocation,
provisioningState,
relayConfiguration,
systemData,
tags,
type,
vmSize
FROM azure_extras.network_cloud.cluster_managers
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_manager_name = '{{ cluster_manager_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create a new cluster manager or update properties of the cluster manager if it exists.

INSERT INTO azure_extras.network_cloud.cluster_managers (
tags,
location,
properties,
identity,
kind,
resource_group_name,
cluster_manager_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ identity }}',
'{{ kind }}',
'{{ resource_group_name }}',
'{{ cluster_manager_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Patch properties of the provided cluster manager, or update the tags assigned to the cluster manager. Properties and tag updates can be done independently.

UPDATE azure_extras.network_cloud.cluster_managers
SET
identity = '{{ identity }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_manager_name = '{{ cluster_manager_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type;

REPLACE examples

Create a new cluster manager or update properties of the cluster manager if it exists.

REPLACE azure_extras.network_cloud.cluster_managers
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}',
identity = '{{ identity }}',
kind = '{{ kind }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_manager_name = '{{ cluster_manager_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete the provided cluster manager.

DELETE FROM azure_extras.network_cloud.cluster_managers
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_manager_name = '{{ cluster_manager_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Update the private endpoint connection for the Azure Relay namespace managed by the specified cluster manager. Use this operation to approve or reject a pending private endpoint connection request for the relay namespace managed by the cluster manager.

EXEC azure_extras.network_cloud.cluster_managers.update_relay_private_endpoint_connection 
@resource_group_name='{{ resource_group_name }}' --required,
@cluster_manager_name='{{ cluster_manager_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"connectionState": "{{ connectionState }}",
"description": "{{ description }}",
"privateEndpointResourceId": "{{ privateEndpointResourceId }}"
}'
;