AgentUpgrade Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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
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() |