Partilhar via


AppPlatformBuildServiceResource.GetAppPlatformBuildServiceAgentPoolAsync Método

Definição

Obtenha o pool de agentes de serviço de build.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}
  • IdBuildServiceAgentPool_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>> GetAppPlatformBuildServiceAgentPoolAsync (string agentPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppPlatformBuildServiceAgentPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>>
override this.GetAppPlatformBuildServiceAgentPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>>
Public Overridable Function GetAppPlatformBuildServiceAgentPoolAsync (agentPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformBuildServiceAgentPoolResource))

Parâmetros

agentPoolName
String

O nome do recurso de pool do agente de serviço de build.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

agentPoolName é nulo.

Aplica-se a