GalleryIdentity Class

Definition

Identity for the virtual machine.

public class GalleryIdentity
type GalleryIdentity = class
Public Class GalleryIdentity
Inheritance
GalleryIdentity

Constructors

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.

Properties

Name Description
PrincipalId

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

TenantId

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

Type

Gets or sets 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

Gets or sets 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