Managed Clusters - Get Mesh Revision Profile

Gets a mesh revision profile for a specified mesh in the specified location.
Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}?api-version=2024-02-01

URI Parameters

Name In Required Type Description
location
path True

string

The name of the Azure region.

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]$

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

MeshRevisionProfile

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

Get a mesh revision profile for a mesh mode

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/location1/meshRevisionProfiles/istio?api-version=2024-02-01

Sample Response

{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/location1/meshRevisionProfiles/istio",
  "type": "Microsoft.ContainerService/locations/meshRevisionProfiles",
  "name": "istio",
  "properties": {
    "meshRevisions": [
      {
        "revision": "asm-1-17",
        "upgrades": [
          "asm-1-18"
        ],
        "compatibleWith": [
          {
            "name": "kubernetes",
            "versions": [
              "1.23",
              "1.24",
              "1.25",
              "1.26"
            ]
          }
        ]
      },
      {
        "revision": "asm-1-18",
        "upgrades": [],
        "compatibleWith": [
          {
            "name": "kubernetes",
            "versions": [
              "1.24",
              "1.25",
              "1.26",
              "1.27"
            ]
          }
        ]
      }
    ]
  }
}

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.

MeshRevision

Holds information on upgrades and compatibility for given major.minor mesh release.

MeshRevisionProfile

Mesh revision profile for a mesh.

MeshRevisionProfileProperties

Mesh revision profile properties for a mesh

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

MeshRevision

Holds information on upgrades and compatibility for given major.minor mesh 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

MeshRevisionProfile

Mesh revision profile for a 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

MeshRevisionProfileProperties

Mesh revision profile properties for a mesh

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"

MeshRevisionProfileProperties

Mesh revision profile properties for a mesh

Name Type Description
meshRevisions

MeshRevision[]

Holds information on upgrades and compatibility for given major.minor mesh release.

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.