你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.StorageProfileTypeConverter))]
public class StorageProfile : Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IStorageProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.StorageProfileTypeConverter))>]
type StorageProfile = class
interface IStorageProfile
interface IJsonSerializable
Public Class StorageProfile
Implements IStorageProfile
- Inheritance
-
StorageProfile
- Attributes
- Implements
Constructors
StorageProfile() |
Creates an new StorageProfile instance. |
Properties
DataDisk |
Specifies the parameters that are used to add a data disk to a virtual machine. |
ImageReferenceExactVersion |
Specifies in decimal numbers, the exact version of image used to create the virtual machine. |
ImageReferenceOffer |
Specifies the offer of the image used to create the virtual machine. |
ImageReferencePublisher |
The image publisher. |
ImageReferenceSku |
The image SKU. |
ImageReferenceVersion |
Specifies the version of the image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. |
OSDiskName |
The VHD name. |
OSDiskOstype |
The OS type. |
OSDiskSizeGb |
Specifies the size of os disk in gigabytes. This is the fully expanded disk size needed of the VHD image on the ASE. This disk size should be greater than the size of the VHD provided in vhdUri. |
VhdUri |
Specifies the virtual hard disk's uri. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of StorageProfile. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of StorageProfile. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.IStorageProfile. |
FromJsonString(String) |
Creates a new instance of StorageProfile, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of StorageProfile into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |