CreateTunnel
创建通道
服务地址:
华东1(杭州)
输入参数
只看必填
body创建通道请求体
ImportTunnel创建通道详情
TunnelQos通道限流
MaxQps通道的Qps限流
MaxBandwidth通道的带宽限流
Tags标签
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

  • 创建通道,您必须有 mgw:CreateImportTunnel 权限。
  • 使用代理迁移数据时,代理必须关联一个通道。
  • 一个通道可同时关联多个代理,您可以通过设置通道的带宽和每秒请求数,对通道关联的多个代理做整体流控限制。

请求语法

POST /tunnel HTTP/1.1
Host: userid.cn-hangzhou.mgw.aliyuncs.com
<?xml version="1.0" encoding="UTF-8"?>
<ImportTunnel>
  <TunnelQos>
    <MaxQps>integer</MaxQps>
    <MaxBandwidth>integer</MaxBandwidth>
  </TunnelQos>
  <Tags>string</Tags>
</ImportTunnel>

请求参数

字段名称字段详情
bodyobject

创建通道请求体。

返回参数

返回说明

创建通道成功会通过响应头 x-oss-import-tunnel-id 返回通道 ID。

变更历史
暂无变更历史