检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
description 否 String 连接描述信息,取值范围:最大长度36字节,带“-”连字符的UUID格式 最小长度:0 最大长度:255 name 否 String 连接名称,取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) 最小长度:1 最大长度:64
request_id String 请求ID 表3 EnterpriseRouter 参数 参数类型 描述 id String 企业路由器实例的ID name String 企业路由器实例名称 description String 企业路由器实例描述信息 state String 运行状态:p
object 连接基本信息详情 request_id String 请求id 表3 AttachmentResponse 参数 参数类型 描述 name String 连接名字 id String 连接ID description String 描述信息 state String 连接状
正常状态码 状态码 编码 说明 200 OK GET、PUT、POST操作正常返回。 201 Created POST操作正常返回。 202 Accepted 常用于需要很长时间才能处理的操作。 表示该请求已被接受处理,但处理尚未完成。 204 No Content DELETE操作正常返回。
updateAttachment 删除连接 erAttachment deleteAttachment 接受连接创建申请 erAttachment acceptAttachment 拒绝连接创建申请 erAttachment rejectAttachment 创建路由表 erRouteTable
exceptions import exceptions from huaweicloudsdker.v3 import * if __name__ == "__main__": # The AK and SK used for authentication are hard-coded
exceptions import exceptions from huaweicloudsdker.v3 import * if __name__ == "__main__": # The AK and SK used for authentication are hard-coded
exceptions import exceptions from huaweicloudsdker.v3 import * if __name__ == "__main__": # The AK and SK used for authentication are hard-coded
"parent_id": "65ewtrgaggshhk1223245sghjlse684b", "name": "project_name", "description": "", "links": {
exceptions import exceptions from huaweicloudsdker.v3 import * if __name__ == "__main__": # The AK and SK used for authentication are hard-coded
"attachment_id" : "b70aee08-c671-4cad-9fd5-7381d163bcc8" } } 响应示例 状态码: 202 Accepted { "route" : { "id" : "9b3b38a9-1c9d-4f01-9429-81af6b545289"
"attachment_id" : "a5b7d209-dc02-4c46-a51f-805eadd3de64" } 响应示例 状态码: 202 Accepted { "propagation" : { "id" : "915a14a6-867b-4af7-83d1-70efceb146f9"
"attachment_id" : "a5b7d209-dc02-4c46-a51f-805eadd3de64" } 响应示例 状态码: 202 Accepted { "association" : { "id" : "915a14a6-867b-4af7-83d1-70efceb146f9"
exceptions import exceptions from huaweicloudsdker.v3 import * if __name__ == "__main__": # The AK and SK used for authentication are hard-coded
企业路由器实例ID flow_log_id 是 String 流日志ID 请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 name 否 String 流日志名称 最小长度:1 最大长度:64 description 否 String 最小长度:0 最大长度:255 响应参数
{ "name" : "new-rtb" } } 响应示例 状态码: 200 OK { "route_table" : { "id" : "4ab54142-7c92-48ad-8288-77727a231052", "name" : "new-rtb"
"attachment_id" : "b70aee08-c671-4cad-9fd5-7381d163bcc8" } } 响应示例 状态码: 202 Accepted { "route" : { "id" : "9b3b38a9-1c9d-4f01-9429-81af6b545289"
exceptions import exceptions from huaweicloudsdker.v3 import * if __name__ == "__main__": # The AK and SK used for authentication are hard-coded
exceptions import exceptions from huaweicloudsdker.v3 import * if __name__ == "__main__": # The AK and SK used for authentication are hard-coded
{ "name": "er_instance_id", "value": "d9f7b61f-e211-4bce-ac5f-2b76f3d0cf1d" }, { "name": "er_attachment_id"