Share via


ContainerGroupIdentity Class

Definition

Identity for the container group.

public class ContainerGroupIdentity
type ContainerGroupIdentity = class
Public Class ContainerGroupIdentity
Inheritance
ContainerGroupIdentity

Constructors

ContainerGroupIdentity()

Initializes a new instance of the ContainerGroupIdentity class.

ContainerGroupIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ContainerGroupIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the ContainerGroupIdentity class.

Properties

PrincipalId

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

TenantId

Gets the tenant id associated with the container group. This property will only be provided for a system assigned identity.

Type

Gets or sets the type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'

UserAssignedIdentities

Gets or sets the list of user identities associated with the container group. 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