This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

List Auto-Scaling Group Policies

1 - 1.2

scpcli virtualserver auto scaling group policy list
--auto_scaling_group_id <value>
[--name <value>]
[--metric_method <value>]
[--metric_type <value>]
[--scale_type <value>]
[--offset <value>]
[--limit <value>]
[--sort <value>]

Description

List Auto-Scaling Group policies.

State ACTIVE (CURRENT)

VersionNot Before
1.2-

Parameters

NameTypeDescriptionExample
auto_scaling_group_id
required
stringAuto-Scaling Group ID52613bd852b04b39adcb15a8364d856d
name
optional
stringPolicy namepolicy-name
metric_method
optional
****Metric methodAVG
metric_type
optional
stringMetric typeCPU
scale_type
optional
****Scale typeSCALE_OUT
offset
optional
integerIndex of where to start in the list0
limit
optional
integerPage size of items20
sort
optional
stringComma-separated list of sort keys and optional sort directions in the form of [:]created_at:desc

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount IDa8f10467abfc4b87b64614ab36eb9ae4
auto_scaling_group_idAuto-Scaling Group ID52613bd852b04b39adcb15a8364d856d
comparison_operatorComparison operatorge
cooldown_secondsCooldown seconds300
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
evaluation_minutesEvaluation minutes5
metric_methodMetric methodAVG
metric_typeMetric typeCPU
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
namePolicy namepolicy-name
scale_methodScale methodAMOUNT
scale_typeScale typeSCALE_OUT
scale_valueScale value10
statePolicy stateACTIVE
thresholdThreshold60
threshold_unitThreshold unit%

2 - 1.1

scpcli virtualserver auto scaling group policy list
--auto_scaling_group_id <value>
[--name <value>]
[--metric_method <value>]
[--metric_type <value>]
[--scale_type <value>]
[--offset <value>]
[--limit <value>]
[--sort <value>]

Description

List Auto-Scaling Group policies.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.120260531

Parameters

NameTypeDescriptionExample
auto_scaling_group_id
required
stringAuto-Scaling Group ID52613bd852b04b39adcb15a8364d856d
name
optional
stringPolicy namepolicy-name
metric_method
optional
****Metric methodAVG
metric_type
optional
stringMetric typeCPU
scale_type
optional
****Scale typeSCALE_OUT
offset
optional
integerIndex of where to start in the list0
limit
optional
integerPage size of items20
sort
optional
stringComma-separated list of sort keys and optional sort directions in the form of [:]created_at:desc

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount IDa8f10467abfc4b87b64614ab36eb9ae4
auto_scaling_group_idAuto-Scaling Group ID52613bd852b04b39adcb15a8364d856d
comparison_operatorComparison operatorge
cooldown_secondsCooldown seconds300
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
evaluation_minutesEvaluation minutes5
metric_methodMetric methodAVG
metric_typeMetric typeCPU
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
namePolicy namepolicy-name
scale_methodScale methodAMOUNT
scale_typeScale typeSCALE_OUT
scale_valueScale value10
statePolicy stateACTIVE
thresholdThreshold60
threshold_unitThreshold unit%

3 - 1.0

scpcli virtualserver auto scaling group policy list
--auto_scaling_group_id <value>
[--name <value>]
[--metric_method <value>]
[--metric_type <value>]
[--scale_type <value>]
[--offset <value>]
[--limit <value>]
[--sort <value>]

Description

List Auto-Scaling Group policies.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
auto_scaling_group_id
required
stringAuto-Scaling Group ID52613bd852b04b39adcb15a8364d856d
name
optional
stringPolicy namepolicy-name
metric_method
optional
****Metric methodAVG
metric_type
optional
stringMetric typeCPU
scale_type
optional
****Scale typeSCALE_OUT
offset
optional
integerIndex of where to start in the list0
limit
optional
integerPage size of items20
sort
optional
stringComma-separated list of sort keys and optional sort directions in the form of [:]created_at:desc

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount IDa8f10467abfc4b87b64614ab36eb9ae4
auto_scaling_group_idAuto-Scaling Group ID52613bd852b04b39adcb15a8364d856d
comparison_operatorComparison operatorge
cooldown_secondsCooldown seconds300
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
evaluation_minutesEvaluation minutes5
metric_methodMetric methodAVG
metric_typeMetric typeCPU
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
namePolicy namepolicy-name
scale_methodScale methodAMOUNT
scale_typeScale typeSCALE_OUT
scale_valueScale value10
statePolicy stateACTIVE
thresholdThreshold60
threshold_unitThreshold unit%