Partilhar via


SiteRecoveryJobCollection.GetAllAsync(String, CancellationToken) Método

Definição

Obtém a lista de Trabalhos Site Recovery do Azure para o cofre.

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

Parâmetros

filter
String

Opções de filtro OData.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de SiteRecoveryJobResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a