Udostępnij przez


DataDisk Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.DataDiskTypeConverter))]
public class DataDisk : Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDataDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.DataDiskTypeConverter))>]
type DataDisk = class
    interface IDataDisk
    interface IJsonSerializable
Public Class DataDisk
Implements IDataDisk
Inheritance
DataDisk
Attributes
Implements

Constructors

Name Description
DataDisk()

Creates an new DataDisk instance.

Properties

Name Description
CreateOption

Specifies how the virtual machine should be created.

DiskSizeGb

Specifies the size of an empty disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

Name

The name of data disk.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataDisk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataDisk.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.IDataDisk.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataDisk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to