共用方式為


ImageStorageProfile Class

Definition

Describes a storage profile.

public class ImageStorageProfile
type ImageStorageProfile = class
Public Class ImageStorageProfile
Inheritance
ImageStorageProfile

Constructors

ImageStorageProfile()

Initializes a new instance of the ImageStorageProfile class.

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

Initializes a new instance of the ImageStorageProfile class.

Properties

DataDisks

Gets or sets specifies the parameters that are used to add a data disk to a virtual machine. &lt;br&gt;&lt;br&gt; For more information about disks, see About disks and VHDs for Azure virtual machines.

OsDisk

Gets or sets specifies information about the operating system disk used by the virtual machine. &lt;br&gt;&lt;br&gt; For more information about disks, see About disks and VHDs for Azure virtual machines.

ZoneResilient

Gets or sets 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).

Methods

Validate()

Validate the object.

Applies to