DataDisk Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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) | |
| 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) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |