Partilhar via


ContainerServiceManagedClusterResource.GetContainerServiceAgentPool Método

Definição

Obtém o pool de agentes de cluster gerenciado especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdAgentPools_Get de operação
public virtual Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceAgentPoolResource> GetContainerServiceAgentPool (string agentPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerServiceAgentPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceAgentPoolResource>
override this.GetContainerServiceAgentPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceAgentPoolResource>
Public Overridable Function GetContainerServiceAgentPool (agentPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerServiceAgentPoolResource)

Parâmetros

agentPoolName
String

O nome do pool de agentes.

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