You need to enable JavaScript to run this app.
导航

ModifyDirectConnectConnectionAttributes

最近更新时间2024.04.18 19:01:50

首次发布时间2022.03.25 07:38:20

调用ModifyDirectConnectConnectionAttributes修改指定物理专线的名称、描述带宽等相关信息。

调试

请求参数

名称类型是否必选示例值描述
ActionStringModifyDirectConnectConnectionAttributes要执行的操作,取值:ModifyDirectConnectConnectionAttributes。
VersionString2020-04-01API版本信息。
DirectConnectConnectionIdStringdcc-7qthudw0ll6jmc****待修改信息的物理专线的ID。您可调用DescribeDirectConnectConnections查询物理专线的ID。

DirectConnectConnectionName

String

test

物理专线的名称。

  • 以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。
  • 长度限制为1 ~ 128个字符。
  • 不更改该参数时,保持原有配置,表示不修改物理专线的名称。

Description

String

This is a sample description

物理专线的描述信息。

  • 必须以字母或中文开头,可包含数字、英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
  • 长度限制为0 ~ 255个字符。
  • 不更改该参数时,保持原有配置,表示不修改物理专线的描述。
CustomerNameString韩*梅专线联系人姓名。
CustomerContactPhoneString185****2333专线联系人联系电话。
CustomerContactEmailStringexampletest@163.com专线联系人联系邮箱。

Bandwidth

Integer

1000

物理专线的带宽,单位:Mbps。不更改该参数时,保持原有配置。

  • 1000Base-T规格取值范围:1 ~ 1000

  • 10GBase-T规格取值范围:1 ~ 10000

  • 1000Base规格取值范围:1 ~ 1000

  • 10GBase规格取值范围:1 ~ 10000

  • 40GBase规格取值范围:1 ~ 40000

  • 100GBase规格取值范围:1 ~ 100000

返回数据

名称类型
示例值
描述
RequestIdString202111161611080102121461940900****请求ID。

请求示例

GET /?Action=ModifyDirectConnectConnectionAttributes&Version=2020-04-01&DirectConnectConnectionId=dcc-7qthudw0ll6jmc****&DirectConnectConnectionName=test&Description=test HTTP/1.1
Host: open.volcengineapi.com
ServiceName: directconnect
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202111161611080102121461940900****",
        "Action": "ModifyDirectConnectConnectionAttributes",
        "Version": "2020-04-01",
        "Service": "directconnect",
        "Region": "cn-beijing"
    },
    "Result": {
    		"RequestId": "202111161611080102121461940900****"
    }
}

错误码

此处仅展示当前API的错误码,更多错误码请参见公共错误码

HttpCode
错误码
错误信息
描述
400InvalidName.MalformedThe specified name is malformed. Ensure the maximum length of name is 128.指定的名称格式不合法。名称长度不能超过128个字符。
400InvalidName.MalformedThe specified name is malformed.指定的名称格式不合法。请修复名称格式后重试。
400InvalidDescription.MalformedThe specified description is malformed. Ensure the maximum length of description is 255.指定的描述格式不合法。描述长度不能超过255个字符。
400InvalidDirectConnectConnection.InvalidStatusThe specified direct connect connection is not in the correct status for the request.指定的物理专线所处的状态无法响应该请求。
400InvalidDescription.MalformedThe specified description is malformed.指定的描述格式不合法。请修复描述格式后重试。
400InvalidDirectConnectConnection.CustomerContactPhoneMalformedThe specified customer contact phone is malformed.指定的联系人手机格式不合法。
400InvalidDirectConnectConnection.CustomerContactEmailMalformedThe specified customer contact email is malformed.指定的联系人邮箱格式不合法。
400InvalidDirectConnectConnection.CustomerNameMalformedThe specified customer name is malformed.指定的联系人姓名格式不合法。
400InvalidDirectConnectConnection.BandwidthInsufficientForSharedConnectionThe specified direct connect connection bandwidth is insufficient. It must be greater than or equal to the allocated shared connection bandwidth.指定的物理专线带宽值不足,必须大于或等于已分配的共享专线带宽值。
400InvalidDirectConnectConnection.BandwidthInsufficientForVirtualInterfaceThe specified direct connect connection bandwidth is insufficient. It must be greater than or equal to the maximum bandwidth limit of the associated virtual interface.指定的物理专线带宽值不足,必须大于或等于关联虚拟接口的最大带宽限速值。
400InvalidDirectConnectConnection.BandwidthMalformedThe specified bandwidth is malformed.指定的带宽不合法。
400InvalidDirectConnectConnection.SharedConnectionInModificationThe specified direct connect connection has a shared connection in the process of modification. It is not supported to modify the bandwidth.指定的物理专线存在变配中的共享专线,不支持修改带宽值。
403ForbiddenOperation forbidden in direct connect不支持该操作。
404InvalidDirectConnectConnection.NotFoundThe specified direct connect connection does not exist.指定的物理专线不存在。