다음을 통해 공유


AgentUpgrade Class

Definition

The info w.r.t Agent Upgrade.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentUpgradeTypeConverter))]
public class AgentUpgrade : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AgentUpgradeTypeConverter))>]
type AgentUpgrade = class
    interface IAgentUpgrade
    interface IJsonSerializable
Public Class AgentUpgrade
Implements IAgentUpgrade
Inheritance
AgentUpgrade
Attributes
Implements

Constructors

AgentUpgrade()

Creates an new AgentUpgrade instance.

Properties

CorrelationId

The correlation ID passed in from RSM per upgrade.

DesiredVersion

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

EnableAutomaticUpgrade

Specifies if RSM should try to upgrade this machine

LastAttemptDesiredVersion

Specifies the version of the last attempt

LastAttemptMessage

Failure message of last upgrade attempt if any.

LastAttemptStatus

Specifies the status of Agent Upgrade.

LastAttemptTimestamp

Timestamp of last upgrade attempt

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentUpgrade.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentUpgrade.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAgentUpgrade.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentUpgrade into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to