@alicloud/elasticsearch20170613 2.0.7 → 2.0.8
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.
- package/dist/client.d.ts +299 -55
- package/dist/client.js +104 -20
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +346 -55
package/src/client.ts
CHANGED
|
@@ -1027,6 +1027,13 @@ export class ResultSpecInfoMapValue extends $tea.Model {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
export class ActivateZonesRequest extends $tea.Model {
|
|
1030
|
+
/**
|
|
1031
|
+
* @remarks
|
|
1032
|
+
* 请求体参数。
|
|
1033
|
+
*
|
|
1034
|
+
* @example
|
|
1035
|
+
* ["cn-hangzhou-i","cn-hangzhou-h"]
|
|
1036
|
+
*/
|
|
1030
1037
|
body?: string;
|
|
1031
1038
|
/**
|
|
1032
1039
|
* @remarks
|
|
@@ -1571,13 +1578,36 @@ export class CancelTaskResponse extends $tea.Model {
|
|
|
1571
1578
|
|
|
1572
1579
|
export class CapacityPlanRequest extends $tea.Model {
|
|
1573
1580
|
/**
|
|
1581
|
+
* @remarks
|
|
1582
|
+
* Indicates whether there is a need for complex aggregation queries. Options:
|
|
1583
|
+
*
|
|
1584
|
+
* - true: Yes
|
|
1585
|
+
* - false (default): No
|
|
1586
|
+
*
|
|
1574
1587
|
* @example
|
|
1575
1588
|
* true
|
|
1576
1589
|
*/
|
|
1577
1590
|
complexQueryAvailable?: boolean;
|
|
1591
|
+
/**
|
|
1592
|
+
* @remarks
|
|
1593
|
+
* Disk usage status.
|
|
1594
|
+
*/
|
|
1578
1595
|
dataInfo?: CapacityPlanRequestDataInfo[];
|
|
1596
|
+
/**
|
|
1597
|
+
* @remarks
|
|
1598
|
+
* Metrics information including disk usage, search and write operations, aggregation requests, etc.
|
|
1599
|
+
*/
|
|
1579
1600
|
metric?: CapacityPlanRequestMetric[];
|
|
1580
1601
|
/**
|
|
1602
|
+
* @remarks
|
|
1603
|
+
* Usage scenarios, options:
|
|
1604
|
+
*
|
|
1605
|
+
* - general: General scenario
|
|
1606
|
+
* - analysisVisualization: Data analysis scenario
|
|
1607
|
+
* - dbAcceleration: Database acceleration scenario
|
|
1608
|
+
* - search: Search scenario
|
|
1609
|
+
* - log: Log scenario
|
|
1610
|
+
*
|
|
1581
1611
|
* @example
|
|
1582
1612
|
* general
|
|
1583
1613
|
*/
|
|
@@ -1608,7 +1638,7 @@ export class CapacityPlanRequest extends $tea.Model {
|
|
|
1608
1638
|
export class CapacityPlanResponseBody extends $tea.Model {
|
|
1609
1639
|
/**
|
|
1610
1640
|
* @remarks
|
|
1611
|
-
*
|
|
1641
|
+
* ID of the current request.
|
|
1612
1642
|
*
|
|
1613
1643
|
* @example
|
|
1614
1644
|
* E91B7129-A669-4D9D-A743-F90A0FF1F5EF
|
|
@@ -1616,7 +1646,7 @@ export class CapacityPlanResponseBody extends $tea.Model {
|
|
|
1616
1646
|
requestId?: string;
|
|
1617
1647
|
/**
|
|
1618
1648
|
* @remarks
|
|
1619
|
-
*
|
|
1649
|
+
* Returned result of the request.
|
|
1620
1650
|
*/
|
|
1621
1651
|
result?: CapacityPlanResponseBodyResult;
|
|
1622
1652
|
static names(): { [key: string]: string } {
|
|
@@ -1831,6 +1861,9 @@ export class CloseHttpsResponse extends $tea.Model {
|
|
|
1831
1861
|
|
|
1832
1862
|
export class CloseManagedIndexRequest extends $tea.Model {
|
|
1833
1863
|
/**
|
|
1864
|
+
* @remarks
|
|
1865
|
+
* Used to ensure the idempotency of the request. Generated by the client, it must be unique across different requests and not exceed 64 ASCII characters.
|
|
1866
|
+
*
|
|
1834
1867
|
* @example
|
|
1835
1868
|
* 5A2CFF0E-5718-45B5-9D4D-70B3FF****
|
|
1836
1869
|
*/
|
|
@@ -1854,11 +1887,21 @@ export class CloseManagedIndexRequest extends $tea.Model {
|
|
|
1854
1887
|
|
|
1855
1888
|
export class CloseManagedIndexResponseBody extends $tea.Model {
|
|
1856
1889
|
/**
|
|
1890
|
+
* @remarks
|
|
1891
|
+
* Request ID.
|
|
1892
|
+
*
|
|
1857
1893
|
* @example
|
|
1858
1894
|
* F99407AB-2FA9-489E-A259-40CF6DCC****
|
|
1859
1895
|
*/
|
|
1860
1896
|
requestId?: string;
|
|
1861
1897
|
/**
|
|
1898
|
+
* @remarks
|
|
1899
|
+
* Indicates whether the index\\"s cloud management has been successfully closed:
|
|
1900
|
+
*
|
|
1901
|
+
* - true: Success
|
|
1902
|
+
*
|
|
1903
|
+
* - false: Failure
|
|
1904
|
+
*
|
|
1862
1905
|
* @example
|
|
1863
1906
|
* true
|
|
1864
1907
|
*/
|
|
@@ -2832,7 +2875,7 @@ export class DeactivateZonesRequest extends $tea.Model {
|
|
|
2832
2875
|
body?: string;
|
|
2833
2876
|
/**
|
|
2834
2877
|
* @remarks
|
|
2835
|
-
*
|
|
2878
|
+
* Used to ensure idempotency of the request. The client generates this parameter value and must guarantee its uniqueness across different requests, with a maximum length of 64 ASCII characters.
|
|
2836
2879
|
*
|
|
2837
2880
|
* @example
|
|
2838
2881
|
* 5A2CFF0E-5718-45B5-9D4D-70B3FF****
|
|
@@ -2860,7 +2903,7 @@ export class DeactivateZonesRequest extends $tea.Model {
|
|
|
2860
2903
|
export class DeactivateZonesResponseBody extends $tea.Model {
|
|
2861
2904
|
/**
|
|
2862
2905
|
* @remarks
|
|
2863
|
-
*
|
|
2906
|
+
* Request ID.
|
|
2864
2907
|
*
|
|
2865
2908
|
* @example
|
|
2866
2909
|
* F99407AB-2FA9-489E-A259-40CF6DCC****
|
|
@@ -2868,10 +2911,10 @@ export class DeactivateZonesResponseBody extends $tea.Model {
|
|
|
2868
2911
|
requestId?: string;
|
|
2869
2912
|
/**
|
|
2870
2913
|
* @remarks
|
|
2871
|
-
* Return
|
|
2914
|
+
* Return result:
|
|
2872
2915
|
*
|
|
2873
|
-
*
|
|
2874
|
-
*
|
|
2916
|
+
* - true: Zone offline successful
|
|
2917
|
+
* - false: Zone offline failed
|
|
2875
2918
|
*
|
|
2876
2919
|
* @example
|
|
2877
2920
|
* true
|
|
@@ -4026,10 +4069,17 @@ export class DescribeAckOperatorResponse extends $tea.Model {
|
|
|
4026
4069
|
|
|
4027
4070
|
export class DescribeApmResponseBody extends $tea.Model {
|
|
4028
4071
|
/**
|
|
4072
|
+
* @remarks
|
|
4073
|
+
* Request ID.
|
|
4074
|
+
*
|
|
4029
4075
|
* @example
|
|
4030
4076
|
* 97597D87-8066-5493-B692-5C50DA236D68
|
|
4031
4077
|
*/
|
|
4032
4078
|
requestId?: string;
|
|
4079
|
+
/**
|
|
4080
|
+
* @remarks
|
|
4081
|
+
* Request result.
|
|
4082
|
+
*/
|
|
4033
4083
|
result?: DescribeApmResponseBodyResult;
|
|
4034
4084
|
static names(): { [key: string]: string } {
|
|
4035
4085
|
return {
|
|
@@ -11105,7 +11155,7 @@ export class ListSearchLogRequest extends $tea.Model {
|
|
|
11105
11155
|
* This parameter is required.
|
|
11106
11156
|
*
|
|
11107
11157
|
* @example
|
|
11108
|
-
* host
|
|
11158
|
+
* host:``172.16.**.**`` AND content:netty
|
|
11109
11159
|
*/
|
|
11110
11160
|
query?: string;
|
|
11111
11161
|
/**
|
|
@@ -19123,26 +19173,54 @@ export class MigrationJobTargetCluster extends $tea.Model {
|
|
|
19123
19173
|
|
|
19124
19174
|
export class CapacityPlanRequestDataInfo extends $tea.Model {
|
|
19125
19175
|
/**
|
|
19176
|
+
* @remarks
|
|
19177
|
+
* Disk data metric code. Options:
|
|
19178
|
+
*
|
|
19179
|
+
* - totalRawData: Raw data information
|
|
19180
|
+
* - document: Data document information, estimated document count
|
|
19181
|
+
* - dailyIncrement: Daily data growth
|
|
19182
|
+
* - dailyIncrementDoc: Daily incremental document count
|
|
19183
|
+
* - retentionTime: Data retention period
|
|
19184
|
+
* - replica: Replica settings
|
|
19185
|
+
*
|
|
19126
19186
|
* @example
|
|
19127
19187
|
* totalRawData
|
|
19128
19188
|
*/
|
|
19129
19189
|
code?: string;
|
|
19130
19190
|
/**
|
|
19191
|
+
* @remarks
|
|
19192
|
+
* Disk usage metric value.
|
|
19193
|
+
*
|
|
19131
19194
|
* @example
|
|
19132
19195
|
* 100
|
|
19133
19196
|
*/
|
|
19134
19197
|
size?: number;
|
|
19135
19198
|
/**
|
|
19199
|
+
* @remarks
|
|
19200
|
+
* Total number of data entries.
|
|
19201
|
+
*
|
|
19136
19202
|
* @example
|
|
19137
19203
|
* 10000
|
|
19138
19204
|
*/
|
|
19139
19205
|
totalCount?: number;
|
|
19140
19206
|
/**
|
|
19207
|
+
* @remarks
|
|
19208
|
+
* Disk data type. Options:
|
|
19209
|
+
*
|
|
19210
|
+
* - hot: Hot data
|
|
19211
|
+
* - warm: Cold data
|
|
19212
|
+
*
|
|
19141
19213
|
* @example
|
|
19142
19214
|
* hot
|
|
19143
19215
|
*/
|
|
19144
19216
|
type?: string;
|
|
19145
19217
|
/**
|
|
19218
|
+
* @remarks
|
|
19219
|
+
* Data or time unit. Options:
|
|
19220
|
+
*
|
|
19221
|
+
* - Data units: MiB, GiB, TB, PB
|
|
19222
|
+
* - Time units: DAYS, WEEKS, MONTHS, YEARS
|
|
19223
|
+
*
|
|
19146
19224
|
* @example
|
|
19147
19225
|
* MiB
|
|
19148
19226
|
*/
|
|
@@ -19174,36 +19252,63 @@ export class CapacityPlanRequestDataInfo extends $tea.Model {
|
|
|
19174
19252
|
|
|
19175
19253
|
export class CapacityPlanRequestMetric extends $tea.Model {
|
|
19176
19254
|
/**
|
|
19255
|
+
* @remarks
|
|
19256
|
+
* Average QPS.
|
|
19257
|
+
*
|
|
19177
19258
|
* @example
|
|
19178
19259
|
* 30
|
|
19179
19260
|
*/
|
|
19180
19261
|
averageQps?: number;
|
|
19181
19262
|
/**
|
|
19263
|
+
* @remarks
|
|
19264
|
+
* Search or write metric code. Options:
|
|
19265
|
+
*
|
|
19266
|
+
* - write: Write
|
|
19267
|
+
* - search: Search
|
|
19268
|
+
*
|
|
19182
19269
|
* @example
|
|
19183
19270
|
* write
|
|
19184
19271
|
*/
|
|
19185
19272
|
code?: string;
|
|
19186
19273
|
/**
|
|
19274
|
+
* @remarks
|
|
19275
|
+
* Concurrent number.
|
|
19276
|
+
*
|
|
19187
19277
|
* @example
|
|
19188
19278
|
* 2
|
|
19189
19279
|
*/
|
|
19190
19280
|
concurrent?: number;
|
|
19191
19281
|
/**
|
|
19282
|
+
* @remarks
|
|
19283
|
+
* Peak QPS.
|
|
19284
|
+
*
|
|
19192
19285
|
* @example
|
|
19193
19286
|
* 30
|
|
19194
19287
|
*/
|
|
19195
19288
|
peakQps?: number;
|
|
19196
19289
|
/**
|
|
19290
|
+
* @remarks
|
|
19291
|
+
* Expected average response time, unit: milliseconds.
|
|
19292
|
+
*
|
|
19197
19293
|
* @example
|
|
19198
19294
|
* 100
|
|
19199
19295
|
*/
|
|
19200
19296
|
responseTime?: number;
|
|
19201
19297
|
/**
|
|
19298
|
+
* @remarks
|
|
19299
|
+
* Throughput, unit: MB/S.
|
|
19300
|
+
*
|
|
19202
19301
|
* @example
|
|
19203
19302
|
* 100
|
|
19204
19303
|
*/
|
|
19205
19304
|
throughput?: number;
|
|
19206
19305
|
/**
|
|
19306
|
+
* @remarks
|
|
19307
|
+
* Search/write peak type. Options:
|
|
19308
|
+
*
|
|
19309
|
+
* - common: Regular
|
|
19310
|
+
* - peak: Peak
|
|
19311
|
+
*
|
|
19207
19312
|
* @example
|
|
19208
19313
|
* common
|
|
19209
19314
|
*/
|
|
@@ -19240,7 +19345,9 @@ export class CapacityPlanRequestMetric extends $tea.Model {
|
|
|
19240
19345
|
export class CapacityPlanResponseBodyResultExtendConfigs extends $tea.Model {
|
|
19241
19346
|
/**
|
|
19242
19347
|
* @remarks
|
|
19243
|
-
*
|
|
19348
|
+
* Configuration type, with a single value: sharedDisk.
|
|
19349
|
+
*
|
|
19350
|
+
* > This extendConfigs attribute may appear when the planned instance type is Advanced.
|
|
19244
19351
|
*
|
|
19245
19352
|
* @example
|
|
19246
19353
|
* sharedDisk
|
|
@@ -19248,9 +19355,7 @@ export class CapacityPlanResponseBodyResultExtendConfigs extends $tea.Model {
|
|
|
19248
19355
|
configType?: string;
|
|
19249
19356
|
/**
|
|
19250
19357
|
* @remarks
|
|
19251
|
-
*
|
|
19252
|
-
*
|
|
19253
|
-
* > The extendConfigs attribute that may occur when the planned instance type is enhanced (advanced).
|
|
19358
|
+
* Disk size, in GiB.
|
|
19254
19359
|
*
|
|
19255
19360
|
* @example
|
|
19256
19361
|
* 2048
|
|
@@ -19258,11 +19363,9 @@ export class CapacityPlanResponseBodyResultExtendConfigs extends $tea.Model {
|
|
|
19258
19363
|
disk?: number;
|
|
19259
19364
|
/**
|
|
19260
19365
|
* @remarks
|
|
19261
|
-
*
|
|
19366
|
+
* Disk type, with a single value: CPFS_PREMIUM.
|
|
19262
19367
|
*
|
|
19263
|
-
*
|
|
19264
|
-
* * x-pack: Commercial Edition
|
|
19265
|
-
* * community: community version
|
|
19368
|
+
* > This extendConfigs attribute may appear when the planned instance type is Advanced.
|
|
19266
19369
|
*
|
|
19267
19370
|
* @example
|
|
19268
19371
|
* CPFS_PREMIUM
|
|
@@ -19292,7 +19395,7 @@ export class CapacityPlanResponseBodyResultExtendConfigs extends $tea.Model {
|
|
|
19292
19395
|
export class CapacityPlanResponseBodyResultNodeConfigurations extends $tea.Model {
|
|
19293
19396
|
/**
|
|
19294
19397
|
* @remarks
|
|
19295
|
-
*
|
|
19398
|
+
* Number of nodes.
|
|
19296
19399
|
*
|
|
19297
19400
|
* @example
|
|
19298
19401
|
* 10
|
|
@@ -19300,7 +19403,7 @@ export class CapacityPlanResponseBodyResultNodeConfigurations extends $tea.Model
|
|
|
19300
19403
|
amount?: number;
|
|
19301
19404
|
/**
|
|
19302
19405
|
* @remarks
|
|
19303
|
-
*
|
|
19406
|
+
* Number of CPUs.
|
|
19304
19407
|
*
|
|
19305
19408
|
* @example
|
|
19306
19409
|
* 1
|
|
@@ -19308,13 +19411,7 @@ export class CapacityPlanResponseBodyResultNodeConfigurations extends $tea.Model
|
|
|
19308
19411
|
cpu?: number;
|
|
19309
19412
|
/**
|
|
19310
19413
|
* @remarks
|
|
19311
|
-
*
|
|
19312
|
-
*
|
|
19313
|
-
* * cloud_essd: enhanced SSD (ESSD)
|
|
19314
|
-
* * cloud_ssd: standard SSD
|
|
19315
|
-
* * cloud_efficiency: ultra disk
|
|
19316
|
-
* * local_ssd: local SSD
|
|
19317
|
-
* * local_efficiency: local ultra disk
|
|
19414
|
+
* Disk size, in GiB.
|
|
19318
19415
|
*
|
|
19319
19416
|
* @example
|
|
19320
19417
|
* 20
|
|
@@ -19322,7 +19419,17 @@ export class CapacityPlanResponseBodyResultNodeConfigurations extends $tea.Model
|
|
|
19322
19419
|
disk?: number;
|
|
19323
19420
|
/**
|
|
19324
19421
|
* @remarks
|
|
19325
|
-
*
|
|
19422
|
+
* Disk type, with meanings as follows:
|
|
19423
|
+
*
|
|
19424
|
+
* - cloud_essd: ESSD Cloud Disk
|
|
19425
|
+
*
|
|
19426
|
+
* - cloud_ssd: SSD Cloud Disk
|
|
19427
|
+
*
|
|
19428
|
+
* - cloud_efficiency: Efficient Cloud Disk
|
|
19429
|
+
*
|
|
19430
|
+
* - local_ssd: Local SSD Disk
|
|
19431
|
+
*
|
|
19432
|
+
* - local_efficiency: Local Efficient Disk
|
|
19326
19433
|
*
|
|
19327
19434
|
* @example
|
|
19328
19435
|
* cloud_ssd
|
|
@@ -19330,14 +19437,7 @@ export class CapacityPlanResponseBodyResultNodeConfigurations extends $tea.Model
|
|
|
19330
19437
|
diskType?: string;
|
|
19331
19438
|
/**
|
|
19332
19439
|
* @remarks
|
|
19333
|
-
*
|
|
19334
|
-
*
|
|
19335
|
-
* * WORKER: data node
|
|
19336
|
-
* * WORKER_WARM: cold data node
|
|
19337
|
-
* * MASTER: dedicated master node
|
|
19338
|
-
* * KIBANA: Kibana node
|
|
19339
|
-
* * COORDINATING: client node
|
|
19340
|
-
* * ELASTIC_WORKER: elastic node
|
|
19440
|
+
* Specified memory size for the current node role.
|
|
19341
19441
|
*
|
|
19342
19442
|
* @example
|
|
19343
19443
|
* 2
|
|
@@ -19345,10 +19445,19 @@ export class CapacityPlanResponseBodyResultNodeConfigurations extends $tea.Model
|
|
|
19345
19445
|
memory?: number;
|
|
19346
19446
|
/**
|
|
19347
19447
|
* @remarks
|
|
19348
|
-
*
|
|
19448
|
+
* Node type, with supported types as follows:
|
|
19449
|
+
*
|
|
19450
|
+
* - WORKER: Data Node
|
|
19451
|
+
*
|
|
19452
|
+
* - WORKER_WARM: Cold Data Node
|
|
19453
|
+
*
|
|
19454
|
+
* - MASTER: Dedicated Master Node
|
|
19455
|
+
*
|
|
19456
|
+
* - KIBANA: Kibana Node
|
|
19457
|
+
*
|
|
19458
|
+
* - COORDINATING: Coordinator Node
|
|
19349
19459
|
*
|
|
19350
|
-
*
|
|
19351
|
-
* * false: The number of data nodes calculated by capacity planning is less than 50.
|
|
19460
|
+
* - ELASTIC_WORKER: Elastic Node
|
|
19352
19461
|
*
|
|
19353
19462
|
* @example
|
|
19354
19463
|
* WORKER
|
|
@@ -19384,14 +19493,18 @@ export class CapacityPlanResponseBodyResultNodeConfigurations extends $tea.Model
|
|
|
19384
19493
|
export class CapacityPlanResponseBodyResult extends $tea.Model {
|
|
19385
19494
|
/**
|
|
19386
19495
|
* @remarks
|
|
19387
|
-
*
|
|
19388
|
-
*
|
|
19389
|
-
* > The extendConfigs attribute that may occur when the planned instance type is enhanced (advanced).
|
|
19496
|
+
* Extended configuration information.
|
|
19390
19497
|
*/
|
|
19391
19498
|
extendConfigs?: CapacityPlanResponseBodyResultExtendConfigs[];
|
|
19392
19499
|
/**
|
|
19393
19500
|
* @remarks
|
|
19394
|
-
*
|
|
19501
|
+
* Edition type, with values meaning as follows:
|
|
19502
|
+
*
|
|
19503
|
+
* - advanced: Enhanced Edition
|
|
19504
|
+
*
|
|
19505
|
+
* - x-pack: Commercial Edition
|
|
19506
|
+
*
|
|
19507
|
+
* - community: Community Edition
|
|
19395
19508
|
*
|
|
19396
19509
|
* @example
|
|
19397
19510
|
* advanced
|
|
@@ -19399,10 +19512,17 @@ export class CapacityPlanResponseBodyResult extends $tea.Model {
|
|
|
19399
19512
|
instanceCategory?: string;
|
|
19400
19513
|
/**
|
|
19401
19514
|
* @remarks
|
|
19402
|
-
*
|
|
19515
|
+
* Node information.
|
|
19403
19516
|
*/
|
|
19404
19517
|
nodeConfigurations?: CapacityPlanResponseBodyResultNodeConfigurations[];
|
|
19405
19518
|
/**
|
|
19519
|
+
* @remarks
|
|
19520
|
+
* Based on the capacity planning calculation, there is no default value. The meanings of the values are as follows:
|
|
19521
|
+
*
|
|
19522
|
+
* - true: Represents an oversized cluster, indicating that the number of data nodes calculated by the capacity planning exceeds the threshold of 50.
|
|
19523
|
+
*
|
|
19524
|
+
* - false: The number of data nodes calculated by the capacity planning is within 50.
|
|
19525
|
+
*
|
|
19406
19526
|
* @example
|
|
19407
19527
|
* true
|
|
19408
19528
|
*/
|
|
@@ -19898,96 +20018,171 @@ export class DescribeAckOperatorResponseBodyResult extends $tea.Model {
|
|
|
19898
20018
|
|
|
19899
20019
|
export class DescribeApmResponseBodyResult extends $tea.Model {
|
|
19900
20020
|
/**
|
|
20021
|
+
* @remarks
|
|
20022
|
+
* Instance domain.
|
|
20023
|
+
*
|
|
19901
20024
|
* @example
|
|
19902
20025
|
* apm-cn-i7m2fuae****.apm.elasticsearch.aliyuncs.com:8200
|
|
19903
20026
|
*/
|
|
19904
20027
|
apmServerDomain?: string;
|
|
19905
20028
|
/**
|
|
20029
|
+
* @remarks
|
|
20030
|
+
* Creation time.
|
|
20031
|
+
*
|
|
19906
20032
|
* @example
|
|
19907
20033
|
* 2021-11-16T07:15:51.967Z
|
|
19908
20034
|
*/
|
|
19909
20035
|
createdAt?: string;
|
|
19910
20036
|
/**
|
|
20037
|
+
* @remarks
|
|
20038
|
+
* Deployed replica count.
|
|
20039
|
+
*
|
|
19911
20040
|
* @example
|
|
19912
20041
|
* 1
|
|
19913
20042
|
*/
|
|
19914
20043
|
deployedReplica?: number;
|
|
19915
20044
|
/**
|
|
20045
|
+
* @remarks
|
|
20046
|
+
* Instance name.
|
|
20047
|
+
*
|
|
19916
20048
|
* @example
|
|
19917
20049
|
* APMtest
|
|
19918
20050
|
*/
|
|
19919
20051
|
description?: string;
|
|
19920
20052
|
/**
|
|
20053
|
+
* @remarks
|
|
20054
|
+
* Instance expiration time.
|
|
20055
|
+
*
|
|
19921
20056
|
* @example
|
|
19922
20057
|
* 4792752000000
|
|
19923
20058
|
*/
|
|
19924
20059
|
endTime?: number;
|
|
19925
20060
|
/**
|
|
20061
|
+
* @remarks
|
|
20062
|
+
* Instance ID.
|
|
20063
|
+
*
|
|
19926
20064
|
* @example
|
|
19927
20065
|
* apm-cn-i7m2fuae****
|
|
19928
20066
|
*/
|
|
19929
20067
|
instanceId?: string;
|
|
19930
20068
|
/**
|
|
20069
|
+
* @remarks
|
|
20070
|
+
* Number of nodes.
|
|
20071
|
+
*
|
|
19931
20072
|
* @example
|
|
19932
20073
|
* 1
|
|
19933
20074
|
*/
|
|
19934
20075
|
nodeAmount?: number;
|
|
19935
20076
|
/**
|
|
20077
|
+
* @remarks
|
|
20078
|
+
* Associated Elasticsearch instance.
|
|
20079
|
+
*
|
|
19936
20080
|
* @example
|
|
19937
20081
|
* es-cn-i7m2fsfhc001x****
|
|
19938
20082
|
*/
|
|
19939
20083
|
outputES?: string;
|
|
19940
20084
|
/**
|
|
20085
|
+
* @remarks
|
|
20086
|
+
* Username of the associated Elasticsearch instance.
|
|
20087
|
+
*
|
|
19941
20088
|
* @example
|
|
19942
20089
|
* elastic
|
|
19943
20090
|
*/
|
|
19944
20091
|
outputESUserName?: string;
|
|
19945
20092
|
/**
|
|
20093
|
+
* @remarks
|
|
20094
|
+
* User account ID.
|
|
20095
|
+
*
|
|
19946
20096
|
* @example
|
|
19947
20097
|
* 133071096032****
|
|
19948
20098
|
*/
|
|
19949
20099
|
ownerId?: string;
|
|
19950
20100
|
/**
|
|
20101
|
+
* @remarks
|
|
20102
|
+
* Payment method, with the following values:
|
|
20103
|
+
*
|
|
20104
|
+
* - postpaid: Pay-as-you-go.
|
|
20105
|
+
*
|
|
20106
|
+
* - prepaid: Subscription.
|
|
20107
|
+
*
|
|
19951
20108
|
* @example
|
|
19952
20109
|
* postpaid
|
|
19953
20110
|
*/
|
|
19954
20111
|
paymentType?: string;
|
|
19955
20112
|
/**
|
|
20113
|
+
* @remarks
|
|
20114
|
+
* Region.
|
|
20115
|
+
*
|
|
19956
20116
|
* @example
|
|
19957
20117
|
* cn-hangzhou
|
|
19958
20118
|
*/
|
|
19959
20119
|
region?: string;
|
|
19960
20120
|
/**
|
|
20121
|
+
* @remarks
|
|
20122
|
+
* Replica count.
|
|
20123
|
+
*
|
|
19961
20124
|
* @example
|
|
19962
20125
|
* 1
|
|
19963
20126
|
*/
|
|
19964
20127
|
replica?: number;
|
|
19965
20128
|
/**
|
|
20129
|
+
* @remarks
|
|
20130
|
+
* Specification, with the following values:
|
|
20131
|
+
*
|
|
20132
|
+
* - C1M2 (1 core, 2 GB)
|
|
20133
|
+
*
|
|
20134
|
+
* - C2M4 (2 cores, 4 GB)
|
|
20135
|
+
*
|
|
19966
20136
|
* @example
|
|
19967
20137
|
* C1M2
|
|
19968
20138
|
*/
|
|
19969
20139
|
resourceSpec?: string;
|
|
19970
20140
|
/**
|
|
20141
|
+
* @remarks
|
|
20142
|
+
* Lifecycle status, with the following values:
|
|
20143
|
+
*
|
|
20144
|
+
* - CREATING: Creating.
|
|
20145
|
+
*
|
|
20146
|
+
* - ACTIVATING: Activating.
|
|
20147
|
+
*
|
|
20148
|
+
* - ACTIVE: Active.
|
|
20149
|
+
*
|
|
20150
|
+
* - INACTIVE: Frozen.
|
|
20151
|
+
*
|
|
20152
|
+
* - INVALID: Invalid.
|
|
20153
|
+
*
|
|
19971
20154
|
* @example
|
|
19972
20155
|
* active
|
|
19973
20156
|
*/
|
|
19974
20157
|
status?: string;
|
|
19975
20158
|
/**
|
|
20159
|
+
* @remarks
|
|
20160
|
+
* Version information.
|
|
20161
|
+
*
|
|
19976
20162
|
* @example
|
|
19977
20163
|
* 7.10.2
|
|
19978
20164
|
*/
|
|
19979
20165
|
version?: string;
|
|
19980
20166
|
/**
|
|
20167
|
+
* @remarks
|
|
20168
|
+
* VPC ID.
|
|
20169
|
+
*
|
|
19981
20170
|
* @example
|
|
19982
20171
|
* vpc-bp1530vdhqkamm9s0****
|
|
19983
20172
|
*/
|
|
19984
20173
|
vpcId?: string;
|
|
19985
20174
|
/**
|
|
20175
|
+
* @remarks
|
|
20176
|
+
* Availability zone where the switch is located.
|
|
20177
|
+
*
|
|
19986
20178
|
* @example
|
|
19987
20179
|
* cn-hangzhou-i
|
|
19988
20180
|
*/
|
|
19989
20181
|
vsArea?: string;
|
|
19990
20182
|
/**
|
|
20183
|
+
* @remarks
|
|
20184
|
+
* Switch ID.
|
|
20185
|
+
*
|
|
19991
20186
|
* @example
|
|
19992
20187
|
* vsw-bp1j1mql6r9g5vfb4****
|
|
19993
20188
|
*/
|
|
@@ -21916,7 +22111,7 @@ export class DescribeLogstashResponseBodyResultEndpointList extends $tea.Model {
|
|
|
21916
22111
|
* The tags added to the ALB instance.
|
|
21917
22112
|
*
|
|
21918
22113
|
* @example
|
|
21919
|
-
* 172.16
|
|
22114
|
+
* ``172.16.**.**``
|
|
21920
22115
|
*/
|
|
21921
22116
|
host?: string;
|
|
21922
22117
|
/**
|
|
@@ -23736,6 +23931,7 @@ export class GetRegionConfigurationResponseBodyResult extends $tea.Model {
|
|
|
23736
23931
|
instanceSupportNodes?: string[];
|
|
23737
23932
|
jvmConfine?: GetRegionConfigurationResponseBodyResultJvmConfine;
|
|
23738
23933
|
kibanaNodeProperties?: GetRegionConfigurationResponseBodyResultKibanaNodeProperties;
|
|
23934
|
+
logstashZones?: string[];
|
|
23739
23935
|
masterDiskList?: GetRegionConfigurationResponseBodyResultMasterDiskList[];
|
|
23740
23936
|
masterSpec?: string[];
|
|
23741
23937
|
node?: GetRegionConfigurationResponseBodyResultNode;
|
|
@@ -23762,6 +23958,7 @@ export class GetRegionConfigurationResponseBodyResult extends $tea.Model {
|
|
|
23762
23958
|
instanceSupportNodes: 'instanceSupportNodes',
|
|
23763
23959
|
jvmConfine: 'jvmConfine',
|
|
23764
23960
|
kibanaNodeProperties: 'kibanaNodeProperties',
|
|
23961
|
+
logstashZones: 'logstashZones',
|
|
23765
23962
|
masterDiskList: 'masterDiskList',
|
|
23766
23963
|
masterSpec: 'masterSpec',
|
|
23767
23964
|
node: 'node',
|
|
@@ -23787,6 +23984,7 @@ export class GetRegionConfigurationResponseBodyResult extends $tea.Model {
|
|
|
23787
23984
|
instanceSupportNodes: { 'type': 'array', 'itemType': 'string' },
|
|
23788
23985
|
jvmConfine: GetRegionConfigurationResponseBodyResultJvmConfine,
|
|
23789
23986
|
kibanaNodeProperties: GetRegionConfigurationResponseBodyResultKibanaNodeProperties,
|
|
23987
|
+
logstashZones: { 'type': 'array', 'itemType': 'string' },
|
|
23790
23988
|
masterDiskList: { 'type': 'array', 'itemType': GetRegionConfigurationResponseBodyResultMasterDiskList },
|
|
23791
23989
|
masterSpec: { 'type': 'array', 'itemType': 'string' },
|
|
23792
23990
|
node: GetRegionConfigurationResponseBodyResultNode,
|
|
@@ -23990,6 +24188,87 @@ export class GetRegionalInstanceConfigResponseBodyResultMasterDiskList extends $
|
|
|
23990
24188
|
}
|
|
23991
24189
|
}
|
|
23992
24190
|
|
|
24191
|
+
export class GetRegionalInstanceConfigResponseBodyResultWarmNodeAmountRange extends $tea.Model {
|
|
24192
|
+
maxAmount?: number;
|
|
24193
|
+
minAmount?: number;
|
|
24194
|
+
static names(): { [key: string]: string } {
|
|
24195
|
+
return {
|
|
24196
|
+
maxAmount: 'maxAmount',
|
|
24197
|
+
minAmount: 'minAmount',
|
|
24198
|
+
};
|
|
24199
|
+
}
|
|
24200
|
+
|
|
24201
|
+
static types(): { [key: string]: any } {
|
|
24202
|
+
return {
|
|
24203
|
+
maxAmount: 'number',
|
|
24204
|
+
minAmount: 'number',
|
|
24205
|
+
};
|
|
24206
|
+
}
|
|
24207
|
+
|
|
24208
|
+
constructor(map?: { [key: string]: any }) {
|
|
24209
|
+
super(map);
|
|
24210
|
+
}
|
|
24211
|
+
}
|
|
24212
|
+
|
|
24213
|
+
export class GetRegionalInstanceConfigResponseBodyResultWarmNodeDiskListSubClassificationConfines extends $tea.Model {
|
|
24214
|
+
maxSize?: number;
|
|
24215
|
+
minSize?: number;
|
|
24216
|
+
performanceLevel?: string;
|
|
24217
|
+
static names(): { [key: string]: string } {
|
|
24218
|
+
return {
|
|
24219
|
+
maxSize: 'maxSize',
|
|
24220
|
+
minSize: 'minSize',
|
|
24221
|
+
performanceLevel: 'performanceLevel',
|
|
24222
|
+
};
|
|
24223
|
+
}
|
|
24224
|
+
|
|
24225
|
+
static types(): { [key: string]: any } {
|
|
24226
|
+
return {
|
|
24227
|
+
maxSize: 'number',
|
|
24228
|
+
minSize: 'number',
|
|
24229
|
+
performanceLevel: 'string',
|
|
24230
|
+
};
|
|
24231
|
+
}
|
|
24232
|
+
|
|
24233
|
+
constructor(map?: { [key: string]: any }) {
|
|
24234
|
+
super(map);
|
|
24235
|
+
}
|
|
24236
|
+
}
|
|
24237
|
+
|
|
24238
|
+
export class GetRegionalInstanceConfigResponseBodyResultWarmNodeDiskList extends $tea.Model {
|
|
24239
|
+
diskType?: string;
|
|
24240
|
+
maxSize?: number;
|
|
24241
|
+
minSize?: number;
|
|
24242
|
+
scaleLimit?: number;
|
|
24243
|
+
subClassificationConfines?: GetRegionalInstanceConfigResponseBodyResultWarmNodeDiskListSubClassificationConfines[];
|
|
24244
|
+
valueLimitSet?: number[];
|
|
24245
|
+
static names(): { [key: string]: string } {
|
|
24246
|
+
return {
|
|
24247
|
+
diskType: 'diskType',
|
|
24248
|
+
maxSize: 'maxSize',
|
|
24249
|
+
minSize: 'minSize',
|
|
24250
|
+
scaleLimit: 'scaleLimit',
|
|
24251
|
+
subClassificationConfines: 'subClassificationConfines',
|
|
24252
|
+
valueLimitSet: 'valueLimitSet',
|
|
24253
|
+
};
|
|
24254
|
+
}
|
|
24255
|
+
|
|
24256
|
+
static types(): { [key: string]: any } {
|
|
24257
|
+
return {
|
|
24258
|
+
diskType: 'string',
|
|
24259
|
+
maxSize: 'number',
|
|
24260
|
+
minSize: 'number',
|
|
24261
|
+
scaleLimit: 'number',
|
|
24262
|
+
subClassificationConfines: { 'type': 'array', 'itemType': GetRegionalInstanceConfigResponseBodyResultWarmNodeDiskListSubClassificationConfines },
|
|
24263
|
+
valueLimitSet: { 'type': 'array', 'itemType': 'number' },
|
|
24264
|
+
};
|
|
24265
|
+
}
|
|
24266
|
+
|
|
24267
|
+
constructor(map?: { [key: string]: any }) {
|
|
24268
|
+
super(map);
|
|
24269
|
+
}
|
|
24270
|
+
}
|
|
24271
|
+
|
|
23993
24272
|
export class GetRegionalInstanceConfigResponseBodyResult extends $tea.Model {
|
|
23994
24273
|
clientNodeAmountRange?: GetRegionalInstanceConfigResponseBodyResultClientNodeAmountRange;
|
|
23995
24274
|
clientNodeDiskList?: GetRegionalInstanceConfigResponseBodyResultClientNodeDiskList[];
|
|
@@ -24003,6 +24282,9 @@ export class GetRegionalInstanceConfigResponseBodyResult extends $tea.Model {
|
|
|
24003
24282
|
masterSpecs?: string[];
|
|
24004
24283
|
specInfoMap?: { [key: string]: ResultSpecInfoMapValue };
|
|
24005
24284
|
versions?: string[];
|
|
24285
|
+
warmNodeAmountRange?: GetRegionalInstanceConfigResponseBodyResultWarmNodeAmountRange;
|
|
24286
|
+
warmNodeDiskList?: GetRegionalInstanceConfigResponseBodyResultWarmNodeDiskList[];
|
|
24287
|
+
warmNodeSpecs?: string[];
|
|
24006
24288
|
static names(): { [key: string]: string } {
|
|
24007
24289
|
return {
|
|
24008
24290
|
clientNodeAmountRange: 'clientNodeAmountRange',
|
|
@@ -24017,6 +24299,9 @@ export class GetRegionalInstanceConfigResponseBodyResult extends $tea.Model {
|
|
|
24017
24299
|
masterSpecs: 'masterSpecs',
|
|
24018
24300
|
specInfoMap: 'specInfoMap',
|
|
24019
24301
|
versions: 'versions',
|
|
24302
|
+
warmNodeAmountRange: 'warmNodeAmountRange',
|
|
24303
|
+
warmNodeDiskList: 'warmNodeDiskList',
|
|
24304
|
+
warmNodeSpecs: 'warmNodeSpecs',
|
|
24020
24305
|
};
|
|
24021
24306
|
}
|
|
24022
24307
|
|
|
@@ -24034,6 +24319,9 @@ export class GetRegionalInstanceConfigResponseBodyResult extends $tea.Model {
|
|
|
24034
24319
|
masterSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
24035
24320
|
specInfoMap: { 'type': 'map', 'keyType': 'string', 'valueType': ResultSpecInfoMapValue },
|
|
24036
24321
|
versions: { 'type': 'array', 'itemType': 'string' },
|
|
24322
|
+
warmNodeAmountRange: GetRegionalInstanceConfigResponseBodyResultWarmNodeAmountRange,
|
|
24323
|
+
warmNodeDiskList: { 'type': 'array', 'itemType': GetRegionalInstanceConfigResponseBodyResultWarmNodeDiskList },
|
|
24324
|
+
warmNodeSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
24037
24325
|
};
|
|
24038
24326
|
}
|
|
24039
24327
|
|
|
@@ -24048,7 +24336,7 @@ export class GetSuggestShrinkableNodesResponseBodyResult extends $tea.Model {
|
|
|
24048
24336
|
* The IP address of the node.
|
|
24049
24337
|
*
|
|
24050
24338
|
* @example
|
|
24051
|
-
* 192.168
|
|
24339
|
+
* ``192.168.**.**``
|
|
24052
24340
|
*/
|
|
24053
24341
|
host?: string;
|
|
24054
24342
|
/**
|
|
@@ -24084,7 +24372,7 @@ export class GetTransferableNodesResponseBodyResult extends $tea.Model {
|
|
|
24084
24372
|
* The IP address of the node.
|
|
24085
24373
|
*
|
|
24086
24374
|
* @example
|
|
24087
|
-
* 192.168
|
|
24375
|
+
* ``192.168.**.**``
|
|
24088
24376
|
*/
|
|
24089
24377
|
host?: string;
|
|
24090
24378
|
/**
|
|
@@ -29064,7 +29352,7 @@ export class ListSearchLogResponseBodyResult extends $tea.Model {
|
|
|
29064
29352
|
content?: string;
|
|
29065
29353
|
/**
|
|
29066
29354
|
* @example
|
|
29067
|
-
* {"level": "info", "host": "192.168
|
|
29355
|
+
* {"level": "info", "host": "``192.168.**.**``", "time": "2019-03-18T08:16:12.741Z","content": "[o.e.c.r.a.AllocationService] [MnNASM_] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[my_index][3]] ...])."}
|
|
29068
29356
|
*/
|
|
29069
29357
|
contentCollection?: { [key: string]: any };
|
|
29070
29358
|
/**
|
|
@@ -29072,7 +29360,7 @@ export class ListSearchLogResponseBodyResult extends $tea.Model {
|
|
|
29072
29360
|
* Details of the log entry. Different content fields are returned for different log types.
|
|
29073
29361
|
*
|
|
29074
29362
|
* @example
|
|
29075
|
-
* 192.168
|
|
29363
|
+
* ``192.168.**.**``
|
|
29076
29364
|
*/
|
|
29077
29365
|
host?: string;
|
|
29078
29366
|
/**
|
|
@@ -32832,11 +33120,13 @@ export class UpdateWhiteIpsResponseBodyResult extends $tea.Model {
|
|
|
32832
33120
|
}
|
|
32833
33121
|
|
|
32834
33122
|
export class UpgradeEngineVersionRequestPlugins extends $tea.Model {
|
|
33123
|
+
enable?: string;
|
|
32835
33124
|
fileVersion?: string;
|
|
32836
33125
|
name?: string;
|
|
32837
33126
|
version?: string;
|
|
32838
33127
|
static names(): { [key: string]: string } {
|
|
32839
33128
|
return {
|
|
33129
|
+
enable: 'enable',
|
|
32840
33130
|
fileVersion: 'fileVersion',
|
|
32841
33131
|
name: 'name',
|
|
32842
33132
|
version: 'version',
|
|
@@ -32845,6 +33135,7 @@ export class UpgradeEngineVersionRequestPlugins extends $tea.Model {
|
|
|
32845
33135
|
|
|
32846
33136
|
static types(): { [key: string]: any } {
|
|
32847
33137
|
return {
|
|
33138
|
+
enable: 'string',
|
|
32848
33139
|
fileVersion: 'string',
|
|
32849
33140
|
name: 'string',
|
|
32850
33141
|
version: 'string',
|
|
@@ -33337,7 +33628,7 @@ export default class Client extends OpenApi {
|
|
|
33337
33628
|
}
|
|
33338
33629
|
|
|
33339
33630
|
/**
|
|
33340
|
-
*
|
|
33631
|
+
* Capacity Planning
|
|
33341
33632
|
*
|
|
33342
33633
|
* @param request - CapacityPlanRequest
|
|
33343
33634
|
* @param headers - map
|
|
@@ -33382,7 +33673,7 @@ export default class Client extends OpenApi {
|
|
|
33382
33673
|
}
|
|
33383
33674
|
|
|
33384
33675
|
/**
|
|
33385
|
-
*
|
|
33676
|
+
* Capacity Planning
|
|
33386
33677
|
*
|
|
33387
33678
|
* @param request - CapacityPlanRequest
|
|
33388
33679
|
* @returns CapacityPlanResponse
|
|
@@ -33484,7 +33775,7 @@ export default class Client extends OpenApi {
|
|
|
33484
33775
|
}
|
|
33485
33776
|
|
|
33486
33777
|
/**
|
|
33487
|
-
*
|
|
33778
|
+
* Disable Managed Index
|
|
33488
33779
|
*
|
|
33489
33780
|
* @param request - CloseManagedIndexRequest
|
|
33490
33781
|
* @param headers - map
|
|
@@ -33517,7 +33808,7 @@ export default class Client extends OpenApi {
|
|
|
33517
33808
|
}
|
|
33518
33809
|
|
|
33519
33810
|
/**
|
|
33520
|
-
*
|
|
33811
|
+
* Disable Managed Index
|
|
33521
33812
|
*
|
|
33522
33813
|
* @param request - CloseManagedIndexRequest
|
|
33523
33814
|
* @returns CloseManagedIndexResponse
|
|
@@ -34056,7 +34347,7 @@ export default class Client extends OpenApi {
|
|
|
34056
34347
|
}
|
|
34057
34348
|
|
|
34058
34349
|
/**
|
|
34059
|
-
*
|
|
34350
|
+
* Invoke DeactivateZones to offline certain zones when there are multiple availability zones, and migrate nodes in the offline zones to other availability zones.
|
|
34060
34351
|
*
|
|
34061
34352
|
* @param request - DeactivateZonesRequest
|
|
34062
34353
|
* @param headers - map
|
|
@@ -34090,7 +34381,7 @@ export default class Client extends OpenApi {
|
|
|
34090
34381
|
}
|
|
34091
34382
|
|
|
34092
34383
|
/**
|
|
34093
|
-
*
|
|
34384
|
+
* Invoke DeactivateZones to offline certain zones when there are multiple availability zones, and migrate nodes in the offline zones to other availability zones.
|
|
34094
34385
|
*
|
|
34095
34386
|
* @param request - DeactivateZonesRequest
|
|
34096
34387
|
* @returns DeactivateZonesResponse
|
|
@@ -34699,7 +34990,7 @@ export default class Client extends OpenApi {
|
|
|
34699
34990
|
}
|
|
34700
34991
|
|
|
34701
34992
|
/**
|
|
34702
|
-
*
|
|
34993
|
+
* Describe APM
|
|
34703
34994
|
*
|
|
34704
34995
|
* @param headers - map
|
|
34705
34996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -34724,7 +35015,7 @@ export default class Client extends OpenApi {
|
|
|
34724
35015
|
}
|
|
34725
35016
|
|
|
34726
35017
|
/**
|
|
34727
|
-
*
|
|
35018
|
+
* Describe APM
|
|
34728
35019
|
* @returns DescribeApmResponse
|
|
34729
35020
|
*/
|
|
34730
35021
|
async describeApm(instanceId: string): Promise<DescribeApmResponse> {
|