Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.InMageRcmMobilityAgentDetails Method

Definition

Initializes a new instance of InMageRcmMobilityAgentDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmMobilityAgentDetails InMageRcmMobilityAgentDetails (string version = default, string latestVersion = default, string latestAgentReleaseDate = default, string driverVersion = default, string latestUpgradableVersionWithoutReboot = default, DateTimeOffset? agentVersionExpireOn = default, DateTimeOffset? driverVersionExpireOn = default, DateTimeOffset? lastHeartbeatReceivedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AgentUpgradeBlockedReason> reasonsBlockingUpgrade = default, string isUpgradeable = default);
static member InMageRcmMobilityAgentDetails : string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AgentUpgradeBlockedReason> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmMobilityAgentDetails
Public Shared Function InMageRcmMobilityAgentDetails (Optional version As String = Nothing, Optional latestVersion As String = Nothing, Optional latestAgentReleaseDate As String = Nothing, Optional driverVersion As String = Nothing, Optional latestUpgradableVersionWithoutReboot As String = Nothing, Optional agentVersionExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional driverVersionExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional reasonsBlockingUpgrade As IEnumerable(Of AgentUpgradeBlockedReason) = Nothing, Optional isUpgradeable As String = Nothing) As InMageRcmMobilityAgentDetails

Parameters

version
String

The agent version.

latestVersion
String

The latest agent version available.

latestAgentReleaseDate
String

The latest agent version release date.

driverVersion
String

The driver version.

latestUpgradableVersionWithoutReboot
String

The latest upgradeable version available without reboot.

agentVersionExpireOn
Nullable<DateTimeOffset>

The agent version expiry date.

driverVersionExpireOn
Nullable<DateTimeOffset>

The driver version expiry date.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

The time of the last heartbeat received from the agent.

reasonsBlockingUpgrade
IEnumerable<AgentUpgradeBlockedReason>

The whether update is possible or not.

isUpgradeable
String

A value indicating whether agent is upgradeable or not.

Returns

A new InMageRcmMobilityAgentDetails instance for mocking.

Applies to