StorageProfile 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
StorageProfile() |
Initializes a new instance of the StorageProfile class. |
StorageProfile(ImageReferenceInner, OSDisk, IList<DataDisk>) |
Initializes a new instance of the StorageProfile class. |
StorageProfile()
Initializes a new instance of the StorageProfile class.
public StorageProfile ();
Public Sub New ()
Applies to
StorageProfile(ImageReferenceInner, OSDisk, IList<DataDisk>)
Initializes a new instance of the StorageProfile class.
public StorageProfile (Microsoft.Azure.Management.Compute.Fluent.Models.ImageReferenceInner imageReference = default, Microsoft.Azure.Management.Compute.Fluent.Models.OSDisk osDisk = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.DataDisk> dataDisks = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile : Microsoft.Azure.Management.Compute.Fluent.Models.ImageReferenceInner * Microsoft.Azure.Management.Compute.Fluent.Models.OSDisk * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.DataDisk> -> Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile
Public Sub New (Optional imageReference As ImageReferenceInner = Nothing, Optional osDisk As OSDisk = Nothing, Optional dataDisks As IList(Of DataDisk) = Nothing)
Parameters
- imageReference
- ImageReferenceInner
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
- OSDisk
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.
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.
Applies to
Azure SDK for .NET