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.VirtualMachineScaleSet.Definition.IWithManagedCreate WithNewDataDiskFromImage (int imageLun);
abstract member WithNewDataDiskFromImage : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.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.VirtualMachineScaleSet.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.VirtualMachineScaleSet.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
The 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.VirtualMachineScaleSet.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.VirtualMachineScaleSet.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
The caching type.
- storageAccountType
- StorageAccountTypes
The storage account type.