Microsoft.Azure.Commands.Batch.Models.BatchClient.UpdatePool C# (CSharp) 메소드

UpdatePool() 공개 메소드

Commits changes to a PSCloudPool object to the Batch Service.
public UpdatePool ( BatchAccountContext context, PSCloudPool pool, IEnumerable additionBehaviors = null ) : void
context BatchAccountContext The account to use.
pool PSCloudPool The PSCloudPool object representing the pool to update.
additionBehaviors IEnumerable Additional client behaviors to perform.
리턴 void
        public void UpdatePool(BatchAccountContext context, PSCloudPool pool, IEnumerable<BatchClientBehavior> additionBehaviors = null)
        {
            if (pool == null)
            {
                throw new ArgumentNullException("pool");
            }

            WriteVerbose(string.Format(Resources.UpdatingPool, pool.Id));

            Utils.Utils.BoundPoolSyncCollections(pool);
            pool.omObject.Commit(additionBehaviors);
        }
BatchClient