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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET