ArmComputeModelFactory.VirtualMachineScaleSetStorageProfile 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.
public static Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetStorageProfile VirtualMachineScaleSetStorageProfile(Azure.ResourceManager.Compute.Models.ImageReference imageReference = default, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetOSDisk osDisk = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetDataDisk> dataDisks = default, Azure.ResourceManager.Compute.Models.DiskControllerType? diskControllerKind = default);
static member VirtualMachineScaleSetStorageProfile : Azure.ResourceManager.Compute.Models.ImageReference * Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetOSDisk * seq<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetDataDisk> * Nullable<Azure.ResourceManager.Compute.Models.DiskControllerType> -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetStorageProfile
Public Shared Function VirtualMachineScaleSetStorageProfile (Optional imageReference As ImageReference = Nothing, Optional osDisk As VirtualMachineScaleSetOSDisk = Nothing, Optional dataDisks As IEnumerable(Of VirtualMachineScaleSetDataDisk) = Nothing, Optional diskControllerKind As Nullable(Of DiskControllerType) = Nothing) As VirtualMachineScaleSetStorageProfile
Parameters
- imageReference
- ImageReference
Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- osDisk
- VirtualMachineScaleSetOSDisk
Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks
- IEnumerable<VirtualMachineScaleSetDataDisk>
Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- diskControllerKind
- Nullable<DiskControllerType>
Specifies the disk controller type configured for the virtual machines in the scale set. Minimum api-version: 2022-08-01.
Returns
A new VirtualMachineScaleSetStorageProfile instance for mocking.