ArmComputeModelFactory.ImageStorageProfile Method

Definition

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.

zoneResilient
Nullable<Boolean>

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.

Applies to