Share via


Identity Class

Definition

Defines the MSI properties of the Move Collection.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IdentityTypeConverter))]
public class Identity : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IdentityTypeConverter))>]
type Identity = class
    interface IIdentity
    interface IJsonSerializable
Public Class Identity
Implements IIdentity
Inheritance
Identity
Attributes
Implements

Constructors

Identity()

Creates an new Identity instance.

Properties

PrincipalId

Gets or sets the principal id.

TenantId

Gets or sets the tenant id.

Type

The type of identity used for the resource mover service.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Identity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Identity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Identity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to