Share via


MachineResourcesConfiguration Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.MachineResourcesConfigurationTypeConverter))]
public class MachineResourcesConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IMachineResourcesConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.MachineResourcesConfigurationTypeConverter))>]
type MachineResourcesConfiguration = class
    interface IMachineResourcesConfiguration
    interface IJsonSerializable
Public Class MachineResourcesConfiguration
Implements IMachineResourcesConfiguration
Inheritance
MachineResourcesConfiguration
Attributes
Implements

Constructors

MachineResourcesConfiguration()

Creates an new MachineResourcesConfiguration instance.

Properties

Cpu
CpuSpeed
CpuSpeedAccuracy
PhysicalMemory

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineResourcesConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineResourcesConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IMachineResourcesConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineResourcesConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to