Pools.add 方法

定义

重载

add(PoolAddParameter pool)

Adds a pool to the specified account. 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.

add(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a pool to the specified account. 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.

add(PoolAddParameter pool)

Adds a pool to the specified account. 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.

public void add(PoolAddParameter pool)

参数

pool
PoolAddParameter

The pool to be added.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

add(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a pool to the specified account. 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.

public void add(PoolAddParameter pool, PoolAddOptions poolAddOptions)

参数

pool
PoolAddParameter

The pool to be added.

poolAddOptions
PoolAddOptions

Additional parameters for the operation

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

适用于