Compartilhar via


PoolOperationsExtensions.ExistsAsync Método

Definição

Obtém as propriedades básicas de um Pool.

public static System.Threading.Tasks.Task<bool> ExistsAsync (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, string poolId, Microsoft.Azure.Batch.Protocol.Models.PoolExistsOptions poolExistsOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ExistsAsync : Microsoft.Azure.Batch.Protocol.IPoolOperations * string * Microsoft.Azure.Batch.Protocol.Models.PoolExistsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function ExistsAsync (operations As IPoolOperations, poolId As String, Optional poolExistsOptions As PoolExistsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parâmetros

operations
IPoolOperations

O grupo de operações para esse método de extensão.

poolId
String

A ID do pool a ser obtido.

poolExistsOptions
PoolExistsOptions

Parâmetros adicionais para a operação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a