Partilhar via


AgentDiskDetails Class

Definition

Agent disk details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AgentDiskDetailsTypeConverter))]
public class AgentDiskDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAgentDiskDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AgentDiskDetailsTypeConverter))>]
type AgentDiskDetails = class
    interface IAgentDiskDetails
    interface IJsonSerializable
Public Class AgentDiskDetails
Implements IAgentDiskDetails
Inheritance
AgentDiskDetails
Attributes
Implements

Constructors

AgentDiskDetails()

Creates an new AgentDiskDetails instance.

Properties

CapacityInByte

The disk capacity in bytes.

DiskId

The disk Id.

DiskName

The disk name.

IsOSDisk

A value indicating whether the disk is the OS disk.

LunId

The lun of disk.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentDiskDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentDiskDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAgentDiskDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentDiskDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to