次の方法で共有


AgentPoolsOperationsExtensions.ListAsync メソッド

定義

指定したマネージド クラスター内のエージェント プールの一覧を取得します。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner>> ListAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IAgentPoolsOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ContainerService.Fluent.IAgentPoolsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolInner>>
<Extension()>
Public Function ListAsync (operations As IAgentPoolsOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AgentPoolInner))

パラメーター

operations
IAgentPoolsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。

resourceName
String

マネージド クラスター リソースの名前。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

指定したマネージド クラスター内のエージェント プールの一覧を取得します。 操作は、各エージェント プールのプロパティを返します。

適用対象