创建云手机网络端口转发规则

更新时间:2022-10-10 22:58:34

描述

创建云手机网络端口转发规则

请求参数

参数名参数类型是否必填参数说明
Action String

操作方法:CreateCloudPhoneNetworkRules,此参数为公共参数,不必放body里面

Region String

机房标识,取值参见地域列表

CloudPhoneNetworkId String

专属网络ID

CloudPhoneNetworkRules String

端口转发内容 "CloudPhoneNetworkRules": [{ "Name":"xxxx", 名称 "Protocol":"xxxx". 协议 TCP / UDP "SourcePort":xxxxxx, 开放端口 "CloudPhonePort":xxxxx, 云手机端口 "CloudPhoneId":"xxxxxx" 云手机ID }]

返回参数

成功无返回

请求示例

post https://api.chinac.com/v2/?Action=CreateCloudPhoneNetworkRules
{
  "Region": "xxxxxx",
  "CloudPhoneNetworkId":"xxxxxx",
  "CloudPhoneNetworkRules": [{
      "Name":"xxxx",
      "Protocol":"xxxx".
      "SourcePort":xxxxxx,
      "CloudPhonePort":xxxxx,
       "CloudPhoneId":"xxxxxx"
   }]
}

返回示例

{
    "code": 10000,
    "message": "",
    "data": {
    }
}
*
*
*
*