Managed Clusters - Get Mesh Upgrade Profile

Gets available upgrades for a service mesh in a cluster.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles/{mode}?api-version=2024-09-01

URI Parameters

Name In Required Type Description
mode
path True

string

The mode of the mesh.

Regex pattern: ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$

resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

resourceName
path True

string

The name of the managed cluster resource.

Regex pattern: ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$

subscriptionId
path True

string

uuid

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

MeshUpgradeProfile

OK

Other Status Codes

CloudError

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

Gets version compatibility and upgrade profile for a service mesh in a cluster

Sample request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/meshUpgradeProfiles/istio?api-version=2024-09-01

Sample response

{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/meshUpgradeProfiles/istio",
  "type": "Microsoft.ContainerService/managedClusters/meshUpgradeProfiles",
  "name": "istio",
  "properties": {
    "revision": "asm-1-17",
    "upgrades": [
      "asm-1-18"
    ],
    "compatibleWith": [
      {
        "name": "kubernetes",
        "versions": [
          "1.23",
          "1.24",
          "1.25",
          "1.26"
        ]
      }
    ]
  }
}

Definitions

Name Description
CloudError

An error response from the Container service.

CloudErrorBody

An error response from the Container service.

CompatibleVersions

Version information about a product/service that is compatible with a service mesh revision.

createdByType

The type of identity that created the resource.

MeshUpgradeProfile

Upgrade profile for given mesh.

MeshUpgradeProfileProperties

Mesh upgrade profile properties for a major.minor release.

systemData

Metadata pertaining to creation and last modification of the resource.

CloudError

An error response from the Container service.

Name Type Description
error

CloudErrorBody

Details about the error.

CloudErrorBody

An error response from the Container service.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

details

CloudErrorBody[]

A list of additional details about the error.

message

string

A message describing the error, intended to be suitable for display in a user interface.

target

string

The target of the particular error. For example, the name of the property in error.

CompatibleVersions

Version information about a product/service that is compatible with a service mesh revision.

Name Type Description
name

string

The product/service name.

versions

string[]

Product/service versions compatible with a service mesh add-on revision.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

MeshUpgradeProfile

Upgrade profile for given mesh.

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

MeshUpgradeProfileProperties

Mesh upgrade profile properties for a major.minor release.

systemData

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"

MeshUpgradeProfileProperties

Mesh upgrade profile properties for a major.minor release.

Name Type Description
compatibleWith

CompatibleVersions[]

List of items this revision of service mesh is compatible with, and their associated versions.

revision

string

The revision of the mesh release.

upgrades

string[]

List of revisions available for upgrade of a specific mesh revision

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

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

createdByType

The type of identity that last modified the resource.