次の方法で共有


VirtualMachineScaleSetOSDisk コンストラクター

定義

オーバーロード

VirtualMachineScaleSetOSDisk()

VirtualMachineScaleSetOSDisk クラスの新しいインスタンスを初期化します。

VirtualMachineScaleSetOSDisk(DiskCreateOptionTypes, String, Nullable<CachingTypes>, Nullable<Boolean>, DiffDiskSettings, Nullable<Int32>, Nullable<OperatingSystemTypes>, VirtualHardDisk, IList<String>, VirtualMachineScaleSetManagedDiskParameters)

VirtualMachineScaleSetOSDisk クラスの新しいインスタンスを初期化します。

VirtualMachineScaleSetOSDisk()

VirtualMachineScaleSetOSDisk クラスの新しいインスタンスを初期化します。

public VirtualMachineScaleSetOSDisk();
Public Sub New ()

適用対象

VirtualMachineScaleSetOSDisk(DiskCreateOptionTypes, String, Nullable<CachingTypes>, Nullable<Boolean>, DiffDiskSettings, Nullable<Int32>, Nullable<OperatingSystemTypes>, VirtualHardDisk, IList<String>, VirtualMachineScaleSetManagedDiskParameters)

VirtualMachineScaleSetOSDisk クラスの新しいインスタンスを初期化します。

public VirtualMachineScaleSetOSDisk(Microsoft.Azure.Management.Compute.Fluent.Models.DiskCreateOptionTypes createOption, string name = default, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes? caching = default, bool? writeAcceleratorEnabled = default, Microsoft.Azure.Management.Compute.Fluent.Models.DiffDiskSettings diffDiskSettings = default, int? diskSizeGB = default, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes? osType = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualHardDisk image = default, System.Collections.Generic.IList<string> vhdContainers = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetManagedDiskParameters managedDisk = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetOSDisk : Microsoft.Azure.Management.Compute.Fluent.Models.DiskCreateOptionTypes * string * Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes> * Nullable<bool> * Microsoft.Azure.Management.Compute.Fluent.Models.DiffDiskSettings * Nullable<int> * Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes> * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualHardDisk * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetManagedDiskParameters -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetOSDisk
Public Sub New (createOption As DiskCreateOptionTypes, Optional name As String = Nothing, Optional caching As Nullable(Of CachingTypes) = Nothing, Optional writeAcceleratorEnabled As Nullable(Of Boolean) = Nothing, Optional diffDiskSettings As DiffDiskSettings = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional image As VirtualHardDisk = Nothing, Optional vhdContainers As IList(Of String) = Nothing, Optional managedDisk As VirtualMachineScaleSetManagedDiskParameters = Nothing)

パラメーター

createOption
DiskCreateOptionTypes

スケール セット内の仮想マシンの作成方法を指定します。<br><br> 使用できる値は、 FromImage \u2013 のみです。この値は、イメージを使用して仮想マシンを作成するときに使用されます。 プラットフォーム イメージを使用している場合は、上記の imageReference 要素も使用します。 マーケットプレース イメージを使用している場合は、前に説明した plan 要素も使用します。 指定できる値は、'FromImage'、'Empty'、'Attach' です。

name
String

ディスク名。

caching
Nullable<CachingTypes>

キャッシュの要件を指定します。 <br><br> 使用できる値は、<br br><>None<br><br>ReadOnly<br><br>ReadWrite<br><br> Default: None for Standard Storage です。Premium Storage の ReadOnly。 使用できる値は、'None'、'ReadOnly'、'ReadWrite' です。

writeAcceleratorEnabled
Nullable<Boolean>

ディスクで writeAccelerator を有効または無効にするかどうかを指定します。

diffDiskSettings
DiffDiskSettings

仮想マシン スケール セットで使用されるオペレーティング システム ディスクのエフェメラル ディスク設定を指定します。

diskSizeGB
Nullable<Int32>

オペレーティング システム ディスクのサイズをギガバイト単位で指定します。 この要素を使用して、仮想マシン イメージ内のディスクのサイズを上書きできます。 <br br><> この値は 1023 GB より大きくすることはできません

osType
Nullable<OperatingSystemTypes>

このプロパティを使用すると、ユーザー イメージまたは特殊化された VHD から VM を作成する場合に、ディスクに含まれる OS の種類を指定できます。 <br><br> 可能な値は、<br br><>Windows<br br><>Linux です。 使用可能な値は次のとおりです: 'Windows'、'Linux'

image
VirtualHardDisk

スケール セットの基にするアンマネージド ユーザー イメージに関する情報を指定します。

vhdContainers
IList<String>

スケール セットのオペレーティング システム ディスクの格納に使用するコンテナー URL を指定します。

managedDisk
VirtualMachineScaleSetManagedDiskParameters

マネージド ディスク のパラメーター。

適用対象