Share via


MachineUpdateProperties Class

Definition

Describes the ARM updatable properties of a hybrid machine.

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

Constructors

MachineUpdateProperties()

Creates an new MachineUpdateProperties instance.

Properties

AgentUpgradeCorrelationId

The correlation ID passed in from RSM per upgrade.

AgentUpgradeDesiredVersion

Specifies the version info w.r.t AgentUpgrade for the machine.

AgentUpgradeEnableAutomaticUpgrade

Specifies if RSM should try to upgrade this machine

AgentUpgradeLastAttemptDesiredVersion

Specifies the version of the last attempt

AgentUpgradeLastAttemptMessage

Failure message of last upgrade attempt if any.

AgentUpgradeLastAttemptStatus

Specifies the status of Agent Upgrade.

AgentUpgradeLastAttemptTimestamp

Timestamp of last upgrade attempt

CloudMetadataProvider

Specifies the cloud provider (Azure/AWS/GCP...).

LinuxConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

LinuxConfigurationPatchSettingsPatchMode

Specifies the patch mode.

LocationDataCity

The city or locality where the resource is located.

LocationDataCountryOrRegion

The country or region where the resource is located

LocationDataDistrict

The district, state, or province where the resource is located.

LocationDataName

A canonical name for the geographic or physical location.

OSProfileComputerName

Specifies the host OS name of the hybrid machine.

ParentClusterResourceId

The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.

PrivateLinkScopeResourceId

The resource id of the private link scope this machine is assigned to, if any.

WindowsConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

WindowsConfigurationPatchSettingsPatchMode

Specifies the patch mode.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineUpdateProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineUpdateProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineUpdateProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to