Share via


IdentityProperties Constructors

Definition

Overloads

IdentityProperties()

Initializes a new instance of the IdentityProperties class.

IdentityProperties(String, String, Nullable<ResourceIdentityType>, IDictionary<String,UserIdentityProperties>)

Initializes a new instance of the IdentityProperties class.

IdentityProperties()

Initializes a new instance of the IdentityProperties class.

public IdentityProperties ();
Public Sub New ()

Applies to

IdentityProperties(String, String, Nullable<ResourceIdentityType>, IDictionary<String,UserIdentityProperties>)

Initializes a new instance of the IdentityProperties class.

public IdentityProperties (string principalId = default, string tenantId = default, Microsoft.Azure.Management.ContainerRegistry.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerRegistry.Models.UserIdentityProperties> userAssignedIdentities = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.IdentityProperties : string * string * Nullable<Microsoft.Azure.Management.ContainerRegistry.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerRegistry.Models.UserIdentityProperties> -> Microsoft.Azure.Management.ContainerRegistry.Models.IdentityProperties
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, UserIdentityProperties) = Nothing)

Parameters

principalId
String

The principal ID of resource identity.

tenantId
String

The tenant ID of resource.

type
Nullable<ResourceIdentityType>

The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'

userAssignedIdentities
IDictionary<String,UserIdentityProperties>

The list of user identities associated with the resource. 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