Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryPointProperties Method

Definition

Initializes a new instance of SiteRecoveryPointProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPointProperties SiteRecoveryPointProperties (DateTimeOffset? recoveryPointOn = default, string recoveryPointType = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProviderSpecificRecoveryPointDetails providerSpecificDetails = default);
static member SiteRecoveryPointProperties : Nullable<DateTimeOffset> * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProviderSpecificRecoveryPointDetails -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPointProperties
Public Shared Function SiteRecoveryPointProperties (Optional recoveryPointOn As Nullable(Of DateTimeOffset) = Nothing, Optional recoveryPointType As String = Nothing, Optional providerSpecificDetails As ProviderSpecificRecoveryPointDetails = Nothing) As SiteRecoveryPointProperties

Parameters

recoveryPointOn
Nullable<DateTimeOffset>

The recovery point time.

recoveryPointType
String

The recovery point type: ApplicationConsistent, CrashConsistent.

providerSpecificDetails
ProviderSpecificRecoveryPointDetails

The provider specific details for the recovery point. Please note ProviderSpecificRecoveryPointDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include A2ARecoveryPointDetails, InMageAzureV2RecoveryPointDetails and InMageRcmRecoveryPointDetails.

Returns

A new SiteRecoveryPointProperties instance for mocking.

Applies to