Skip to main content

provisioned_cluster_instances

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

Overview

Nameprovisioned_cluster_instances
TypeResource
Idazure.hybrid_container_service.provisioned_cluster_instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
namestringThe name of the resource.
agentPoolProfilesarrayThe agent pool properties for the provisioned cluster.
autoScalerProfileobjectParameters to be applied to the cluster-autoscaler when auto scaling is enabled for the provisioned cluster.
cloudProviderProfileobjectThe profile for the underlying cloud infrastructure provider for the provisioned cluster.
clusterVMAccessProfileobjectThe SSH restricted access profile for the VMs in the provisioned cluster.
controlPlaneobjectThe profile for control plane of the provisioned cluster.
extendedLocationobjectExtended location pointing to the underlying infrastructure.
kubernetesVersionstringThe version of Kubernetes in use by the provisioned cluster.
licenseProfileobjectThe license profile of the provisioned cluster.
linuxProfileobjectThe profile for Linux VMs in the provisioned cluster.
networkProfileobjectThe network configuration profile for the provisioned cluster.
provisioningStatestringThe status of the latest long running operation for the provisioned cluster. Known values are: "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Deleting", "Updating", "Upgrading", and "Accepted".
statusobjectThe observed status of the provisioned cluster.
storageProfileobjectThe storage configuration profile for the provisioned cluster.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectconnected_cluster_resource_uriGets the provisioned cluster instance. Gets the provisioned cluster instance.
create_or_updateinsertconnected_cluster_resource_uriCreates or updates the provisioned cluster instance. Creates or updates the provisioned cluster instance.
create_or_updatereplaceconnected_cluster_resource_uriCreates or updates the provisioned cluster instance. Creates or updates the provisioned cluster instance.
deletedeleteconnected_cluster_resource_uriDeletes the provisioned cluster instance. Deletes the provisioned cluster instance.
list_user_kubeconfigexecconnected_cluster_resource_uriLists the user credentials of the provisioned cluster (can only be used within private network). Lists the user credentials of the provisioned cluster (can only be used within private network).
list_admin_kubeconfigexecconnected_cluster_resource_uriLists the admin credentials of the provisioned cluster (can only be used within private network). Lists the admin credentials of the provisioned cluster (can only be used within private network).
get_upgrade_profileexecconnected_cluster_resource_uriGets the upgrade profile of a provisioned cluster. Gets the upgrade profile of a provisioned cluster.
list_rawexecconnected_cluster_resource_uriLists the ProvisionedClusterInstance resource associated with the ConnectedCluster. Lists the ProvisionedClusterInstance resource associated with the ConnectedCluster.

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
connected_cluster_resource_uristringThe fully qualified Azure Resource Manager identifier of the connected cluster resource. Required.

SELECT examples

Gets the provisioned cluster instance. Gets the provisioned cluster instance.

SELECT
id,
name,
agentPoolProfiles,
autoScalerProfile,
cloudProviderProfile,
clusterVMAccessProfile,
controlPlane,
extendedLocation,
kubernetesVersion,
licenseProfile,
linuxProfile,
networkProfile,
provisioningState,
status,
storageProfile,
systemData,
type
FROM azure.hybrid_container_service.provisioned_cluster_instances
WHERE connected_cluster_resource_uri = '{{ connected_cluster_resource_uri }}' -- required
;

INSERT examples

Creates or updates the provisioned cluster instance. Creates or updates the provisioned cluster instance.

INSERT INTO azure.hybrid_container_service.provisioned_cluster_instances (
properties,
extendedLocation,
connected_cluster_resource_uri
)
SELECT
'{{ properties }}',
'{{ extendedLocation }}',
'{{ connected_cluster_resource_uri }}'
RETURNING
id,
name,
extendedLocation,
properties,
systemData,
type
;

REPLACE examples

Creates or updates the provisioned cluster instance. Creates or updates the provisioned cluster instance.

REPLACE azure.hybrid_container_service.provisioned_cluster_instances
SET
properties = '{{ properties }}',
extendedLocation = '{{ extendedLocation }}'
WHERE
connected_cluster_resource_uri = '{{ connected_cluster_resource_uri }}' --required
RETURNING
id,
name,
extendedLocation,
properties,
systemData,
type;

DELETE examples

Deletes the provisioned cluster instance. Deletes the provisioned cluster instance.

DELETE FROM azure.hybrid_container_service.provisioned_cluster_instances
WHERE connected_cluster_resource_uri = '{{ connected_cluster_resource_uri }}' --required
;

Lifecycle Methods

Lists the user credentials of the provisioned cluster (can only be used within private network). Lists the user credentials of the provisioned cluster (can only be used within private network).

EXEC azure.hybrid_container_service.provisioned_cluster_instances.list_user_kubeconfig 
@connected_cluster_resource_uri='{{ connected_cluster_resource_uri }}' --required
;