ArmRecoveryServicesDataReplicationModelFactory.DataReplicationWorkflowProperties Method

Definition

Initializes a new instance of DataReplicationWorkflowProperties.

public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationWorkflowProperties DataReplicationWorkflowProperties (string displayName = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationWorkflowState? state = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string objectId = default, string objectName = default, string objectInternalId = default, string objectInternalName = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.WorkflowObjectType? objectType = default, string replicationProviderId = default, string sourceFabricProviderId = default, string targetFabricProviderId = default, System.Collections.Generic.IEnumerable<string> allowedActions = default, string activityId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTask> tasks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationErrorInfo> errors = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.WorkflowModelCustomProperties customProperties = default);
static member DataReplicationWorkflowProperties : string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationWorkflowState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.WorkflowObjectType> * string * string * string * seq<string> * string * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTask> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationErrorInfo> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.WorkflowModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationWorkflowProperties
Public Shared Function DataReplicationWorkflowProperties (Optional displayName As String = Nothing, Optional state As Nullable(Of DataReplicationWorkflowState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional objectId As String = Nothing, Optional objectName As String = Nothing, Optional objectInternalId As String = Nothing, Optional objectInternalName As String = Nothing, Optional objectType As Nullable(Of WorkflowObjectType) = Nothing, Optional replicationProviderId As String = Nothing, Optional sourceFabricProviderId As String = Nothing, Optional targetFabricProviderId As String = Nothing, Optional allowedActions As IEnumerable(Of String) = Nothing, Optional activityId As String = Nothing, Optional tasks As IEnumerable(Of DataReplicationTask) = Nothing, Optional errors As IEnumerable(Of DataReplicationErrorInfo) = Nothing, Optional customProperties As WorkflowModelCustomProperties = Nothing) As DataReplicationWorkflowProperties

Parameters

displayName
String

Gets or sets the friendly display name.

state
Nullable<DataReplicationWorkflowState>

Gets or sets the workflow state.

startOn
Nullable<DateTimeOffset>

Gets or sets the start time.

endOn
Nullable<DateTimeOffset>

Gets or sets the end time.

objectId
String

Gets or sets the affected object Id.

objectName
String

Gets or sets the affected object name.

objectInternalId
String

Gets or sets the affected object internal Id.

objectInternalName
String

Gets or sets the affected object internal name.

objectType
Nullable<WorkflowObjectType>

Gets or sets the object type.

replicationProviderId
String

Gets or sets the replication provider.

sourceFabricProviderId
String

Gets or sets the source fabric provider.

targetFabricProviderId
String

Gets or sets the target fabric provider.

allowedActions
IEnumerable<String>

Gets or sets the list of allowed actions on the workflow.

activityId
String

Gets or sets the workflow activity id.

tasks
IEnumerable<DataReplicationTask>

Gets or sets the list of tasks.

errors
IEnumerable<DataReplicationErrorInfo>

Gets or sets the list of errors.

customProperties
WorkflowModelCustomProperties

Workflow model custom properties. Please note WorkflowModelCustomProperties 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 FailoverWorkflowModelCustomProperties, TestFailoverCleanupWorkflowModelCustomProperties and TestFailoverWorkflowModelCustomProperties.

Returns

A new DataReplicationWorkflowProperties instance for mocking.

Applies to