Dela via


DataReplicationWorkflowCollection.Get(String, CancellationToken) Method

Definition

Gets the details of the job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{jobName}
  • Operation Id: Workflow_Get
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationWorkflowResource> Get (string jobName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationWorkflowResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationWorkflowResource>
Public Overridable Function Get (jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataReplicationWorkflowResource)

Parameters

jobName
String

The job (workflow) name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobName is an empty string, and was expected to be non-empty.

jobName is null.

Applies to