Partager via


AppPlatformBuildServiceResource.GetAppPlatformBuildServiceAgentPoolAsync Méthode

Définition

Obtenir le pool d’agents de service de build.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}
  • IdBuildServiceAgentPool_Get d’opération
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))

Paramètres

agentPoolName
String

Nom de la ressource de pool d’agents de service de build.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

agentPoolName est une chaîne vide et devait être non vide.

agentPoolName a la valeur null.

S’applique à