次の方法で共有


AgentPoolsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

エージェント プールを作成または更新します。

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

パラメーター

operations
IAgentPoolsOperations

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

resourceGroupName
String

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

resourceName
String

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

agentPoolName
String

エージェント プールの名前。

parameters
AgentPoolInner

エージェント プールの作成または更新操作に指定されたパラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

指定したマネージド クラスター内のエージェント プールを作成または更新します。

適用対象