tccli 3.0.923.1__py2.py3-none-any.whl → 3.0.924.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/apigateway/v20180808/DescribeServicesStatus.md +33 -19
- tccli/examples/clb/v20180317/CloneLoadBalancer.md +3 -3
- tccli/examples/clb/v20180317/DescribeListeners.md +49 -127
- tccli/examples/clb/v20180317/DescribeLoadBalancers.md +578 -158
- tccli/examples/cls/v20201016/DescribeConfigs.md +2 -1
- tccli/examples/cls/v20201016/DescribeKafkaConsumer.md +23 -0
- tccli/examples/cls/v20201016/ModifyKafkaConsumer.md +21 -0
- tccli/examples/cynosdb/v20190107/DescribeAccounts.md +10 -10
- tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +77 -65
- tccli/examples/essbasic/v20210526/DescribeTemplates.md +13 -4
- tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +2 -2
- tccli/examples/mna/v20210119/GetDevices.md +9 -16
- tccli/examples/mna/v20210119/UpdateDevice.md +7 -10
- tccli/examples/ms/v20180408/CreateEncryptInstance.md +30 -30
- tccli/examples/ms/v20180408/CreateOrderInstance.md +2 -2
- tccli/examples/ms/v20180408/DescribeEncryptInstances.md +73 -65
- tccli/examples/ms/v20180408/DescribeEncryptPlan.md +34 -34
- tccli/examples/ms/v20180408/DescribeOrderInstances.md +1 -1
- tccli/examples/oceanus/v20190422/CreateJobConfig.md +1 -1
- tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md +28 -0
- tccli/examples/vpc/v20170312/CreateVpnGateway.md +20 -26
- tccli/services/apigateway/v20180808/api.json +119 -12
- tccli/services/apigateway/v20180808/examples.json +4 -4
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/clb/v20180317/api.json +190 -60
- tccli/services/clb/v20180317/examples.json +10 -10
- tccli/services/cls/cls_client.py +110 -4
- tccli/services/cls/v20201016/api.json +277 -55
- tccli/services/cls/v20201016/examples.json +17 -1
- tccli/services/cynosdb/v20190107/api.json +82 -31
- tccli/services/cynosdb/v20190107/examples.json +3 -3
- tccli/services/dlc/v20210125/api.json +11 -11
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/ess/v20201111/api.json +416 -91
- tccli/services/essbasic/v20210526/api.json +113 -78
- tccli/services/essbasic/v20210526/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +21 -16
- tccli/services/live/v20180801/api.json +42 -22
- tccli/services/mna/v20210119/api.json +11 -12
- tccli/services/mna/v20210119/examples.json +4 -4
- tccli/services/mps/v20190612/api.json +142 -61
- tccli/services/ms/v20180408/api.json +92 -19
- tccli/services/ms/v20180408/examples.json +31 -31
- tccli/services/oceanus/v20190422/api.json +355 -41
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +126 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +45 -65
- tccli/services/vpc/v20170312/examples.json +3 -3
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/METADATA +2 -2
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/RECORD +57 -54
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/license_files/LICENSE +0 -0
@@ -52,7 +52,7 @@
|
|
52
52
|
],
|
53
53
|
"CreateJobConfig": [
|
54
54
|
{
|
55
|
-
"document": "",
|
55
|
+
"document": "创建一个作业配置",
|
56
56
|
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateJobConfig\n<公共请求参数>\n\n{\n \"ProgramArgs\": \"2000\",\n \"EntrypointClass\": \"com.tencent.flink.test.WordCount\",\n \"JobId\": \"cql-n8yaia0y\"\n}",
|
57
57
|
"output": "{\n \"Response\": {\n \"Version\": 2,\n \"RequestId\": \"5f124d6f-b035-4d29-9467-dd62eccdbf23\"\n }\n}",
|
58
58
|
"title": "新建作业配置示例"
|
@@ -1889,6 +1889,58 @@ def doDescribeCmqDeadLetterSourceQueues(args, parsed_globals):
|
|
1889
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1890
|
|
1891
1891
|
|
1892
|
+
def doCreateRocketMQVipInstance(args, parsed_globals):
|
1893
|
+
g_param = parse_global_arg(parsed_globals)
|
1894
|
+
|
1895
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1896
|
+
cred = credential.CVMRoleCredential()
|
1897
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1898
|
+
cred = credential.STSAssumeRoleCredential(
|
1899
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1900
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
1901
|
+
)
|
1902
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1903
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1904
|
+
else:
|
1905
|
+
cred = credential.Credential(
|
1906
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1907
|
+
)
|
1908
|
+
http_profile = HttpProfile(
|
1909
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1910
|
+
reqMethod="POST",
|
1911
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1912
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1913
|
+
)
|
1914
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1915
|
+
if g_param[OptionsDefine.Language]:
|
1916
|
+
profile.language = g_param[OptionsDefine.Language]
|
1917
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1918
|
+
client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
|
1919
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1920
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1921
|
+
model = models.CreateRocketMQVipInstanceRequest()
|
1922
|
+
model.from_json_string(json.dumps(args))
|
1923
|
+
start_time = time.time()
|
1924
|
+
while True:
|
1925
|
+
rsp = client.CreateRocketMQVipInstance(model)
|
1926
|
+
result = rsp.to_json_string()
|
1927
|
+
try:
|
1928
|
+
json_obj = json.loads(result)
|
1929
|
+
except TypeError as e:
|
1930
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1931
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1932
|
+
break
|
1933
|
+
cur_time = time.time()
|
1934
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1935
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1936
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1937
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1938
|
+
else:
|
1939
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1940
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1941
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1942
|
+
|
1943
|
+
|
1892
1944
|
def doDescribeClusters(args, parsed_globals):
|
1893
1945
|
g_param = parse_global_arg(parsed_globals)
|
1894
1946
|
|
@@ -5316,6 +5368,7 @@ ACTION_MAP = {
|
|
5316
5368
|
"DescribeCmqSubscriptionDetail": doDescribeCmqSubscriptionDetail,
|
5317
5369
|
"DescribeRabbitMQVirtualHost": doDescribeRabbitMQVirtualHost,
|
5318
5370
|
"DescribeCmqDeadLetterSourceQueues": doDescribeCmqDeadLetterSourceQueues,
|
5371
|
+
"CreateRocketMQVipInstance": doCreateRocketMQVipInstance,
|
5319
5372
|
"DescribeClusters": doDescribeClusters,
|
5320
5373
|
"DescribeRabbitMQVipInstance": doDescribeRabbitMQVipInstance,
|
5321
5374
|
"ResetRocketMQConsumerOffSet": doResetRocketMQConsumerOffSet,
|
@@ -112,6 +112,13 @@
|
|
112
112
|
"output": "CreateRocketMQTopicResponse",
|
113
113
|
"status": "online"
|
114
114
|
},
|
115
|
+
"CreateRocketMQVipInstance": {
|
116
|
+
"document": "创建RocketMQ专享实例",
|
117
|
+
"input": "CreateRocketMQVipInstanceRequest",
|
118
|
+
"name": "创建RocketMQ专享实例",
|
119
|
+
"output": "CreateRocketMQVipInstanceResponse",
|
120
|
+
"status": "online"
|
121
|
+
},
|
115
122
|
"CreateRole": {
|
116
123
|
"document": "创建角色",
|
117
124
|
"input": "CreateRoleRequest",
|
@@ -3487,6 +3494,97 @@
|
|
3487
3494
|
],
|
3488
3495
|
"type": "object"
|
3489
3496
|
},
|
3497
|
+
"CreateRocketMQVipInstanceRequest": {
|
3498
|
+
"document": "CreateRocketMQVipInstance请求参数结构体",
|
3499
|
+
"members": [
|
3500
|
+
{
|
3501
|
+
"disabled": false,
|
3502
|
+
"document": "实例名称",
|
3503
|
+
"example": "无",
|
3504
|
+
"member": "string",
|
3505
|
+
"name": "Name",
|
3506
|
+
"required": true,
|
3507
|
+
"type": "string"
|
3508
|
+
},
|
3509
|
+
{
|
3510
|
+
"disabled": false,
|
3511
|
+
"document": "实例规格:\n基础型,rocket-vip-basic-1\n标准型,rocket-vip-basic-2\n高阶Ⅰ型,rocket-vip-basic-3\n高阶Ⅱ型,rocket-vip-basic-4",
|
3512
|
+
"example": "无",
|
3513
|
+
"member": "string",
|
3514
|
+
"name": "Spec",
|
3515
|
+
"required": true,
|
3516
|
+
"type": "string"
|
3517
|
+
},
|
3518
|
+
{
|
3519
|
+
"disabled": false,
|
3520
|
+
"document": "节点数量,最小2,最大20",
|
3521
|
+
"example": "无",
|
3522
|
+
"member": "int64",
|
3523
|
+
"name": "NodeCount",
|
3524
|
+
"required": true,
|
3525
|
+
"type": "int"
|
3526
|
+
},
|
3527
|
+
{
|
3528
|
+
"disabled": false,
|
3529
|
+
"document": "单节点存储空间,GB为单位,最低200GB",
|
3530
|
+
"example": "无",
|
3531
|
+
"member": "int64",
|
3532
|
+
"name": "StorageSize",
|
3533
|
+
"required": true,
|
3534
|
+
"type": "int"
|
3535
|
+
},
|
3536
|
+
{
|
3537
|
+
"disabled": false,
|
3538
|
+
"document": "节点部署的区域ID列表,如广州一区,则是100001,具体可查询腾讯云官网",
|
3539
|
+
"example": "无",
|
3540
|
+
"member": "string",
|
3541
|
+
"name": "ZoneIds",
|
3542
|
+
"required": true,
|
3543
|
+
"type": "list"
|
3544
|
+
},
|
3545
|
+
{
|
3546
|
+
"disabled": false,
|
3547
|
+
"document": "VPC信息",
|
3548
|
+
"example": "无",
|
3549
|
+
"member": "VpcInfo",
|
3550
|
+
"name": "VpcInfo",
|
3551
|
+
"required": true,
|
3552
|
+
"type": "object"
|
3553
|
+
},
|
3554
|
+
{
|
3555
|
+
"disabled": false,
|
3556
|
+
"document": "购买时长,月为单位",
|
3557
|
+
"example": "无",
|
3558
|
+
"member": "int64",
|
3559
|
+
"name": "TimeSpan",
|
3560
|
+
"required": true,
|
3561
|
+
"type": "int"
|
3562
|
+
}
|
3563
|
+
],
|
3564
|
+
"type": "object"
|
3565
|
+
},
|
3566
|
+
"CreateRocketMQVipInstanceResponse": {
|
3567
|
+
"document": "CreateRocketMQVipInstance返回参数结构体",
|
3568
|
+
"members": [
|
3569
|
+
{
|
3570
|
+
"disabled": false,
|
3571
|
+
"document": "集群ID",
|
3572
|
+
"example": "无",
|
3573
|
+
"member": "string",
|
3574
|
+
"name": "ClusterId",
|
3575
|
+
"output_required": true,
|
3576
|
+
"type": "string",
|
3577
|
+
"value_allowed_null": false
|
3578
|
+
},
|
3579
|
+
{
|
3580
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
3581
|
+
"member": "string",
|
3582
|
+
"name": "RequestId",
|
3583
|
+
"type": "string"
|
3584
|
+
}
|
3585
|
+
],
|
3586
|
+
"type": "object"
|
3587
|
+
},
|
3490
3588
|
"CreateRoleRequest": {
|
3491
3589
|
"document": "CreateRole请求参数结构体",
|
3492
3590
|
"members": [
|
@@ -13986,6 +14084,34 @@
|
|
13986
14084
|
}
|
13987
14085
|
],
|
13988
14086
|
"usage": "both"
|
14087
|
+
},
|
14088
|
+
"VpcInfo": {
|
14089
|
+
"document": "vpc信息(由UniqVpcId和UniqSubnetId组成)",
|
14090
|
+
"members": [
|
14091
|
+
{
|
14092
|
+
"default": "",
|
14093
|
+
"disabled": false,
|
14094
|
+
"document": "vpc信息",
|
14095
|
+
"example": "vpc-9dlrd5h1",
|
14096
|
+
"member": "string",
|
14097
|
+
"name": "VpcId",
|
14098
|
+
"required": true,
|
14099
|
+
"type": "string",
|
14100
|
+
"value_allowed_null": false
|
14101
|
+
},
|
14102
|
+
{
|
14103
|
+
"default": "",
|
14104
|
+
"disabled": false,
|
14105
|
+
"document": "子网信息",
|
14106
|
+
"example": "subnet-jadmas",
|
14107
|
+
"member": "string",
|
14108
|
+
"name": "SubnetId",
|
14109
|
+
"required": true,
|
14110
|
+
"type": "string",
|
14111
|
+
"value_allowed_null": false
|
14112
|
+
}
|
14113
|
+
],
|
14114
|
+
"usage": "both"
|
13989
14115
|
}
|
13990
14116
|
},
|
13991
14117
|
"version": "1.0"
|
@@ -140,6 +140,14 @@
|
|
140
140
|
"title": "创建主题"
|
141
141
|
}
|
142
142
|
],
|
143
|
+
"CreateRocketMQVipInstance": [
|
144
|
+
{
|
145
|
+
"document": "购买RocketMQ专享实例",
|
146
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQVipInstance\n<公共请求参数>\n\n{\n \"Name\": \"abc\",\n \"Spec\": \"rocket-vip-basic-1\",\n \"NodeCount\": 1,\n \"StorageSize\": 0,\n \"ZoneIds\": [\n \"100001\"\n ],\n \"VpcInfo\": {\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\"\n },\n \"TimeSpan\": 1\n}",
|
147
|
+
"output": "{\n \"Response\": {\n \"ClusterId\": \"rocketmq-xxxx\",\n \"RequestId\": \"abc\"\n }\n}",
|
148
|
+
"title": "购买RocketMQ专享实例"
|
149
|
+
}
|
150
|
+
],
|
143
151
|
"CreateRole": [
|
144
152
|
{
|
145
153
|
"document": "创建角色",
|
@@ -8097,100 +8097,100 @@
|
|
8097
8097
|
"document": "CreateVpnGateway请求参数结构体",
|
8098
8098
|
"members": [
|
8099
8099
|
{
|
8100
|
-
"default": "",
|
8101
8100
|
"disabled": false,
|
8102
8101
|
"document": "VPC实例ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口返回值中的VpcId获取。",
|
8103
8102
|
"example": "vpc-ngenl4az",
|
8103
|
+
"is_base64": false,
|
8104
8104
|
"member": "string",
|
8105
8105
|
"name": "VpcId",
|
8106
8106
|
"required": true,
|
8107
8107
|
"type": "string"
|
8108
8108
|
},
|
8109
8109
|
{
|
8110
|
-
"default": "",
|
8111
8110
|
"disabled": false,
|
8112
8111
|
"document": "VPN网关名称,最大长度不能超过60个字节。",
|
8113
8112
|
"example": "TEST_POSTPAID_VPNGW",
|
8113
|
+
"is_base64": false,
|
8114
8114
|
"member": "string",
|
8115
8115
|
"name": "VpnGatewayName",
|
8116
8116
|
"required": true,
|
8117
8117
|
"type": "string"
|
8118
8118
|
},
|
8119
8119
|
{
|
8120
|
-
"default": "",
|
8121
8120
|
"disabled": false,
|
8122
|
-
"document": "公网带宽设置。可选带宽规格:5, 10, 20, 50, 100;单位:Mbps",
|
8121
|
+
"document": "公网带宽设置。可选带宽规格:5, 10, 20, 50, 100, 200, 500, 1000, 3000;单位:Mbps。",
|
8123
8122
|
"example": "5",
|
8123
|
+
"is_base64": false,
|
8124
8124
|
"member": "uint64",
|
8125
8125
|
"name": "InternetMaxBandwidthOut",
|
8126
8126
|
"required": true,
|
8127
8127
|
"type": "int"
|
8128
8128
|
},
|
8129
8129
|
{
|
8130
|
-
"default": "",
|
8131
8130
|
"disabled": false,
|
8132
8131
|
"document": "VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid必填。",
|
8133
8132
|
"example": "POSTPAID_BY_HOUR",
|
8133
|
+
"is_base64": false,
|
8134
8134
|
"member": "string",
|
8135
8135
|
"name": "InstanceChargeType",
|
8136
8136
|
"required": false,
|
8137
8137
|
"type": "string"
|
8138
8138
|
},
|
8139
8139
|
{
|
8140
|
-
"default": "",
|
8141
8140
|
"disabled": false,
|
8142
8141
|
"document": "预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。",
|
8143
8142
|
"example": "无",
|
8143
|
+
"is_base64": false,
|
8144
8144
|
"member": "InstanceChargePrepaid",
|
8145
8145
|
"name": "InstanceChargePrepaid",
|
8146
8146
|
"required": false,
|
8147
8147
|
"type": "object"
|
8148
8148
|
},
|
8149
8149
|
{
|
8150
|
-
"default": "",
|
8151
8150
|
"disabled": false,
|
8152
8151
|
"document": "可用区,如:ap-guangzhou-2。",
|
8153
8152
|
"example": "ap-guangzhou",
|
8153
|
+
"is_base64": false,
|
8154
8154
|
"member": "string",
|
8155
8155
|
"name": "Zone",
|
8156
8156
|
"required": false,
|
8157
8157
|
"type": "string"
|
8158
8158
|
},
|
8159
8159
|
{
|
8160
|
-
"default": "",
|
8161
8160
|
"disabled": false,
|
8162
|
-
"document": "VPN
|
8161
|
+
"document": "VPN网关类型,默认为IPSEC。值“IPSEC”为VPC型IPSEC VPN网关,值“SSL”为VPC型SSL VPN网关,值“CCN”为云联网型IPSEC VPN网关,值“SSL_CCN”为云联网型SSL VPN网关。",
|
8163
8162
|
"example": "CCN",
|
8163
|
+
"is_base64": false,
|
8164
8164
|
"member": "string",
|
8165
8165
|
"name": "Type",
|
8166
8166
|
"required": false,
|
8167
8167
|
"type": "string"
|
8168
8168
|
},
|
8169
8169
|
{
|
8170
|
-
"default": "",
|
8171
8170
|
"disabled": false,
|
8172
|
-
"document": "指定绑定的标签列表,例如:[{\"Key\": \"city\", \"Value\": \"shanghai\"}]",
|
8171
|
+
"document": "指定绑定的标签列表,例如:[{\"Key\": \"city\", \"Value\": \"shanghai\"}]。",
|
8173
8172
|
"example": "无",
|
8173
|
+
"is_base64": false,
|
8174
8174
|
"member": "Tag",
|
8175
8175
|
"name": "Tags",
|
8176
8176
|
"required": false,
|
8177
8177
|
"type": "list"
|
8178
8178
|
},
|
8179
8179
|
{
|
8180
|
-
"default": "",
|
8181
8180
|
"disabled": false,
|
8182
|
-
"document": "CDC实例ID",
|
8181
|
+
"document": "CDC实例ID。",
|
8183
8182
|
"example": "cluster-gbo27yc4",
|
8183
|
+
"is_base64": false,
|
8184
8184
|
"member": "string",
|
8185
8185
|
"name": "CdcId",
|
8186
8186
|
"required": false,
|
8187
8187
|
"type": "string"
|
8188
8188
|
},
|
8189
8189
|
{
|
8190
|
-
"default": "",
|
8191
8190
|
"disabled": false,
|
8192
|
-
"document": "SSL
|
8191
|
+
"document": "SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100, 200, 500, 1000;单位:个。仅 SSL / SSL_CCN 类型需要选这个参数。",
|
8193
8192
|
"example": "5",
|
8193
|
+
"is_base64": false,
|
8194
8194
|
"member": "uint64",
|
8195
8195
|
"name": "MaxConnection",
|
8196
8196
|
"required": false,
|
@@ -8208,7 +8208,7 @@
|
|
8208
8208
|
"example": "无",
|
8209
8209
|
"member": "VpnGateway",
|
8210
8210
|
"name": "VpnGateway",
|
8211
|
-
"
|
8211
|
+
"output_required": true,
|
8212
8212
|
"type": "object",
|
8213
8213
|
"value_allowed_null": false
|
8214
8214
|
},
|
@@ -27987,222 +27987,202 @@
|
|
27987
27987
|
"document": "VPN网关对象。",
|
27988
27988
|
"members": [
|
27989
27989
|
{
|
27990
|
-
"default": "",
|
27991
27990
|
"disabled": false,
|
27992
27991
|
"document": "网关实例ID。",
|
27993
27992
|
"example": "vpngw-az2xuzp5",
|
27994
27993
|
"member": "string",
|
27995
27994
|
"name": "VpnGatewayId",
|
27996
|
-
"
|
27995
|
+
"output_required": true,
|
27997
27996
|
"type": "string",
|
27998
27997
|
"value_allowed_null": false
|
27999
27998
|
},
|
28000
27999
|
{
|
28001
|
-
"default": "",
|
28002
28000
|
"disabled": false,
|
28003
28001
|
"document": "VPC实例ID。",
|
28004
28002
|
"example": "vpc-qqa5rnd5",
|
28005
28003
|
"member": "string",
|
28006
28004
|
"name": "VpcId",
|
28007
|
-
"
|
28005
|
+
"output_required": true,
|
28008
28006
|
"type": "string",
|
28009
28007
|
"value_allowed_null": false
|
28010
28008
|
},
|
28011
28009
|
{
|
28012
|
-
"default": "",
|
28013
28010
|
"disabled": false,
|
28014
28011
|
"document": "网关实例名称。",
|
28015
28012
|
"example": "test-gateway",
|
28016
28013
|
"member": "string",
|
28017
28014
|
"name": "VpnGatewayName",
|
28018
|
-
"
|
28015
|
+
"output_required": true,
|
28019
28016
|
"type": "string",
|
28020
28017
|
"value_allowed_null": false
|
28021
28018
|
},
|
28022
28019
|
{
|
28023
|
-
"default": "",
|
28024
28020
|
"disabled": false,
|
28025
|
-
"document": "网关实例类型:'IPSEC', 'SSL','CCN'。",
|
28021
|
+
"document": "网关实例类型:'IPSEC', 'SSL','CCN','SSL_CCN'。",
|
28026
28022
|
"example": "IPSEC",
|
28027
28023
|
"member": "string",
|
28028
28024
|
"name": "Type",
|
28029
|
-
"
|
28025
|
+
"output_required": true,
|
28030
28026
|
"type": "string",
|
28031
28027
|
"value_allowed_null": false
|
28032
28028
|
},
|
28033
28029
|
{
|
28034
|
-
"default": "",
|
28035
28030
|
"disabled": false,
|
28036
|
-
"document": "网关实例状态, 'PENDING':生产中,'DELETING':删除中,'AVAILABLE':运行中。",
|
28031
|
+
"document": "网关实例状态, 'PENDING':生产中,'PENDING_ERROR':生产失败,'DELETING':删除中,'DELETING_ERROR':删除失败,'AVAILABLE':运行中。",
|
28037
28032
|
"example": "AVAILABLE",
|
28038
28033
|
"member": "string",
|
28039
28034
|
"name": "State",
|
28040
|
-
"
|
28035
|
+
"output_required": true,
|
28041
28036
|
"type": "string",
|
28042
28037
|
"value_allowed_null": false
|
28043
28038
|
},
|
28044
28039
|
{
|
28045
|
-
"default": "",
|
28046
28040
|
"disabled": false,
|
28047
28041
|
"document": "网关公网IP。",
|
28048
28042
|
"example": "139.124.3.2",
|
28049
28043
|
"member": "string",
|
28050
28044
|
"name": "PublicIpAddress",
|
28051
|
-
"
|
28045
|
+
"output_required": true,
|
28052
28046
|
"type": "string",
|
28053
28047
|
"value_allowed_null": false
|
28054
28048
|
},
|
28055
28049
|
{
|
28056
|
-
"default": "",
|
28057
28050
|
"disabled": false,
|
28058
28051
|
"document": "网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。",
|
28059
28052
|
"example": "NOTIFY_AND_MANUAL_RENEW",
|
28060
28053
|
"member": "string",
|
28061
28054
|
"name": "RenewFlag",
|
28062
|
-
"
|
28055
|
+
"output_required": true,
|
28063
28056
|
"type": "string",
|
28064
28057
|
"value_allowed_null": false
|
28065
28058
|
},
|
28066
28059
|
{
|
28067
|
-
"default": "",
|
28068
28060
|
"disabled": false,
|
28069
|
-
"document": "网关付费类型:POSTPAID_BY_HOUR
|
28061
|
+
"document": "网关付费类型:POSTPAID_BY_HOUR:按量计费,PREPAID:包年包月预付费。",
|
28070
28062
|
"example": "POSTPAID_BY_HOUR",
|
28071
28063
|
"member": "string",
|
28072
28064
|
"name": "InstanceChargeType",
|
28073
|
-
"
|
28065
|
+
"output_required": true,
|
28074
28066
|
"type": "string",
|
28075
28067
|
"value_allowed_null": false
|
28076
28068
|
},
|
28077
28069
|
{
|
28078
|
-
"default": "",
|
28079
28070
|
"disabled": false,
|
28080
28071
|
"document": "网关出带宽。",
|
28081
28072
|
"example": "5",
|
28082
28073
|
"member": "uint64",
|
28083
28074
|
"name": "InternetMaxBandwidthOut",
|
28084
|
-
"
|
28075
|
+
"output_required": true,
|
28085
28076
|
"type": "int",
|
28086
28077
|
"value_allowed_null": false
|
28087
28078
|
},
|
28088
28079
|
{
|
28089
|
-
"default": "",
|
28090
28080
|
"disabled": false,
|
28091
28081
|
"document": "创建时间。",
|
28092
28082
|
"example": "2021-04-25 17:14:34",
|
28093
28083
|
"member": "datetime",
|
28094
28084
|
"name": "CreatedTime",
|
28095
|
-
"
|
28085
|
+
"output_required": true,
|
28096
28086
|
"type": "string",
|
28097
28087
|
"value_allowed_null": false
|
28098
28088
|
},
|
28099
28089
|
{
|
28100
|
-
"default": "",
|
28101
28090
|
"disabled": false,
|
28102
28091
|
"document": "预付费网关过期时间。",
|
28103
28092
|
"example": "2021-04-25 17:14:34",
|
28104
28093
|
"member": "datetime",
|
28105
28094
|
"name": "ExpiredTime",
|
28106
|
-
"
|
28095
|
+
"output_required": true,
|
28107
28096
|
"type": "string",
|
28108
28097
|
"value_allowed_null": false
|
28109
28098
|
},
|
28110
28099
|
{
|
28111
|
-
"default": "",
|
28112
28100
|
"disabled": false,
|
28113
28101
|
"document": "公网IP是否被封堵。",
|
28114
28102
|
"example": "false",
|
28115
28103
|
"member": "bool",
|
28116
28104
|
"name": "IsAddressBlocked",
|
28117
|
-
"
|
28105
|
+
"output_required": true,
|
28118
28106
|
"type": "bool",
|
28119
28107
|
"value_allowed_null": false
|
28120
28108
|
},
|
28121
28109
|
{
|
28122
|
-
"default": "",
|
28123
28110
|
"disabled": false,
|
28124
28111
|
"document": "计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。",
|
28125
28112
|
"example": "PREPAID_TO_POSTPAID",
|
28126
28113
|
"member": "string",
|
28127
28114
|
"name": "NewPurchasePlan",
|
28128
|
-
"
|
28115
|
+
"output_required": true,
|
28129
28116
|
"type": "string",
|
28130
28117
|
"value_allowed_null": false
|
28131
28118
|
},
|
28132
28119
|
{
|
28133
|
-
"default": "",
|
28134
28120
|
"disabled": false,
|
28135
|
-
"document": "
|
28121
|
+
"document": "网关计费状态,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。",
|
28136
28122
|
"example": "PROTECTIVELY_ISOLATED",
|
28137
28123
|
"member": "string",
|
28138
28124
|
"name": "RestrictState",
|
28139
|
-
"
|
28125
|
+
"output_required": true,
|
28140
28126
|
"type": "string",
|
28141
28127
|
"value_allowed_null": false
|
28142
28128
|
},
|
28143
28129
|
{
|
28144
|
-
"default": "",
|
28145
28130
|
"disabled": false,
|
28146
|
-
"document": "可用区,如:ap-guangzhou-2",
|
28131
|
+
"document": "可用区,如:ap-guangzhou-2。",
|
28147
28132
|
"example": "ap-guangzhou-2",
|
28148
28133
|
"member": "string",
|
28149
28134
|
"name": "Zone",
|
28150
|
-
"
|
28135
|
+
"output_required": true,
|
28151
28136
|
"type": "string",
|
28152
28137
|
"value_allowed_null": false
|
28153
28138
|
},
|
28154
28139
|
{
|
28155
|
-
"default": "",
|
28156
28140
|
"disabled": false,
|
28157
|
-
"document": "
|
28141
|
+
"document": "网关带宽配额信息。",
|
28158
28142
|
"example": "null",
|
28159
28143
|
"member": "VpnGatewayQuota",
|
28160
28144
|
"name": "VpnGatewayQuotaSet",
|
28161
|
-
"
|
28145
|
+
"output_required": true,
|
28162
28146
|
"type": "list",
|
28163
28147
|
"value_allowed_null": false
|
28164
28148
|
},
|
28165
28149
|
{
|
28166
|
-
"default": "",
|
28167
28150
|
"disabled": false,
|
28168
|
-
"document": "
|
28151
|
+
"document": "网关实例版本信息。",
|
28169
28152
|
"example": "1.0",
|
28170
28153
|
"member": "string",
|
28171
28154
|
"name": "Version",
|
28172
|
-
"
|
28155
|
+
"output_required": true,
|
28173
28156
|
"type": "string",
|
28174
28157
|
"value_allowed_null": false
|
28175
28158
|
},
|
28176
28159
|
{
|
28177
|
-
"default": "",
|
28178
28160
|
"disabled": false,
|
28179
|
-
"document": "Type值为CCN时,该值表示云联网实例ID",
|
28161
|
+
"document": "Type值为CCN时,该值表示云联网实例ID。",
|
28180
28162
|
"example": "ccn-gree226l",
|
28181
28163
|
"member": "string",
|
28182
28164
|
"name": "NetworkInstanceId",
|
28183
|
-
"
|
28165
|
+
"output_required": true,
|
28184
28166
|
"type": "string",
|
28185
28167
|
"value_allowed_null": false
|
28186
28168
|
},
|
28187
28169
|
{
|
28188
|
-
"default": "",
|
28189
28170
|
"disabled": false,
|
28190
|
-
"document": "CDC 实例ID",
|
28171
|
+
"document": "CDC 实例ID。",
|
28191
28172
|
"example": "cluster-gbo27yc4",
|
28192
28173
|
"member": "string",
|
28193
28174
|
"name": "CdcId",
|
28194
|
-
"
|
28175
|
+
"output_required": true,
|
28195
28176
|
"type": "string",
|
28196
28177
|
"value_allowed_null": false
|
28197
28178
|
},
|
28198
28179
|
{
|
28199
|
-
"default": "",
|
28200
28180
|
"disabled": false,
|
28201
28181
|
"document": "SSL-VPN 客户端连接数。",
|
28202
28182
|
"example": "5",
|
28203
28183
|
"member": "uint64",
|
28204
28184
|
"name": "MaxConnection",
|
28205
|
-
"
|
28185
|
+
"output_required": true,
|
28206
28186
|
"type": "int",
|
28207
28187
|
"value_allowed_null": false
|
28208
28188
|
}
|
@@ -612,9 +612,9 @@
|
|
612
612
|
],
|
613
613
|
"CreateVpnGateway": [
|
614
614
|
{
|
615
|
-
"document": "",
|
616
|
-
"input": "
|
617
|
-
"output": "{\n \"Response\": {\n \"VpnGateway\": {\n \"VpnGatewayQuotaSet\": [
|
615
|
+
"document": "创建VPNGW",
|
616
|
+
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpnGateway\n<公共请求参数>\n\n{\n \"VpnGatewayName\": \"\\\"test\\\"\",\n \"VpcId\": \"\\\"vpc-xxxx\\\"\",\n \"InstanceChargeType\": \"\\\"POSTPAID_BY_HOUR\\\"\",\n \"InternetMaxBandwidthOut\": \"5\"\n}",
|
617
|
+
"output": "{\n \"Response\": {\n \"VpnGateway\": {\n \"VpnGatewayQuotaSet\": [],\n \"MaxConnection\": 5,\n \"VpcId\": \"vpc-test\",\n \"RenewFlag\": \"\",\n \"Zone\": \"ap-bangkok-1\",\n \"VpnGatewayName\": \"test\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"CdcId\": \"\",\n \"IsAddressBlocked\": true,\n \"InternetMaxBandwidthOut\": 10,\n \"State\": \"Pending\",\n \"Version\": \"\",\n \"VpnGatewayId\": \"vpngw-xxxxx\",\n \"PublicIpAddress\": \"12.3.1.3\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"NewPurchasePlan\": \"\",\n \"ExpiredTime\": \"2020-09-22 00:00:00\",\n \"Type\": \"IPSEC\",\n \"NetworkInstanceId\": \"\",\n \"RestrictState\": \"NORMAL\"\n },\n \"RequestId\": \"fa15cd12-e329-1261-c585-3c3ae5c55211\"\n }\n}",
|
618
618
|
"title": "创建VPNGW"
|
619
619
|
}
|
620
620
|
],
|