Share via


IAgentUpgrade Interface

Definition

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

Properties

CorrelationId

The correlation ID associated with an agent upgrade operation.

DesiredVersion

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

EnableAutomaticUpgrade

Specifies if the machine's agent should be upgraded

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to