ComputeFleetVmSizeProperties 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 VM Size Property settings on the virtual machine.
public class ComputeFleetVmSizeProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmSizeProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmSizeProperties>
type ComputeFleetVmSizeProperties = class
interface IJsonModel<ComputeFleetVmSizeProperties>
interface IPersistableModel<ComputeFleetVmSizeProperties>
Public Class ComputeFleetVmSizeProperties
Implements IJsonModel(Of ComputeFleetVmSizeProperties), IPersistableModel(Of ComputeFleetVmSizeProperties)
- Inheritance
-
ComputeFleetVmSizeProperties
- Implements
Constructors
ComputeFleetVmSizeProperties() |
Initializes a new instance of ComputeFleetVmSizeProperties. |
Properties
VCPUsAvailable |
Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region. |
VCPUsPerCore |
Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ComputeFleetVmSizeProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ComputeFleetVmSizeProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ComputeFleetVmSizeProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ComputeFleetVmSizeProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ComputeFleetVmSizeProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET