Share via


ImageStorageProfile Constructors

Definition

Overloads

ImageStorageProfile()

Initializes a new instance of the ImageStorageProfile class.

ImageStorageProfile(ImageOSDisk, IList<ImageDataDisk>, Nullable<Boolean>)

Initializes a new instance of the ImageStorageProfile class.

ImageStorageProfile()

Initializes a new instance of the ImageStorageProfile class.

public ImageStorageProfile ();
Public Sub New ()

Applies to

ImageStorageProfile(ImageOSDisk, IList<ImageDataDisk>, Nullable<Boolean>)

Initializes a new instance of the ImageStorageProfile class.

public ImageStorageProfile (Microsoft.Azure.Management.Compute.Fluent.Models.ImageOSDisk osDisk = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.ImageDataDisk> dataDisks = default, bool? zoneResilient = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.ImageStorageProfile : Microsoft.Azure.Management.Compute.Fluent.Models.ImageOSDisk * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.ImageDataDisk> * Nullable<bool> -> Microsoft.Azure.Management.Compute.Fluent.Models.ImageStorageProfile
Public Sub New (Optional osDisk As ImageOSDisk = Nothing, Optional dataDisks As IList(Of ImageDataDisk) = Nothing, Optional zoneResilient As Nullable(Of Boolean) = Nothing)

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
IList<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).

Applies to