PoolOperationsExtensions.AddAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a Pool to the specified Account.
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.PoolAddHeaders> AddAsync (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, Microsoft.Azure.Batch.Protocol.Models.PoolAddParameter pool, Microsoft.Azure.Batch.Protocol.Models.PoolAddOptions poolAddOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member AddAsync : Microsoft.Azure.Batch.Protocol.IPoolOperations * Microsoft.Azure.Batch.Protocol.Models.PoolAddParameter * Microsoft.Azure.Batch.Protocol.Models.PoolAddOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.PoolAddHeaders>
<Extension()>
Public Function AddAsync (operations As IPoolOperations, pool As PoolAddParameter, Optional poolAddOptions As PoolAddOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PoolAddHeaders)
Parameters
- operations
- IPoolOperations
The operations group for this extension method.
- pool
- PoolAddParameter
The Pool to be added.
- poolAddOptions
- PoolAddOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.
Applies to
Azure SDK for .NET
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по