Share via


ContainerGroupIdentity Class

Definition

Identity for the container group.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupIdentityTypeConverter))]
public class ContainerGroupIdentity : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupIdentityTypeConverter))>]
type ContainerGroupIdentity = class
    interface IContainerGroupIdentity
    interface IJsonSerializable
Public Class ContainerGroupIdentity
Implements IContainerGroupIdentity
Inheritance
ContainerGroupIdentity
Attributes
Implements

Constructors

ContainerGroupIdentity()

Creates an new ContainerGroupIdentity instance.

Properties

PrincipalId

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

TenantId

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

Type

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.

UserAssignedIdentity

The list of user identities associated with the container group.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerGroupIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerGroupIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupIdentity.

FromJsonString(String)

Creates a new instance of ContainerGroupIdentity, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerGroupIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to