Поделиться через


DataReplicationVaultResource.GetDataReplicationJobAsync Method

Definition

Gets the details of the job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{jobName}
  • Operation Id: JobModel_Get
  • Default Api Version: 2024-09-01
  • Resource: DataReplicationJobResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationJobResource>> GetDataReplicationJobAsync(string jobName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataReplicationJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationJobResource>>
override this.GetDataReplicationJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationJobResource>>
Public Overridable Function GetDataReplicationJobAsync (jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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