调用ListLayer7CustomPorts获取7层转发规则中可添加的端口列表。

调试

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

请求参数

名称 类型 是否必选 示例值 描述
Action String ListLayer7CustomPorts

系统规定参数。取值:ListLayer7CustomPorts

SourceIp String 1.1.1.1

请求源IP。无需填写,系统自动获取。

Lang String cn

系统语言ID。

RegionId String cn-hangzhou

地域ID。

ResourceGroupId String xx

资源组ID。

返回数据

名称 类型 示例值 描述
RequestId String CF33B4C3-196E-4015-AADD-5CAD00057B80

本次请求的ID。

Layer7CustomPorts Array

可添加的端口信息。

ProxyType String https

协议类型。

ProxyPorts List [443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]

端口列表。

示例

请求示例

http(s)://[Endpoint]/?Action=ListLayer7CustomPorts
&<公共请求参数>

正常返回示例

XML 格式

<Layer7CustomPorts>
    <ProxyPorts>80</ProxyPorts>
    <ProxyPorts>83</ProxyPorts>
    <ProxyPorts>84</ProxyPorts>
    <ProxyPorts>88</ProxyPorts>
    <ProxyPorts>89</ProxyPorts>
    <ProxyPorts>800</ProxyPorts>
    <ProxyPorts>808</ProxyPorts>
    <ProxyPorts>1000</ProxyPorts>
    <ProxyPorts>1090</ProxyPorts>
    <ProxyPorts>3333</ProxyPorts>
    <ProxyPorts>3501</ProxyPorts>
    <ProxyPorts>3601</ProxyPorts>
    <ProxyPorts>5000</ProxyPorts>
    <ProxyPorts>5222</ProxyPorts>
    <ProxyPorts>6001</ProxyPorts>
    <ProxyPorts>6666</ProxyPorts>
    <ProxyPorts>7000</ProxyPorts>
    <ProxyPorts>7001</ProxyPorts>
    <ProxyPorts>7002</ProxyPorts>
    <ProxyPorts>7003</ProxyPorts>
    <ProxyPorts>7004</ProxyPorts>
    <ProxyPorts>7005</ProxyPorts>
    <ProxyPorts>7006</ProxyPorts>
    <ProxyPorts>7009</ProxyPorts>
    <ProxyPorts>7010</ProxyPorts>
    <ProxyPorts>7011</ProxyPorts>
    <ProxyPorts>7012</ProxyPorts>
    <ProxyPorts>7013</ProxyPorts>
    <ProxyPorts>7014</ProxyPorts>
    <ProxyPorts>7015</ProxyPorts>
    <ProxyPorts>7016</ProxyPorts>
    <ProxyPorts>7018</ProxyPorts>
    <ProxyPorts>7019</ProxyPorts>
    <ProxyPorts>7020</ProxyPorts>
    <ProxyPorts>7021</ProxyPorts>
    <ProxyPorts>7022</ProxyPorts>
    <ProxyPorts>7023</ProxyPorts>
    <ProxyPorts>7024</ProxyPorts>
    <ProxyPorts>7025</ProxyPorts>
    <ProxyPorts>7026</ProxyPorts>
    <ProxyPorts>7060</ProxyPorts>
    <ProxyPorts>7070</ProxyPorts>
    <ProxyPorts>7081</ProxyPorts>
    <ProxyPorts>7082</ProxyPorts>
    <ProxyPorts>7083</ProxyPorts>
    <ProxyPorts>7088</ProxyPorts>
    <ProxyPorts>7097</ProxyPorts>
    <ProxyPorts>7777</ProxyPorts>
    <ProxyPorts>7800</ProxyPorts>
    <ProxyPorts>8000</ProxyPorts>
    <ProxyPorts>8001</ProxyPorts>
    <ProxyPorts>8002</ProxyPorts>
    <ProxyPorts>8003</ProxyPorts>
    <ProxyPorts>8008</ProxyPorts>
    <ProxyPorts>8009</ProxyPorts>
    <ProxyPorts>8020</ProxyPorts>
    <ProxyPorts>8021</ProxyPorts>
    <ProxyPorts>8022</ProxyPorts>
    <ProxyPorts>8025</ProxyPorts>
    <ProxyPorts>8026</ProxyPorts>
    <ProxyPorts>8077</ProxyPorts>
    <ProxyPorts>8078</ProxyPorts>
    <ProxyPorts>8080</ProxyPorts>
    <ProxyPorts>8081</ProxyPorts>
    <ProxyPorts>8082</ProxyPorts>
    <ProxyPorts>8083</ProxyPorts>
    <ProxyPorts>8084</ProxyPorts>
    <ProxyPorts>8085</ProxyPorts>
    <ProxyPorts>8086</ProxyPorts>
    <ProxyPorts>8087</ProxyPorts>
    <ProxyPorts>8088</ProxyPorts>
    <ProxyPorts>8089</ProxyPorts>
    <ProxyPorts>8090</ProxyPorts>
    <ProxyPorts>8091</ProxyPorts>
    <ProxyPorts>8106</ProxyPorts>
    <ProxyPorts>8181</ProxyPorts>
    <ProxyPorts>8334</ProxyPorts>
    <ProxyPorts>8336</ProxyPorts>
    <ProxyPorts>8800</ProxyPorts>
    <ProxyPorts>8686</ProxyPorts>
    <ProxyPorts>8787</ProxyPorts>
    <ProxyPorts>8888</ProxyPorts>
    <ProxyPorts>8889</ProxyPorts>
    <ProxyPorts>8999</ProxyPorts>
    <ProxyPorts>9000</ProxyPorts>
    <ProxyPorts>9001</ProxyPorts>
    <ProxyPorts>9002</ProxyPorts>
    <ProxyPorts>9003</ProxyPorts>
    <ProxyPorts>9080</ProxyPorts>
    <ProxyPorts>9200</ProxyPorts>
    <ProxyPorts>9999</ProxyPorts>
    <ProxyPorts>10000</ProxyPorts>
    <ProxyPorts>10001</ProxyPorts>
    <ProxyPorts>10080</ProxyPorts>
    <ProxyPorts>12601</ProxyPorts>
    <ProxyPorts>86</ProxyPorts>
    <ProxyPorts>9021</ProxyPorts>
    <ProxyPorts>9023</ProxyPorts>
    <ProxyPorts>9027</ProxyPorts>
    <ProxyPorts>9037</ProxyPorts>
    <ProxyPorts>9081</ProxyPorts>
    <ProxyPorts>9082</ProxyPorts>
    <ProxyPorts>9201</ProxyPorts>
    <ProxyPorts>9205</ProxyPorts>
    <ProxyPorts>9207</ProxyPorts>
    <ProxyPorts>9208</ProxyPorts>
    <ProxyPorts>9209</ProxyPorts>
    <ProxyPorts>9210</ProxyPorts>
    <ProxyPorts>9211</ProxyPorts>
    <ProxyPorts>9212</ProxyPorts>
    <ProxyPorts>9213</ProxyPorts>
    <ProxyPorts>48800</ProxyPorts>
    <ProxyPorts>87</ProxyPorts>
    <ProxyPorts>97</ProxyPorts>
    <ProxyPorts>7510</ProxyPorts>
    <ProxyPorts>9180</ProxyPorts>
    <ProxyPorts>9898</ProxyPorts>
    <ProxyPorts>9908</ProxyPorts>
    <ProxyPorts>9916</ProxyPorts>
    <ProxyPorts>9918</ProxyPorts>
    <ProxyPorts>9919</ProxyPorts>
    <ProxyPorts>9928</ProxyPorts>
    <ProxyPorts>9929</ProxyPorts>
    <ProxyPorts>9939</ProxyPorts>
    <ProxyPorts>28080</ProxyPorts>
    <ProxyPorts>33702</ProxyPorts>
    <ProxyType>http</ProxyType>
