tccli 3.0.1016.1__py2.py3-none-any.whl → 3.0.1018.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/examples/bi/v20220105/CreateEmbedToken.md +4 -2
- tccli/examples/cls/v20201016/CreateDeliverCloudFunction.md +6 -7
- tccli/examples/cls/v20201016/DescribeConfigExtras.md +69 -41
- tccli/examples/cls/v20201016/DescribeConfigMachineGroups.md +13 -6
- tccli/examples/cls/v20201016/DescribeDashboards.md +18 -23
- tccli/examples/cls/v20201016/DescribeMachineGroupConfigs.md +33 -27
- tccli/examples/cls/v20201016/GetAlarmLog.md +2 -0
- tccli/examples/es/v20180416/InquirePriceRenewInstance.md +24 -0
- tccli/examples/faceid/v20180301/ImageRecognitionV2.md +25 -0
- tccli/examples/monitor/v20180724/UpdateGrafanaNotificationChannel.md +2 -2
- tccli/examples/ms/v20180408/DestroyResourceInstances.md +50 -0
- tccli/examples/ocr/v20181119/BizLicenseOCR.md +1 -0
- tccli/services/bi/v20220105/api.json +37 -0
- tccli/services/bi/v20220105/examples.json +2 -2
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +4 -2
- tccli/services/cdc/v20201214/api.json +12 -12
- tccli/services/clb/v20180317/api.json +4 -4
- tccli/services/cls/v20201016/api.json +17 -7
- tccli/services/cls/v20201016/examples.json +13 -13
- tccli/services/cme/v20191029/api.json +6 -9
- tccli/services/cynosdb/v20190107/api.json +10 -0
- tccli/services/dts/v20211206/api.json +39 -8
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +77 -3
- tccli/services/es/v20180416/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/faceid/faceid_client.py +53 -0
- tccli/services/faceid/v20180301/api.json +100 -0
- tccli/services/faceid/v20180301/examples.json +8 -0
- tccli/services/gme/v20180711/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +85 -83
- tccli/services/monitor/v20180724/api.json +125 -45
- tccli/services/monitor/v20180724/examples.json +2 -2
- tccli/services/ms/ms_client.py +53 -0
- tccli/services/ms/v20180408/api.json +83 -0
- tccli/services/ms/v20180408/examples.json +14 -0
- tccli/services/ocr/v20181119/api.json +10 -0
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +75 -8
- tccli/services/weilingwith/v20230427/api.json +83 -83
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/RECORD +48 -45
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/license_files/LICENSE +0 -0
@@ -1860,6 +1860,7 @@
|
|
1860
1860
|
"example": "mongos",
|
1861
1861
|
"member": "string",
|
1862
1862
|
"name": "Role",
|
1863
|
+
"output_required": true,
|
1863
1864
|
"required": false,
|
1864
1865
|
"type": "string",
|
1865
1866
|
"value_allowed_null": true
|
@@ -1870,6 +1871,7 @@
|
|
1870
1871
|
"example": "mysql",
|
1871
1872
|
"member": "string",
|
1872
1873
|
"name": "DbKernel",
|
1874
|
+
"output_required": true,
|
1873
1875
|
"required": false,
|
1874
1876
|
"type": "string",
|
1875
1877
|
"value_allowed_null": true
|
@@ -1880,6 +1882,7 @@
|
|
1880
1882
|
"example": "192.2.3.4",
|
1881
1883
|
"member": "string",
|
1882
1884
|
"name": "Host",
|
1885
|
+
"output_required": true,
|
1883
1886
|
"required": false,
|
1884
1887
|
"type": "string",
|
1885
1888
|
"value_allowed_null": true
|
@@ -1890,6 +1893,7 @@
|
|
1890
1893
|
"example": "3306",
|
1891
1894
|
"member": "uint64",
|
1892
1895
|
"name": "Port",
|
1896
|
+
"output_required": true,
|
1893
1897
|
"required": false,
|
1894
1898
|
"type": "int",
|
1895
1899
|
"value_allowed_null": true
|
@@ -1900,6 +1904,7 @@
|
|
1900
1904
|
"example": "root",
|
1901
1905
|
"member": "string",
|
1902
1906
|
"name": "User",
|
1907
|
+
"output_required": true,
|
1903
1908
|
"required": false,
|
1904
1909
|
"type": "string",
|
1905
1910
|
"value_allowed_null": true
|
@@ -1910,6 +1915,7 @@
|
|
1910
1915
|
"example": "password",
|
1911
1916
|
"member": "string",
|
1912
1917
|
"name": "Password",
|
1918
|
+
"output_required": true,
|
1913
1919
|
"required": false,
|
1914
1920
|
"type": "string",
|
1915
1921
|
"value_allowed_null": true
|
@@ -1920,6 +1926,7 @@
|
|
1920
1926
|
"example": "ins-olgl39y8",
|
1921
1927
|
"member": "string",
|
1922
1928
|
"name": "CvmInstanceId",
|
1929
|
+
"output_required": true,
|
1923
1930
|
"required": false,
|
1924
1931
|
"type": "string",
|
1925
1932
|
"value_allowed_null": true
|
@@ -1930,6 +1937,7 @@
|
|
1930
1937
|
"example": "vpngw-9ghexg7q",
|
1931
1938
|
"member": "string",
|
1932
1939
|
"name": "UniqVpnGwId",
|
1940
|
+
"output_required": true,
|
1933
1941
|
"required": false,
|
1934
1942
|
"type": "string",
|
1935
1943
|
"value_allowed_null": true
|
@@ -1940,6 +1948,7 @@
|
|
1940
1948
|
"example": "dcg-0rxtqqxb",
|
1941
1949
|
"member": "string",
|
1942
1950
|
"name": "UniqDcgId",
|
1951
|
+
"output_required": true,
|
1943
1952
|
"required": false,
|
1944
1953
|
"type": "string",
|
1945
1954
|
"value_allowed_null": true
|
@@ -1950,6 +1959,7 @@
|
|
1950
1959
|
"example": "cdb-powiqx8q",
|
1951
1960
|
"member": "string",
|
1952
1961
|
"name": "InstanceId",
|
1962
|
+
"output_required": true,
|
1953
1963
|
"required": false,
|
1954
1964
|
"type": "string",
|
1955
1965
|
"value_allowed_null": true
|
@@ -1960,6 +1970,7 @@
|
|
1960
1970
|
"example": "ccn-afp6kltc",
|
1961
1971
|
"member": "string",
|
1962
1972
|
"name": "CcnGwId",
|
1973
|
+
"output_required": true,
|
1963
1974
|
"required": false,
|
1964
1975
|
"type": "string",
|
1965
1976
|
"value_allowed_null": true
|
@@ -1970,6 +1981,7 @@
|
|
1970
1981
|
"example": "vpc-92jblxto",
|
1971
1982
|
"member": "string",
|
1972
1983
|
"name": "VpcId",
|
1984
|
+
"output_required": true,
|
1973
1985
|
"required": false,
|
1974
1986
|
"type": "string",
|
1975
1987
|
"value_allowed_null": true
|
@@ -1980,6 +1992,7 @@
|
|
1980
1992
|
"example": "subnet-3paxmkdz",
|
1981
1993
|
"member": "string",
|
1982
1994
|
"name": "SubnetId",
|
1995
|
+
"output_required": true,
|
1983
1996
|
"required": false,
|
1984
1997
|
"type": "string",
|
1985
1998
|
"value_allowed_null": true
|
@@ -1990,6 +2003,7 @@
|
|
1990
2003
|
"example": "5.6",
|
1991
2004
|
"member": "string",
|
1992
2005
|
"name": "EngineVersion",
|
2006
|
+
"output_required": true,
|
1993
2007
|
"required": false,
|
1994
2008
|
"type": "string",
|
1995
2009
|
"value_allowed_null": true
|
@@ -2000,6 +2014,7 @@
|
|
2000
2014
|
"example": "无",
|
2001
2015
|
"member": "string",
|
2002
2016
|
"name": "Account",
|
2017
|
+
"output_required": true,
|
2003
2018
|
"required": false,
|
2004
2019
|
"type": "string",
|
2005
2020
|
"value_allowed_null": true
|
@@ -2010,6 +2025,7 @@
|
|
2010
2025
|
"example": "无",
|
2011
2026
|
"member": "string",
|
2012
2027
|
"name": "AccountRole",
|
2028
|
+
"output_required": true,
|
2013
2029
|
"required": false,
|
2014
2030
|
"type": "string",
|
2015
2031
|
"value_allowed_null": true
|
@@ -2020,36 +2036,40 @@
|
|
2020
2036
|
"example": "self",
|
2021
2037
|
"member": "string",
|
2022
2038
|
"name": "AccountMode",
|
2039
|
+
"output_required": true,
|
2023
2040
|
"required": false,
|
2024
2041
|
"type": "string",
|
2025
2042
|
"value_allowed_null": true
|
2026
2043
|
},
|
2027
2044
|
{
|
2028
2045
|
"disabled": false,
|
2029
|
-
"document": "临时密钥Id\n注意:此字段可能返回 null,表示取不到有效值。",
|
2046
|
+
"document": "临时密钥Id,可通过 获取联合身份临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48195\n注意:此字段可能返回 null,表示取不到有效值。",
|
2030
2047
|
"example": "无",
|
2031
2048
|
"member": "string",
|
2032
2049
|
"name": "TmpSecretId",
|
2050
|
+
"output_required": true,
|
2033
2051
|
"required": false,
|
2034
2052
|
"type": "string",
|
2035
2053
|
"value_allowed_null": true
|
2036
2054
|
},
|
2037
2055
|
{
|
2038
2056
|
"disabled": false,
|
2039
|
-
"document": "临时密钥Key\n注意:此字段可能返回 null,表示取不到有效值。",
|
2057
|
+
"document": "临时密钥Key,可通过 获取联合身份临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48195\n注意:此字段可能返回 null,表示取不到有效值。",
|
2040
2058
|
"example": "无",
|
2041
2059
|
"member": "string",
|
2042
2060
|
"name": "TmpSecretKey",
|
2061
|
+
"output_required": true,
|
2043
2062
|
"required": false,
|
2044
2063
|
"type": "string",
|
2045
2064
|
"value_allowed_null": true
|
2046
2065
|
},
|
2047
2066
|
{
|
2048
2067
|
"disabled": false,
|
2049
|
-
"document": "临时Token\n注意:此字段可能返回 null,表示取不到有效值。",
|
2068
|
+
"document": "临时Token,可通过 获取联合身份临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48195\n注意:此字段可能返回 null,表示取不到有效值。",
|
2050
2069
|
"example": "无",
|
2051
2070
|
"member": "string",
|
2052
2071
|
"name": "TmpToken",
|
2072
|
+
"output_required": true,
|
2053
2073
|
"required": false,
|
2054
2074
|
"type": "string",
|
2055
2075
|
"value_allowed_null": true
|
@@ -2448,6 +2468,7 @@
|
|
2448
2468
|
"example": "partial",
|
2449
2469
|
"member": "string",
|
2450
2470
|
"name": "ObjectMode",
|
2471
|
+
"output_required": true,
|
2451
2472
|
"required": true,
|
2452
2473
|
"type": "string",
|
2453
2474
|
"value_allowed_null": true
|
@@ -2458,16 +2479,18 @@
|
|
2458
2479
|
"example": "无",
|
2459
2480
|
"member": "DBItem",
|
2460
2481
|
"name": "Databases",
|
2482
|
+
"output_required": true,
|
2461
2483
|
"required": false,
|
2462
2484
|
"type": "list",
|
2463
2485
|
"value_allowed_null": true
|
2464
2486
|
},
|
2465
2487
|
{
|
2466
2488
|
"disabled": false,
|
2467
|
-
"document": "高级对象类型,如trigger、function、procedure、event
|
2489
|
+
"document": "高级对象类型,如trigger、function、procedure、event。注意:如果要迁移同步高级对象,此配置中应该包含对应的高级对象类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
2468
2490
|
"example": "[\"trigger\"]",
|
2469
2491
|
"member": "string",
|
2470
2492
|
"name": "AdvancedObjects",
|
2493
|
+
"output_required": true,
|
2471
2494
|
"required": false,
|
2472
2495
|
"type": "list",
|
2473
2496
|
"value_allowed_null": true
|
@@ -4203,7 +4226,7 @@
|
|
4203
4226
|
},
|
4204
4227
|
{
|
4205
4228
|
"disabled": false,
|
4206
|
-
"document": "临时密钥Id,如果为跨账号实例此项必填\n注意:此字段可能返回 null,表示取不到有效值。",
|
4229
|
+
"document": "临时密钥Id,可通过获取联合身份临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48195,如果为跨账号实例此项必填\n注意:此字段可能返回 null,表示取不到有效值。",
|
4207
4230
|
"example": "无",
|
4208
4231
|
"member": "string",
|
4209
4232
|
"name": "TmpSecretId",
|
@@ -4214,7 +4237,7 @@
|
|
4214
4237
|
},
|
4215
4238
|
{
|
4216
4239
|
"disabled": false,
|
4217
|
-
"document": "临时密钥Key
|
4240
|
+
"document": "临时密钥Key,可通过获取联合身份临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48195,,如果为跨账号实例此项必填\n注意:此字段可能返回 null,表示取不到有效值。",
|
4218
4241
|
"example": "无",
|
4219
4242
|
"member": "string",
|
4220
4243
|
"name": "TmpSecretKey",
|
@@ -4225,7 +4248,7 @@
|
|
4225
4248
|
},
|
4226
4249
|
{
|
4227
4250
|
"disabled": false,
|
4228
|
-
"document": "临时Token
|
4251
|
+
"document": "临时Token,可通过获取联合身份临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48195,,如果为跨账号实例此项必填\n注意:此字段可能返回 null,表示取不到有效值。",
|
4229
4252
|
"example": "无",
|
4230
4253
|
"member": "string",
|
4231
4254
|
"name": "TmpToken",
|
@@ -5427,6 +5450,7 @@
|
|
5427
5450
|
"example": "Partial",
|
5428
5451
|
"member": "string",
|
5429
5452
|
"name": "Mode",
|
5453
|
+
"output_required": true,
|
5430
5454
|
"required": false,
|
5431
5455
|
"type": "string",
|
5432
5456
|
"value_allowed_null": true
|
@@ -5437,16 +5461,18 @@
|
|
5437
5461
|
"example": "无",
|
5438
5462
|
"member": "Database",
|
5439
5463
|
"name": "Databases",
|
5464
|
+
"output_required": true,
|
5440
5465
|
"required": false,
|
5441
5466
|
"type": "list",
|
5442
5467
|
"value_allowed_null": true
|
5443
5468
|
},
|
5444
5469
|
{
|
5445
5470
|
"disabled": false,
|
5446
|
-
"document": "高级对象类型,如function、procedure
|
5471
|
+
"document": "高级对象类型,如function、procedure。注意:如果要迁移同步高级对象,此配置中应该包含对应的高级对象类型。当需要同步高级对象时,初始化类型必须包含结构初始化类型,即任务的Options.InitType字段值为Structure或Full\n注意:此字段可能返回 null,表示取不到有效值。",
|
5447
5472
|
"example": "无",
|
5448
5473
|
"member": "string",
|
5449
5474
|
"name": "AdvancedObjects",
|
5475
|
+
"output_required": true,
|
5450
5476
|
"required": false,
|
5451
5477
|
"type": "list",
|
5452
5478
|
"value_allowed_null": true
|
@@ -5457,6 +5483,7 @@
|
|
5457
5483
|
"example": "无",
|
5458
5484
|
"member": "OnlineDDL",
|
5459
5485
|
"name": "OnlineDDL",
|
5486
|
+
"output_required": true,
|
5460
5487
|
"required": false,
|
5461
5488
|
"type": "object",
|
5462
5489
|
"value_allowed_null": true
|
@@ -7256,6 +7283,7 @@
|
|
7256
7283
|
"example": "t1",
|
7257
7284
|
"member": "string",
|
7258
7285
|
"name": "TableName",
|
7286
|
+
"output_required": true,
|
7259
7287
|
"required": false,
|
7260
7288
|
"type": "string",
|
7261
7289
|
"value_allowed_null": true
|
@@ -7266,6 +7294,7 @@
|
|
7266
7294
|
"example": "t1_new",
|
7267
7295
|
"member": "string",
|
7268
7296
|
"name": "NewTableName",
|
7297
|
+
"output_required": true,
|
7269
7298
|
"required": false,
|
7270
7299
|
"type": "string",
|
7271
7300
|
"value_allowed_null": true
|
@@ -7276,6 +7305,7 @@
|
|
7276
7305
|
"example": "[\"_t1_old\",_t1_new\"]",
|
7277
7306
|
"member": "string",
|
7278
7307
|
"name": "TmpTables",
|
7308
|
+
"output_required": true,
|
7279
7309
|
"required": false,
|
7280
7310
|
"type": "list",
|
7281
7311
|
"value_allowed_null": true
|
@@ -7286,6 +7316,7 @@
|
|
7286
7316
|
"example": "rename",
|
7287
7317
|
"member": "string",
|
7288
7318
|
"name": "TableEditMode",
|
7319
|
+
"output_required": true,
|
7289
7320
|
"required": false,
|
7290
7321
|
"type": "string",
|
7291
7322
|
"value_allowed_null": true
|
tccli/services/es/es_client.py
CHANGED
@@ -2149,6 +2149,58 @@ def doDescribeIndexMeta(args, parsed_globals):
|
|
2149
2149
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2150
2150
|
|
2151
2151
|
|
2152
|
+
def doInquirePriceRenewInstance(args, parsed_globals):
|
2153
|
+
g_param = parse_global_arg(parsed_globals)
|
2154
|
+
|
2155
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2156
|
+
cred = credential.CVMRoleCredential()
|
2157
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2158
|
+
cred = credential.STSAssumeRoleCredential(
|
2159
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2160
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
2161
|
+
)
|
2162
|
+
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):
|
2163
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2164
|
+
else:
|
2165
|
+
cred = credential.Credential(
|
2166
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2167
|
+
)
|
2168
|
+
http_profile = HttpProfile(
|
2169
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2170
|
+
reqMethod="POST",
|
2171
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2172
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2173
|
+
)
|
2174
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2175
|
+
if g_param[OptionsDefine.Language]:
|
2176
|
+
profile.language = g_param[OptionsDefine.Language]
|
2177
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2178
|
+
client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
|
2179
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2180
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2181
|
+
model = models.InquirePriceRenewInstanceRequest()
|
2182
|
+
model.from_json_string(json.dumps(args))
|
2183
|
+
start_time = time.time()
|
2184
|
+
while True:
|
2185
|
+
rsp = client.InquirePriceRenewInstance(model)
|
2186
|
+
result = rsp.to_json_string()
|
2187
|
+
try:
|
2188
|
+
json_obj = json.loads(result)
|
2189
|
+
except TypeError as e:
|
2190
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2191
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2192
|
+
break
|
2193
|
+
cur_time = time.time()
|
2194
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2195
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2196
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2197
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2198
|
+
else:
|
2199
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2200
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2201
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
|
+
|
2203
|
+
|
2152
2204
|
CLIENT_MAP = {
|
2153
2205
|
"v20180416": es_client_v20180416,
|
2154
2206
|
|
@@ -2201,6 +2253,7 @@ ACTION_MAP = {
|
|
2201
2253
|
"UpgradeLicense": doUpgradeLicense,
|
2202
2254
|
"DescribeInstancePluginList": doDescribeInstancePluginList,
|
2203
2255
|
"DescribeIndexMeta": doDescribeIndexMeta,
|
2256
|
+
"InquirePriceRenewInstance": doInquirePriceRenewInstance,
|
2204
2257
|
|
2205
2258
|
}
|
2206
2259
|
|
@@ -154,6 +154,13 @@
|
|
154
154
|
"output": "GetRequestTargetNodeTypesResponse",
|
155
155
|
"status": "online"
|
156
156
|
},
|
157
|
+
"InquirePriceRenewInstance": {
|
158
|
+
"document": "集群续费询价接口,续费前通过调用该接口,可获取集群续费的价格。",
|
159
|
+
"input": "InquirePriceRenewInstanceRequest",
|
160
|
+
"name": "集群续费询价",
|
161
|
+
"output": "InquirePriceRenewInstanceResponse",
|
162
|
+
"status": "online"
|
163
|
+
},
|
157
164
|
"ModifyEsVipSecurityGroup": {
|
158
165
|
"document": "修改绑定VIP的安全组,传安全组id列表",
|
159
166
|
"input": "ModifyEsVipSecurityGroupRequest",
|
@@ -636,7 +643,7 @@
|
|
636
643
|
{
|
637
644
|
"disabled": false,
|
638
645
|
"document": "【必填】创建的索引元数据JSON,如mappings、settings",
|
639
|
-
"example": "{}",
|
646
|
+
"example": "{\"settings\": {\"index.number_of_shards\": 1},\"mappings\": {\"properties\": {\"field1\": {\"type\": \"text\"}}}}",
|
640
647
|
"member": "string",
|
641
648
|
"name": "IndexMetaJson",
|
642
649
|
"required": false,
|
@@ -779,7 +786,7 @@
|
|
779
786
|
},
|
780
787
|
{
|
781
788
|
"disabled": false,
|
782
|
-
"document": "已废弃请使用NodeInfoList\n节点磁盘类型<li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li>默认值CLOUD_SSD",
|
789
|
+
"document": "已废弃请使用NodeInfoList\n节点磁盘类型<li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li><li> CLOUD_HSSD:增强型SSD云硬盘</li><li> CLOUD_BSSD:通用型SSD云硬盘</li>默认值CLOUD_SSD",
|
783
790
|
"example": "CLOUD_SSD",
|
784
791
|
"member": "string",
|
785
792
|
"name": "DiskType",
|
@@ -869,7 +876,7 @@
|
|
869
876
|
},
|
870
877
|
{
|
871
878
|
"disabled": false,
|
872
|
-
"document": "集群部署方式<li>0:单可用区部署</li><li>1
|
879
|
+
"document": "集群部署方式<li>0:单可用区部署</li><li>1:多可用区部署,北京、上海、上海金融、广州、南京、香港、新加坡、法兰克福(白名单控制)</li>默认为0",
|
873
880
|
"example": "0",
|
874
881
|
"member": "uint64",
|
875
882
|
"name": "DeployMode",
|
@@ -3489,6 +3496,73 @@
|
|
3489
3496
|
],
|
3490
3497
|
"usage": "both"
|
3491
3498
|
},
|
3499
|
+
"InquirePriceRenewInstanceRequest": {
|
3500
|
+
"document": "InquirePriceRenewInstance请求参数结构体",
|
3501
|
+
"members": [
|
3502
|
+
{
|
3503
|
+
"disabled": false,
|
3504
|
+
"document": "集群实例Id",
|
3505
|
+
"example": "es-xxxsxx",
|
3506
|
+
"member": "string",
|
3507
|
+
"name": "InstanceId",
|
3508
|
+
"required": true,
|
3509
|
+
"type": "string"
|
3510
|
+
}
|
3511
|
+
],
|
3512
|
+
"type": "object"
|
3513
|
+
},
|
3514
|
+
"InquirePriceRenewInstanceResponse": {
|
3515
|
+
"document": "InquirePriceRenewInstance返回参数结构体",
|
3516
|
+
"members": [
|
3517
|
+
{
|
3518
|
+
"disabled": false,
|
3519
|
+
"document": "刊例价,即集群原始价格",
|
3520
|
+
"example": "100",
|
3521
|
+
"member": "float",
|
3522
|
+
"name": "OriginalPrice",
|
3523
|
+
"output_required": true,
|
3524
|
+
"type": "float",
|
3525
|
+
"value_allowed_null": false
|
3526
|
+
},
|
3527
|
+
{
|
3528
|
+
"disabled": false,
|
3529
|
+
"document": "折后价",
|
3530
|
+
"example": "100",
|
3531
|
+
"member": "float",
|
3532
|
+
"name": "DiscountPrice",
|
3533
|
+
"output_required": true,
|
3534
|
+
"type": "float",
|
3535
|
+
"value_allowed_null": false
|
3536
|
+
},
|
3537
|
+
{
|
3538
|
+
"disabled": false,
|
3539
|
+
"document": "折扣,如65折",
|
3540
|
+
"example": "65",
|
3541
|
+
"member": "float",
|
3542
|
+
"name": "Discount",
|
3543
|
+
"output_required": true,
|
3544
|
+
"type": "float",
|
3545
|
+
"value_allowed_null": false
|
3546
|
+
},
|
3547
|
+
{
|
3548
|
+
"disabled": false,
|
3549
|
+
"document": "货币,如CNY代表人民币",
|
3550
|
+
"example": "CNY",
|
3551
|
+
"member": "string",
|
3552
|
+
"name": "Currency",
|
3553
|
+
"output_required": true,
|
3554
|
+
"type": "string",
|
3555
|
+
"value_allowed_null": false
|
3556
|
+
},
|
3557
|
+
{
|
3558
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
3559
|
+
"member": "string",
|
3560
|
+
"name": "RequestId",
|
3561
|
+
"type": "string"
|
3562
|
+
}
|
3563
|
+
],
|
3564
|
+
"type": "object"
|
3565
|
+
},
|
3492
3566
|
"InstanceInfo": {
|
3493
3567
|
"document": "实例详细信息",
|
3494
3568
|
"members": [
|
@@ -176,6 +176,14 @@
|
|
176
176
|
"title": "获取接收客户端请求的节点类型"
|
177
177
|
}
|
178
178
|
],
|
179
|
+
"InquirePriceRenewInstance": [
|
180
|
+
{
|
181
|
+
"document": "ES集群实例续费询价",
|
182
|
+
"input": "https://es.tencentcloudapi.com/?Action=InquirePriceRenewInstance\n&InstanceId=es_xdfds\n&<公共请求参数>",
|
183
|
+
"output": "{\n \"Response\": {\n \"Discount\": 65,\n \"OriginalPrice\": 1.15,\n \"DiscountPrice\": 0.75,\n \"Currency\": \"CNY\",\n \"RequestId\": \"027e29ad-f2b5-4929-b479-96bf541df7e7\"\n }\n}",
|
184
|
+
"title": "ES集群实例续费询价"
|
185
|
+
}
|
186
|
+
],
|
179
187
|
"ModifyEsVipSecurityGroup": [
|
180
188
|
{
|
181
189
|
"document": "修改集群VIP绑定的安全组信息",
|
@@ -2342,7 +2342,7 @@
|
|
2342
2342
|
},
|
2343
2343
|
{
|
2344
2344
|
"disabled": false,
|
2345
|
-
"document": "用户自定义参数\n<ul>\n<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>\n<li
|
2345
|
+
"document": "用户自定义参数\n<ul>\n<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>\n<li>指定后,创建,编辑,删除模板时,回调都会携带该userData</li>\n<li>支持的格式:json字符串的BASE64编码字符串</li>\n<li>示例:<ul>\n <li>json字符串:{\"ComeFrom\":\"xxx\"},BASE64编码:eyJDb21lRnJvbSI6Inh4eCJ9</li>\n <li>eyJDb21lRnJvbSI6Inh4eCJ9,为符合要求的userData数据格式</li>\n</ul>\n</li>\n</ul>",
|
2346
2346
|
"example": "eyJDb21lRnJvbSI6IuadpeiHqnh4eOWFrOWPuOeahOaooeeJiCJ9",
|
2347
2347
|
"member": "string",
|
2348
2348
|
"name": "UserData",
|
@@ -8561,7 +8561,7 @@
|
|
8561
8561
|
"usage": "in"
|
8562
8562
|
},
|
8563
8563
|
"FormField": {
|
8564
|
-
"document": "电子文档的控件填充信息。按照控件类型进行相应的填充。\n\n当控件的 ComponentType=‘SIGN_SEAL'时,FormField.ComponentValue填入印章id。\n\n*
|
8564
|
+
"document": "电子文档的控件填充信息。按照控件类型进行相应的填充。\n\n当控件的 ComponentType=‘SIGN_SEAL'时,FormField.ComponentValue填入印章id。\n\n* 可用于指定自动签模板未设置自动签印章时,可由接口传入自动签印章\n* 若指定的控件上已设置ComponentValue,那以已经设置的ComponentValue为准\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"sealId(印章id)\"\n}\n```\n\n当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"文本内容\"\n}\n```\n\n当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"多行文本内容\"\n}\n```\n\n当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"true\"\n}\n```\n\n当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}\n```\n\n当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3\"\n}\n```\n\n当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"选择的内容\"\n}\n```\n\n当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"2023年01月01日\"\n}\n```\n\n当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;\n\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"广东省深圳市福田区\"\n}\n```\n\n【数据表格传参说明】\n当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)\n输入示例1:\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\"\n },\n {\n \"content\":\"head2\"\n },\n {\n \"content\":\"head3\"\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\"\n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\"\n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\"\n }\n ]\n }\n}\n```\n\n输入示例2(表格表头宽度比例配置):\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\",\n \"widthPercent\": 30\n },\n {\n \"content\":\"head2\",\n \"widthPercent\": 30\n },\n {\n \"content\":\"head3\",\n \"widthPercent\": 40\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\"\n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\"\n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\"\n }\n ]\n }\n}\n```\n\n输入示例3(表格设置字体加粗颜色):\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\"\n },\n {\n \"content\":\"head2\"\n },\n {\n \"content\":\"head3\"\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\",\n \"style\": \"{\\\"color\\\": \\\"#b50000\\\", \\\"fontSize\\\": 12,\\\"bold\\\": true,\\\"align\\\": \\\"CENTER\\\"}\" \n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\",\n \"style\": \"{\\\"color\\\": \\\"#b50000\\\", \\\"fontSize\\\": 12,\\\"bold\\\": true,\\\"align\\\": \\\"LEFT\\\"}\" \n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\",\n \"style\": \"{\\\"color\\\": \\\"#b500bf\\\", \\\"fontSize\\\": 12,\\\"bold\\\": false,\\\"align\\\": \\\"RIGHT\\\"}\" \n }\n ]\n }\n}\n\n```\n\n表格参数说明\n\n| 名称 | 类型 | 描述 |\n| ------------------- | ------- | ------------------------------------------------- |\n| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |\n| rowCount | Integer | 表格内容最大行数 |\n| cells.N.rowStart | Integer | 单元格坐标:行起始index |\n| cells.N.rowEnd | Integer | 单元格坐标:行结束index |\n| cells.N.columnStart | Integer | 单元格坐标:列起始index |\n| cells.N.columnEnd | Integer | 单元格坐标:列结束index |\n| cells.N.content | String | 单元格内容,字数不超过100 |\n| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {\"font\":\"黑体\",\"fontSize\":12,\"color\":\"FFFFFF\",\"bold\":true,\"align\":\"CENTER\"} |\n\n表格参数headers说明\nwidthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35\n\ncontent String 表头单元格内容,字数不超过100\n\n\nstyle String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: \"FFFFFF\"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER",
|
8565
8565
|
"members": [
|
8566
8566
|
{
|
8567
8567
|
"disabled": false,
|
@@ -1874,7 +1874,7 @@
|
|
1874
1874
|
},
|
1875
1875
|
{
|
1876
1876
|
"disabled": false,
|
1877
|
-
"document": "用户自定义参数\n<ul>\n<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>\n<li
|
1877
|
+
"document": "用户自定义参数\n<ul>\n<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>\n<li>指定后,创建,编辑,删除模板时,回调都会携带该userData</li>\n<li>支持的格式:json字符串的BASE64编码字符串</li>\n<li>示例:<ul>\n <li>json字符串:{\"ComeFrom\":\"xxx\"},BASE64编码:eyJDb21lRnJvbSI6Inh4eCJ9</li>\n <li>eyJDb21lRnJvbSI6Inh4eCJ9,为符合要求的userData数据格式</li>\n</ul>\n</li>\n</ul>",
|
1878
1878
|
"example": "eyJDb21lRnJvbSI6Inh4eCJ9",
|
1879
1879
|
"member": "string",
|
1880
1880
|
"name": "UserData",
|
@@ -7821,7 +7821,7 @@
|
|
7821
7821
|
"usage": "in"
|
7822
7822
|
},
|
7823
7823
|
"FlowInfo": {
|
7824
|
-
"document": "此结构体 (FlowInfo)
|
7824
|
+
"document": "此结构体 (FlowInfo) 用于描述签署流程信息。",
|
7825
7825
|
"members": [
|
7826
7826
|
{
|
7827
7827
|
"disabled": false,
|
@@ -7979,7 +7979,7 @@
|
|
7979
7979
|
"usage": "out"
|
7980
7980
|
},
|
7981
7981
|
"FormField": {
|
7982
|
-
"document": "电子文档的控件填充信息。按照控件类型进行相应的填充。\n\n当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"文本内容\"\n}\n```\n当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"多行文本内容\"\n}\n```\n当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"true\"\n}\n```\n当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}\n```\n当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3\"\n}\n```\n当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"选择的内容\"\n}\n```\n当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"2023年01月01日\"\n}\n```\n当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"广东省深圳市福田区\"\n}\n```\n【数据表格传参说明】\n当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)\n输入示例1:\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\"\n },\n {\n \"content\":\"head2\"\n },\n {\n \"content\":\"head3\"\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\"\n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\"\n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\"\n }\n ]\n }\n}\n\n```\n\n输入示例2(表格表头宽度比例配置):\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\",\n \"widthPercent\": 30\n },\n {\n \"content\":\"head2\",\n \"widthPercent\": 30\n },\n {\n \"content\":\"head3\",\n \"widthPercent\": 40\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\"\n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\"\n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\"\n }\n ]\n }\n}\n\n```\n表格参数说明\n\n| 名称 | 类型 | 描述 |\n| ------------------- | ------- | ------------------------------------------------- |\n| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |\n| rowCount | Integer | 表格内容最大行数 |\n| cells.N.rowStart | Integer | 单元格坐标:行起始index |\n| cells.N.rowEnd | Integer | 单元格坐标:行结束index |\n| cells.N.columnStart | Integer | 单元格坐标:列起始index |\n| cells.N.columnEnd | Integer | 单元格坐标:列结束index |\n| cells.N.content | String | 单元格内容,字数不超过100 |\n\n表格参数headers说明\nwidthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35\ncontent String 表头单元格内容,字数不超过100",
|
7982
|
+
"document": "电子文档的控件填充信息。按照控件类型进行相应的填充。\n\n当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"文本内容\"\n}\n```\n当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"多行文本内容\"\n}\n```\n当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"true\"\n}\n```\n当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}\n```\n当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3\"\n}\n```\n当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"选择的内容\"\n}\n```\n当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"2023年01月01日\"\n}\n```\n当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;\n```\nFormField输入示例:\n{\n \"ComponentId\": \"componentId1\",\n \"ComponentValue\": \"广东省深圳市福田区\"\n}\n```\n【数据表格传参说明】\n当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)\n输入示例1:\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\"\n },\n {\n \"content\":\"head2\"\n },\n {\n \"content\":\"head3\"\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\"\n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\"\n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\"\n }\n ]\n }\n}\n\n```\n\n输入示例2(表格表头宽度比例配置):\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\",\n \"widthPercent\": 30\n },\n {\n \"content\":\"head2\",\n \"widthPercent\": 30\n },\n {\n \"content\":\"head3\",\n \"widthPercent\": 40\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\"\n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\"\n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\"\n }\n ]\n }\n}\n\n```\n\n\n输入示例3(表格设置字体加粗颜色):\n\n```\n{\n \"headers\":[\n {\n \"content\":\"head1\"\n },\n {\n \"content\":\"head2\"\n },\n {\n \"content\":\"head3\"\n }\n ],\n \"rowCount\":3,\n \"body\":{\n \"cells\":[\n {\n \"rowStart\":1,\n \"rowEnd\":1,\n \"columnStart\":1,\n \"columnEnd\":1,\n \"content\":\"123\",\n \"style\": \"{\\\"color\\\": \\\"#b50000\\\", \\\"fontSize\\\": 12,\\\"bold\\\": true,\\\"align\\\": \\\"CENTER\\\"}\" \n },\n {\n \"rowStart\":2,\n \"rowEnd\":3,\n \"columnStart\":1,\n \"columnEnd\":2,\n \"content\":\"456\",\n \"style\": \"{\\\"color\\\": \\\"#b50000\\\", \\\"fontSize\\\": 12,\\\"bold\\\": true,\\\"align\\\": \\\"LEFT\\\"}\" \n },\n {\n \"rowStart\":3,\n \"rowEnd\":3,\n \"columnStart\":3,\n \"columnEnd\":3,\n \"content\":\"789\",\n \"style\": \"{\\\"color\\\": \\\"#b500bf\\\", \\\"fontSize\\\": 12,\\\"bold\\\": false,\\\"align\\\": \\\"RIGHT\\\"}\" \n }\n ]\n }\n}\n\n```\n\n表格参数说明\n\n| 名称 | 类型 | 描述 |\n| ------------------- | ------- | ------------------------------------------------- |\n| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |\n| rowCount | Integer | 表格内容最大行数 |\n| cells.N.rowStart | Integer | 单元格坐标:行起始index |\n| cells.N.rowEnd | Integer | 单元格坐标:行结束index |\n| cells.N.columnStart | Integer | 单元格坐标:列起始index |\n| cells.N.columnEnd | Integer | 单元格坐标:列结束index |\n| cells.N.content | String | 单元格内容,字数不超过100 |\n| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {\"font\":\"黑体\",\"fontSize\":12,\"color\":\"FFFFFF\",\"bold\":true,\"align\":\"CENTER\"} |\n\n表格参数headers说明\nwidthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35\n\ncontent String 表头单元格内容,字数不超过100\n\nstyle String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: \"FFFFFF\"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER",
|
7983
7983
|
"members": [
|
7984
7984
|
{
|
7985
7985
|
"disabled": false,
|