Class OSDiskImage
Contains the os disk image information.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
public class OSDiskImage
Constructors
OSDiskImage()
Initializes a new instance of the OSDiskImage class.
Declaration
public OSDiskImage ();
OSDiskImage(OperatingSystemTypes)
Initializes a new instance of the OSDiskImage class.
Declaration
public OSDiskImage (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes operatingSystem);
Parameters
|
OperatingSystemTypes
operatingSystem
The operating system of the osDiskImage. Possible values include: 'Windows', 'Linux' |
Properties
OperatingSystem
Gets or sets the operating system of the osDiskImage. Possible values include: 'Windows', 'Linux'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="operatingSystem")]
public Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes OperatingSystem { get; set; }
Property Value
|
OperatingSystemTypes
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |