Share via


ManagedClusterIdentity Class

Definition

Identity for the managed cluster.

public class ManagedClusterIdentity
type ManagedClusterIdentity = class
Public Class ManagedClusterIdentity
Inheritance
ManagedClusterIdentity

Constructors

ManagedClusterIdentity()

Initializes a new instance of the ManagedClusterIdentity class.

ManagedClusterIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ManagedClusterIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the ManagedClusterIdentity class.

Properties

PrincipalId

Gets the principal id of the system assigned identity which is used by master components.

TenantId

Gets the tenant id of the system assigned identity which is used by master components.

Type

Gets or sets the type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead. Possible values include: 'SystemAssigned', 'UserAssigned', 'None'

UserAssignedIdentities

Gets or sets the user identity associated with the managed cluster. This identity will be used in control plane and only one user assigned identity is allowed. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Applies to