StorageProfile Class
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.
Specifies the storage settings for the virtual machine disks.
public class StorageProfile
type StorageProfile = class
Public Class StorageProfile
- Inheritance
-
StorageProfile
Constructors
StorageProfile() |
Initializes a new instance of the StorageProfile class. |
StorageProfile(ImageReferenceInner, OSDisk, IList<DataDisk>) |
Initializes a new instance of the StorageProfile class. |
Properties
DataDisks |
Gets or sets 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. |
ImageReference |
Gets or sets 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 |
Gets or sets 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. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET