Sdílet prostřednictvím


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.RedisCache.Models.UserAssignedIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.RedisCache.Models.ManagedServiceIdentity : string * Nullable<Guid> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.RedisCache.Models.UserAssignedIdentity> -> Microsoft.Azure.Management.RedisCache.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

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 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>

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Applies to