Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryProcessServer Method

Definition

Initializes a new instance of SiteRecoveryProcessServer.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProcessServer SiteRecoveryProcessServer (string friendlyName = default, string id = default, System.Net.IPAddress ipAddress = default, string osType = default, string agentVersion = default, DateTimeOffset? lastHeartbeatReceivedOn = default, string versionStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MobilityServiceUpdate> mobilityServiceUpdates = default, string hostId = default, string machineCount = default, string replicationPairCount = default, string systemLoad = default, string systemLoadStatus = default, string cpuLoad = default, string cpuLoadStatus = default, long? totalMemoryInBytes = default, long? availableMemoryInBytes = default, string memoryUsageStatus = default, long? totalSpaceInBytes = default, long? availableSpaceInBytes = default, string spaceUsageStatus = default, string psServiceStatus = default, DateTimeOffset? sslCertExpireOn = default, int? sslCertExpiryRemainingDays = default, string osVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrors = default, DateTimeOffset? agentExpireOn = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails agentVersionDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth? health = default, DateTimeOffset? psStatsRefreshOn = default, long? throughputUploadPendingDataInBytes = default, long? throughputInMBps = default, long? throughputInBytes = default, string throughputStatus = default, string marsCommunicationStatus = default, string marsRegistrationStatus = default);
static member SiteRecoveryProcessServer : string * string * System.Net.IPAddress * string * string * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MobilityServiceUpdate> * string * string * string * string * string * string * string * Nullable<int64> * Nullable<int64> * string * Nullable<int64> * Nullable<int64> * string * string * Nullable<DateTimeOffset> * Nullable<int> * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * Nullable<DateTimeOffset> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<int64> * Nullable<int64> * string * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProcessServer
Public Shared Function SiteRecoveryProcessServer (Optional friendlyName As String = Nothing, Optional id As String = Nothing, Optional ipAddress As IPAddress = Nothing, Optional osType As String = Nothing, Optional agentVersion As String = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional versionStatus As String = Nothing, Optional mobilityServiceUpdates As IEnumerable(Of MobilityServiceUpdate) = Nothing, Optional hostId As String = Nothing, Optional machineCount As String = Nothing, Optional replicationPairCount As String = Nothing, Optional systemLoad As String = Nothing, Optional systemLoadStatus As String = Nothing, Optional cpuLoad As String = Nothing, Optional cpuLoadStatus As String = Nothing, Optional totalMemoryInBytes As Nullable(Of Long) = Nothing, Optional availableMemoryInBytes As Nullable(Of Long) = Nothing, Optional memoryUsageStatus As String = Nothing, Optional totalSpaceInBytes As Nullable(Of Long) = Nothing, Optional availableSpaceInBytes As Nullable(Of Long) = Nothing, Optional spaceUsageStatus As String = Nothing, Optional psServiceStatus As String = Nothing, Optional sslCertExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional sslCertExpiryRemainingDays As Nullable(Of Integer) = Nothing, Optional osVersion As String = Nothing, Optional healthErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional agentExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional agentVersionDetails As SiteRecoveryVersionDetails = Nothing, Optional health As Nullable(Of SiteRecoveryProtectionHealth) = Nothing, Optional psStatsRefreshOn As Nullable(Of DateTimeOffset) = Nothing, Optional throughputUploadPendingDataInBytes As Nullable(Of Long) = Nothing, Optional throughputInMBps As Nullable(Of Long) = Nothing, Optional throughputInBytes As Nullable(Of Long) = Nothing, Optional throughputStatus As String = Nothing, Optional marsCommunicationStatus As String = Nothing, Optional marsRegistrationStatus As String = Nothing) As SiteRecoveryProcessServer

Parameters

friendlyName
String

The Process Server's friendly name.

id
String

The Process Server Id.

ipAddress
IPAddress

The IP address of the server.

osType
String

The OS type of the server.

agentVersion
String

The version of the scout component on the server.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

The last heartbeat received from the server.

versionStatus
String

Version status.

mobilityServiceUpdates
IEnumerable<MobilityServiceUpdate>

The list of the mobility service updates available on the Process Server.

hostId
String

The agent generated Id.

machineCount
String

The servers configured with this PS.

replicationPairCount
String

The number of replication pairs configured in this PS.

systemLoad
String

The percentage of the system load.

systemLoadStatus
String

The system load status.

cpuLoad
String

The percentage of the CPU load.

cpuLoadStatus
String

The CPU load status.

totalMemoryInBytes
Nullable<Int64>

The total memory.

availableMemoryInBytes
Nullable<Int64>

The available memory.

memoryUsageStatus
String

The memory usage status.

totalSpaceInBytes
Nullable<Int64>

The total space.

availableSpaceInBytes
Nullable<Int64>

The available space.

spaceUsageStatus
String

The space usage status.

psServiceStatus
String

The PS service status.

sslCertExpireOn
Nullable<DateTimeOffset>

The PS SSL cert expiry date.

sslCertExpiryRemainingDays
Nullable<Int32>

CS SSL cert expiry date.

osVersion
String

OS Version of the process server. Note: This will get populated if user has CS version greater than 9.12.0.0.

healthErrors
IEnumerable<SiteRecoveryHealthError>

Health errors.

agentExpireOn
Nullable<DateTimeOffset>

Agent expiry date.

agentVersionDetails
SiteRecoveryVersionDetails

The agent version details.

health
Nullable<SiteRecoveryProtectionHealth>

The health of Process Server.

psStatsRefreshOn
Nullable<DateTimeOffset>

The process server stats refresh time.

throughputUploadPendingDataInBytes
Nullable<Int64>

The uploading pending data in bytes.

throughputInMBps
Nullable<Int64>

The throughput in MBps.

throughputInBytes
Nullable<Int64>

The throughput in bytes.

throughputStatus
String

The throughput status.

marsCommunicationStatus
String

The MARS communication status.

marsRegistrationStatus
String

The MARS registration status.

Returns

A new SiteRecoveryProcessServer instance for mocking.

Applies to