你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AdditionalCapabilities 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.
Enables or disables a capability on the virtual machine or virtual machine scale set.
public class AdditionalCapabilities : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.AdditionalCapabilities>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.AdditionalCapabilities>
type AdditionalCapabilities = class
interface IJsonModel<AdditionalCapabilities>
interface IPersistableModel<AdditionalCapabilities>
Public Class AdditionalCapabilities
Implements IJsonModel(Of AdditionalCapabilities), IPersistableModel(Of AdditionalCapabilities)
- Inheritance
-
AdditionalCapabilities
- Implements
Constructors
AdditionalCapabilities() |
Initializes a new instance of AdditionalCapabilities. |
Properties
HibernationEnabled |
The flag that enables or disables hibernation capability on the VM. |
UltraSsdEnabled |
The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<AdditionalCapabilities>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AdditionalCapabilities>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AdditionalCapabilities>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AdditionalCapabilities>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AdditionalCapabilities>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |