Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryServicesProviderProperties Method

Definition

Initializes a new instance of SiteRecoveryServicesProviderProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryServicesProviderProperties SiteRecoveryServicesProviderProperties (string fabricType = default, string friendlyName = default, string providerVersion = default, string serverVersion = default, string providerVersionState = default, DateTimeOffset? providerVersionExpireOn = default, string fabricFriendlyName = default, DateTimeOffset? lastHeartbeatReceivedOn = default, string connectionStatus = default, int? protectedItemCount = default, System.Collections.Generic.IEnumerable<string> allowedScenarios = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrorDetails = default, string draIdentifier = default, string machineId = default, string machineName = default, string biosId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.IdentityProviderDetails authenticationIdentityDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.IdentityProviderDetails resourceAccessIdentityDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.IdentityProviderDetails dataPlaneAuthenticationIdentityDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails providerVersionDetails = default);
static member SiteRecoveryServicesProviderProperties : string * string * string * string * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * string * Nullable<int> * seq<string> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * string * string * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.IdentityProviderDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.IdentityProviderDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.IdentityProviderDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryServicesProviderProperties
Public Shared Function SiteRecoveryServicesProviderProperties (Optional fabricType As String = Nothing, Optional friendlyName As String = Nothing, Optional providerVersion As String = Nothing, Optional serverVersion As String = Nothing, Optional providerVersionState As String = Nothing, Optional providerVersionExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional fabricFriendlyName As String = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional connectionStatus As String = Nothing, Optional protectedItemCount As Nullable(Of Integer) = Nothing, Optional allowedScenarios As IEnumerable(Of String) = Nothing, Optional healthErrorDetails As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional draIdentifier As String = Nothing, Optional machineId As String = Nothing, Optional machineName As String = Nothing, Optional biosId As String = Nothing, Optional authenticationIdentityDetails As IdentityProviderDetails = Nothing, Optional resourceAccessIdentityDetails As IdentityProviderDetails = Nothing, Optional dataPlaneAuthenticationIdentityDetails As IdentityProviderDetails = Nothing, Optional providerVersionDetails As SiteRecoveryVersionDetails = Nothing) As SiteRecoveryServicesProviderProperties

Parameters

fabricType
String

Type of the site.

friendlyName
String

Friendly name of the DRA.

providerVersion
String

The provider version.

serverVersion
String

The fabric provider.

providerVersionState
String

DRA version status.

providerVersionExpireOn
Nullable<DateTimeOffset>

Expiry date of the version.

fabricFriendlyName
String

The fabric friendly name.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

Time when last heartbeat was sent by the DRA.

connectionStatus
String

A value indicating whether DRA is responsive.

protectedItemCount
Nullable<Int32>

Number of protected VMs currently managed by the DRA.

allowedScenarios
IEnumerable<String>

The scenarios allowed on this provider.

healthErrorDetails
IEnumerable<SiteRecoveryHealthError>

The recovery services provider health error details.

draIdentifier
String

The DRA Id.

machineId
String

The machine Id.

machineName
String

The machine name.

biosId
String

The Bios Id.

authenticationIdentityDetails
IdentityProviderDetails

The authentication identity details.

resourceAccessIdentityDetails
IdentityProviderDetails

The resource access identity details.

dataPlaneAuthenticationIdentityDetails
IdentityProviderDetails

The data plane authentication identity details.

providerVersionDetails
SiteRecoveryVersionDetails

The provider version details.

Returns

A new SiteRecoveryServicesProviderProperties instance for mocking.

Applies to