provisioned Cluster Instances - Get Upgrade Profile
Gets the upgrade profile of a provisioned cluster
GET https://management.azure.com/{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/upgradeProfiles/default?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 |
OK |
|
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
GetUpgradeProfileForProvisionedClusterInstance
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/default/upgradeProfiles/default?api-version=2024-01-01
Sample response
{
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/upgradeprofiles/default",
"name": "default",
"properties": {
"controlPlaneProfile": {
"kubernetesVersion": "1.7.7",
"osType": "Linux",
"upgrades": [
{
"kubernetesVersion": "1.7.9",
"isPreview": true
},
{
"kubernetesVersion": "1.7.11"
}
]
}
},
"type": "Microsoft.HybridContainerService/provisionedClusterInstances/upgradeprofiles"
}
Definitions
Name | Description |
---|---|
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
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 list of available kubernetes versions for upgrade. |
Provisioned |
The upgrade properties. |
Provisioned |
The list of available kubernetes version upgrades for the provisioned cluster. |
Resource |
Provisioning state of the resource |
system |
Metadata pertaining to creation and last modification of the resource. |
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. |
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 |
ProvisionedClusterPoolUpgradeProfile
The list of available kubernetes versions for upgrade.
Name | Type | Default value | Description |
---|---|---|---|
kubernetesVersion |
string |
The Kubernetes version (major.minor.patch). |
|
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' |
|
upgrades |
List of available kubernetes versions for upgrade. |
ProvisionedClusterPoolUpgradeProfileProperties
The upgrade properties.
Name | Type | Description |
---|---|---|
isPreview |
boolean |
Whether the Kubernetes version is currently in preview. |
kubernetesVersion |
string |
The Kubernetes version (major.minor.patch). |
ProvisionedClusterUpgradeProfile
The list of available kubernetes version upgrades for the provisioned cluster.
Name | Type | Description |
---|---|---|
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.controlPlaneProfile |
The list of available kubernetes version upgrades for the control plane. |
|
properties.provisioningState |
Provisioning state of the resource |
|
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" |
ResourceProvisioningState
Provisioning state of the resource
Value | Description |
---|---|
Accepted | |
Canceled | |
Creating | |
Deleting | |
Failed | |
Pending | |
Succeeded | |
Updating | |
Upgrading |
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. |