ModifyCommonBandwidthPackageSpec işlemini çağırarak bir İnternet Paylaşımlı Bant Genişliği örneğinin tepe bant genişliğini değiştirir.
Operation description
Bu işlemi çağırmadan önce aşağıdaki bilgilere dikkat edin:
- ModifyCommonBandwidthPackageSpec eşzamansız bir işlemdir. Bir istek gönderdikten sonra sistem bir istek kimliği döndürür, ancak İnternet Paylaşımlı Bant Genişliği örneğinin tepe bant genişliği henüz değiştirilmemiştir. Değişiklik görevi arka planda çalışmaya devam eder. İnternet Paylaşımlı Bant Genişliği örneğinin durumunu sorgulamak için DescribeCommonBandwidthPackages işlemini çağırabilirsiniz.
İnternet Paylaşımlı Bant Genişliği örneği Modifying durumundaysa, tepe bant genişliği değiştiriliyor demektir. Bu durumda yalnızca sorgulama işlemleri gerçekleştirebilir, başka işlemler gerçekleştiremezsiniz.
İnternet Paylaşımlı Bant Genişliği örneği Available durumundaysa, tepe bant genişliği değiştirilmiş demektir.
ModifyCommonBandwidthPackageSpec, aynı İnternet Paylaşımlı Bant Genişliği örneğinin tepe bant genişliğinde eşzamanlı değişiklikleri desteklemez.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyCommonBandwidthPackageSpec |
update |
*BandwidthPackage
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
İnternet Paylaşımlı Bant Genişliği örneğinin bölge kimliği. Bölge kimliğini sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
cn-hangzhou |
| BandwidthPackageId |
string |
Yes |
İnternet Paylaşımlı Bant Genişliği örneğinin kimliği. |
cbwp-2ze2ic1xd2qeqk145**** |
| Bandwidth |
string |
Yes |
İnternet Paylaşımlı Bant Genişliği örneğinin tepe bant genişliği. Birim: Mbit/s. Geçerli değerler: **1** ile **1000** arası. |
1000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| RequestId |
string |
İstek kimliği. |
7F129000-F929-4AF5-BE8D-BAE434C795306 |
Examples
Success response
JSON format
{
"RequestId": "7F129000-F929-4AF5-BE8D-BAE434C795306"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotEnough.Bandwidth | The specified resource of Bandwidth is not enough. | The specified resource of Bandwidth is insufficient. |
| 400 | InvalidParameter.Bandwidth | The specified bandwidth is not valid. | |
| 400 | InvalidBandwidthPackageId.NotFound | The specified BandwidthPackageId not exist. | |
| 400 | InvalidCommonBandwidthPackageId.NotFound | The specified BandwidthPackageId is not found. | |
| 400 | IncorrectStatus.ResourceStatus | Resource status is abnormal for renew. | |
| 400 | SYSTEM.SALE_VALIDATE_UNEXPECTED_ERROR | You have arrears and do not meet the purchase conditions. | |
| 400 | OperationFailed.SyncOrderToSub | SyncOrderToSub error. | The operation failed. |
| 400 | OperationFailed.SaleValidate | Validate sale condition with subArticle failed. | Failed to validate the sales condition with a subproject. |
| 400 | OperationFailed.QueryCommodityInfo | Operation failed because quey commodity info error. | |
| 400 | OperationFailed.QueryPrice | Query price failed when create order. | Failed to query the price when creating the order. |
| 400 | Forbidden.ChargeTypeIsPrepaid | It's forbidden to change prepaid CBWP's bandwidth by API. It can be changed on Aliyun web console. | |
| 400 | IncorrectStatus.CbwpModifying | Cbwp Modifying status is invalid. | |
| 500 | OrderError.BandwidthPackage | The Account failed to create order. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | |
| 404 | InvalidBandwidthPackageId.NotFound | The specified BandwidthPackageId does not exist in our records. | |
| 404 | InvalidBandwidth.ValueNotSupported | The specified value of Bandwidth not supported. | |
| 404 | BandwidthPackage.FinancialLocked | The specified BandwidthPackage has been Financial Lock. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.