ArmComputeModelFactory.ImageStorageProfile 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.ImageStorageProfile ImageStorageProfile(Azure.ResourceManager.Compute.Models.ImageOSDisk osDisk = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ImageDataDisk> dataDisks = default, bool? zoneResilient = default);
static member ImageStorageProfile : Azure.ResourceManager.Compute.Models.ImageOSDisk * seq<Azure.ResourceManager.Compute.Models.ImageDataDisk> * Nullable<bool> -> Azure.ResourceManager.Compute.Models.ImageStorageProfile
Public Shared Function ImageStorageProfile (Optional osDisk As ImageOSDisk = Nothing, Optional dataDisks As IEnumerable(Of ImageDataDisk) = Nothing, Optional zoneResilient As Nullable(Of Boolean) = Nothing) As ImageStorageProfile
Parameters
- osDisk
- ImageOSDisk
Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks
- IEnumerable<ImageDataDisk>
Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see About disks and VHDs for Azure virtual machines.
Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).
Returns
A new ImageStorageProfile instance for mocking.