根据ID编辑专线信息

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
DedicatedLineId String space_isp-6dk5xpoyoopr6obf

实例 ID。

Isp String 电信

运营商

Bandwidth Integer 100

宽带(Mbps)

DedicatedLineIp String 111.111.xxx.xxx

专线IP

DedicatedLineGateway String 111.111.xxx.xxx

专线网关

DedicatedLineRole String

专线角色

DeviceId String device-evve560juend5owh

关联设备ID

DevicePort String GigabitEthernet1/0/0

关联设备端口名称

InstanceId String cmn-cn-xxx

实例ID

Description String 专线描述

备注

Contact String 联系人名称

联系人

Phone String 133xxxxxxxx

联系电话

Keyword String 专线名称

名称

IspId String isp-dhyw2lxfpcs80d9

关联的运营商ID

OnlineDate String 2022-06-13 12:00:00

上线时间

ExpirationDate String 2022-06-14 04:00:00

到期时间

ExtAttributes String {"Location":"cdc"}

扩展字段

PhysicalSpaceId String space-ez6zd3w68ma4fsd4

物理空间ID

返回数据

名称 类型 示例值 描述
RequestId String 8de935f6-90c7-444e-a2b4-bb4185153435

Id of the request

示例

请求示例

http(s)://[Endpoint]/?Action=UpdateDedicatedLine
&DedicatedLineId=space_isp-6dk5xpoyoopr6obf
&Isp=电信
&Bandwidth=100
&DedicatedLineIp=111.111.xxx.xxx
&DedicatedLineGateway=111.111.xxx.xxx
&DedicatedLineRole=主
&DeviceId=device-evve560juend5owh
&DevicePort=GigabitEthernet1/0/0
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<RequestId>8de935f6-90c7-444e-a2b4-bb4185153435</RequestId>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "8de935f6-90c7-444e-a2b4-bb4185153435"
}

错误码

HttpCode 错误码 错误信息 描述
400 InvalidParameter%s The specified parameter %s is invalid. 参数无效,请检查参数
400 Missing%s You must specify the parameter %s. 必填参数没有填。请检查调用时是否填写了此参数,并重试请求。
404 Invalid%s.NotFound The specified resource %s does not exist. 找不到对应资源

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。