次の方法で共有


ImageDisk コンストラクター

定義

オーバーロード

ImageDisk()

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

ImageDisk(SubResource, SubResource, String, Nullable<CachingTypes>, Nullable<Int32>, String, DiskEncryptionSetParameters)

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

ImageDisk()

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

public ImageDisk ();
Public Sub New ()

適用対象

ImageDisk(SubResource, SubResource, String, Nullable<CachingTypes>, Nullable<Int32>, String, DiskEncryptionSetParameters)

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

public ImageDisk (Microsoft.Azure.Management.Compute.Models.SubResource snapshot = default, Microsoft.Azure.Management.Compute.Models.SubResource managedDisk = default, string blobUri = default, Microsoft.Azure.Management.Compute.Models.CachingTypes? caching = default, int? diskSizeGB = default, string storageAccountType = default, Microsoft.Azure.Management.Compute.Models.DiskEncryptionSetParameters diskEncryptionSet = default);
new Microsoft.Azure.Management.Compute.Models.ImageDisk : Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.SubResource * string * Nullable<Microsoft.Azure.Management.Compute.Models.CachingTypes> * Nullable<int> * string * Microsoft.Azure.Management.Compute.Models.DiskEncryptionSetParameters -> Microsoft.Azure.Management.Compute.Models.ImageDisk
Public Sub New (Optional snapshot As SubResource = Nothing, Optional managedDisk As SubResource = Nothing, Optional blobUri As String = Nothing, Optional caching As Nullable(Of CachingTypes) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional storageAccountType As String = Nothing, Optional diskEncryptionSet As DiskEncryptionSetParameters = Nothing)

パラメーター

snapshot
SubResource

スナップショット。

managedDisk
SubResource

managedDisk。

blobUri
String

仮想ハード ディスク。

caching
Nullable<CachingTypes>

キャッシュの要件を指定します。 使用できる値は、 None、ReadOnly、ReadWrite です。 既定値は、 Standard Storage の場合は [なし] です。Premium Storage の ReadOnly.. 使用可能な値は、'None'、'ReadOnly'、'ReadWrite' です。

diskSizeGB
Nullable<Int32>

空のデータ ディスクのサイズをギガバイト単位で指定します。 この要素を使用して、仮想マシン イメージ内のディスクの名前を上書きできます。 この値は 1023 GB を超えることはできません。

storageAccountType
String

マネージド ディスクのストレージ アカウントの種類を指定します。 注: UltraSSD_LRSはデータ ディスクでのみ使用できます。OS ディスクでは使用できません。 指定できる値は、'Standard_LRS'、'Premium_LRS'、'StandardSSD_LRS'、'UltraSSD_LRS'、'Premium_ZRS'、'StandardSSD_ZRS'、'PremiumV2_LRS' です。

diskEncryptionSet
DiskEncryptionSetParameters

マネージド イメージ ディスクのカスタマー マネージド ディスク暗号化セット リソース ID を指定します。

適用対象