ArmRecoveryServicesDataReplicationModelFactory.DataReplicationRecoveryPointProperties Method

Definition

Initializes a new instance of DataReplicationRecoveryPointProperties.

public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationRecoveryPointProperties DataReplicationRecoveryPointProperties (DateTimeOffset recoveryPointOn = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationRecoveryPointType recoveryPointType = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.RecoveryPointModelCustomProperties customProperties = default);
static member DataReplicationRecoveryPointProperties : DateTimeOffset * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationRecoveryPointType * Azure.ResourceManager.RecoveryServicesDataReplication.Models.RecoveryPointModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationRecoveryPointProperties
Public Shared Function DataReplicationRecoveryPointProperties (Optional recoveryPointOn As DateTimeOffset = Nothing, Optional recoveryPointType As DataReplicationRecoveryPointType = Nothing, Optional customProperties As RecoveryPointModelCustomProperties = Nothing) As DataReplicationRecoveryPointProperties

Parameters

recoveryPointOn
DateTimeOffset

Gets or sets the recovery point time.

recoveryPointType
DataReplicationRecoveryPointType

Gets or sets the recovery point type.

customProperties
RecoveryPointModelCustomProperties

Recovery point model custom properties. Please note RecoveryPointModelCustomProperties 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 HyperVToAzStackHciRecoveryPointModelCustomProperties.

Returns

A new DataReplicationRecoveryPointProperties instance for mocking.

Exceptions

customProperties is null.

Applies to