CloudPool.CommitChanges(IEnumerable<BatchClientBehavior>) メソッド

定義

保留中CloudPoolのすべての変更をAzure Batch サービスにコミットします。

public void CommitChanges (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.CommitChanges : seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub CommitChanges (Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

additionalBehaviors
IEnumerable<BatchClientBehavior>

の後の BatchClientBehavior Batch サービス要求に適用されるインスタンスの CustomBehaviorsコレクション。

注釈

Batch サービス上の既存CloudPoolのものを更新、そのプロパティを変更されたこのCloudPoolプロパティに置き換えます。 変更されていないプロパティは無視されます。 このエンティティが Batch サービスから最後に取得されてからのすべての変更 (、GetPool(String, DetailLevel, IEnumerable<BatchClientBehavior>)、または ListPools(DetailLevel, IEnumerable<BatchClientBehavior>)を使用Refresh(DetailLevel, IEnumerable<BatchClientBehavior>)) が適用されます。 明示的に null に設定されているプロパティは、Batch サービスがプロパティを null に設定する部分更新をサポートしていないため、例外が発生します。 プロパティを null に設定する必要がある場合は、 メソッドを使用します Commit(IEnumerable<BatchClientBehavior>)

これはブロック操作です。 非ブロッキングに相当する場合は、「」を参照してください CommitChangesAsync(IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象