Delen via


HybridContainerServiceAgentPoolResource.GetAsync(CancellationToken) Method

Definition

Gets the specified agent pool in the provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_Get
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridContainerServiceAgentPoolResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to