Pools.patch 方法
定义
重载
patch(String poolId, PoolPatchParameter poolPatchParameter) |
Updates the properties of the specified pool. This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.
|
patch(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions) |
Updates the properties of the specified pool. This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.
|
patch(String poolId, PoolPatchParameter poolPatchParameter)
Updates the properties of the specified pool. This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.
public void patch(String poolId, PoolPatchParameter poolPatchParameter)
参数
- poolId
- String
The ID of the pool to update.
- poolPatchParameter
- PoolPatchParameter
The parameters for the request.
例外
thrown if parameters fail the validation
thrown if the request is rejected by server
all other wrapped checked exceptions if the request fails to be sent
patch(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)
Updates the properties of the specified pool. This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.
public void patch(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)
参数
- poolId
- String
The ID of the pool to update.
- poolPatchParameter
- PoolPatchParameter
The parameters for the request.
- poolPatchOptions
- PoolPatchOptions
Additional parameters for the operation
例外
thrown if parameters fail the validation
thrown if the request is rejected by server
all other wrapped checked exceptions if the request fails to be sent