文档

ListDedicatedLines - ListDedicatedLines

更新时间:

分页获取专线列表。

调试

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

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
cmn:ListDedicatedLinesList
  • DedicatedLine
    acs:cmn:{#regionId}:{#accountId}:dedicatedline/*

请求参数

名称类型必填描述示例值
PhysicalSpaceIdstring

物理空间 ID。

space-ez6zd3w68ma4fsd4
InstanceIdstring

实例 ID。

cmn-cn-xxx
MaxResultsinteger

返回结果的最大个数。

10
NextTokenstring

当总结果个数大于 MaxResults 时,用于翻页的 token。

1
SpaceNamestring

物理空间名称。

xx园区
IspFormIdstring

关联的专线类型 ID。

space_isp_form-garigikip9zrog
Keywordstring

专线名称。

xx园区_xx运营商_主
IspIdstring

关联的运营商 ID。

isp-dhyw2lxfpcs80d9
Ispstring

运营商名称。

xx运营商
DedicatedLineRolestring

角色。

Bandwidthinteger

宽带(Mbps)。

100
Descriptionstring

备注。

专线备注
DeviceIdstring

关联设备 ID。

device-evve560juend5owh
DedicatedLineGatewaystring

专线网关。

111.111.xxx.xxx
DevicePortstring

关联设备端口。

GigabitEthernet1/0/0
DeviceNamestring

关联设备名称。

HZYT_USG6620_A
OnlineDatestring

上线时间。

2022-06-13 12:00:00
ExpirationDatestring

到期时间。

2022-06-14 04:00:00
DedicatedLineIpstring

专线 IP。

111.111.xxx.xxx
ExtAttributesstring

额外属性。

{"Location":"cdc"}
Keywordsstring

关键字

测试

返回参数

名称类型描述示例值
object

Schema of Response

DedicatedLinesobject []

数组,返回示例目录。

DedicatedLineIdstring

物理空间专线 ID。

space_isp-6dk5xpoyoopr6obf
Ispstring

运营商。

xx运营商
Bandwidthinteger

宽带(Mbps)。

100
DedicatedLineIpstring

专线 IP。

111.111.xxx.xxx
DedicatedLineGatewaystring

专线网关。

111.111.xxx.xxx
DedicatedLineRolestring

专线角色。

DeviceIdstring

关联设备 ID。

device-evve560juend5owh
DevicePortstring

关联设备端口。

GigabitEthernet1/0/0
DeviceNamestring

关联设备名称。

XX_USG6620_A
PhysicalSpaceIdstring

关联物理空间 ID。

space-ez6zd3w68ma4fsd4
Descriptionstring

备注。

备注
Contactobject []

数组,返回示例目录。

Namestring

联系人姓名。

张三
Phonestring

电话。

133xxxxxxx
Emailstring

邮箱。

example@aliyun.com
Descriptionstring

备注。

专线备注
Phonestring

联系电话。

133********
SpaceNamestring

物理空间名称。

xx园区
Keywordstring

专线名称。

xx园区_xx运营商_主
IspFormIdstring

关联的专线类型 ID。

space_isp_form-garigikip9zrog
IspFormNamestring

关联的专线类型名称。

普通专线
IspIdstring

关联的运营商 ID。

isp-dhyw2lxfpcs80d9
OnlineDatestring

上线时间。

2022-06-13 12:00:00
ExpirationDatestring

到期时间。

2022-06-14 04:00:00
Extstring

扩展字段。

{\"location\":\"cdc\"}
RequestIdstring

Id of the request。

8de935f6-90c7-444e-a2b4-bb4185153435
NextTokeninteger

当总结果个数大于 MaxResults 时,用于翻页的 token。

10
TotalCountinteger

总记录数。

100
MaxResultsinteger

每页数量。

10

示例

正常返回示例

JSON格式

{
  "DedicatedLines": [
    {
      "DedicatedLineId": "space_isp-6dk5xpoyoopr6obf",
      "Isp": "xx运营商",
      "Bandwidth": 100,
      "DedicatedLineIp": "111.111.xxx.xxx",
      "DedicatedLineGateway": "111.111.xxx.xxx",
      "DedicatedLineRole": "主",
      "DeviceId": "device-evve560juend5owh",
      "DevicePort": "GigabitEthernet1/0/0",
      "DeviceName": "XX_USG6620_A",
      "PhysicalSpaceId": "space-ez6zd3w68ma4fsd4",
      "Description": "备注",
      "Contact": [
        {
          "Name": "张三",
          "Phone": "133xxxxxxx",
          "Email": "example@aliyun.com",
          "Description": "专线备注"
        }
      ],
      "Phone": "133********",
      "SpaceName": "xx园区",
      "Keyword": "xx园区_xx运营商_主",
      "IspFormId": "space_isp_form-garigikip9zrog",
      "IspFormName": "普通专线",
      "IspId": "isp-dhyw2lxfpcs80d9",
      "OnlineDate": "2022-06-13 12:00:00",
      "ExpirationDate": "2022-06-14 04:00:00",
      "Ext": "{\\\"location\\\":\\\"cdc\\\"}"
    }
  ],
  "RequestId": "8de935f6-90c7-444e-a2b4-bb4185153435",
  "NextToken": 10,
  "TotalCount": 100,
  "MaxResults": 10
}

错误码

HTTP status code错误码错误信息描述
400Missing%sYou must specify the parameter %s.必填参数没有填。请检查调用时是否填写了此参数,并重试请求。
400SignatureDoesNotMatch签名不通过-
403NoPermission没有权限-
404Invalid%s.NotFoundThe specified resource %s does not exist.找不到对应资源
404ServiceNotFound后端服务未找到-
500InternalError服务器内部错误-
503ServiceUnavailable服务不可用-

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

变更历史

变更时间变更内容概要操作
2023-07-27OpenAPI 错误码发生变更、OpenAPI 入参发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    删除错误码:400
    删除错误码:404
入参OpenAPI 入参发生变更
    新增入参:Keywords
  • 本页导读 (0)
文档反馈