共用方式為


ManagedServiceIdentity Constructors

Definition

Overloads

ManagedServiceIdentity()

Initializes a new instance of the ManagedServiceIdentity class.

ManagedServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedServiceIdentity class.

ManagedServiceIdentity()

Initializes a new instance of the ManagedServiceIdentity class.

public ManagedServiceIdentity ();
Public Sub New ()

Applies to

ManagedServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedServiceIdentity class.

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

Parameters

type
String

Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'

principalId
Nullable<Guid>

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

tenantId
Nullable<Guid>

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

Applies to