Aracılığıyla paylaş


ManagedClusterIdentity Constructors

Definition

Overloads

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.

ManagedClusterIdentity()

Initializes a new instance of the ManagedClusterIdentity class.

public ManagedClusterIdentity ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ManagedClusterIdentity class.

public ManagedClusterIdentity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterIdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterIdentity : string * string * Nullable<Microsoft.Azure.Management.ContainerService.Fluent.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterIdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.ContainerService.Fluent.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, ManagedClusterIdentityUserAssignedIdentitiesValue) = 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. 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
IDictionary<String,ManagedClusterIdentityUserAssignedIdentitiesValue>

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