Freigeben über


IVirtualMachineInstance.OSDiskOstype Property

Definition

This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.

[Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PSArgumentCompleter(new System.String[] { "Windows", "Linux" })]
[Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info(Create=true, Description="This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="osType", Update=true)]
public string OSDiskOstype { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PSArgumentCompleter(new System.String[] { "Windows", "Linux" })>]
[<Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info(Create=true, Description="This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="osType", Update=true)>]
member this.OSDiskOstype : string with get, set
Public Property OSDiskOstype As String

Property Value

Attributes

Applies to