OSDisk 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.
Settings for the operating system disk.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.OSDiskTypeConverter))]
public class OSDisk : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IOSDisk
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.OSDiskTypeConverter))>]
type OSDisk = class
interface IOSDisk
interface IJsonSerializable
Public Class OSDisk
Implements IOSDisk
- Inheritance
-
OSDisk
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| OSDisk() |
Creates an new OSDisk instance. |
Properties
| Name | Description |
|---|---|
| DiskSizeGb |
The size of the OS Disk in gigabytes. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of OSDisk. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IOSDisk. |
| FromJsonString(String) |
Creates a new instance of OSDisk, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |