ImageStorageProfile Constructors
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
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.
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
Azure SDK for .NET