次の方法で共有


IUpdate.WithExistingDataDisk メソッド

定義

オーバーロード

WithExistingDataDisk(IDisk, Int32, CachingTypes)

既存のデータ ディスクをこの VMSS 仮想マシンにアタッチします。

WithExistingDataDisk(IDisk, Int32, CachingTypes, StorageAccountTypes)

既存のデータ ディスクをこの VMSS 仮想マシンにアタッチします。

WithExistingDataDisk(IDisk, Int32, CachingTypes)

既存のデータ ディスクをこの VMSS 仮想マシンにアタッチします。

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

パラメーター

disk
IDisk

データ ディスクは、DiskState.UNATTACHED 状態である必要があります

lun
Int32

ディスク LUN は、既存の LUN と競合できません

cachingType
CachingTypes

キャッシュの種類

戻り値

更新プログラムの次のステージ

適用対象

WithExistingDataDisk(IDisk, Int32, CachingTypes, StorageAccountTypes)

既存のデータ ディスクをこの VMSS 仮想マシンにアタッチします。

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

パラメーター

disk
IDisk

データ ディスクは、DiskState.UNATTACHED 状態である必要があります

lun
Int32

ディスク LUN は、既存の LUN と競合できません

cachingType
CachingTypes

キャッシュの種類

storageAccountType
StorageAccountTypes

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

戻り値

更新プログラムの次のステージ

適用対象