共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.ReplicationProtectionIntentProperties Method

Definition

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.

isActive
Nullable<Boolean>

A value indicating whether the intent object is active.

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.

Applies to