Freigeben über


VirtualMachineInstancePropertiesHardwareProfile Class

Definition

HardwareProfile - Specifies the hardware settings for the virtual machine instance.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesHardwareProfileTypeConverter))]
public class VirtualMachineInstancePropertiesHardwareProfile : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesHardwareProfileTypeConverter))>]
type VirtualMachineInstancePropertiesHardwareProfile = class
    interface IVirtualMachineInstancePropertiesHardwareProfile
    interface IJsonSerializable
Public Class VirtualMachineInstancePropertiesHardwareProfile
Implements IVirtualMachineInstancePropertiesHardwareProfile
Inheritance
VirtualMachineInstancePropertiesHardwareProfile
Attributes
Implements

Constructors

VirtualMachineInstancePropertiesHardwareProfile()

Creates an new VirtualMachineInstancePropertiesHardwareProfile instance.

Properties

DynamicMemoryConfigMaximumMemoryMb
DynamicMemoryConfigMinimumMemoryMb
DynamicMemoryConfigTargetMemoryBuffer

Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.

MemoryMb

RAM in MB for the virtual machine instance

Processor

number of processors for the virtual machine instance

VMSize

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInstancePropertiesHardwareProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInstancePropertiesHardwareProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfile.

FromJsonString(String)

Creates a new instance of VirtualMachineInstancePropertiesHardwareProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInstancePropertiesHardwareProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to