次の方法で共有


ProvisionedClusterResource.GetHybridContainerServiceAgentPool メソッド

定義

ハイブリッド AKS プロビジョニング クラスター内のエージェント プールを取得します

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/provisionedClusters/{resourceName}/agentPools/{agentPoolName}
  • 操作IdagentPool_Get
public virtual Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource> GetHybridContainerServiceAgentPool (string agentPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridContainerServiceAgentPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>
override this.GetHybridContainerServiceAgentPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>
Public Overridable Function GetHybridContainerServiceAgentPool (agentPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HybridContainerServiceAgentPoolResource)

パラメーター

agentPoolName
String

プロビジョニングされたクラスター内のエージェント プールの名前のパラメーター。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

agentPoolName は空の文字列であり、空でないと予想されていました。

agentPoolName が null です。

適用対象