Share via


HyperVToAzStackHcidiskInput Class

Definition

HyperVToAzStack disk input.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.HyperVToAzStackHcidiskInputTypeConverter))]
public class HyperVToAzStackHcidiskInput : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IHyperVToAzStackHcidiskInput
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.HyperVToAzStackHcidiskInputTypeConverter))>]
type HyperVToAzStackHcidiskInput = class
    interface IHyperVToAzStackHcidiskInput
    interface IJsonSerializable
Public Class HyperVToAzStackHcidiskInput
Implements IHyperVToAzStackHcidiskInput
Inheritance
HyperVToAzStackHcidiskInput
Attributes
Implements

Constructors

HyperVToAzStackHcidiskInput()

Creates an new HyperVToAzStackHcidiskInput instance.

Properties

DiskFileFormat

Gets or sets the type of the virtual hard disk, vhd or vhdx.

DiskId

Gets or sets the disk Id.

DiskSizeGb

Gets or sets the disk size in GB.

IsDynamic

Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk.

IsOSDisk

Gets or sets a value indicating whether disk is os disk.

StorageContainerId

Gets or sets the target storage account ARM Id.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVToAzStackHcidiskInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVToAzStackHcidiskInput.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IHyperVToAzStackHcidiskInput.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVToAzStackHcidiskInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to