</Layer7CustomPorts>
<Layer7CustomPorts>
    <ProxyPorts>443</ProxyPorts>
    <ProxyPorts>4443</ProxyPorts>
    <ProxyPorts>5443</ProxyPorts>
    <ProxyPorts>6443</ProxyPorts>
    <ProxyPorts>7443</ProxyPorts>
    <ProxyPorts>7988</ProxyPorts>
    <ProxyPorts>8443</ProxyPorts>
    <ProxyPorts>9443</ProxyPorts>
    <ProxyPorts>8553</ProxyPorts>
    <ProxyPorts>8663</ProxyPorts>
    <ProxyPorts>9553</ProxyPorts>
    <ProxyPorts>9663</ProxyPorts>
    <ProxyPorts>10050</ProxyPorts>
    <ProxyPorts>10443</ProxyPorts>
    <ProxyPorts>18980</ProxyPorts>
    <ProxyPorts>30050</ProxyPorts>
    <ProxyType>https</ProxyType>
</Layer7CustomPorts>
<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>

JSON 格式

{
    "Layer7CustomPorts":[
        {
            "ProxyPorts":[80,83,84,88,89,800,808,1000,1090,3333,3501,3601,5000,5222,6001,6666,7000,7001,7002,7003,7004,7005,7006,7009,7010,7011,7012,7013,7014,7015,7016,7018,7019,7020,7021,7022,7023,7024,7025,7026,7060,7070,7081,7082,7083,7088,7097,7777,7800,8000,8001,8002,8003,8008,8009,8020,8021,8022,8025,8026,8077,8078,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8106,8181,8334,8336,8800,8686,8787,8888,8889,8999,9000,9001,9002,9003,9080,9200,9999,10000,10001,10080,12601,86,9021,9023,9027,9037,9081,9082,9201,9205,9207,9208,9209,9210,9211,9212,9213,48800,87,97,7510,9180,9898,9908,9916,9918,9919,9928,9929,9939,28080,33702],
            "ProxyType":"http"
        },
        {
            "ProxyPorts":[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050],
            "ProxyType":"https"
        }
    ],
    "RequestId":"CF33B4C3-196E-4015-AADD-5CAD00057B80"
}

错误码

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