Partilhar via


DevCenterScheduleCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • IdSchedules_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string scheduleName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (scheduleName As String, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parâmetros

scheduleName
String

O nome do agendamento que o identifica exclusivamente.

top
Nullable<Int32>

O número máximo de recursos a serem retornados da operação. Exemplo: '$top=10'.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

scheduleName é nulo.

Aplica-se a