Compartilhar via


HybridRunbookWorkerCollection.Exists(String, CancellationToken) Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}
  • Operação IdHybridRunbookWorkers_Get
public virtual Azure.Response<bool> Exists (string hybridRunbookWorkerId, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (hybridRunbookWorkerId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parâmetros

hybridRunbookWorkerId
String

A ID do hybrid runbook Worker.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

hybridRunbookWorkerId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

hybridRunbookWorkerId é nulo.

Aplica-se a