Microsoft.Kubernetes (preview:2024-12-01)

2025/07/04 • 6 new, 2 updated methods

ConnectedCluster_ListByResourceGroup (new)
Description API to enumerate registered connected K8s clusters under a Resource Group
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
kind: enum ,
properties:
{
agentPublicKeyCertificate: string ,
kubernetesVersion: string ,
totalNodeCount: integer ,
totalCoreCount: integer ,
agentVersion: string ,
provisioningState: enum ,
distribution: string ,
distributionVersion: string ,
infrastructure: string ,
offering: string ,
managedIdentityCertificateExpirationTime: string ,
lastConnectivityTime: string ,
connectivityStatus: enum ,
privateLinkState: enum ,
privateLinkScopeResourceId: string ,
azureHybridBenefit: enum ,
aadProfile:
{
enableAzureRBAC: boolean ,
adminGroupObjectIDs:
[
string ,
]
,
tenantID: string ,
}
,
arcAgentProfile:
{
desiredAgentVersion: string ,
agentAutoUpgrade: enum ,
systemComponents:
[
{
type: string ,
userSpecifiedVersion: string ,
majorVersion: integer ,
currentVersion: string ,
}
,
]
,
agentErrors:
[
{
message: string ,
severity: string ,
component: string ,
time: string ,
}
,
]
,
agentState: string ,
}
,
securityProfile:
{
workloadIdentity:
{
enabled: boolean ,
}
,
}
,
oidcIssuerProfile:
{
enabled: boolean ,
issuerUrl: string ,
selfHostedIssuerUrl: string ,
}
,
gateway:
{
enabled: boolean ,
resourceId: string ,
}
,
arcAgentryConfigurations:
[
{
feature: string ,
settings: object ,
protectedSettings: object ,
}
,
]
,
miscellaneousProperties: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedCluster_Get (new)
Description Returns the properties of the specified connected cluster, including name, identity, properties, and additional cluster details.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
kind: enum ,
properties:
{
agentPublicKeyCertificate: string ,
kubernetesVersion: string ,
totalNodeCount: integer ,
totalCoreCount: integer ,
agentVersion: string ,
provisioningState: enum ,
distribution: string ,
distributionVersion: string ,
infrastructure: string ,
offering: string ,
managedIdentityCertificateExpirationTime: string ,
lastConnectivityTime: string ,
connectivityStatus: enum ,
privateLinkState: enum ,
privateLinkScopeResourceId: string ,
azureHybridBenefit: enum ,
aadProfile:
{
enableAzureRBAC: boolean ,
adminGroupObjectIDs:
[
string ,
]
,
tenantID: string ,
}
,
arcAgentProfile:
{
desiredAgentVersion: string ,
agentAutoUpgrade: enum ,
systemComponents:
[
{
type: string ,
userSpecifiedVersion: string ,
majorVersion: integer ,
currentVersion: string ,
}
,
]
,
agentErrors:
[
{
message: string ,
severity: string ,
component: string ,
time: string ,
}
,
]
,
agentState: string ,
}
,
securityProfile:
{
workloadIdentity:
{
enabled: boolean ,
}
,
}
,
oidcIssuerProfile:
{
enabled: boolean ,
issuerUrl: string ,
selfHostedIssuerUrl: string ,
}
,
gateway:
{
enabled: boolean ,
resourceId: string ,
}
,
arcAgentryConfigurations:
[
{
feature: string ,
settings: object ,
protectedSettings: object ,
}
,
]
,
miscellaneousProperties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedCluster_CreateOrReplace (new)
Description API to register a new Kubernetes cluster and create or replace a connected cluster tracked resource in Azure Resource Manager (ARM).
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
ConnectedCluster:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
kind: enum ,
properties:
{
agentPublicKeyCertificate: string ,
kubernetesVersion: string ,
totalNodeCount: integer ,
totalCoreCount: integer ,
agentVersion: string ,
provisioningState: enum ,
distribution: string ,
distributionVersion: string ,
infrastructure: string ,
offering: string ,
managedIdentityCertificateExpirationTime: string ,
lastConnectivityTime: string ,
connectivityStatus: enum ,
privateLinkState: enum ,
privateLinkScopeResourceId: string ,
azureHybridBenefit: enum ,
aadProfile:
{
enableAzureRBAC: boolean ,
adminGroupObjectIDs:
[
string ,
]
,
tenantID: string ,
}
,
arcAgentProfile:
{
desiredAgentVersion: string ,
agentAutoUpgrade: enum ,
systemComponents:
[
{
type: string ,
userSpecifiedVersion: string ,
majorVersion: integer ,
currentVersion: string ,
}
,
]
,
agentErrors:
[
{
message: string ,
severity: string ,
component: string ,
time: string ,
}
,
]
,
agentState: string ,
}
,
securityProfile:
{
workloadIdentity:
{
enabled: boolean ,
}
,
}
,
oidcIssuerProfile:
{
enabled: boolean ,
issuerUrl: string ,
selfHostedIssuerUrl: string ,
}
,
gateway:
{
enabled: boolean ,
resourceId: string ,
}
,
arcAgentryConfigurations:
[
{
feature: string ,
settings: object ,
protectedSettings: object ,
}
,
]
,
miscellaneousProperties: object ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
kind: enum ,
properties:
{
agentPublicKeyCertificate: string ,
kubernetesVersion: string ,
totalNodeCount: integer ,
totalCoreCount: integer ,
agentVersion: string ,
provisioningState: enum ,
distribution: string ,
distributionVersion: string ,
infrastructure: string ,
offering: string ,
managedIdentityCertificateExpirationTime: string ,
lastConnectivityTime: string ,
connectivityStatus: enum ,
privateLinkState: enum ,
privateLinkScopeResourceId: string ,
azureHybridBenefit: enum ,
aadProfile:
{
enableAzureRBAC: boolean ,
adminGroupObjectIDs:
[
string ,
]
,
tenantID: string ,
}
,
arcAgentProfile:
{
desiredAgentVersion: string ,
agentAutoUpgrade: enum ,
systemComponents:
[
{
type: string ,
userSpecifiedVersion: string ,
majorVersion: integer ,
currentVersion: string ,
}
,
]
,
agentErrors:
[
{
message: string ,
severity: string ,
component: string ,
time: string ,
}
,
]
,
agentState: string ,
}
,
securityProfile:
{
workloadIdentity:
{
enabled: boolean ,
}
,
}
,
oidcIssuerProfile:
{
enabled: boolean ,
issuerUrl: string ,
selfHostedIssuerUrl: string ,
}
,
gateway:
{
enabled: boolean ,
resourceId: string ,
}
,
arcAgentryConfigurations:
[
{
feature: string ,
settings: object ,
protectedSettings: object ,
}
,
]
,
miscellaneousProperties: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
kind: enum ,
properties:
{
agentPublicKeyCertificate: string ,
kubernetesVersion: string ,
totalNodeCount: integer ,
totalCoreCount: integer ,
agentVersion: string ,
provisioningState: enum ,
distribution: string ,
distributionVersion: string ,
infrastructure: string ,
offering: string ,
managedIdentityCertificateExpirationTime: string ,
lastConnectivityTime: string ,
connectivityStatus: enum ,
privateLinkState: enum ,
privateLinkScopeResourceId: string ,
azureHybridBenefit: enum ,
aadProfile:
{
enableAzureRBAC: boolean ,
adminGroupObjectIDs:
[
string ,
]
,
tenantID: string ,
}
,
arcAgentProfile:
{
desiredAgentVersion: string ,
agentAutoUpgrade: enum ,
systemComponents:
[
{
type: string ,
userSpecifiedVersion: string ,
majorVersion: integer ,
currentVersion: string ,
}
,
]
,
agentErrors:
[
{
message: string ,
severity: string ,
component: string ,
time: string ,
}
,
]
,
agentState: string ,
}
,
securityProfile:
{
workloadIdentity:
{
enabled: boolean ,
}
,
}
,
oidcIssuerProfile:
{
enabled: boolean ,
issuerUrl: string ,
selfHostedIssuerUrl: string ,
}
,
gateway:
{
enabled: boolean ,
resourceId: string ,
}
,
arcAgentryConfigurations:
[
{
feature: string ,
settings: object ,
protectedSettings: object ,
}
,
]
,
miscellaneousProperties: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedCluster_Update (new)
Description API to update certain properties of the connected cluster resource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
ConnectedClusterPatch:
{
tags: object ,
properties:
{
distribution: string ,
distributionVersion: string ,
azureHybridBenefit: enum ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
kind: enum ,
properties:
{
agentPublicKeyCertificate: string ,
kubernetesVersion: string ,
totalNodeCount: integer ,
totalCoreCount: integer ,
agentVersion: string ,
provisioningState: enum ,
distribution: string ,
distributionVersion: string ,
infrastructure: string ,
offering: string ,
managedIdentityCertificateExpirationTime: string ,
lastConnectivityTime: string ,
connectivityStatus: enum ,
privateLinkState: enum ,
privateLinkScopeResourceId: string ,
azureHybridBenefit: enum ,
aadProfile:
{
enableAzureRBAC: boolean ,
adminGroupObjectIDs:
[
string ,
]
,
tenantID: string ,
}
,
arcAgentProfile:
{
desiredAgentVersion: string ,
agentAutoUpgrade: enum ,
systemComponents:
[
{
type: string ,
userSpecifiedVersion: string ,
majorVersion: integer ,
currentVersion: string ,
}
,
]
,
agentErrors:
[
{
message: string ,
severity: string ,
component: string ,
time: string ,
}
,
]
,
agentState: string ,
}
,
securityProfile:
{
workloadIdentity:
{
enabled: boolean ,
}
,
}
,
oidcIssuerProfile:
{
enabled: boolean ,
issuerUrl: string ,
selfHostedIssuerUrl: string ,
}
,
gateway:
{
enabled: boolean ,
resourceId: string ,
}
,
arcAgentryConfigurations:
[
{
feature: string ,
settings: object ,
protectedSettings: object ,
}
,
]
,
miscellaneousProperties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedCluster_Delete (new)
Description Delete a connected cluster, removing the tracked resource in Azure Resource Manager (ARM).
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedCluster_ListClusterUserCredential (new)
Description Gets cluster user credentials of the connected cluster with a specified resource group and name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}/listClusterUserCredential
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
Properties:
{
authenticationMethod: enum ,
clientProxy: boolean ,
}
,
}

⚐ Response (200)

{
hybridConnectionConfig:
{
expirationTime: integer ,
hybridConnectionName: string ,
relay: string ,
token: string ,
relayTid: string ,
relayType: string ,
}
,
kubeconfigs:
[
{
name: string ,
value: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_Get (updated)
Description List the operations for the provider
Reference Link ¶

⚶ Changes

{
  "#id": "Operations_Get",
  "Description": {
    "new": "List the operations for the provider",
    "old": "Lists all of the available API operations for Connected Cluster resource."
  },
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "value",
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "Description": {
              "new": "Details of a REST API operation, returned from the Resource Provider Operations API",
              "old": "The Connected cluster API operation"
            },
            "$properties": [
              {
                "#name": "name",
                "Description": {
                  "new": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"",
                  "old": "Operation name: {Microsoft.Kubernetes}/{resource}/{operation}"
                }
              },
              {
                "@added_caf59ebf86f64f2fb73bbd725203979c": {
                  "#name": "isDataAction",
                  "Description": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.",
                  "Required": false,
                  "Type": "boolean"
                }
              },
              {
                "#name": "display",
                "Description": {
                  "new": "Localized display information for this particular operation.",
                  "old": "The object that represents the operation."
                },
                "$properties": [
                  {
                    "#name": "provider",
                    "Description": {
                      "new": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".",
                      "old": "Service provider: Microsoft.Kubernetes"
                    }
                  },
                  {
                    "#name": "resource",
                    "Description": {
                      "new": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".",
                      "old": "Connected Cluster Resource on which the operation is performed"
                    }
                  },
                  {
                    "#name": "operation",
                    "Description": {
                      "new": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".",
                      "old": "Operation type: Read, write, delete, etc."
                    }
                  },
                  {
                    "#name": "description",
                    "Description": {
                      "new": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
                      "old": "Description of the operation."
                    }
                  }
                ]
              },
              {
                "@added_ad2f3dc65d9c41ec806e2b9513fb7a96": {
                  "#name": "origin",
                  "Description": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
                  "Enum": [
                    [
                      "user",
                      ""
                    ],
                    [
                      "system",
                      ""
                    ],
                    [
                      "user,system",
                      ""
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              },
              {
                "@added_f6fd296fcd5a4a8f89b3529d15c194b7": {
                  "#name": "actionType",
                  "Description": "Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
                  "Enum": [
                    [
                      "Internal",
                      ""
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.Kubernetes/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedCluster_ListBySubscription (updated)
Description API to enumerate registered connected K8s clusters under a Subscription
Reference Link ¶

⚶ Changes

{
  "#id": "ConnectedCluster_ListBySubscription",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The ConnectedCluster items on this page",
            "old": "The list of connected clusters"
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": {
              "@removed_de8bbd00e52a4c078ebe279110e8381a": {
                "#name": "systemData",
                "Description": "Metadata pertaining to creation and last modification of the resource",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdAt",
                    "Description": "The timestamp of resource creation (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedBy",
                    "Description": "The identity that last modified the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedByType",
                    "Description": "The type of identity that last modified the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedAt",
                    "Description": "The timestamp of resource modification (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              }
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "The link to fetch the next page of connected clusters"
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Kubernetes/connectedClusters
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
kind: enum ,
properties:
{
agentPublicKeyCertificate: string ,
kubernetesVersion: string ,
totalNodeCount: integer ,
totalCoreCount: integer ,
agentVersion: string ,
provisioningState: enum ,
distribution: string ,
distributionVersion: string ,
infrastructure: string ,
offering: string ,
managedIdentityCertificateExpirationTime: string ,
lastConnectivityTime: string ,
connectivityStatus: enum ,
privateLinkState: enum ,
privateLinkScopeResourceId: string ,
azureHybridBenefit: enum ,
aadProfile:
{
enableAzureRBAC: boolean ,
adminGroupObjectIDs:
[
string ,
]
,
tenantID: string ,
}
,
arcAgentProfile:
{
desiredAgentVersion: string ,
agentAutoUpgrade: enum ,
systemComponents:
[
{
type: string ,
userSpecifiedVersion: string ,
majorVersion: integer ,
currentVersion: string ,
}
,
]
,
agentErrors:
[
{
message: string ,
severity: string ,
component: string ,
time: string ,
}
,
]
,
agentState: string ,
}
,
securityProfile:
{
workloadIdentity:
{
enabled: boolean ,
}
,
}
,
oidcIssuerProfile:
{
enabled: boolean ,
issuerUrl: string ,
selfHostedIssuerUrl: string ,
}
,
gateway:
{
enabled: boolean ,
resourceId: string ,
}
,
arcAgentryConfigurations:
[
{
feature: string ,
settings: object ,
protectedSettings: object ,
}
,
]
,
miscellaneousProperties: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}