次の方法で共有


IWithManagedDataDisk.WithNewDataDisk メソッド

定義

オーバーロード

WithNewDataDisk(ICreatable<IDisk>)

指定された定義を使用してマネージド ディスクを明示的に作成し、データ ディスクとして仮想マシンに接続する必要があることを指定します。

WithNewDataDisk(Int32)

指定したサイズでマネージド ディスクを暗黙的に作成する必要があることを指定します。

WithNewDataDisk(ICreatable<IDisk>, Int32, CachingTypes)

指定された定義を使用してマネージド ディスクを明示的に作成し、データ ディスクとして仮想マシンに接続する必要があることを指定します。

WithNewDataDisk(Int32, Int32, CachingTypes)

指定した設定でマネージド ディスクを暗黙的に作成する必要があることを指定します。

WithNewDataDisk(Int32, Int32, CachingTypes, StorageAccountTypes)

指定した設定でマネージド ディスクを暗黙的に作成する必要があることを指定します。

WithNewDataDisk(ICreatable<IDisk>)

指定された定義を使用してマネージド ディスクを明示的に作成し、データ ディスクとして仮想マシンに接続する必要があることを指定します。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate WithNewDataDisk (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IDisk> creatable);
abstract member WithNewDataDisk : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IDisk> -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate
Public Function WithNewDataDisk (creatable As ICreatable(Of IDisk)) As IUpdate

パラメーター

creatable
ICreatable<IDisk>

作成可能なディスク定義。

戻り値

適用対象

WithNewDataDisk(Int32)

指定したサイズでマネージド ディスクを暗黙的に作成する必要があることを指定します。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate WithNewDataDisk (int sizeInGB);
abstract member WithNewDataDisk : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate
Public Function WithNewDataDisk (sizeInGB As Integer) As IUpdate

パラメーター

sizeInGB
Int32

マネージド ディスクのサイズ。

戻り値

適用対象

WithNewDataDisk(ICreatable<IDisk>, Int32, CachingTypes)

指定された定義を使用してマネージド ディスクを明示的に作成し、データ ディスクとして仮想マシンに接続する必要があることを指定します。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate WithNewDataDisk (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IDisk> creatable, int lun, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithNewDataDisk : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IDisk> * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate
Public Function WithNewDataDisk (creatable As ICreatable(Of IDisk), lun As Integer, cachingType As CachingTypes) As IUpdate

パラメーター

creatable
ICreatable<IDisk>

作成可能なディスク定義。

lun
Int32

データ ディスク LUN。

cachingType
CachingTypes

データ ディスク キャッシュの種類。

戻り値

適用対象

WithNewDataDisk(Int32, Int32, CachingTypes)

指定した設定でマネージド ディスクを暗黙的に作成する必要があることを指定します。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate WithNewDataDisk (int sizeInGB, int lun, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithNewDataDisk : int * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate
Public Function WithNewDataDisk (sizeInGB As Integer, lun As Integer, cachingType As CachingTypes) As IUpdate

パラメーター

sizeInGB
Int32

マネージド ディスクのサイズ。

lun
Int32

ディスク LUN。

cachingType
CachingTypes

キャッシュの種類。

戻り値

適用対象

WithNewDataDisk(Int32, Int32, CachingTypes, StorageAccountTypes)

指定した設定でマネージド ディスクを暗黙的に作成する必要があることを指定します。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate WithNewDataDisk (int sizeInGB, int lun, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType, Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountTypes storageAccountType);
abstract member WithNewDataDisk : int * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes * Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate
Public Function WithNewDataDisk (sizeInGB As Integer, lun As Integer, cachingType As CachingTypes, storageAccountType As StorageAccountTypes) As IUpdate

パラメーター

sizeInGB
Int32

マネージド ディスクのサイズ。

lun
Int32

ディスク LUN。

cachingType
CachingTypes

キャッシュの種類。

storageAccountType
StorageAccountTypes

ストレージ アカウントの種類。

戻り値

適用対象