@alicloud/elasticsearch20170613 1.0.12 → 1.0.13

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 CHANGED
@@ -4,6 +4,38 @@
4
4
  import * as $Util from '@alicloud/tea-util';
5
5
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
6
  import * as $tea from '@alicloud/tea-typescript';
7
+ export declare class Logstash extends $tea.Model {
8
+ config?: {
9
+ [key: string]: string;
10
+ };
11
+ createdAt?: string;
12
+ dataNode?: boolean;
13
+ description?: string;
14
+ endTime?: number;
15
+ endpointList?: LogstashEndpointList[];
16
+ instanceId?: string;
17
+ networkConfig?: LogstashNetworkConfig;
18
+ nodeAmount?: number;
19
+ nodeSpec?: LogstashNodeSpec;
20
+ paymentType?: string;
21
+ protocol?: string;
22
+ resourceGroupId?: string;
23
+ status?: string;
24
+ tags?: LogstashTags[];
25
+ updatedAt?: string;
26
+ version?: string;
27
+ zoneCount?: number;
28
+ zoneInfos?: LogstashZoneInfos[];
29
+ static names(): {
30
+ [key: string]: string;
31
+ };
32
+ static types(): {
33
+ [key: string]: any;
34
+ };
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
7
39
  export declare class ActivateZonesRequest extends $tea.Model {
8
40
  clientToken?: string;
9
41
  static names(): {
@@ -641,6 +673,13 @@ export declare class CreateIndexTemplateResponse extends $tea.Model {
641
673
  });
642
674
  }
643
675
  export declare class CreateLogstashRequest extends $tea.Model {
676
+ description?: string;
677
+ networkConfig?: CreateLogstashRequestNetworkConfig;
678
+ nodeAmount?: number;
679
+ nodeSpec?: CreateLogstashRequestNodeSpec;
680
+ paymentInfo?: CreateLogstashRequestPaymentInfo;
681
+ paymentType?: string;
682
+ version?: string;
644
683
  clientToken?: string;
645
684
  static names(): {
646
685
  [key: string]: string;
@@ -654,7 +693,7 @@ export declare class CreateLogstashRequest extends $tea.Model {
654
693
  }
655
694
  export declare class CreateLogstashResponseBody extends $tea.Model {
656
695
  requestId?: string;
657
- result?: CreateLogstashResponseBodyResult;
696
+ result?: Logstash;
658
697
  static names(): {
659
698
  [key: string]: string;
660
699
  };
@@ -3702,7 +3741,7 @@ export declare class ListLogstashRequest extends $tea.Model {
3702
3741
  export declare class ListLogstashResponseBody extends $tea.Model {
3703
3742
  headers?: ListLogstashResponseBodyHeaders;
3704
3743
  requestId?: string;
3705
- result?: ListLogstashResponseBodyResult[];
3744
+ result?: Logstash[];
3706
3745
  static names(): {
3707
3746
  [key: string]: string;
3708
3747
  };
@@ -4368,12 +4407,12 @@ export declare class ModifyInstanceMaintainTimeResponse extends $tea.Model {
4368
4407
  });
4369
4408
  }
4370
4409
  export declare class ModifyWhiteIpsRequest extends $tea.Model {
4371
- clientToken?: string;
4372
4410
  modifyMode?: string;
4373
4411
  networkType?: string;
4374
4412
  nodeType?: string;
4375
4413
  whiteIpGroup?: ModifyWhiteIpsRequestWhiteIpGroup;
4376
4414
  whiteIpList?: string[];
4415
+ clientToken?: string;
4377
4416
  static names(): {
4378
4417
  [key: string]: string;
4379
4418
  };
@@ -4413,6 +4452,7 @@ export declare class ModifyWhiteIpsResponse extends $tea.Model {
4413
4452
  });
4414
4453
  }
4415
4454
  export declare class MoveResourceGroupRequest extends $tea.Model {
4455
+ resourceGroupId?: string;
4416
4456
  clientToken?: string;
4417
4457
  static names(): {
4418
4458
  [key: string]: string;
@@ -5252,6 +5292,20 @@ export declare class StopPipelinesResponse extends $tea.Model {
5252
5292
  [key: string]: any;
5253
5293
  });
5254
5294
  }
5295
+ export declare class TagResourcesRequest extends $tea.Model {
5296
+ resourceIds?: string[];
5297
+ resourceType?: string;
5298
+ tags?: TagResourcesRequestTags[];
5299
+ static names(): {
5300
+ [key: string]: string;
5301
+ };
5302
+ static types(): {
5303
+ [key: string]: any;
5304
+ };
5305
+ constructor(map?: {
5306
+ [key: string]: any;
5307
+ });
5308
+ }
5255
5309
  export declare class TagResourcesResponseBody extends $tea.Model {
5256
5310
  requestId?: string;
5257
5311
  static names(): {
@@ -6377,6 +6431,9 @@ export declare class UpdateKibanaWhiteIpsResponse extends $tea.Model {
6377
6431
  });
6378
6432
  }
6379
6433
  export declare class UpdateLogstashRequest extends $tea.Model {
6434
+ description?: string;
6435
+ nodeAmount?: number;
6436
+ nodeSpec?: UpdateLogstashRequestNodeSpec;
6380
6437
  clientToken?: string;
6381
6438
  static names(): {
6382
6439
  [key: string]: string;
@@ -6389,7 +6446,7 @@ export declare class UpdateLogstashRequest extends $tea.Model {
6389
6446
  });
6390
6447
  }
6391
6448
  export declare class UpdateLogstashResponseBody extends $tea.Model {
6392
- requestId?: string;
6449
+ requestId?: Logstash;
6393
6450
  result?: boolean;
6394
6451
  static names(): {
6395
6452
  [key: string]: string;
@@ -6417,6 +6474,8 @@ export declare class UpdateLogstashResponse extends $tea.Model {
6417
6474
  });
6418
6475
  }
6419
6476
  export declare class UpdateLogstashChargeTypeRequest extends $tea.Model {
6477
+ paymentInfo?: UpdateLogstashChargeTypeRequestPaymentInfo;
6478
+ paymentType?: string;
6420
6479
  clientToken?: string;
6421
6480
  static names(): {
6422
6481
  [key: string]: string;
@@ -6429,7 +6488,7 @@ export declare class UpdateLogstashChargeTypeRequest extends $tea.Model {
6429
6488
  });
6430
6489
  }
6431
6490
  export declare class UpdateLogstashChargeTypeResponseBody extends $tea.Model {
6432
- requestId?: string;
6491
+ requestId?: Logstash;
6433
6492
  result?: boolean;
6434
6493
  static names(): {
6435
6494
  [key: string]: string;
@@ -6457,6 +6516,7 @@ export declare class UpdateLogstashChargeTypeResponse extends $tea.Model {
6457
6516
  });
6458
6517
  }
6459
6518
  export declare class UpdateLogstashDescriptionRequest extends $tea.Model {
6519
+ description?: string;
6460
6520
  clientToken?: string;
6461
6521
  static names(): {
6462
6522
  [key: string]: string;
@@ -6497,6 +6557,9 @@ export declare class UpdateLogstashDescriptionResponse extends $tea.Model {
6497
6557
  });
6498
6558
  }
6499
6559
  export declare class UpdateLogstashSettingsRequest extends $tea.Model {
6560
+ body?: {
6561
+ [key: string]: any;
6562
+ };
6500
6563
  clientToken?: string;
6501
6564
  static names(): {
6502
6565
  [key: string]: string;
@@ -6510,6 +6573,7 @@ export declare class UpdateLogstashSettingsRequest extends $tea.Model {
6510
6573
  }
6511
6574
  export declare class UpdateLogstashSettingsResponseBody extends $tea.Model {
6512
6575
  requestId?: string;
6576
+ result?: Logstash;
6513
6577
  static names(): {
6514
6578
  [key: string]: string;
6515
6579
  };
@@ -7214,6 +7278,75 @@ export declare class CreateInstanceResponse extends $tea.Model {
7214
7278
  [key: string]: any;
7215
7279
  });
7216
7280
  }
7281
+ export declare class LogstashEndpointList extends $tea.Model {
7282
+ host?: string;
7283
+ port?: number;
7284
+ zoneId?: string;
7285
+ static names(): {
7286
+ [key: string]: string;
7287
+ };
7288
+ static types(): {
7289
+ [key: string]: any;
7290
+ };
7291
+ constructor(map?: {
7292
+ [key: string]: any;
7293
+ });
7294
+ }
7295
+ export declare class LogstashNetworkConfig extends $tea.Model {
7296
+ type?: string;
7297
+ vpcId?: string;
7298
+ vsArea?: string;
7299
+ vswitchId?: string;
7300
+ static names(): {
7301
+ [key: string]: string;
7302
+ };
7303
+ static types(): {
7304
+ [key: string]: any;
7305
+ };
7306
+ constructor(map?: {
7307
+ [key: string]: any;
7308
+ });
7309
+ }
7310
+ export declare class LogstashNodeSpec extends $tea.Model {
7311
+ disk?: number;
7312
+ diskType?: string;
7313
+ spec?: string;
7314
+ static names(): {
7315
+ [key: string]: string;
7316
+ };
7317
+ static types(): {
7318
+ [key: string]: any;
7319
+ };
7320
+ constructor(map?: {
7321
+ [key: string]: any;
7322
+ });
7323
+ }
7324
+ export declare class LogstashTags extends $tea.Model {
7325
+ tagKey?: string;
7326
+ tagValue?: string;
7327
+ static names(): {
7328
+ [key: string]: string;
7329
+ };
7330
+ static types(): {
7331
+ [key: string]: any;
7332
+ };
7333
+ constructor(map?: {
7334
+ [key: string]: any;
7335
+ });
7336
+ }
7337
+ export declare class LogstashZoneInfos extends $tea.Model {
7338
+ status?: string;
7339
+ zoneId?: string;
7340
+ static names(): {
7341
+ [key: string]: string;
7342
+ };
7343
+ static types(): {
7344
+ [key: string]: any;
7345
+ };
7346
+ constructor(map?: {
7347
+ [key: string]: any;
7348
+ });
7349
+ }
7217
7350
  export declare class CapacityPlanRequestDataInfo extends $tea.Model {
7218
7351
  code?: string;
7219
7352
  size?: number;
@@ -7393,8 +7526,40 @@ export declare class CreateDataTasksResponseBodyResult extends $tea.Model {
7393
7526
  [key: string]: any;
7394
7527
  });
7395
7528
  }
7396
- export declare class CreateLogstashResponseBodyResult extends $tea.Model {
7397
- instanceId?: string;
7529
+ export declare class CreateLogstashRequestNetworkConfig extends $tea.Model {
7530
+ type?: string;
7531
+ vpcId?: string;
7532
+ vsArea?: string;
7533
+ vswitchId?: string;
7534
+ static names(): {
7535
+ [key: string]: string;
7536
+ };
7537
+ static types(): {
7538
+ [key: string]: any;
7539
+ };
7540
+ constructor(map?: {
7541
+ [key: string]: any;
7542
+ });
7543
+ }
7544
+ export declare class CreateLogstashRequestNodeSpec extends $tea.Model {
7545
+ disk?: number;
7546
+ diskType?: string;
7547
+ spec?: string;
7548
+ static names(): {
7549
+ [key: string]: string;
7550
+ };
7551
+ static types(): {
7552
+ [key: string]: any;
7553
+ };
7554
+ constructor(map?: {
7555
+ [key: string]: any;
7556
+ });
7557
+ }
7558
+ export declare class CreateLogstashRequestPaymentInfo extends $tea.Model {
7559
+ autoRenewDuration?: number;
7560
+ duration?: number;
7561
+ isAutoRenew?: boolean;
7562
+ pricingCycle?: string;
7398
7563
  static names(): {
7399
7564
  [key: string]: string;
7400
7565
  };
@@ -8882,19 +9047,6 @@ export declare class ListComponentIndicesResponseBodyHeaders extends $tea.Model
8882
9047
  [key: string]: any;
8883
9048
  });
8884
9049
  }
8885
- export declare class ListComponentIndicesResponseBodyResultContentMeta extends $tea.Model {
8886
- description?: string;
8887
- managed?: boolean;
8888
- static names(): {
8889
- [key: string]: string;
8890
- };
8891
- static types(): {
8892
- [key: string]: any;
8893
- };
8894
- constructor(map?: {
8895
- [key: string]: any;
8896
- });
8897
- }
8898
9050
  export declare class ListComponentIndicesResponseBodyResultContentTemplateSettingsIndexLifecycle extends $tea.Model {
8899
9051
  name?: string;
8900
9052
  static names(): {
@@ -8945,7 +9097,9 @@ export declare class ListComponentIndicesResponseBodyResultContentTemplate exten
8945
9097
  });
8946
9098
  }
8947
9099
  export declare class ListComponentIndicesResponseBodyResultContent extends $tea.Model {
8948
- meta?: ListComponentIndicesResponseBodyResultContentMeta;
9100
+ meta?: {
9101
+ [key: string]: any;
9102
+ };
8949
9103
  template?: ListComponentIndicesResponseBodyResultContentTemplate;
8950
9104
  version?: number;
8951
9105
  static names(): {
@@ -9681,71 +9835,6 @@ export declare class ListLogstashResponseBodyHeaders extends $tea.Model {
9681
9835
  [key: string]: any;
9682
9836
  });
9683
9837
  }
9684
- export declare class ListLogstashResponseBodyResultTags extends $tea.Model {
9685
- tagKey?: string;
9686
- tagValue?: string;
9687
- static names(): {
9688
- [key: string]: string;
9689
- };
9690
- static types(): {
9691
- [key: string]: any;
9692
- };
9693
- constructor(map?: {
9694
- [key: string]: any;
9695
- });
9696
- }
9697
- export declare class ListLogstashResponseBodyResultNetworkConfig extends $tea.Model {
9698
- type?: string;
9699
- vpcId?: string;
9700
- vsArea?: string;
9701
- vswitchId?: string;
9702
- static names(): {
9703
- [key: string]: string;
9704
- };
9705
- static types(): {
9706
- [key: string]: any;
9707
- };
9708
- constructor(map?: {
9709
- [key: string]: any;
9710
- });
9711
- }
9712
- export declare class ListLogstashResponseBodyResultNodeSpec extends $tea.Model {
9713
- disk?: number;
9714
- diskEncryption?: boolean;
9715
- diskType?: string;
9716
- spec?: string;
9717
- static names(): {
9718
- [key: string]: string;
9719
- };
9720
- static types(): {
9721
- [key: string]: any;
9722
- };
9723
- constructor(map?: {
9724
- [key: string]: any;
9725
- });
9726
- }
9727
- export declare class ListLogstashResponseBodyResult extends $tea.Model {
9728
- tags?: ListLogstashResponseBodyResultTags[];
9729
- createdAt?: string;
9730
- description?: string;
9731
- instanceId?: string;
9732
- networkConfig?: ListLogstashResponseBodyResultNetworkConfig;
9733
- nodeAmount?: number;
9734
- nodeSpec?: ListLogstashResponseBodyResultNodeSpec;
9735
- paymentType?: string;
9736
- status?: string;
9737
- updatedAt?: string;
9738
- version?: string;
9739
- static names(): {
9740
- [key: string]: string;
9741
- };
9742
- static types(): {
9743
- [key: string]: any;
9744
- };
9745
- constructor(map?: {
9746
- [key: string]: any;
9747
- });
9748
- }
9749
9838
  export declare class ListLogstashLogResponseBodyResult extends $tea.Model {
9750
9839
  content?: string;
9751
9840
  host?: string;
@@ -10355,6 +10444,19 @@ export declare class RestartInstanceResponseBodyResult extends $tea.Model {
10355
10444
  [key: string]: any;
10356
10445
  });
10357
10446
  }
