Partilhar via


SiteRecoveryJobCollection.Get(String, CancellationToken) Método

Definição

Obtenha os detalhes de um trabalho de Site Recovery do Azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}
  • Operação IdReplicationJobs_Get
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryJobResource> Get (string jobName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryJobResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryJobResource>
Public Overridable Function Get (jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SiteRecoveryJobResource)

Parâmetros

jobName
String

Job identifier.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

jobName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

jobName é nulo.

Aplica-se a