IWithManagedDataDisk.WithNewDataDiskFromImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithNewDataDiskFromImage(Int32) |
Specifies the data disk to be created from the data disk image in the virtual machine image. |
WithNewDataDiskFromImage(Int32, Int32, CachingTypes) |
Specifies the data disk to be created from the data disk image in the virtual machine image. |
WithNewDataDiskFromImage(Int32, Int32, CachingTypes, StorageAccountTypes) |
Specifies the data disk to be created from the data disk image in the virtual machine image. |
WithNewDataDiskFromImage(Int32)
Specifies the data disk to be created from the data disk image in the virtual machine image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithNewDataDiskFromImage (int imageLun);
abstract member WithNewDataDiskFromImage : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithNewDataDiskFromImage (imageLun As Integer) As IWithManagedCreate
Parameters
- imageLun
- Int32
The LUN of the source data disk image.
Returns
Applies to
WithNewDataDiskFromImage(Int32, Int32, CachingTypes)
Specifies the data disk to be created from the data disk image in the virtual machine image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithNewDataDiskFromImage (int imageLun, int newSizeInGB, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithNewDataDiskFromImage : int * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithNewDataDiskFromImage (imageLun As Integer, newSizeInGB As Integer, cachingType As CachingTypes) As IWithManagedCreate
Parameters
- imageLun
- Int32
The LUN of the source data disk image.
- newSizeInGB
- Int32
The new size that overrides the default size specified in the data disk image.
- cachingType
- CachingTypes
A caching type.
Returns
Applies to
WithNewDataDiskFromImage(Int32, Int32, CachingTypes, StorageAccountTypes)
Specifies the data disk to be created from the data disk image in the virtual machine image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate WithNewDataDiskFromImage (int imageLun, int newSizeInGB, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType, Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountTypes storageAccountType);
abstract member WithNewDataDiskFromImage : int * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes * Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithManagedCreate
Public Function WithNewDataDiskFromImage (imageLun As Integer, newSizeInGB As Integer, cachingType As CachingTypes, storageAccountType As StorageAccountTypes) As IWithManagedCreate
Parameters
- imageLun
- Int32
The LUN of the source data disk image.
- newSizeInGB
- Int32
The new size that overrides the default size specified in the data disk image.
- cachingType
- CachingTypes
A caching type.
- storageAccountType
- StorageAccountTypes
A storage account type.
Returns
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應