provisioned Cluster Instances - List
Lists the ProvisionedClusterInstance resource associated with the ConnectedCluster
GET https://management.azure.com/{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances?api-version=2024-01-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
connected
|
path | True |
string |
The fully qualified Azure Resource Manager identifier of the connected cluster resource. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Lists the ProvisionedClusterInstance resource associated with the ConnectedCluster |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
ListProvisionedClusterInstances
Sample request
GET https://management.azure.com/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances?api-version=2024-01-01
Sample response
{
"value": [
{
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default",
"name": "test-hybridakscluster",
"type": "Microsoft.HybridContainerService/provisionedClusterInstances",
"extendedLocation": {
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation",
"type": "CustomLocation"
},
"properties": {
"provisioningState": "Succeeded",
"controlPlane": {
"count": 1,
"vmSize": "Standard_A4_v2"
},
"kubernetesVersion": "v1.20.5",
"networkProfile": {
"networkPolicy": "calico",
"podCidr": "10.244.0.0/16"
},
"agentPoolProfiles": [
{
"name": "default-nodepool-1",
"count": 1,
"vmSize": "Standard_A4_v2",
"osType": "Linux"
}
],
"linuxProfile": {
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCY......."
}
]
}
},
"cloudProviderProfile": {
"infraNetworkProfile": {
"vnetSubnetIds": [
"/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.AzureStackHCI/logicalNetworks/test-vnet-static"
]
}
},
"licenseProfile": {
"azureHybridBenefit": "NotApplicable"
}
}
}
]
}
Definitions
Name | Description |
---|---|
addon |
Observed phase of the addon or component on the provisioned cluster. Possible values include: 'pending', 'provisioning', 'provisioning {HelmChartInstalled}', 'provisioning {MSICertificateDownloaded}', 'provisioned', 'deleting', 'failed', 'upgrading' |
Addon |
The status profile of the addons and other kubernetes components |
Auto |
Parameters to be applied to the cluster-autoscaler when auto scaling is enabled for the provisioned cluster. |
Azure |
Indicates whether Azure Hybrid Benefit is opted in. Default value is false |
Cloud |
The profile for the underlying cloud infrastructure provider for the provisioned cluster. |
Cluster |
The SSH restricted access profile for the VMs in the provisioned cluster. |
Control |
IP Address of the Kubernetes API server |
Control |
The properties of the control plane nodes of the provisioned cluster |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
expander |
The expander to use when scaling up |
Extended |
Extended location pointing to the underlying infrastructure |
Extended |
The extended location type. Allowed value: 'CustomLocation' |
Infra |
The profile for the infrastructure networks used by the provisioned cluster |
Linux |
SSH profile for control plane and nodepool VMs of the provisioned cluster. |
Load |
Profile of the HA Proxy load balancer. |
Named |
Profile of the default agent pool along with a name parameter |
network |
Network policy used for building Kubernetes network. Possible values include: 'calico'. |
Network |
The network configuration profile for the provisioned cluster. |
OSSKU |
Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows. |
os |
OSType to be used to specify OS type for the VMs. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows' |
provisioned |
The provisioned cluster resource definition. |
Provisioned |
The license profile of the provisioned cluster. |
provisioned |
Lists the ProvisionedClusterInstance resource associated with the ConnectedCluster. |
provisioned |
Properties of the provisioned cluster. |
Public |
The list of SSH public keys used to authenticate with VMs. A maximum of 1 key may be specified. |
Resource |
Provisioning state of the resource |
Ssh |
SSH configuration for VMs of the provisioned cluster. |
Status |
The observed status of the provisioned cluster. |
Storage |
The storage configuration profile for the provisioned cluster. |
Storage |
NFS CSI Driver settings for the storage profile. |
Storage |
SMB CSI Driver settings for the storage profile. |
system |
Metadata pertaining to creation and last modification of the resource. |
addonPhase
Observed phase of the addon or component on the provisioned cluster. Possible values include: 'pending', 'provisioning', 'provisioning {HelmChartInstalled}', 'provisioning {MSICertificateDownloaded}', 'provisioned', 'deleting', 'failed', 'upgrading'
Value | Description |
---|---|
deleting | |
failed | |
pending | |
provisioned | |
provisioning | |
provisioning {HelmChartInstalled} | |
provisioning {MSICertificateDownloaded} | |
upgrading |
AddonStatusProfile
The status profile of the addons and other kubernetes components
Name | Type | Description |
---|---|---|
errorMessage |
string |
Observed error message from the addon or component |
name |
string |
Name of the addon or component |
phase |
Observed phase of the addon or component on the provisioned cluster. Possible values include: 'pending', 'provisioning', 'provisioning {HelmChartInstalled}', 'provisioning {MSICertificateDownloaded}', 'provisioned', 'deleting', 'failed', 'upgrading' |
|
ready |
boolean |
Indicates whether the addon or component is ready |
AutoScalerProfile
Parameters to be applied to the cluster-autoscaler when auto scaling is enabled for the provisioned cluster.
Name | Type | Description |
---|---|---|
balance-similar-node-groups |
string |
Detects similar node pools and balances the number of nodes between them. |
expander |
The expander to use when scaling up |
|
max-empty-bulk-delete |
string |
The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. |
max-graceful-termination-sec |
string |
The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. |
max-node-provision-time |
string |
The maximum time the autoscaler waits for a node to be provisioned. |
max-total-unready-percentage |
string |
The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. |
new-pod-scale-up-delay |
string |
Ignore unscheduled pods before they're a certain age. |
ok-total-unready-count |
string |
The number of allowed unready nodes, irrespective of max-total-unready-percentage. |
scale-down-delay-after-add |
string |
How long after scale up that scale down evaluation resumes |
scale-down-delay-after-delete |
string |
How long after node deletion that scale down evaluation resumes. |
scale-down-delay-after-failure |
string |
How long after scale down failure that scale down evaluation resumes. |
scale-down-unneeded-time |
string |
How long a node should be unneeded before it is eligible for scale down. |
scale-down-unready-time |
string |
How long an unready node should be unneeded before it is eligible for scale down |
scale-down-utilization-threshold |
string |
Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. |
scan-interval |
string |
How often cluster is reevaluated for scale up or down. |
skip-nodes-with-local-storage |
string |
If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. |
skip-nodes-with-system-pods |
string |
If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods) |
AzureHybridBenefit
Indicates whether Azure Hybrid Benefit is opted in. Default value is false
Value | Description |
---|---|
False | |
NotApplicable | |
True |
CloudProviderProfile
The profile for the underlying cloud infrastructure provider for the provisioned cluster.
Name | Type | Description |
---|---|---|
infraNetworkProfile |
The profile for the infrastructure networks used by the provisioned cluster |
ClusterVMAccessProfile
The SSH restricted access profile for the VMs in the provisioned cluster.
Name | Type | Description |
---|---|---|
authorizedIPRanges |
string |
IP Address or CIDR for SSH access to VMs in the provisioned cluster |
ControlPlaneEndpoint
IP Address of the Kubernetes API server
Name | Type | Description |
---|---|---|
hostIP |
string |
IP address of the Kubernetes API server |
ControlPlaneProfile
The properties of the control plane nodes of the provisioned cluster
Name | Type | Default value | Description |
---|---|---|---|
controlPlaneEndpoint |
IP Address of the Kubernetes API server |
||
count |
integer |
1 |
Number of control plane nodes. The default value is 1, and the count should be an odd number |
vmSize |
string |
VM sku size of the control plane nodes |
createdByType
The type of identity that created the resource.
Value | Description |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
expander
The expander to use when scaling up
Value | Description |
---|---|
least-waste |
Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
most-pods |
Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
priority |
Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
random |
Used when you don't have a particular need for the node groups to scale differently. |
ExtendedLocation
Extended location pointing to the underlying infrastructure
Name | Type | Description |
---|---|---|
name |
string |
ARM Id of the extended location. |
type |
The extended location type. Allowed value: 'CustomLocation' |
ExtendedLocationTypes
The extended location type. Allowed value: 'CustomLocation'
Value | Description |
---|---|
CustomLocation |
InfraNetworkProfile
The profile for the infrastructure networks used by the provisioned cluster
Name | Type | Description |
---|---|---|
vnetSubnetIds |
string[] |
List of ARM resource Ids (maximum 1) for the infrastructure network object e.g. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName} |
LinuxProfileProperties
SSH profile for control plane and nodepool VMs of the provisioned cluster.
Name | Type | Description |
---|---|---|
ssh |
SSH configuration for VMs of the provisioned cluster. |
LoadBalancerProfile
Profile of the HA Proxy load balancer.
Name | Type | Default value | Description |
---|---|---|---|
count |
integer |
0 |
Number of HA Proxy load balancer VMs. The default value is 0. |
NamedAgentPoolProfile
Profile of the default agent pool along with a name parameter
Name | Type | Default value | Description |
---|---|---|---|
count |
integer |
1 |
Number of nodes in the agent pool. The default value is 1. |
enableAutoScaling |
boolean |
False |
Whether to enable auto-scaler. Default value is false |
kubernetesVersion |
string |
Version of Kubernetes in use by the agent pool. This is inherited from the kubernetesVersion of the provisioned cluster. |
|
maxCount |
integer |
The maximum number of nodes for auto-scaling |
|
maxPods |
integer |
The maximum number of pods that can run on a node. |
|
minCount |
integer |
The minimum number of nodes for auto-scaling |
|
name |
string |
Unique name of the default agent pool in the context of the provisioned cluster. Default value is -nodepool1 |
|
nodeLabels |
object |
The node labels to be persisted across all nodes in agent pool. |
|
nodeTaints |
string[] |
Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule. |
|
osSKU |
Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows. |
||
osType | Linux |
OSType to be used to specify OS type for the VMs. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows' |
|
vmSize |
string |
The VM sku size of the agent pool node VMs. |
networkPolicy
Network policy used for building Kubernetes network. Possible values include: 'calico'.
Value | Description |
---|---|
calico |
NetworkProfile
The network configuration profile for the provisioned cluster.
Name | Type | Default value | Description |
---|---|---|---|
loadBalancerProfile |
Profile of the HA Proxy load balancer. |
||
networkPolicy | calico |
Network policy used for building Kubernetes network. Possible values include: 'calico'. |
|
podCidr |
string |
A CIDR notation IP Address range from which to assign pod IPs. |
OSSKU
Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.
Value | Description |
---|---|
CBLMariner |
Use Mariner as the OS for node images. |
Windows2019 |
Use Windows2019 as the OS for node images. |
Windows2022 |
Use Windows2022 as the OS for node images. |
osType
OSType to be used to specify OS type for the VMs. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'
Value | Description |
---|---|
Linux | |
Windows |
provisionedCluster
The provisioned cluster resource definition.
Name | Type | Description |
---|---|---|
extendedLocation |
Extended location pointing to the underlying infrastructure |
|
id |
string |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name |
string |
The name of the resource |
properties |
Properties of the provisioned cluster. |
|
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
ProvisionedClusterLicenseProfile
The license profile of the provisioned cluster.
Name | Type | Default value | Description |
---|---|---|---|
azureHybridBenefit | NotApplicable |
Indicates whether Azure Hybrid Benefit is opted in. Default value is false |
provisionedClusterListResult
Lists the ProvisionedClusterInstance resource associated with the ConnectedCluster.
Name | Type | Description |
---|---|---|
nextLink |
string |
|
value |
The provisioned cluster resource definition. |
provisionedClusterProperties
Properties of the provisioned cluster.
Name | Type | Description |
---|---|---|
agentPoolProfiles |
The agent pool properties for the provisioned cluster. |
|
autoScalerProfile |
Parameters to be applied to the cluster-autoscaler when auto scaling is enabled for the provisioned cluster. |
|
cloudProviderProfile |
The profile for the underlying cloud infrastructure provider for the provisioned cluster. |
|
clusterVMAccessProfile |
The SSH restricted access profile for the VMs in the provisioned cluster. |
|
controlPlane |
The profile for control plane of the provisioned cluster. |
|
kubernetesVersion |
string |
The version of Kubernetes in use by the provisioned cluster. |
licenseProfile |
The license profile of the provisioned cluster. |
|
linuxProfile |
The profile for Linux VMs in the provisioned cluster. |
|
networkProfile |
The network configuration profile for the provisioned cluster. |
|
provisioningState |
The status of the latest long running operation for the provisioned cluster. |
|
status |
The observed status of the provisioned cluster. |
|
storageProfile |
The storage configuration profile for the provisioned cluster. |
PublicKeys
The list of SSH public keys used to authenticate with VMs. A maximum of 1 key may be specified.
Name | Type | Description |
---|---|---|
keyData |
string |
Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. |
ResourceProvisioningState
Provisioning state of the resource
Value | Description |
---|---|
Accepted | |
Canceled | |
Creating | |
Deleting | |
Failed | |
Pending | |
Succeeded | |
Updating | |
Upgrading |
Ssh
SSH configuration for VMs of the provisioned cluster.
Name | Type | Description |
---|---|---|
publicKeys |
The list of SSH public keys used to authenticate with VMs. A maximum of 1 key may be specified. |
Status
The observed status of the provisioned cluster.
Name | Type | Description |
---|---|---|
controlPlaneStatus |
The detailed status of the provisioned cluster components including addons. |
|
currentState |
The current state of the provisioned cluster. |
|
errorMessage |
string |
Error messages during a provisioned cluster operation or steady state. |
StorageProfile
The storage configuration profile for the provisioned cluster.
Name | Type | Description |
---|---|---|
nfsCsiDriver |
NFS CSI Driver settings for the storage profile. |
|
smbCsiDriver |
SMB CSI Driver settings for the storage profile. |
StorageProfileNfsCSIDriver
NFS CSI Driver settings for the storage profile.
Name | Type | Default value | Description |
---|---|---|---|
enabled |
boolean |
True |
Indicates whether to enable NFS CSI Driver. The default value is true. |
StorageProfileSmbCSIDriver
SMB CSI Driver settings for the storage profile.
Name | Type | Default value | Description |
---|---|---|---|
enabled |
boolean |
True |
Indicates whether to enable SMB CSI Driver. The default value is true. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |