Share via


MachineUpdateProperties Class

Definition

Describes the ARM updatable properties of a hybrid machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineUpdatePropertiesTypeConverter))]
public class MachineUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineUpdateProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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 associated with an agent upgrade operation.

AgentUpgradeDesiredVersion

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

AgentUpgradeEnableAutomaticUpgrade

Specifies if the machine's agent should be upgraded

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...).

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.

OSProfile

Specifies the operating system settings for 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.

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.ConnectedMachine.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