ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryVCenterProperties 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 SiteRecoveryVCenterProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVCenterProperties SiteRecoveryVCenterProperties(string friendlyName = default, string internalId = default, DateTimeOffset? lastHeartbeatReceivedOn = default, string discoveryStatus = default, Guid? processServerId = default, System.Net.IPAddress ipAddress = default, string infrastructureId = default, string port = default, string runAsAccountId = default, string fabricArmResourceName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrors = default);
static member SiteRecoveryVCenterProperties : string * string * Nullable<DateTimeOffset> * string * Nullable<Guid> * System.Net.IPAddress * string * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVCenterProperties
Public Shared Function SiteRecoveryVCenterProperties (Optional friendlyName As String = Nothing, Optional internalId As String = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional discoveryStatus As String = Nothing, Optional processServerId As Nullable(Of Guid) = Nothing, Optional ipAddress As IPAddress = Nothing, Optional infrastructureId As String = Nothing, Optional port As String = Nothing, Optional runAsAccountId As String = Nothing, Optional fabricArmResourceName As String = Nothing, Optional healthErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing) As SiteRecoveryVCenterProperties
Parameters
- friendlyName
- String
Friendly name of the vCenter.
- internalId
- String
VCenter internal ID.
- lastHeartbeatReceivedOn
- Nullable<DateTimeOffset>
The time when the last heartbeat was received by vCenter.
- discoveryStatus
- String
The VCenter discovery status.
- ipAddress
- IPAddress
The IP address of the vCenter.
- infrastructureId
- String
The infrastructure Id of vCenter.
- port
- String
The port number for discovery.
- runAsAccountId
- String
The account Id which has privileges to discover the vCenter.
- fabricArmResourceName
- String
The ARM resource name of the fabric containing this VCenter.
- healthErrors
- IEnumerable<SiteRecoveryHealthError>
The health errors for this VCenter.
Returns
A new SiteRecoveryVCenterProperties instance for mocking.
Applies to
Azure SDK for .NET