Modifies the configurations of an Express Connect circuit.
Operation description
When you call this operation, note the following items:
-
You can modify the specifications and redundant circuit ID only for Express Connect circuits in the Initial, Enabled, or Rejected state.
-
You cannot modify Express Connect circuits in the Canceled, Allocating, AllocationFailed, or Terminated state.
-
After an Express Connect circuit in the Rejected state is modified, it enters the Initial state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyPhysicalConnectionAttribute |
update |
*PhysicalConnection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Express Connect circuit. You can call the DescribeRegions operation to query the region ID. |
cn-shanghai |
| PhysicalConnectionId |
string |
Yes |
The ID of the Express Connect circuit. |
pc-119mfjzm****** |
| LineOperator |
string |
No |
The carrier that provides the access to the physical line. Valid values:
|
CT |
| bandwidth |
integer |
No |
The bandwidth of the Express Connect circuit access interface. Unit: Mbit/s. Valid values: 2 to 10240. |
5 |
| PeerLocation |
string |
No |
The geographic location of the on-premises data center. |
No. XX, XX Road, XX District, Hangzhou City, Zhejiang Province |
| PortType |
string |
No |
The port type of the Express Connect circuit access point. Valid values:
Note
40GBase-LR and 100GBase-LR are subject to the availability of backend port resources. Contact your account manager for more information. |
1000Base-LX |
| RedundantPhysicalConnectionId |
string |
No |
The ID of the redundant Express Connect circuit. The redundant circuit must be in the Allocated, Confirmed, or Enabled state. |
pc-119mfjzm7 |
| Description |
string |
No |
The description of the Express Connect circuit. The description must be 2 to 256 characters in length and must start with a letter or a Chinese character. It cannot start with |
Description of the Express Connect circuit |
| Name |
string |
No |
The name of the Express Connect circuit. The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. It can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with |
Name of the Express Connect circuit |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The ClientToken value can contain only ASCII characters. Note
If you do not specify this parameter, the system uses the RequestId as the ClientToken. The RequestId may be different for each API request. |
efefe566754h |
| CircuitCode |
string |
No |
The circuit code provided by the carrier for the Express Connect circuit. |
longtel001 |
| DownDelayTime |
integer |
No |
The port down delay time of the Express Connect circuit, in milliseconds. When a physical link Down event is detected, the access device waits for this duration before setting the port to the down state. This prevents transient disconnections from affecting your services. Valid values: 0 to 10000. The step size is 100. A value of 0 indicates that the port goes down immediately after the link goes down (default). |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
013EE132-A109-4247-91B0-099A8FF49AD7 |
Examples
Success response
JSON format
{
"RequestId": "013EE132-A109-4247-91B0-099A8FF49AD7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidLineOperator.Malformd | The LineOperator provided was invalid. | |
| 400 | InvalidPeerLocation.Malformd | The PeerLocation provided was invalid. | |
| 400 | InvalidPortType.Malformd | The PortType provided was invalid. | |
| 400 | InvalidName.Malformed | The specified ?Name? is not valid. | |
| 400 | InvalidStatus | invalid physical connection status. | |
| 400 | InvalidBandwidth | invalid physical connection banwidth. | |
| 400 | InvalidRedundantPhysicalConnection | redundant physical connection doesn't belong to current user. | |
| 400 | InvalidRedundantPhysicalConnectionStatus | invalid redundant physical connection status. | |
| 400 | InvalidCircuitCode.Malformed | circuitCode is illegal. | |
| 400 | InvalidPhysicalConnectionOperator.Malformed | Specified PhysicalConnection Operator is not valid. | The operation on the Express Connect circuit is invalid. |
| 400 | InvalidPhysicalConnectionBandwidth.Malformed | Specified PhysicalConnection Bandwidth is not valid. | The bandwidth of the Express Connect circuit is set to an invalid value. |
| 400 | InvalidDescription.Malformed | The specified Description is not valid. | Parameter Description value is illegal |
| 400 | OperationDenied.VPconn | The operation is not allowed because of VPconn. | The operation failed because the hosted connection does not support the operation. |
| 400 | UnsupportedFeature.DownDelayTime | DownDelayTime is not supported for VirtualPhysicalConnection. | The shared line does not support the configuration state switch delay command. |
| 400 | InvalidParam.DownDelayTime | The DownDelayTime value is invalid. | State switch delay parameter value illegal |
| 400 | UnsupportedFeature.LinkDelay.Device | The access device does not support LinkDelay configuration. | Access device does not support LinkDelay feature |
| 400 | UnsupportedFeature.LinkDelay.Region | LinkDelay feature is not enabled in region. | The current region is not open state switching delay command characteristic switch |
| 400 | IncorrectBusinessStatus.PhysicalConnection | Invalid physical connection business status. | The current business status of the physical connection does not support operations. |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.