Freigeben über


AppPlatformBuildServiceAgentPoolCollection.GetAsync Methode

Definition

Rufen Sie den Builddienst-Agent-Pool ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools/{agentPoolName}
  • Vorgang IdBuildServiceAgentPool_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>> GetAsync (string agentPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>>
Public Overridable Function GetAsync (agentPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformBuildServiceAgentPoolResource))

Parameter

agentPoolName
String

Der Name der Builddienst-Agent-Poolressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

agentPoolName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

agentPoolName ist NULL.

Gilt für: