ArmRecoveryServicesSiteRecoveryModelFactory.ReplicationProtectionIntentProperties 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 ReplicationProtectionIntentProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationProtectionIntentProperties ReplicationProtectionIntentProperties(string friendlyName = default, Azure.Core.ResourceIdentifier jobId = default, string jobState = default, bool? isActive = default, string createdOn = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationProtectionIntentProviderSpecificSettings providerSpecificDetails = default);
static member ReplicationProtectionIntentProperties : string * Azure.Core.ResourceIdentifier * string * Nullable<bool> * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationProtectionIntentProviderSpecificSettings -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationProtectionIntentProperties
Public Shared Function ReplicationProtectionIntentProperties (Optional friendlyName As String = Nothing, Optional jobId As ResourceIdentifier = Nothing, Optional jobState As String = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional createdOn As String = Nothing, Optional providerSpecificDetails As ReplicationProtectionIntentProviderSpecificSettings = Nothing) As ReplicationProtectionIntentProperties
Parameters
- friendlyName
- String
The name.
- jobId
- ResourceIdentifier
The job Id.
- jobState
- String
The job state.
- createdOn
- String
The creation time in UTC.
- providerSpecificDetails
- ReplicationProtectionIntentProviderSpecificSettings
The Replication provider custom settings. Please note ReplicationProtectionIntentProviderSpecificSettings 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 A2AReplicationIntentDetails.
Returns
A new ReplicationProtectionIntentProperties instance for mocking.