ManagedClusterIdentity Constructors

Definition

Overloads

ManagedClusterIdentity()

Initializes a new instance of the ManagedClusterIdentity class.

public ManagedClusterIdentity();
Public Sub New ()

Applies to

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

Initializes a new instance of the ManagedClusterIdentity class.

public ManagedClusterIdentity(string principalId = default, string tenantId = default, Microsoft.Azure.Management.ContainerService.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Models.ManagedServiceIdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity : string * string * Nullable<Microsoft.Azure.Management.ContainerService.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Models.ManagedServiceIdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, ManagedServiceIdentityUserAssignedIdentitiesValue) = Nothing)

Parameters

principalId
String

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

tenantId
String

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

type
Nullable<ResourceIdentityType>

For more information see use managed identities in AKS. Possible values include: 'SystemAssigned', 'UserAssigned', 'None'

userAssignedIdentities
IDictionary<String,ManagedServiceIdentityUserAssignedIdentitiesValue>

The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Applies to

ManagedClusterIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,DelegatedResource>, IDictionary<String,ManagedServiceIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the ManagedClusterIdentity class.

public ManagedClusterIdentity(string principalId = default, string tenantId = default, Microsoft.Azure.Management.ContainerService.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Models.DelegatedResource> delegatedResources = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Models.ManagedServiceIdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity : string * string * Nullable<Microsoft.Azure.Management.ContainerService.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Models.DelegatedResource> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Models.ManagedServiceIdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.ContainerService.Models.ManagedClusterIdentity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional delegatedResources As IDictionary(Of String, DelegatedResource) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, ManagedServiceIdentityUserAssignedIdentitiesValue) = Nothing)

Parameters

principalId
String

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

tenantId
String

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

type
Nullable<ResourceIdentityType>

The type of identity used for the managed cluster. For more information see use managed identities in AKS. Possible values include: 'SystemAssigned', 'UserAssigned', 'None'

delegatedResources
IDictionary<String,DelegatedResource>

The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.

userAssignedIdentities
IDictionary<String,ManagedServiceIdentityUserAssignedIdentitiesValue>

The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Applies to