GalleryIdentity Constructors

Definition

Overloads

Name Description
GalleryIdentity()

Initializes a new instance of the GalleryIdentity class.

GalleryIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,UserAssignedIdentitiesValue>)

Initializes a new instance of the GalleryIdentity class.

GalleryIdentity()

Initializes a new instance of the GalleryIdentity class.

public GalleryIdentity();
Public Sub New ()

Applies to

GalleryIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,UserAssignedIdentitiesValue>)

Initializes a new instance of the GalleryIdentity class.

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

Parameters

principalId
String

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

tenantId
String

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

type
Nullable<ResourceIdentityType>

The type of identity used for the gallery. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove all identities from the gallery. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'

userAssignedIdentities
IDictionary<String,UserAssignedIdentitiesValue>

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