次の方法で共有


PoolOperationsExtensions.UpdateAsync メソッド

定義

既存のプールのプロパティを更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Pool> UpdateAsync (this Microsoft.Azure.Management.Batch.IPoolOperations operations, string resourceGroupName, string accountName, string poolName, Microsoft.Azure.Management.Batch.Models.Pool parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Batch.IPoolOperations * string * string * string * Microsoft.Azure.Management.Batch.Models.Pool * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Pool>
<Extension()>
Public Function UpdateAsync (operations As IPoolOperations, resourceGroupName As String, accountName As String, poolName As String, parameters As Pool, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Pool)

パラメーター

operations
IPoolOperations

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

resourceGroupName
String

Batch アカウントを含むリソース グループの名前。

accountName
String

Batch アカウントの名前。

poolName
String

プール名。 これは、アカウント内で一意である必要があります。

parameters
Pool

更新する必要があるプール プロパティ。 指定されたプロパティは更新され、指定されていないプロパティは変更されません。

ifMatch
String

更新するプールのエンティティ状態 (ETag) バージョン。 操作を無条件に適用するには、この値を省略するか、"*" に設定できます。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象