ArmHybridComputeModelFactory.AgentUpgrade Method
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.
Initializes a new instance of AgentUpgrade.
public static Azure.ResourceManager.HybridCompute.Models.AgentUpgrade AgentUpgrade (string desiredVersion = default, Guid? correlationId = default, bool? isAutomaticUpgradeEnabled = default, string lastAttemptDesiredVersion = default, DateTimeOffset? lastAttemptedOn = default, Azure.ResourceManager.HybridCompute.Models.LastAttemptStatusEnum? lastAttemptStatus = default, string lastAttemptMessage = default);
static member AgentUpgrade : string * Nullable<Guid> * Nullable<bool> * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.HybridCompute.Models.LastAttemptStatusEnum> * string -> Azure.ResourceManager.HybridCompute.Models.AgentUpgrade
Public Shared Function AgentUpgrade (Optional desiredVersion As String = Nothing, Optional correlationId As Nullable(Of Guid) = Nothing, Optional isAutomaticUpgradeEnabled As Nullable(Of Boolean) = Nothing, Optional lastAttemptDesiredVersion As String = Nothing, Optional lastAttemptedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastAttemptStatus As Nullable(Of LastAttemptStatusEnum) = Nothing, Optional lastAttemptMessage As String = Nothing) As AgentUpgrade
Parameters
- desiredVersion
- String
Specifies the version info w.r.t AgentUpgrade for the machine.
- lastAttemptDesiredVersion
- String
Specifies the version of the last attempt.
- lastAttemptedOn
- Nullable<DateTimeOffset>
Timestamp of last upgrade attempt.
- lastAttemptStatus
- Nullable<LastAttemptStatusEnum>
Specifies the status of Agent Upgrade.
- lastAttemptMessage
- String
Failure message of last upgrade attempt if any.
Returns
A new AgentUpgrade instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET