Pools.disableAutoScale 方法

定义

重载

disableAutoScale(String poolId)

Disables automatic scaling for a pool.

disableAutoScale(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a pool.

disableAutoScale(String poolId)

Disables automatic scaling for a pool.

public void disableAutoScale(String poolId)

参数

poolId
String

The ID of the pool on which to disable automatic scaling.

例外

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

disableAutoScale(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a pool.

public void disableAutoScale(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

参数

poolId
String

The ID of the pool on which to disable automatic scaling.

poolDisableAutoScaleOptions
PoolDisableAutoScaleOptions

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

适用于