tccli-intl-en 3.0.1283.1__py2.py3-none-any.whl → 3.1.8.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +6 -0
- tccli/services/autoscaling/v20180419/api.json +36 -14
- tccli/services/ckafka/ckafka_client.py +288 -8
- tccli/services/ckafka/v20190819/api.json +494 -76
- tccli/services/ckafka/v20190819/examples.json +45 -5
- tccli/services/clb/clb_client.py +636 -300
- tccli/services/clb/v20180317/api.json +2255 -1017
- tccli/services/clb/v20180317/examples.json +184 -124
- tccli/services/controlcenter/controlcenter_client.py +224 -0
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/cvm/v20170312/api.json +41 -41
- tccli/services/cvm/v20170312/examples.json +21 -21
- tccli/services/faceid/v20180301/api.json +31 -3
- tccli/services/kms/v20190118/api.json +80 -3
- tccli/services/kms/v20190118/examples.json +3 -3
- tccli/services/mdl/v20200326/api.json +165 -5
- tccli/services/mongodb/mongodb_client.py +1048 -96
- tccli/services/mongodb/v20190725/api.json +1765 -108
- tccli/services/mongodb/v20190725/examples.json +136 -0
- tccli/services/mps/mps_client.py +713 -209
- tccli/services/mps/v20190612/api.json +1009 -67
- tccli/services/mps/v20190612/examples.json +100 -52
- tccli/services/ocr/ocr_client.py +112 -0
- tccli/services/ocr/v20181119/api.json +550 -6
- tccli/services/ocr/v20181119/examples.json +22 -0
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/tdmq/tdmq_client.py +2406 -278
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/teo/v20220901/api.json +68 -4
- tccli/services/teo/v20220901/examples.json +28 -22
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trtc/v20190722/api.json +5 -5
- tccli/services/vpc/v20170312/api.json +19 -16
- tccli/services/vpc/v20170312/examples.json +4 -4
- {tccli_intl_en-3.0.1283.1.dist-info → tccli_intl_en-3.1.8.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1283.1.dist-info → tccli_intl_en-3.1.8.1.dist-info}/RECORD +49 -41
- {tccli_intl_en-3.0.1283.1.dist-info → tccli_intl_en-3.1.8.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1283.1.dist-info → tccli_intl_en-3.1.8.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.0.1283.1.dist-info → tccli_intl_en-3.1.8.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1283.1.dist-info → tccli_intl_en-3.1.8.1.dist-info}/top_level.txt +0 -0
|
@@ -2809,7 +2809,7 @@
|
|
|
2809
2809
|
{
|
|
2810
2810
|
"disabled": false,
|
|
2811
2811
|
"document": "ID list of spread placement groups. You can operate up to 10 spread placement groups in each request.",
|
|
2812
|
-
"example": "ps-21q9ibvr",
|
|
2812
|
+
"example": "[\"ps-21q9ibvr\"]",
|
|
2813
2813
|
"member": "string",
|
|
2814
2814
|
"name": "DisasterRecoverGroupIds",
|
|
2815
2815
|
"required": false,
|
|
@@ -2845,7 +2845,7 @@
|
|
|
2845
2845
|
{
|
|
2846
2846
|
"disabled": false,
|
|
2847
2847
|
"document": "<li> `tag-key` - String - Optional - Filter by the tag key.</li>\n<li>`tag-value` - String - Optional - Filter by the tag value.</li>\n<li> `tag:tag-key` - String - Optional - Filter by the tag key-value pair. Replace `tag-key` with the actual tag keys.</li>\nEach request can have up to 10 `Filters` and 5 `Filters.Values`.",
|
|
2848
|
-
"example": "
|
|
2848
|
+
"example": "无",
|
|
2849
2849
|
"member": "Filter",
|
|
2850
2850
|
"name": "Filters",
|
|
2851
2851
|
"required": false,
|
|
@@ -2860,7 +2860,7 @@
|
|
|
2860
2860
|
{
|
|
2861
2861
|
"disabled": false,
|
|
2862
2862
|
"document": "Information on spread placement groups.",
|
|
2863
|
-
"example": "
|
|
2863
|
+
"example": "无",
|
|
2864
2864
|
"member": "DisasterRecoverGroup",
|
|
2865
2865
|
"name": "DisasterRecoverGroupSet",
|
|
2866
2866
|
"output_required": true,
|
|
@@ -3066,7 +3066,7 @@
|
|
|
3066
3066
|
},
|
|
3067
3067
|
{
|
|
3068
3068
|
"disabled": false,
|
|
3069
|
-
"document": "Filters. Each request can have up to 10 `Filters`, and 5 `Filters.Values` for each filter. `ImageIds` and `Filters` cannot be specified at the same time. See details:\n\n<li><strong>image-id</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image ID</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>image-type</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image type</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p><p style=\"padding-left: 30px;\">Options:</p><p style=\"padding-left: 30px;\">`PRIVATE_IMAGE`: Private images (images created by this account)</p><p style=\"padding-left: 30px;\">`PUBLIC_IMAGE`: Public images (Tencent Cloud official images)</p><p style=\"padding-left: 30px;\">`SHARED_IMAGE`: Shared images (images shared by other accounts to this account)</p>\n<li><strong>image-name</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image name</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>platform</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image operating system</strong>, such as `CentOS`.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>tag-key</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>tag key</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>tag-value</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>tag value</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>tag:tag-key</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>tag key-value pair</strong>. Replace
|
|
3069
|
+
"document": "Filters. Each request can have up to 10 `Filters`, and 5 `Filters.Values` for each filter. `ImageIds` and `Filters` cannot be specified at the same time. See details:\n\n<li><strong>image-id</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image ID</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>image-type</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image type</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p><p style=\"padding-left: 30px;\">Options:</p><p style=\"padding-left: 30px;\">`PRIVATE_IMAGE`: Private images (images created by this account)</p><p style=\"padding-left: 30px;\">`PUBLIC_IMAGE`: Public images (Tencent Cloud official images)</p><p style=\"padding-left: 30px;\">`SHARED_IMAGE`: Shared images (images shared by other accounts to this account)</p>\n<li><strong>image-name</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image name</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>platform</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>image operating system</strong>, such as `CentOS`.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>tag-key</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>tag key</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>tag-value</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>tag value</strong>.</p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>\n<li><strong>tag:tag-key</strong></li>\n<p style=\"padding-left: 30px;\">Filter by the <strong>tag key-value pair</strong>. Replace \"tag-key\" with the actual value. </p><p style=\"padding-left: 30px;\">Type: String</p><p style=\"padding-left: 30px;\">Optional</p>",
|
|
3070
3070
|
"example": "无",
|
|
3071
3071
|
"member": "Filter",
|
|
3072
3072
|
"name": "Filters",
|
|
@@ -3093,8 +3093,8 @@
|
|
|
3093
3093
|
},
|
|
3094
3094
|
{
|
|
3095
3095
|
"disabled": false,
|
|
3096
|
-
"document": "Instance type, e.g. `
|
|
3097
|
-
"example": "
|
|
3096
|
+
"document": "Instance type, e.g. `SA5.MEDIUM2`",
|
|
3097
|
+
"example": "SA5.MEDIUM2",
|
|
3098
3098
|
"member": "string",
|
|
3099
3099
|
"name": "InstanceType",
|
|
3100
3100
|
"required": false,
|
|
@@ -3112,7 +3112,7 @@
|
|
|
3112
3112
|
"example": "无",
|
|
3113
3113
|
"member": "Image",
|
|
3114
3114
|
"name": "ImageSet",
|
|
3115
|
-
"
|
|
3115
|
+
"output_required": true,
|
|
3116
3116
|
"type": "list",
|
|
3117
3117
|
"value_allowed_null": false
|
|
3118
3118
|
},
|
|
@@ -3122,7 +3122,7 @@
|
|
|
3122
3122
|
"example": "1",
|
|
3123
3123
|
"member": "int64",
|
|
3124
3124
|
"name": "TotalCount",
|
|
3125
|
-
"
|
|
3125
|
+
"output_required": true,
|
|
3126
3126
|
"type": "int",
|
|
3127
3127
|
"value_allowed_null": false
|
|
3128
3128
|
},
|
|
@@ -3463,7 +3463,7 @@
|
|
|
3463
3463
|
{
|
|
3464
3464
|
"disabled": false,
|
|
3465
3465
|
"document": "Key pair ID(s) in the format of `skey-11112222`. This API supports using multiple IDs as filters at the same time. For more information on the format of this parameter, see the `id.N` section in [API Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). You cannot specify `KeyIds` and `Filters` at the same time. You can log in to the [console](https://console.cloud.tencent.com/cvm/index) to query the key pair IDs.",
|
|
3466
|
-
"example": "skey-11112222",
|
|
3466
|
+
"example": "[\"skey-11112222\"]",
|
|
3467
3467
|
"member": "string",
|
|
3468
3468
|
"name": "KeyIds",
|
|
3469
3469
|
"required": false,
|
|
@@ -3685,7 +3685,7 @@
|
|
|
3685
3685
|
"name": "TotalCount",
|
|
3686
3686
|
"output_required": true,
|
|
3687
3687
|
"type": "int",
|
|
3688
|
-
"value_allowed_null":
|
|
3688
|
+
"value_allowed_null": false
|
|
3689
3689
|
},
|
|
3690
3690
|
{
|
|
3691
3691
|
"disabled": false,
|
|
@@ -3695,7 +3695,7 @@
|
|
|
3695
3695
|
"name": "LaunchTemplateSet",
|
|
3696
3696
|
"output_required": true,
|
|
3697
3697
|
"type": "list",
|
|
3698
|
-
"value_allowed_null":
|
|
3698
|
+
"value_allowed_null": false
|
|
3699
3699
|
},
|
|
3700
3700
|
{
|
|
3701
3701
|
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
@@ -4804,7 +4804,7 @@
|
|
|
4804
4804
|
{
|
|
4805
4805
|
"disabled": false,
|
|
4806
4806
|
"document": "Image name",
|
|
4807
|
-
"example": "
|
|
4807
|
+
"example": "myImg",
|
|
4808
4808
|
"member": "string",
|
|
4809
4809
|
"name": "ImageName",
|
|
4810
4810
|
"output_required": true,
|
|
@@ -4814,7 +4814,7 @@
|
|
|
4814
4814
|
{
|
|
4815
4815
|
"disabled": false,
|
|
4816
4816
|
"document": "Image description",
|
|
4817
|
-
"example": "
|
|
4817
|
+
"example": "tencentcloud",
|
|
4818
4818
|
"member": "string",
|
|
4819
4819
|
"name": "ImageDescription",
|
|
4820
4820
|
"output_required": true,
|
|
@@ -4864,7 +4864,7 @@
|
|
|
4864
4864
|
{
|
|
4865
4865
|
"disabled": false,
|
|
4866
4866
|
"document": "Image creator",
|
|
4867
|
-
"example": "
|
|
4867
|
+
"example": "tencentcloud",
|
|
4868
4868
|
"member": "string",
|
|
4869
4869
|
"name": "ImageCreator",
|
|
4870
4870
|
"output_required": true,
|
|
@@ -4884,7 +4884,7 @@
|
|
|
4884
4884
|
{
|
|
4885
4885
|
"disabled": false,
|
|
4886
4886
|
"document": "Synchronization percentage\nNote: This field may return null, indicating that no valid value is found.",
|
|
4887
|
-
"example": "
|
|
4887
|
+
"example": "60",
|
|
4888
4888
|
"member": "int64",
|
|
4889
4889
|
"name": "SyncPercent",
|
|
4890
4890
|
"output_required": true,
|
|
@@ -4899,27 +4899,27 @@
|
|
|
4899
4899
|
"name": "IsSupportCloudinit",
|
|
4900
4900
|
"output_required": true,
|
|
4901
4901
|
"type": "bool",
|
|
4902
|
-
"value_allowed_null":
|
|
4902
|
+
"value_allowed_null": false
|
|
4903
4903
|
},
|
|
4904
4904
|
{
|
|
4905
4905
|
"disabled": false,
|
|
4906
4906
|
"document": "Information on the snapshots associated with the image\nNote: This field may return null, indicating that no valid value is found.",
|
|
4907
|
-
"example": "
|
|
4907
|
+
"example": "无",
|
|
4908
4908
|
"member": "Snapshot",
|
|
4909
4909
|
"name": "SnapshotSet",
|
|
4910
4910
|
"output_required": true,
|
|
4911
4911
|
"type": "list",
|
|
4912
|
-
"value_allowed_null":
|
|
4912
|
+
"value_allowed_null": false
|
|
4913
4913
|
},
|
|
4914
4914
|
{
|
|
4915
4915
|
"disabled": false,
|
|
4916
4916
|
"document": "The list of tags bound to the image.\nNote: This field may return `null`, indicating that no valid value was found.",
|
|
4917
|
-
"example": "
|
|
4917
|
+
"example": "无",
|
|
4918
4918
|
"member": "Tag",
|
|
4919
4919
|
"name": "Tags",
|
|
4920
4920
|
"output_required": true,
|
|
4921
4921
|
"type": "list",
|
|
4922
|
-
"value_allowed_null":
|
|
4922
|
+
"value_allowed_null": false
|
|
4923
4923
|
},
|
|
4924
4924
|
{
|
|
4925
4925
|
"disabled": false,
|
|
@@ -4939,7 +4939,7 @@
|
|
|
4939
4939
|
"name": "ImageFamily",
|
|
4940
4940
|
"output_required": false,
|
|
4941
4941
|
"type": "string",
|
|
4942
|
-
"value_allowed_null":
|
|
4942
|
+
"value_allowed_null": false
|
|
4943
4943
|
},
|
|
4944
4944
|
{
|
|
4945
4945
|
"disabled": false,
|
|
@@ -5211,7 +5211,7 @@
|
|
|
5211
5211
|
},
|
|
5212
5212
|
{
|
|
5213
5213
|
"disabled": false,
|
|
5214
|
-
"document": "Reserved instance name.<br><li>The RI name defaults to
|
|
5214
|
+
"document": "Reserved instance name.<br><li>The RI name defaults to \"unnamed\" if this parameter is left empty.</li><li>You can enter any name within 60 characters (including the pattern string).</li>",
|
|
5215
5215
|
"example": "myReservedInstance",
|
|
5216
5216
|
"member": "string",
|
|
5217
5217
|
"name": "ReservedInstanceName",
|
|
@@ -7101,7 +7101,7 @@
|
|
|
7101
7101
|
"name": "LatestVersionNumber",
|
|
7102
7102
|
"output_required": true,
|
|
7103
7103
|
"type": "int",
|
|
7104
|
-
"value_allowed_null":
|
|
7104
|
+
"value_allowed_null": false
|
|
7105
7105
|
},
|
|
7106
7106
|
{
|
|
7107
7107
|
"disabled": false,
|
|
@@ -7111,7 +7111,7 @@
|
|
|
7111
7111
|
"name": "LaunchTemplateId",
|
|
7112
7112
|
"output_required": true,
|
|
7113
7113
|
"type": "string",
|
|
7114
|
-
"value_allowed_null":
|
|
7114
|
+
"value_allowed_null": false
|
|
7115
7115
|
},
|
|
7116
7116
|
{
|
|
7117
7117
|
"disabled": false,
|
|
@@ -7121,7 +7121,7 @@
|
|
|
7121
7121
|
"name": "LaunchTemplateName",
|
|
7122
7122
|
"output_required": true,
|
|
7123
7123
|
"type": "string",
|
|
7124
|
-
"value_allowed_null":
|
|
7124
|
+
"value_allowed_null": false
|
|
7125
7125
|
},
|
|
7126
7126
|
{
|
|
7127
7127
|
"disabled": false,
|
|
@@ -7131,7 +7131,7 @@
|
|
|
7131
7131
|
"name": "DefaultVersionNumber",
|
|
7132
7132
|
"output_required": true,
|
|
7133
7133
|
"type": "int",
|
|
7134
|
-
"value_allowed_null":
|
|
7134
|
+
"value_allowed_null": false
|
|
7135
7135
|
},
|
|
7136
7136
|
{
|
|
7137
7137
|
"disabled": false,
|
|
@@ -7141,17 +7141,17 @@
|
|
|
7141
7141
|
"name": "LaunchTemplateVersionCount",
|
|
7142
7142
|
"output_required": true,
|
|
7143
7143
|
"type": "int",
|
|
7144
|
-
"value_allowed_null":
|
|
7144
|
+
"value_allowed_null": false
|
|
7145
7145
|
},
|
|
7146
7146
|
{
|
|
7147
7147
|
"disabled": false,
|
|
7148
7148
|
"document": "UIN of the user who created the template.\nNote: This field may return `null`, indicating that no valid values can be obtained.",
|
|
7149
|
-
"example": "
|
|
7149
|
+
"example": "1230000",
|
|
7150
7150
|
"member": "string",
|
|
7151
7151
|
"name": "CreatedBy",
|
|
7152
7152
|
"output_required": true,
|
|
7153
7153
|
"type": "string",
|
|
7154
|
-
"value_allowed_null":
|
|
7154
|
+
"value_allowed_null": false
|
|
7155
7155
|
},
|
|
7156
7156
|
{
|
|
7157
7157
|
"disabled": false,
|
|
@@ -7161,7 +7161,7 @@
|
|
|
7161
7161
|
"name": "CreationTime",
|
|
7162
7162
|
"output_required": true,
|
|
7163
7163
|
"type": "string",
|
|
7164
|
-
"value_allowed_null":
|
|
7164
|
+
"value_allowed_null": false
|
|
7165
7165
|
}
|
|
7166
7166
|
],
|
|
7167
7167
|
"usage": "out"
|
|
@@ -8192,7 +8192,7 @@
|
|
|
8192
8192
|
{
|
|
8193
8193
|
"disabled": false,
|
|
8194
8194
|
"document": "Whether to force shut down a running instances. Default value: TRUE.",
|
|
8195
|
-
"example": "
|
|
8195
|
+
"example": "false",
|
|
8196
8196
|
"member": "bool",
|
|
8197
8197
|
"name": "ForceStop",
|
|
8198
8198
|
"required": false,
|
|
@@ -8201,7 +8201,7 @@
|
|
|
8201
8201
|
{
|
|
8202
8202
|
"disabled": false,
|
|
8203
8203
|
"document": "Whether to keep the host name. Default value: FALSE.",
|
|
8204
|
-
"example": "
|
|
8204
|
+
"example": "false",
|
|
8205
8205
|
"member": "bool",
|
|
8206
8206
|
"name": "ReserveHostName",
|
|
8207
8207
|
"required": false,
|
|
@@ -8502,7 +8502,7 @@
|
|
|
8502
8502
|
},
|
|
8503
8503
|
{
|
|
8504
8504
|
"disabled": false,
|
|
8505
|
-
"document": "Reserved instance name.<br><li>The RI name defaults to
|
|
8505
|
+
"document": "Reserved instance name.<br><li>The RI name defaults to \"unnamed\" if this parameter is left empty.</li><li>You can enter any name within 60 characters (including the pattern string).</li>",
|
|
8506
8506
|
"example": "myReservedInstance",
|
|
8507
8507
|
"member": "string",
|
|
8508
8508
|
"name": "ReservedInstanceName",
|
|
@@ -8844,7 +8844,7 @@
|
|
|
8844
8844
|
"name": "FixedPriceDiscount",
|
|
8845
8845
|
"output_required": false,
|
|
8846
8846
|
"type": "float",
|
|
8847
|
-
"value_allowed_null":
|
|
8847
|
+
"value_allowed_null": false
|
|
8848
8848
|
},
|
|
8849
8849
|
{
|
|
8850
8850
|
"disabled": false,
|
|
@@ -8854,7 +8854,7 @@
|
|
|
8854
8854
|
"name": "UsagePriceDiscount",
|
|
8855
8855
|
"output_required": false,
|
|
8856
8856
|
"type": "float",
|
|
8857
|
-
"value_allowed_null":
|
|
8857
|
+
"value_allowed_null": false
|
|
8858
8858
|
}
|
|
8859
8859
|
],
|
|
8860
8860
|
"usage": "out"
|
|
@@ -10039,30 +10039,30 @@
|
|
|
10039
10039
|
{
|
|
10040
10040
|
"disabled": false,
|
|
10041
10041
|
"document": "Snapshot ID.",
|
|
10042
|
-
"example": "",
|
|
10042
|
+
"example": "snap-2y1v",
|
|
10043
10043
|
"member": "string",
|
|
10044
10044
|
"name": "SnapshotId",
|
|
10045
|
-
"
|
|
10045
|
+
"output_required": true,
|
|
10046
10046
|
"type": "string",
|
|
10047
10047
|
"value_allowed_null": false
|
|
10048
10048
|
},
|
|
10049
10049
|
{
|
|
10050
10050
|
"disabled": false,
|
|
10051
10051
|
"document": "Type of the cloud disk used to create the snapshot. Valid values:\nSYSTEM_DISK: system disk\nDATA_DISK: data disk",
|
|
10052
|
-
"example": "",
|
|
10052
|
+
"example": "SYSTEM_DISK",
|
|
10053
10053
|
"member": "string",
|
|
10054
10054
|
"name": "DiskUsage",
|
|
10055
|
-
"
|
|
10055
|
+
"output_required": true,
|
|
10056
10056
|
"type": "string",
|
|
10057
10057
|
"value_allowed_null": false
|
|
10058
10058
|
},
|
|
10059
10059
|
{
|
|
10060
10060
|
"disabled": false,
|
|
10061
10061
|
"document": "Size of the cloud disk used to create the snapshot; unit: GB.",
|
|
10062
|
-
"example": "",
|
|
10062
|
+
"example": "50",
|
|
10063
10063
|
"member": "int64",
|
|
10064
10064
|
"name": "DiskSize",
|
|
10065
|
-
"
|
|
10065
|
+
"output_required": true,
|
|
10066
10066
|
"type": "int",
|
|
10067
10067
|
"value_allowed_null": false
|
|
10068
10068
|
}
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
"DescribeDisasterRecoverGroups": [
|
|
162
162
|
{
|
|
163
163
|
"document": "This example shows you how to query the information of a spread placement group.",
|
|
164
|
-
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDisasterRecoverGroups\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 100,\n \"Filters\": [\n {\n \"Name\": \"tag:
|
|
165
|
-
"output": "{\n \"Response\": {\n \"DisasterRecoverGroupSet\": [\n {\n \"Affinity\": 1,\n \"CreateTime\": \"2024-08-28T10:04:56Z\",\n \"CurrentNum\": 0,\n \"CvmQuotaTotal\": 60,\n \"DisasterRecoverGroupId\": \"ps-0f03mwkn\",\n \"InstanceIds\": [],\n \"Name\": \"HostDisasterRecoverGroup\",\n \"Tags\": [\n {\n \"Key\": \"
|
|
164
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDisasterRecoverGroups\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 100,\n \"Filters\": [\n {\n \"Name\": \"tag:myTagKey\",\n \"Values\": [\n \"myTagVlue\"\n ]\n }\n ]\n}",
|
|
165
|
+
"output": "{\n \"Response\": {\n \"DisasterRecoverGroupSet\": [\n {\n \"Affinity\": 1,\n \"CreateTime\": \"2024-08-28T10:04:56Z\",\n \"CurrentNum\": 0,\n \"CvmQuotaTotal\": 60,\n \"DisasterRecoverGroupId\": \"ps-0f03mwkn\",\n \"InstanceIds\": [],\n \"Name\": \"HostDisasterRecoverGroup\",\n \"Tags\": [\n {\n \"Key\": \"myTagKey\",\n \"Value\": \"myTagVlue\"\n }\n ],\n \"Type\": \"HOST\"\n },\n {\n \"Affinity\": 1,\n \"CreateTime\": \"2024-08-13T04:16:19Z\",\n \"CurrentNum\": 0,\n \"CvmQuotaTotal\": 20,\n \"DisasterRecoverGroupId\": \"ps-ali72vwj\",\n \"InstanceIds\": [],\n \"Name\": \"SWDisasterRecoverGroup\",\n \"Tags\": [\n {\n \"Key\": \"myTagKey\",\n \"Value\": \"myTagVlue\"\n }\n ],\n \"Type\": \"SW\"\n }\n ],\n \"RequestId\": \"52eca90d-08c8-4887-abf0-78d8155cfcfd\",\n \"TotalCount\": 2\n }\n}",
|
|
166
166
|
"title": "Querying the information of a spread placement group"
|
|
167
167
|
}
|
|
168
168
|
],
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
"document": "This example shows you how to query all private images under an account.",
|
|
210
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImages\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"PRIVATE_IMAGE\"\n ],\n \"Name\": \"image-type\"\n }\n ]\n}",
|
|
210
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImages\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"PRIVATE_IMAGE\"\n ],\n \"Name\": \"image-type\"\n }\n ],\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
|
211
211
|
"output": "{\n \"Response\": {\n \"TotalCount\": 408,\n \"ImageSet\": [\n {\n \"OsName\": \"CentOS 7.4 64-bit\",\n \"ImageSize\": 20,\n \"ImageType\": \"PRIVATE_IMAGE\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageDescription\": \"test-image\",\n \"ImageSource\": \"CREATE_IMAGE\",\n \"ImageId\": \"img-qlzp4oea\",\n \"ImageName\": \"test-image\",\n \"ImageCreator\": \"3205597606\",\n \"ImageState\": \"NORMAL\",\n \"SyncPercent\": null,\n \"SnapshotSet\": [\n {\n \"SnapshotId\": \"snap-gqa37j2p\",\n \"DiskUsage\": \"SYSTEM_DISK\",\n \"DiskSize\": 20\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"Architecture\": \"x86_64\",\n \"Platform\": \"CentOS\",\n \"IsSupportCloudinit\": true\n }\n ],\n \"RequestId\": \"5908394c-5b3f-42e0-a537-8410553890a5\"\n }\n}",
|
|
212
212
|
"title": "Querying an image by the image type"
|
|
213
213
|
}
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
"DescribeInstanceFamilyConfigs": [
|
|
224
224
|
{
|
|
225
225
|
"document": "This example shows you how to query the supported instance families in the Guangzhou region.",
|
|
226
|
-
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceFamilyConfigs\n&<Common request parameters>\n\n{}",
|
|
226
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceFamilyConfigs\nX-TC-Language: en-US\n&<Common request parameters>\n\n{}",
|
|
227
227
|
"output": "{\n \"Response\": {\n \"InstanceFamilyConfigSet\": [\n {\n \"InstanceFamilyName\": \"Standard S1\",\n \"InstanceFamily\": \"S1\"\n },\n {\n \"InstanceFamilyName\": \"Network-optimized N1\",\n \"InstanceFamily\": \"N1\"\n },\n {\n \"InstanceFamilyName\": \"High IO I1\",\n \"InstanceFamily\": \"I1\"\n },\n {\n \"InstanceFamilyName\": \"MEM optimized M1\",\n \"InstanceFamily\": \"M1\"\n },\n {\n \"InstanceFamilyName\": \"Standard S2\",\n \"InstanceFamily\": \"S2\"\n },\n {\n \"InstanceFamilyName\": \"Standard network enhanced SN2\",\n \"InstanceFamily\": \"SN2\"\n },\n {\n \"InstanceFamilyName\": \"High IO I2\",\n \"InstanceFamily\": \"I2\"\n },\n {\n \"InstanceFamilyName\": \"MEM optimized M2\",\n \"InstanceFamily\": \"M2\"\n },\n {\n \"InstanceFamilyName\": \"Compute C2\",\n \"InstanceFamily\": \"C2\"\n },\n {\n \"InstanceFamilyName\": \"Compute Network-optimized CN2\",\n \"InstanceFamily\": \"CN2\"\n },\n {\n \"InstanceFamilyName\": \"Standard S3\",\n \"InstanceFamily\": \"S3\"\n },\n {\n \"InstanceFamilyName\": \"Compute C3\",\n \"InstanceFamily\": \"C3\"\n },\n {\n \"InstanceFamilyName\": \"FPGA FX2\",\n \"InstanceFamily\": \"FX2\"\n },\n {\n \"InstanceFamilyName\": \"GPU compute GN2\",\n \"InstanceFamily\": \"GN2\"\n },\n {\n \"InstanceFamilyName\": \"GPU rendering GA2\",\n \"InstanceFamily\": \"GA2\"\n },\n {\n \"InstanceFamilyName\": \"GPU compute GN8\",\n \"InstanceFamily\": \"GN8\"\n },\n {\n \"InstanceFamilyName\": \"Dedicated\",\n \"InstanceFamily\": \"CDH\"\n },\n {\n \"InstanceFamilyName\": \"Shared core\",\n \"InstanceFamily\": \"SHARED\"\n }\n ],\n \"RequestId\": \"b061782b-934a-4e53-b1eb-d5f2fed8130e\"\n }\n}",
|
|
228
228
|
"title": "Querying supported instance families"
|
|
229
229
|
}
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"DescribeInternetChargeTypeConfigs": [
|
|
276
276
|
{
|
|
277
277
|
"document": "This example shows you how to query the list of all network billing modes and select one for the CVM created using the API.",
|
|
278
|
-
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInternetChargeTypeConfigs\n<Common request parameters>\n\n{}",
|
|
278
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInternetChargeTypeConfigs\nX-TC-Language: en-US\n<Common request parameters>\n\n{}",
|
|
279
279
|
"output": "{\n \"Response\": {\n \"InternetChargeTypeConfigSet\": [\n {\n \"InternetChargeType\": \"BANDWIDTH_PREPAID\",\n \"Description\": \"Bill by monthly bandwidth subscription\"\n },\n {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"Description\": \"Bill by traffic\"\n },\n {\n \"InternetChargeType\": \"BANDWIDTH_POSTPAID_BY_HOUR\",\n \"Description\": \"Bill by bandwidth usage period\"\n },\n {\n \"InternetChargeType\": \"BANDWIDTH_PACKAGE\",\n \"Description\": \"Bill by bandwidth package\"\n }\n ],\n \"RequestId\": \"c2abdac4-ea7b-4653-b07c-87cc303fabf0\"\n }\n}",
|
|
280
280
|
"title": "Querying network billing modes"
|
|
281
281
|
}
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"DescribeKeyPairs": [
|
|
284
284
|
{
|
|
285
285
|
"document": "This example shows you how to query the list of key pairs.",
|
|
286
|
-
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:
|
|
286
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKeyPairs\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Name\": \"key-name\",\n \"Values\": [\n \"MyKeyPair\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
|
287
287
|
"output": "{\n \"Response\": {\n \"KeyPairSet\": [\n {\n \"AssociatedInstanceIds\": [],\n \"CreatedTime\": \"2025-10-16T08:12:48Z\",\n \"Description\": \"\",\n \"KeyId\": \"skey-1q8j7b93\",\n \"KeyName\": \"MyKeyPair\",\n \"ProjectId\": 0,\n \"PublicKey\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8gSdflU6iZDlLp3uRgfIQ7d9gl4SzF2yO9BJ1VyzhgWkbYsUS8u7qbwxC6UeAc8364FhT4MjVjXi/+6hYpDnnMiK6lqKBxotLupUtkVmYt+osdPP+y3OcCzTqHWCsY3s7AvyvD41+nuH6LrpXZ4LlHJynPc66eqd5gpnCyg2O1sxW+pd2Zigk0QGWiCuVtm4ICEp3DNHG/9wlVzd++xODf398JU3ebxBsXfe46mFSkyBVbsJLuNueZd4eGDS3q0WhimnvpgZoYOGsNPl4GBLCGOHWZrl/9hE+az6P8W7QwpVe5gvy5MG3usk6zpc0f/diZrdXX7 skey-1q8j7b93\",\n \"Tags\": [\n {\n \"Key\": \"MyKeyPairTagKey\",\n \"Value\": \"MyKeyPairTagValue\"\n }\n ]\n }\n ],\n \"RequestId\": \"eebd54d0-a305-4716-9a84-6017ac14e8c8\",\n \"TotalCount\": 120\n }\n}",
|
|
288
288
|
"title": "Querying the List of Key Pairs"
|
|
289
289
|
}
|
|
@@ -299,8 +299,8 @@
|
|
|
299
299
|
"DescribeLaunchTemplates": [
|
|
300
300
|
{
|
|
301
301
|
"document": " ",
|
|
302
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLaunchTemplates\n<Common request parameters>\n\n{\n \"LaunchTemplateIds\": [\n \"lt-q9t8j8eg\"\n ]\n}",
|
|
303
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateSet\": [\n {\n \"LatestVersionNumber\": 12,\n \"LaunchTemplateId\": \"lt-q9t8j8eg\",\n \"LaunchTemplateName\": \"
|
|
302
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLaunchTemplates\n<Common request parameters>\n\n{\n \"LaunchTemplateIds\": [\n \"lt-q9t8j8eg\"\n ]\n}",
|
|
303
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateSet\": [\n {\n \"LatestVersionNumber\": 12,\n \"LaunchTemplateId\": \"lt-q9t8j8eg\",\n \"LaunchTemplateName\": \"MyLaunchTemplateName\",\n \"DefaultVersionNumber\": 5,\n \"LaunchTemplateVersionCount\": 8,\n \"CreatedBy\": \"251009920\",\n \"CreationTime\": \"2020-12-16T08:05:02Z\"\n }\n ],\n \"RequestId\": \"b2d70642-c69a-4115-ae4e-f6ddade68fea\"\n }\n}",
|
|
304
304
|
"title": "Querying an instance launch template"
|
|
305
305
|
}
|
|
306
306
|
],
|
|
@@ -323,16 +323,16 @@
|
|
|
323
323
|
"DescribeReservedInstancesConfigInfos": [
|
|
324
324
|
{
|
|
325
325
|
"document": " ",
|
|
326
|
-
"input": "
|
|
327
|
-
"output": "{\n \"Response\": {\n \"
|
|
326
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstancesConfigInfos\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-singapore-1\"\n ]\n }\n ]\n}",
|
|
327
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e54a769e-c5aa-408b-b4df-10425ac14ebf\",\n \"ReservedInstanceConfigInfos\": [\n {\n \"InstanceFamilies\": [\n {\n \"InstanceFamily\": \"S5\",\n \"InstanceTypes\": [\n {\n \"Cpu\": 2,\n \"CpuModelName\": \"Intel Xeon Cascade Lake 8255C/Intel Xeon Cooper Lake\",\n \"Fpga\": 0,\n \"Frequency\": \"2.5GHz/3.1GHz\",\n \"Gpu\": 0,\n \"InstanceType\": \"S5.MEDIUM4\",\n \"MaxBandwidth\": 1.5,\n \"Memory\": 4,\n \"NetworkCard\": 25,\n \"Pps\": 30,\n \"Prices\": [\n {\n \"Duration\": 31536000,\n \"FixedPrice\": 409,\n \"OfferingType\": \"All Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"34919144-2792-4b00-ba8b-0ba804f28a4e\",\n \"UsagePrice\": 0,\n \"Zone\": \"ap-singapore-1\"\n }\n ],\n \"Remark\": \"\",\n \"StorageBlock\": 0\n }\n ],\n \"Order\": 88\n }\n ],\n \"Order\": 100,\n \"Type\": \"S\",\n \"TypeName\": \"Standard\"\n }\n ]\n }\n}",
|
|
328
328
|
"title": "Querying reserved instance configurations"
|
|
329
329
|
}
|
|
330
330
|
],
|
|
331
331
|
"DescribeReservedInstancesOfferings": [
|
|
332
332
|
{
|
|
333
333
|
"document": " ",
|
|
334
|
-
"input": "
|
|
335
|
-
"output": "{\n \"Response\": {\n \"
|
|
334
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstancesOfferings\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 3,\n \"Filters\": [\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-singapore-1\"\n ]\n }\n ]\n}",
|
|
335
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0aca8cc9-8812-477f-b442-10cc1a701d48\",\n \"ReservedInstancesOfferingsSet\": [\n {\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 412,\n \"InstanceType\": \"S5.LARGE8\",\n \"OfferingType\": \"Partial Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"f5ededc6-5057-4863-a61b-fe96b4b96eb5\",\n \"UsagePrice\": 0.05,\n \"Zone\": \"ap-singapore-1\"\n },\n {\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 0,\n \"InstanceType\": \"S5.LARGE8\",\n \"OfferingType\": \"No Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"7330ec0e-0ee2-4358-a429-4002c936c24d\",\n \"UsagePrice\": 0.1,\n \"Zone\": \"ap-singapore-1\"\n },\n {\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 1200,\n \"InstanceType\": \"S5.LARGE16\",\n \"OfferingType\": \"All Upfront\",\n \"ProductDescription\": \"linux\",\n \"ReservedInstancesOfferingId\": \"e26bfbf3-85fa-4c88-82a8-0dd2706e60db\",\n \"UsagePrice\": 0,\n \"Zone\": \"ap-singapore-1\"\n }\n ],\n \"TotalCount\": 20\n }\n}",
|
|
336
336
|
"title": "Describing reserved instance offerings"
|
|
337
337
|
}
|
|
338
338
|
],
|
|
@@ -417,8 +417,8 @@
|
|
|
417
417
|
"InquirePricePurchaseReservedInstancesOffering": [
|
|
418
418
|
{
|
|
419
419
|
"document": " ",
|
|
420
|
-
"input": "
|
|
421
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
420
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePricePurchaseReservedInstancesOffering\n<Common request parameters>\n\n{\n \"InstanceCount\": 1,\n \"ReservedInstancesOfferingId\": \"694e115d-e1b2-47f5-8217-bfbdea222da1\"\n}",
|
|
421
|
+
"output": "{\n \"Response\": {\n \"Price\": {\n \"DiscountFixedPrice\": 101,\n \"DiscountUsagePrice\": 0,\n \"FixedPriceDiscount\": 100,\n \"OriginalFixedPrice\": 101,\n \"OriginalUsagePrice\": 0,\n \"UsagePriceDiscount\": 100\n },\n \"RequestId\": \"5e82e4b0-56e5-4461-aff6-2c1d49cc7447\"\n }\n}",
|
|
422
422
|
"title": "Querying the Price of a Reserved Instance"
|
|
423
423
|
}
|
|
424
424
|
],
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
],
|
|
517
517
|
"ModifyImageAttribute": [
|
|
518
518
|
{
|
|
519
|
-
"document": "This example shows you how to rename the image `img-6pb6lrmy` to `
|
|
519
|
+
"document": "This example shows you how to rename the image `img-6pb6lrmy` to `NewImageName`.",
|
|
520
520
|
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyImageAttribute\n<Common request parameters>\n\n{\n \"ImageId\": \"img-6pb6lrmy\",\n \"ImageName\": \"NewImageName\"\n}",
|
|
521
521
|
"output": "{\n \"Response\": {\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
|
|
522
522
|
"title": "Modifying image name"
|
|
@@ -578,8 +578,8 @@
|
|
|
578
578
|
],
|
|
579
579
|
"ModifyInstancesVpcAttribute": [
|
|
580
580
|
{
|
|
581
|
-
"document": "This example shows you how to migrate the `r8hr2upy` and `5d8a23rs` instances to the `dcs9x3gz` subnet of the `1urkhbj4` VPC and specify 10.0.0.18 as the private IP of the `r8hr2upy` instance and 10.0.0.19 as that of the `5d8a23rs` instance.",
|
|
582
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesVpcAttribute\n<Common request parameters>\n\n{\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-dcs9x3gz\",\n \"VpcId\": \"vpc-1urkhbj4\",\n \"PrivateIpAddresses\": [\n \"10.0.0.19\",\n \"10.0.0.18\"\n ]\n },\n \"InstanceIds\": [\n \"ins-5d8a23rs\",\n \"ins-r8hr2upy\"\n ]\n}",
|
|
581
|
+
"document": "This example shows you how to migrate the `ins-r8hr2upy` and `ins-5d8a23rs` instances to the `subnet-dcs9x3gz` subnet of the `vpc-1urkhbj4` VPC and specify 10.0.0.18 as the private IP of the `ins-r8hr2upy` instance and 10.0.0.19 as that of the `ins-5d8a23rs` instance.",
|
|
582
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancesVpcAttribute\n<Common request parameters>\n\n{\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-dcs9x3gz\",\n \"VpcId\": \"vpc-1urkhbj4\",\n \"PrivateIpAddresses\": [\n \"10.0.0.19\",\n \"10.0.0.18\"\n ]\n },\n \"InstanceIds\": [\n \"ins-5d8a23rs\",\n \"ins-r8hr2upy\"\n ]\n}",
|
|
583
583
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c14def19-cfes-470e-b241-90787u6jf5uj\"\n }\n}",
|
|
584
584
|
"title": "Migrating instances to a VPC and specifying the subnet and IP"
|
|
585
585
|
}
|
|
@@ -609,8 +609,8 @@
|
|
|
609
609
|
"PurchaseReservedInstancesOffering": [
|
|
610
610
|
{
|
|
611
611
|
"document": " ",
|
|
612
|
-
"input": "
|
|
613
|
-
"output": "{\n \"Response\": {\n \"ReservedInstanceId\": \"
|
|
612
|
+
"input": "POST / HTTP/1.1\nHost: cvm.intl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PurchaseReservedInstancesOffering\n<Common request parameters>\n\n{\n \"InstanceCount\": 2,\n \"ReservedInstancesOfferingId\": \"694e115d-e1b2-47f5-8217-bfbdea222da1\",\n \"ReservedInstanceName\": \"MyReservedInstanceName\"\n}",
|
|
613
|
+
"output": "{\n \"Response\": {\n \"ReservedInstanceId\": \"ri-8frq127i\",\n \"RequestId\": \"b333ddb8-4aed-4def-a0d9-617043c2614e\"\n }\n}",
|
|
614
614
|
"title": "Purchasing a reserved instance"
|
|
615
615
|
}
|
|
616
616
|
],
|
|
@@ -737,13 +737,13 @@
|
|
|
737
737
|
"SyncImages": [
|
|
738
738
|
{
|
|
739
739
|
"document": "This example shows you how to synchronize the image `img-o3ycss2p` to Guangzhou.",
|
|
740
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n
|
|
740
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n{\n \"ImageIds\": [\n \"img-o3ycss2p\"\n ],\n \"DestinationRegions\": [\n \"ap-guangzhou\"\n ]\n}",
|
|
741
741
|
"output": "{\n \"Response\": {\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
|
|
742
742
|
"title": "Synchronizing an Image"
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
"document": "This example shows you how to synchronize the image `img-o3ycss2p` to Guangzhou.",
|
|
746
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n
|
|
746
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<Common request parameters>\n\n{\n \"ImageIds\": [\n \"img-o3ycss2p\"\n ],\n \"DestinationRegions\": [\n \"ap-guangzhou\"\n ],\n \"ImageSetRequired\": true\n}",
|
|
747
747
|
"output": "{\n \"Response\": {\n \"ImageSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"ImageId\": \"img-evhmf3fy\"\n }\n ],\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
|
|
748
748
|
"title": "Synchronizing an Image to the Specified Region and Returning the New Image ID"
|
|
749
749
|
}
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
"disabled": false,
|
|
473
|
-
"document": "
|
|
473
|
+
"document": "PLUS: Plus Version.\nENHANCED: Enhanced Version.\nBASIC: Basic Version (default).",
|
|
474
474
|
"example": "ENHANCED",
|
|
475
475
|
"member": "string",
|
|
476
476
|
"name": "SdkVersion",
|
|
@@ -485,6 +485,15 @@
|
|
|
485
485
|
"name": "ActionList",
|
|
486
486
|
"required": false,
|
|
487
487
|
"type": "string"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"disabled": false,
|
|
491
|
+
"document": "Whether expired identity documents are permitted to proceed to the liveness detection process. This parameter only takes effect when the document type is Hong Kong Identity Card (HKID).\ntrue (default value): Expired HKID is allowed to enter the liveness process.\nfalse : Expired HKID is rejected and cannot enter the liveness process.",
|
|
492
|
+
"example": "true",
|
|
493
|
+
"member": "bool",
|
|
494
|
+
"name": "AllowExpiredDocument",
|
|
495
|
+
"required": false,
|
|
496
|
+
"type": "bool"
|
|
488
497
|
}
|
|
489
498
|
],
|
|
490
499
|
"type": "object"
|
|
@@ -2173,6 +2182,16 @@
|
|
|
2173
2182
|
"type": "string",
|
|
2174
2183
|
"value_allowed_null": false
|
|
2175
2184
|
},
|
|
2185
|
+
{
|
|
2186
|
+
"disabled": false,
|
|
2187
|
+
"document": "Describes the detailed reason for the current liveness detection failure. Output only when SdkVersion is PLUS. Details are as follows:\n01 - User kept eyes closed throughout the process.\n02 - User failed to complete the specified action.\n03 - Suspected photo replay attack.\n04 - Suspected synthetic image.\n05 - Suspected synthetic video.\n06 - Suspected synthetic action.\n07 - Suspected fraud template.\n08 - Suspected watermark existence.\n09 - Light verification failed.\n10 - Face verification failed.\n11 - Poor face quality.\n12 - Unqualified collection quality.\n13 - Suspected adversarial sample attack.",
|
|
2188
|
+
"example": "[\"04\"]",
|
|
2189
|
+
"member": "string",
|
|
2190
|
+
"name": "LivenessInfoTag",
|
|
2191
|
+
"output_required": false,
|
|
2192
|
+
"type": "list",
|
|
2193
|
+
"value_allowed_null": true
|
|
2194
|
+
},
|
|
2176
2195
|
{
|
|
2177
2196
|
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
2178
2197
|
"member": "string",
|
|
@@ -2206,7 +2225,7 @@
|
|
|
2206
2225
|
{
|
|
2207
2226
|
"disabled": false,
|
|
2208
2227
|
"document": "The photo (in Base64) to compare. This parameter is required when the value of `CheckMode` is `compare`.",
|
|
2209
|
-
"example": "
|
|
2228
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
|
2210
2229
|
"member": "string",
|
|
2211
2230
|
"name": "Image",
|
|
2212
2231
|
"required": false,
|
|
@@ -2232,7 +2251,7 @@
|
|
|
2232
2251
|
},
|
|
2233
2252
|
{
|
|
2234
2253
|
"disabled": false,
|
|
2235
|
-
"document": "
|
|
2254
|
+
"document": "PLUS: Plus Version.\nENHANCED: Enhanced Version.\nBASIC: Basic Version (Default).",
|
|
2236
2255
|
"example": "BASIC",
|
|
2237
2256
|
"member": "string",
|
|
2238
2257
|
"name": "SdkVersion",
|
|
@@ -5748,6 +5767,15 @@
|
|
|
5748
5767
|
"name": "SelectedWarningCodes",
|
|
5749
5768
|
"required": false,
|
|
5750
5769
|
"type": "string"
|
|
5770
|
+
},
|
|
5771
|
+
{
|
|
5772
|
+
"disabled": false,
|
|
5773
|
+
"document": "Whether expired identity documents are permitted to proceed to the liveness detection process. This parameter only takes effect when the document type is Hong Kong Identity Card (HKID).\ntrue (default value): Expired HKID is allowed to enter the liveness process.\nfalse : Expired HKID is rejected and cannot enter the liveness process.",
|
|
5774
|
+
"example": "true",
|
|
5775
|
+
"member": "bool",
|
|
5776
|
+
"name": "AllowExpiredDocument",
|
|
5777
|
+
"required": false,
|
|
5778
|
+
"type": "bool"
|
|
5751
5779
|
}
|
|
5752
5780
|
],
|
|
5753
5781
|
"usage": "in"
|