10447
+ export declare class TagResourcesRequestTags extends $tea.Model {
10448
+ key?: string;
10449
+ value?: string;
10450
+ static names(): {
10451
+ [key: string]: string;
10452
+ };
10453
+ static types(): {
10454
+ [key: string]: any;
10455
+ };
10456
+ constructor(map?: {
10457
+ [key: string]: any;
10458
+ });
10459
+ }
10358
10460
  export declare class UpdateAliwsDictResponseBodyResult extends $tea.Model {
10359
10461
  fileSize?: number;
10360
10462
  name?: string;
@@ -10740,6 +10842,33 @@ export declare class UpdateKibanaWhiteIpsResponseBodyResult extends $tea.Model {
10740
10842
  [key: string]: any;
10741
10843
  });
10742
10844
  }
10845
+ export declare class UpdateLogstashRequestNodeSpec extends $tea.Model {
10846
+ disk?: number;
10847
+ diskType?: string;
10848
+ spec?: string;
10849
+ static names(): {
10850
+ [key: string]: string;
10851
+ };
10852
+ static types(): {
10853
+ [key: string]: any;
10854
+ };
10855
+ constructor(map?: {
10856
+ [key: string]: any;
10857
+ });
10858
+ }
10859
+ export declare class UpdateLogstashChargeTypeRequestPaymentInfo extends $tea.Model {
10860
+ duration?: number;
10861
+ pricingCycle?: string;
10862
+ static names(): {
10863
+ [key: string]: string;
10864
+ };
10865
+ static types(): {
10866
+ [key: string]: any;
10867
+ };
10868
+ constructor(map?: {
10869
+ [key: string]: any;
10870
+ });
10871
+ }
10743
10872
  export declare class UpdateLogstashDescriptionResponseBodyResult extends $tea.Model {
10744
10873
  description?: string;
10745
10874
  static names(): {
@@ -11470,8 +11599,8 @@ export default class Client extends OpenApi {
11470
11599
  stopPipelinesWithOptions(InstanceId: string, request: StopPipelinesRequest, headers: {
11471
11600
  [key: string]: string;
11472
11601
  }, runtime: $Util.RuntimeOptions): Promise<StopPipelinesResponse>;
11473
- tagResources(): Promise<TagResourcesResponse>;
11474
- tagResourcesWithOptions(headers: {
11602
+ tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
11603
+ tagResourcesWithOptions(request: TagResourcesRequest, headers: {
11475
11604
  [key: string]: string;
11476
11605
  }, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
11477
11606
  transferNode(InstanceId: string, request: TransferNodeRequest): Promise<TransferNodeResponse>;