Menonaktifkan kebijakan Penyesuaian Skala Otomatis untuk aplikasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:DisableApplicationScalingRule |
update |
*全部资源
|
None | None |
Sintaks permintaan
PUT /pop/v1/sam/scale/disableApplicationScalingRule HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. |
7171a6ca-d1cd-4928-8642-7d5cfe69**** |
| ScalingRuleName |
string |
Yes |
Nama kebijakan Penyesuaian Skala Otomatis. |
timer-0800-2100 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** |
| TraceId |
string |
The trace ID that is used to query the details of a request. |
0a98a02315955564772843261e**** |
| Message |
string |
The returned message.
|
success |
| ErrorCode |
string |
The error code.
|
|
| Code |
string |
The HTTP status code.
|
200 |
| Success |
boolean |
Indicates whether the Auto Scaling policy was disabled. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"TraceId": "0a98a02315955564772843261e****",
"Message": "success",
"ErrorCode": "",
"Code": "200",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | System.Upgrading | The system is being upgraded. Please try again later. | |
| 400 | Application.ChangerOrderRunning | An application change process is in progress. Please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.