DataReplicationVaultResource.GetDataReplicationJob Method

Definition

Gets the details of the job.

public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationJobResource> GetDataReplicationJob(string jobName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataReplicationJob : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationJobResource>
override this.GetDataReplicationJob : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationJobResource>
Public Overridable Function GetDataReplicationJob (jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataReplicationJobResource)

Parameters

jobName
String

The job name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobName is null.

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

Applies to