Updating a Global Connection Bandwidth
Function
This API is used to update a global connection bandwidth.
URI
PUT /v3/{domain_id}/gcb/gcbandwidths/{id}
Parameter | Mandatory | Type | Description |
|---|---|---|---|
domain_id | Yes | String | Account ID. |
id | Yes | String | Instance ID. |
Request Parameters
Parameter | Mandatory | Type | Description |
|---|---|---|---|
X-Auth-Token | No | String | User token. |
Parameter | Mandatory | Type | Description |
|---|---|---|---|
globalconnection_bandwidth | Yes | Details about a global connection bandwidth. |
Parameter | Mandatory | Type | Description |
|---|---|---|---|
name | No | String | Instance name. |
description | No | String | Resource description. Angle brackets (<>) are not allowed. |
size | No | Integer | The capacity of a global connection bandwidth, in Mbit/s. Value range: 2 Mbit/s to 300 Mbit/s |
charge_mode | No | String | Billing option. By default, billing by bandwidth capacity is enabled. Standard 95th percentile bandwidth billing is controlled using a whitelist. Value options:
|
sla_level | No | String | Class of a global connection bandwidth. There are three classes: platinum, gold, and silver. The default class is gold. Other options are controlled by whitelists.
|
binding_service | No | String | Instance type.
|
spec_code_id | No | String | UUID of a line specification code. |
Response Parameters
Status code: 200
Parameter | Type | Description |
|---|---|---|
request_id | String | Request ID. |
globalconnection_bandwidth | GlobalConnectionBandwidth object | Details about a global connection bandwidth. |
Parameter | Type | Description |
|---|---|---|
id | String | Instance ID. |
name | String | Instance name. |
description | String | Resource description. Angle brackets (<>) are not allowed. |
domain_id | String | ID of the account that the instance belongs to. |
bordercross | Boolean | Whether the global connection bandwidth is used for cross-border communications.
|
type | String | Type of a global connection bandwidth.
|
binding_service | String | Instance type.
|
enterprise_project_id | String | ID of the enterprise project that the resource belongs to. |
charge_mode | String | Billing option. By default, billing by bandwidth capacity is enabled. Standard 95th percentile bandwidth billing is controlled using a whitelist. Value options:
|
size | Integer | The capacity of a global connection bandwidth, in Mbit/s. Value range: 2 Mbit/s to 300 Mbit/s |
sla_level | String | Class of a global connection bandwidth. There are three classes: platinum, gold, and silver. The default class is gold. Other options are controlled by whitelists.
|
local_area | String | Name of a local access point. The x-language parameter in the header is used to control the language. The default language is English. zh-cn indicates Chinese. |
remote_area | String | Name of a remote access point. The x-language parameter in the header is used to control the language. The default language is English. zh-cn indicates Chinese. |
local_site_code | String | Code of the local access point. |
remote_site_code | String | Code of s remote access point. |
admin_state | String | Global connection bandwidth status.
|
frozen | Boolean | Whether a global connection bandwidth is frozen.
|
spec_code_id | String | UUID of a line specification code. |
tags | Array of Tag objects | Resource tags. |
created_at | String | Time when the resource was created. The UTC time is in the yyyy-MM-ddTHH:mm:ss format. |
updated_at | String | Time when the resource was updated. The UTC time must be in the yyyy-MM-ddTHH:mm:ss format. |
enable_share | Boolean | Whether a global connection bandwidth can be used by multiple instances.
|
instances | Array of GlobalConnectionBandwidthAssociatedInstance objects | The list of instances that the global connection bandwidth is bound to. |
Parameter | Type | Description |
|---|---|---|
key | String | Tag key. The key can contain a maximum of 128 Unicode characters, including letters, digits, hyphens (-), and underscores (_). |
value | String | Tag value. The value can contain a maximum of 255 Unicode characters, including letters, digits, hyphens (-), underscores (_), and periods (.). |
Example Requests
Updating a global connection bandwidth
PUT https://{cc_endpoint}/v3/{domain_id}/gcb/gcbandwidths/{id}
{
"globalconnection_bandwidth" : {
"name" : "test",
"description" : "Description",
"size" : 5
}
} Example Responses
Status code: 200
The global connection bandwidth has been updated.
{
"request_id" : "1b90e4762e3090961a30ca3a712dc0ed",
"globalconnection_bandwidth" : {
"id" : "a3bad420-33b8-4e26-9e9b-bdf67aa8e72b",
"name" : "name",
"description" : "description",
"domain_id" : "521bb3d98bed4c6c9ee8669bd0620f76",
"bordercross" : false,
"type" : "Region",
"binding_service" : "CC",
"enterprise_project_id" : "0c478f9e-73a4-4c45-b9bc-b2c3bfc0d4c0",
"charge_mode" : "bwd",
"size" : 100,
"sla_level" : "Au",
"local_site_code" : "site-def",
"remote_site_code" : "site-abc",
"frozen" : "false,",
"spec_code_id" : "",
"tags" : [ ],
"created_at" : "2024-01-24T08:26:41.914Z",
"updated_at" : "2024-01-24T08:26:41.914Z",
"enable_share" : false,
"instances" : [ ]
}
} Status Codes
Status Code | Description |
|---|---|
200 | The global connection bandwidth has been updated. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

