tencentcloud-sdk-nodejs-intl-en 3.0.1382 → 3.0.1383

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.
@@ -142,6 +142,53 @@ class LocalDiskInfo extends AbstractModel {
142
142
  }
143
143
  }
144
144
 
145
+ /**
146
+ * ModifyAutoBackUpStrategy request structure.
147
+ * @class
148
+ */
149
+ class ModifyAutoBackUpStrategyRequest extends AbstractModel {
150
+ constructor(){
151
+ super();
152
+
153
+ /**
154
+ * Instance name.
155
+ * @type {string || null}
156
+ */
157
+ this.InstanceId = null;
158
+
159
+ /**
160
+ * Current policy name.
161
+ * @type {string || null}
162
+ */
163
+ this.StrategyName = null;
164
+
165
+ /**
166
+ * Policy information.
167
+ * @type {CosBackup || null}
168
+ */
169
+ this.CosBackup = null;
170
+
171
+ }
172
+
173
+ /**
174
+ * @private
175
+ */
176
+ deserialize(params) {
177
+ if (!params) {
178
+ return;
179
+ }
180
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
181
+ this.StrategyName = 'StrategyName' in params ? params.StrategyName : null;
182
+
183
+ if (params.CosBackup) {
184
+ let obj = new CosBackup();
185
+ obj.deserialize(params.CosBackup)
186
+ this.CosBackup = obj;
187
+ }
188
+
189
+ }
190
+ }
191
+
145
192
  /**
146
193
  * Index lifecycle policy field
147
194
  * @class
@@ -330,15 +377,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
330
377
  }
331
378
 
332
379
  /**
333
- * UpgradeInstance response structure.
380
+ * UpdateIndex response structure.
334
381
  * @class
335
382
  */
336
- class UpgradeInstanceResponse extends AbstractModel {
383
+ class UpdateIndexResponse extends AbstractModel {
337
384
  constructor(){
338
385
  super();
339
386
 
340
387
  /**
341
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
388
+ * 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.
342
389
  * @type {string || null}
343
390
  */
344
391
  this.RequestId = null;
@@ -358,25 +405,18 @@ class UpgradeInstanceResponse extends AbstractModel {
358
405
  }
359
406
 
360
407
  /**
361
- * DescribeIndexMeta response structure.
408
+ * DescribeAutoBackUpStrategy request structure.
362
409
  * @class
363
410
  */
364
- class DescribeIndexMetaResponse extends AbstractModel {
411
+ class DescribeAutoBackUpStrategyRequest extends AbstractModel {
365
412
  constructor(){
366
413
  super();
367
414
 
368
415
  /**
369
- * Index metadata field
370
- Note: This field may return `null`, indicating that no valid value can be obtained.
371
- * @type {IndexMetaField || null}
372
- */
373
- this.IndexMetaField = null;
374
-
375
- /**
376
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
416
+ * Instance name.
377
417
  * @type {string || null}
378
418
  */
379
- this.RequestId = null;
419
+ this.InstanceId = null;
380
420
 
381
421
  }
382
422
 
@@ -387,34 +427,28 @@ Note: This field may return `null`, indicating that no valid value can be obtain
387
427
  if (!params) {
388
428
  return;
389
429
  }
390
-
391
- if (params.IndexMetaField) {
392
- let obj = new IndexMetaField();
393
- obj.deserialize(params.IndexMetaField)
394
- this.IndexMetaField = obj;
395
- }
396
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
430
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
397
431
 
398
432
  }
399
433
  }
400
434
 
401
435
  /**
402
- * UpdateInstance response structure.
436
+ * DescribeIndexMeta response structure.
403
437
  * @class
404
438
  */
405
- class UpdateInstanceResponse extends AbstractModel {
439
+ class DescribeIndexMetaResponse extends AbstractModel {
406
440
  constructor(){
407
441
  super();
408
442
 
409
443
  /**
410
- * Order ID
411
- Note: This field may return `null`, indicating that no valid value was found.
412
- * @type {string || null}
444
+ * Index metadata field
445
+ Note: This field may return `null`, indicating that no valid value can be obtained.
446
+ * @type {IndexMetaField || null}
413
447
  */
414
- this.DealName = null;
448
+ this.IndexMetaField = null;
415
449
 
416
450
  /**
417
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
451
+ * 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.
418
452
  * @type {string || null}
419
453
  */
420
454
  this.RequestId = null;
@@ -428,75 +462,31 @@ Note: This field may return `null`, indicating that no valid value was found.
428
462
  if (!params) {
429
463
  return;
430
464
  }
431
- this.DealName = 'DealName' in params ? params.DealName : null;
465
+
466
+ if (params.IndexMetaField) {
467
+ let obj = new IndexMetaField();
468
+ obj.deserialize(params.IndexMetaField)
469
+ this.IndexMetaField = obj;
470
+ }
432
471
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
433
472
 
434
473
  }
435
474
  }
436
475
 
437
476
  /**
438
- * DescribeInstanceOperations request structure.
477
+ * UpdateInstance response structure.
439
478
  * @class
440
479
  */
441
- class DescribeInstanceOperationsRequest extends AbstractModel {
480
+ class UpdateInstanceResponse extends AbstractModel {
442
481
  constructor(){
443
482
  super();
444
483
 
445
484
  /**
446
- * Cluster instance ID
447
- * @type {string || null}
448
- */
449
- this.InstanceId = null;
450
-
451
- /**
452
- * Start time, such as "2019-03-07 16:30:39"
453
- * @type {string || null}
454
- */
455
- this.StartTime = null;
456
-
457
- /**
458
- * End time, such as "2019-03-30 20:18:03"
485
+ * Order ID
486
+ Note: This field may return `null`, indicating that no valid value was found.
459
487
  * @type {string || null}
460
488
  */
461
- this.EndTime = null;
462
-
463
- /**
464
- * Pagination start value
465
- * @type {number || null}
466
- */
467
- this.Offset = null;
468
-
469
- /**
470
- * Number of entries per page
471
- * @type {number || null}
472
- */
473
- this.Limit = null;
474
-
475
- }
476
-
477
- /**
478
- * @private
479
- */
480
- deserialize(params) {
481
- if (!params) {
482
- return;
483
- }
484
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
485
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
486
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
487
- this.Offset = 'Offset' in params ? params.Offset : null;
488
- this.Limit = 'Limit' in params ? params.Limit : null;
489
-
490
- }
491
- }
492
-
493
- /**
494
- * CreateIndex response structure.
495
- * @class
496
- */
497
- class CreateIndexResponse extends AbstractModel {
498
- constructor(){
499
- super();
489
+ this.DealName = null;
500
490
 
501
491
  /**
502
492
  * 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.
@@ -513,6 +503,7 @@ class CreateIndexResponse extends AbstractModel {
513
503
  if (!params) {
514
504
  return;
515
505
  }
506
+ this.DealName = 'DealName' in params ? params.DealName : null;
516
507
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
517
508
 
518
509
  }
@@ -570,159 +561,146 @@ class OperationDetail extends AbstractModel {
570
561
  }
571
562
 
572
563
  /**
573
- * Kibana view data
564
+ * Cluster view data
574
565
  * @class
575
566
  */
576
- class KibanaView extends AbstractModel {
567
+ class ClusterView extends AbstractModel {
577
568
  constructor(){
578
569
  super();
579
570
 
580
571
  /**
581
- * Kibana node IP
582
- * @type {string || null}
572
+ * Cluster health status
573
+ * @type {number || null}
583
574
  */
584
- this.Ip = null;
575
+ this.Health = null;
585
576
 
586
577
  /**
587
- * Node disk size
578
+ * Whether the cluster is visible
588
579
  * @type {number || null}
589
580
  */
590
- this.DiskSize = null;
581
+ this.Visible = null;
591
582
 
592
583
  /**
593
- * Disk usage
584
+ * Whether the cluster encounters circuit breaking
594
585
  * @type {number || null}
595
586
  */
596
- this.DiskUsage = null;
587
+ this.Break = null;
597
588
 
598
589
  /**
599
- * Node memory size
590
+ * Average disk usage
600
591
  * @type {number || null}
601
592
  */
602
- this.MemSize = null;
593
+ this.AvgDiskUsage = null;
603
594
 
604
595
  /**
605
- * Memory usage
596
+ * Average memory usage
606
597
  * @type {number || null}
607
598
  */
608
- this.MemUsage = null;
599
+ this.AvgMemUsage = null;
609
600
 
610
601
  /**
611
- * Number of node CPUs
602
+ * Average CPU usage
612
603
  * @type {number || null}
613
604
  */
614
- this.CpuNum = null;
605
+ this.AvgCpuUsage = null;
615
606
 
616
607
  /**
617
- * CPU usage
608
+ * Total disk size of the cluster
618
609
  * @type {number || null}
619
610
  */
620
- this.CpuUsage = null;
611
+ this.TotalDiskSize = null;
621
612
 
622
613
  /**
623
- * Availability zone
624
- * @type {string || null}
614
+ * Types of nodes to receive client requests
615
+ * @type {Array.<string> || null}
625
616
  */
626
- this.Zone = null;
617
+ this.TargetNodeTypes = null;
627
618
 
628
- }
619
+ /**
620
+ * Number of online nodes
621
+ * @type {number || null}
622
+ */
623
+ this.NodeNum = null;
629
624
 
630
- /**
631
- * @private
632
- */
633
- deserialize(params) {
634
- if (!params) {
635
- return;
636
- }
637
- this.Ip = 'Ip' in params ? params.Ip : null;
638
- this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
639
- this.DiskUsage = 'DiskUsage' in params ? params.DiskUsage : null;
640
- this.MemSize = 'MemSize' in params ? params.MemSize : null;
641
- this.MemUsage = 'MemUsage' in params ? params.MemUsage : null;
642
- this.CpuNum = 'CpuNum' in params ? params.CpuNum : null;
643
- this.CpuUsage = 'CpuUsage' in params ? params.CpuUsage : null;
644
- this.Zone = 'Zone' in params ? params.Zone : null;
625
+ /**
626
+ * Total number of nodes
627
+ * @type {number || null}
628
+ */
629
+ this.TotalNodeNum = null;
645
630
 
646
- }
647
- }
631
+ /**
632
+ * Number of data nodes
633
+ * @type {number || null}
634
+ */
635
+ this.DataNodeNum = null;
648
636
 
649
- /**
650
- * Public network ACL information of ES
651
- * @class
652
- */
653
- class EsPublicAcl extends AbstractModel {
654
- constructor(){
655
- super();
637
+ /**
638
+ * Number of indices
639
+ * @type {number || null}
640
+ */
641
+ this.IndexNum = null;
656
642
 
657
643
  /**
658
- * Access blocklist
659
- * @type {Array.<string> || null}
644
+ * Number of documents
645
+ * @type {number || null}
660
646
  */
661
- this.BlackIpList = null;
647
+ this.DocNum = null;
662
648
 
663
649
  /**
664
- * Access allowlist
665
- * @type {Array.<string> || null}
650
+ * Used disk size (in bytes)
651
+ * @type {number || null}
666
652
  */
667
- this.WhiteIpList = null;
653
+ this.DiskUsedInBytes = null;
668
654
 
669
- }
655
+ /**
656
+ * Number of shards
657
+ * @type {number || null}
658
+ */
659
+ this.ShardNum = null;
670
660
 
671
- /**
672
- * @private
673
- */
674
- deserialize(params) {
675
- if (!params) {
676
- return;
677
- }
678
- this.BlackIpList = 'BlackIpList' in params ? params.BlackIpList : null;
679
- this.WhiteIpList = 'WhiteIpList' in params ? params.WhiteIpList : null;
680
-
681
- }
682
- }
661
+ /**
662
+ * Number of primary shards
663
+ * @type {number || null}
664
+ */
665
+ this.PrimaryShardNum = null;
683
666
 
684
- /**
685
- * Backing index metadata fields
686
- * @class
687
- */
688
- class BackingIndexMetaField extends AbstractModel {
689
- constructor(){
690
- super();
667
+ /**
668
+ * Number of relocating shards
669
+ * @type {number || null}
670
+ */
671
+ this.RelocatingShardNum = null;
691
672
 
692
673
  /**
693
- * Backing index name
694
- Note: This field may return `null`, indicating that no valid value can be obtained.
695
- * @type {string || null}
674
+ * Number of initializing shards
675
+ * @type {number || null}
696
676
  */
697
- this.IndexName = null;
677
+ this.InitializingShardNum = null;
698
678
 
699
679
  /**
700
- * Backing index status
701
- Note: This field may return `null`, indicating that no valid value can be obtained.
702
- * @type {string || null}
680
+ * Number of unassigned shards
681
+ * @type {number || null}
703
682
  */
704
- this.IndexStatus = null;
683
+ this.UnassignedShardNum = null;
705
684
 
706
685
  /**
707
- * Backing index size
708
- Note: This field may return `null`, indicating that no valid value can be obtained.
686
+ * Total COS storage of an enterprise cluster, in GB
709
687
  * @type {number || null}
710
688
  */
711
- this.IndexStorage = null;
689
+ this.TotalCosStorage = null;
712
690
 
713
691
  /**
714
- * Current lifecycle phase of backing index
715
- Note: This field may return `null`, indicating that no valid value can be obtained.
692
+ * Name of the COS bucket that stores searchable snapshots of an enterprise cluster
693
+ Note: This field may return `null`, indicating that no valid value was found.
716
694
  * @type {string || null}
717
695
  */
718
- this.IndexPhrase = null;
696
+ this.SearchableSnapshotCosBucket = null;
719
697
 
720
698
  /**
721
- * Backing index creation time
722
- Note: This field may return `null`, indicating that no valid value can be obtained.
699
+ * COS app ID of the searchable snapshots of an enterprise cluster
700
+ Note: This field may return `null`, indicating that no valid value was found.
723
701
  * @type {string || null}
724
702
  */
725
- this.IndexCreateTime = null;
703
+ this.SearchableSnapshotCosAppId = null;
726
704
 
727
705
  }
728
706
 
@@ -733,40 +711,51 @@ Note: This field may return `null`, indicating that no valid value can be obtain
733
711
  if (!params) {
734
712
  return;
735
713
  }
736
- this.IndexName = 'IndexName' in params ? params.IndexName : null;
737
- this.IndexStatus = 'IndexStatus' in params ? params.IndexStatus : null;
738
- this.IndexStorage = 'IndexStorage' in params ? params.IndexStorage : null;
739
- this.IndexPhrase = 'IndexPhrase' in params ? params.IndexPhrase : null;
740
- this.IndexCreateTime = 'IndexCreateTime' in params ? params.IndexCreateTime : null;
714
+ this.Health = 'Health' in params ? params.Health : null;
715
+ this.Visible = 'Visible' in params ? params.Visible : null;
716
+ this.Break = 'Break' in params ? params.Break : null;
717
+ this.AvgDiskUsage = 'AvgDiskUsage' in params ? params.AvgDiskUsage : null;
718
+ this.AvgMemUsage = 'AvgMemUsage' in params ? params.AvgMemUsage : null;
719
+ this.AvgCpuUsage = 'AvgCpuUsage' in params ? params.AvgCpuUsage : null;
720
+ this.TotalDiskSize = 'TotalDiskSize' in params ? params.TotalDiskSize : null;
721
+ this.TargetNodeTypes = 'TargetNodeTypes' in params ? params.TargetNodeTypes : null;
722
+ this.NodeNum = 'NodeNum' in params ? params.NodeNum : null;
723
+ this.TotalNodeNum = 'TotalNodeNum' in params ? params.TotalNodeNum : null;
724
+ this.DataNodeNum = 'DataNodeNum' in params ? params.DataNodeNum : null;
725
+ this.IndexNum = 'IndexNum' in params ? params.IndexNum : null;
726
+ this.DocNum = 'DocNum' in params ? params.DocNum : null;
727
+ this.DiskUsedInBytes = 'DiskUsedInBytes' in params ? params.DiskUsedInBytes : null;
728
+ this.ShardNum = 'ShardNum' in params ? params.ShardNum : null;
729
+ this.PrimaryShardNum = 'PrimaryShardNum' in params ? params.PrimaryShardNum : null;
730
+ this.RelocatingShardNum = 'RelocatingShardNum' in params ? params.RelocatingShardNum : null;
731
+ this.InitializingShardNum = 'InitializingShardNum' in params ? params.InitializingShardNum : null;
732
+ this.UnassignedShardNum = 'UnassignedShardNum' in params ? params.UnassignedShardNum : null;
733
+ this.TotalCosStorage = 'TotalCosStorage' in params ? params.TotalCosStorage : null;
734
+ this.SearchableSnapshotCosBucket = 'SearchableSnapshotCosBucket' in params ? params.SearchableSnapshotCosBucket : null;
735
+ this.SearchableSnapshotCosAppId = 'SearchableSnapshotCosAppId' in params ? params.SearchableSnapshotCosAppId : null;
741
736
 
742
737
  }
743
738
  }
744
739
 
745
740
  /**
746
- * Information of the IK plugin dictionary
741
+ * Instance tag information
747
742
  * @class
748
743
  */
749
- class DictInfo extends AbstractModel {
744
+ class TagInfo extends AbstractModel {
750
745
  constructor(){
751
746
  super();
752
747
 
753
748
  /**
754
- * Dictionary key value
749
+ * Tag key
755
750
  * @type {string || null}
756
751
  */
757
- this.Key = null;
752
+ this.TagKey = null;
758
753
 
759
754
  /**
760
- * Dictionary name
755
+ * Tag value
761
756
  * @type {string || null}
762
757
  */
763
- this.Name = null;
764
-
765
- /**
766
- * Dictionary size in B
767
- * @type {number || null}
768
- */
769
- this.Size = null;
758
+ this.TagValue = null;
770
759
 
771
760
  }
772
761
 
@@ -777,23 +766,22 @@ class DictInfo extends AbstractModel {
777
766
  if (!params) {
778
767
  return;
779
768
  }
780
- this.Key = 'Key' in params ? params.Key : null;
781
- this.Name = 'Name' in params ? params.Name : null;
782
- this.Size = 'Size' in params ? params.Size : null;
769
+ this.TagKey = 'TagKey' in params ? params.TagKey : null;
770
+ this.TagValue = 'TagValue' in params ? params.TagValue : null;
783
771
 
784
772
  }
785
773
  }
786
774
 
787
775
  /**
788
- * RestartInstance response structure.
776
+ * CreateIndex response structure.
789
777
  * @class
790
778
  */
791
- class RestartInstanceResponse extends AbstractModel {
779
+ class CreateIndexResponse extends AbstractModel {
792
780
  constructor(){
793
781
  super();
794
782
 
795
783
  /**
796
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
784
+ * 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.
797
785
  * @type {string || null}
798
786
  */
799
787
  this.RequestId = null;
@@ -813,19 +801,25 @@ class RestartInstanceResponse extends AbstractModel {
813
801
  }
814
802
 
815
803
  /**
816
- * RestartKibana request structure.
804
+ * DeleteAutoBackUpStrategy request structure.
817
805
  * @class
818
806
  */
819
- class RestartKibanaRequest extends AbstractModel {
807
+ class DeleteAutoBackUpStrategyRequest extends AbstractModel {
820
808
  constructor(){
821
809
  super();
822
810
 
823
811
  /**
824
- * ES instance ID
812
+ * Instance name.
825
813
  * @type {string || null}
826
814
  */
827
815
  this.InstanceId = null;
828
816
 
817
+ /**
818
+ * Policy name.
819
+ * @type {Array.<string> || null}
820
+ */
821
+ this.StrategyName = null;
822
+
829
823
  }
830
824
 
831
825
  /**
@@ -836,36 +830,66 @@ class RestartKibanaRequest extends AbstractModel {
836
830
  return;
837
831
  }
838
832
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
833
+ this.StrategyName = 'StrategyName' in params ? params.StrategyName : null;
839
834
 
840
835
  }
841
836
  }
842
837
 
843
838
  /**
844
- * CreateInstance response structure.
839
+ * Kibana view data
845
840
  * @class
846
841
  */
847
- class CreateInstanceResponse extends AbstractModel {
842
+ class KibanaView extends AbstractModel {
848
843
  constructor(){
849
844
  super();
850
845
 
851
846
  /**
852
- * Instance ID
847
+ * Kibana node IP
853
848
  * @type {string || null}
854
849
  */
855
- this.InstanceId = null;
850
+ this.Ip = null;
856
851
 
857
852
  /**
858
- * Order ID
859
- Note: This field may return `null`, indicating that no valid value was found.
860
- * @type {string || null}
853
+ * Node disk size
854
+ * @type {number || null}
861
855
  */
862
- this.DealName = null;
856
+ this.DiskSize = null;
863
857
 
864
858
  /**
865
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
859
+ * Disk usage
860
+ * @type {number || null}
861
+ */
862
+ this.DiskUsage = null;
863
+
864
+ /**
865
+ * Node memory size
866
+ * @type {number || null}
867
+ */
868
+ this.MemSize = null;
869
+
870
+ /**
871
+ * Memory usage
872
+ * @type {number || null}
873
+ */
874
+ this.MemUsage = null;
875
+
876
+ /**
877
+ * Number of node CPUs
878
+ * @type {number || null}
879
+ */
880
+ this.CpuNum = null;
881
+
882
+ /**
883
+ * CPU usage
884
+ * @type {number || null}
885
+ */
886
+ this.CpuUsage = null;
887
+
888
+ /**
889
+ * Availability zone
866
890
  * @type {string || null}
867
891
  */
868
- this.RequestId = null;
892
+ this.Zone = null;
869
893
 
870
894
  }
871
895
 
@@ -876,41 +900,37 @@ Note: This field may return `null`, indicating that no valid value was found.
876
900
  if (!params) {
877
901
  return;
878
902
  }
879
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
880
- this.DealName = 'DealName' in params ? params.DealName : null;
881
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
903
+ this.Ip = 'Ip' in params ? params.Ip : null;
904
+ this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
905
+ this.DiskUsage = 'DiskUsage' in params ? params.DiskUsage : null;
906
+ this.MemSize = 'MemSize' in params ? params.MemSize : null;
907
+ this.MemUsage = 'MemUsage' in params ? params.MemUsage : null;
908
+ this.CpuNum = 'CpuNum' in params ? params.CpuNum : null;
909
+ this.CpuUsage = 'CpuUsage' in params ? params.CpuUsage : null;
910
+ this.Zone = 'Zone' in params ? params.Zone : null;
882
911
 
883
912
  }
884
913
  }
885
914
 
886
915
  /**
887
- * Index configuration fields
916
+ * Public network ACL information of ES
888
917
  * @class
889
918
  */
890
- class IndexSettingsField extends AbstractModel {
919
+ class EsPublicAcl extends AbstractModel {
891
920
  constructor(){
892
921
  super();
893
922
 
894
923
  /**
895
- * Number of primary shards
896
- Note: This field may return `null`, indicating that no valid value can be obtained.
897
- * @type {string || null}
898
- */
899
- this.NumberOfShards = null;
900
-
901
- /**
902
- * Number of replica shards
903
- Note: This field may return `null`, indicating that no valid value can be obtained.
904
- * @type {string || null}
924
+ * Access blocklist
925
+ * @type {Array.<string> || null}
905
926
  */
906
- this.NumberOfReplicas = null;
927
+ this.BlackIpList = null;
907
928
 
908
929
  /**
909
- * Index refresh interval
910
- Note: This field may return `null`, indicating that no valid value can be obtained.
911
- * @type {string || null}
930
+ * Access allowlist
931
+ * @type {Array.<string> || null}
912
932
  */
913
- this.RefreshInterval = null;
933
+ this.WhiteIpList = null;
914
934
 
915
935
  }
916
936
 
@@ -921,76 +941,56 @@ Note: This field may return `null`, indicating that no valid value can be obtain
921
941
  if (!params) {
922
942
  return;
923
943
  }
924
- this.NumberOfShards = 'NumberOfShards' in params ? params.NumberOfShards : null;
925
- this.NumberOfReplicas = 'NumberOfReplicas' in params ? params.NumberOfReplicas : null;
926
- this.RefreshInterval = 'RefreshInterval' in params ? params.RefreshInterval : null;
944
+ this.BlackIpList = 'BlackIpList' in params ? params.BlackIpList : null;
945
+ this.WhiteIpList = 'WhiteIpList' in params ? params.WhiteIpList : null;
927
946
 
928
947
  }
929
948
  }
930
949
 
931
950
  /**
932
- * DescribeInstanceLogs request structure.
951
+ * Backing index metadata fields
933
952
  * @class
934
953
  */
935
- class DescribeInstanceLogsRequest extends AbstractModel {
954
+ class BackingIndexMetaField extends AbstractModel {
936
955
  constructor(){
937
956
  super();
938
957
 
939
958
  /**
940
- * Cluster instance ID
959
+ * Backing index name
960
+ Note: This field may return `null`, indicating that no valid value can be obtained.
941
961
  * @type {string || null}
942
962
  */
943
- this.InstanceId = null;
944
-
945
- /**
946
- * Log type. Default value: 1
947
- <li>1: primary log</li>
948
- <li>2: search slow log</li>
949
- <li>3: index slow log</li>
950
- <li>4: GC log</li>
951
- * @type {number || null}
952
- */
953
- this.LogType = null;
963
+ this.IndexName = null;
954
964
 
955
965
  /**
956
- * Search keyword, which supports LUCENE syntax, such as `level:WARN`, `ip:1.1.1.1`, and `message:test-index`
966
+ * Backing index status
967
+ Note: This field may return `null`, indicating that no valid value can be obtained.
957
968
  * @type {string || null}
958
969
  */
959
- this.SearchKey = null;
970
+ this.IndexStatus = null;
960
971
 
961
972
  /**
962
- * Log start time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53
963
- * @type {string || null}
973
+ * Backing index size
974
+ Note: This field may return `null`, indicating that no valid value can be obtained.
975
+ * @type {number || null}
964
976
  */
965
- this.StartTime = null;
977
+ this.IndexStorage = null;
966
978
 
967
979
  /**
968
- * Log end time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53
980
+ * Current lifecycle phase of backing index
981
+ Note: This field may return `null`, indicating that no valid value can be obtained.
969
982
  * @type {string || null}
970
983
  */
971
- this.EndTime = null;
984
+ this.IndexPhrase = null;
972
985
 
973
986
  /**
974
- * Pagination start value. Default value: 0
975
- * @type {number || null}
987
+ * Backing index creation time
988
+ Note: This field may return `null`, indicating that no valid value can be obtained.
989
+ * @type {string || null}
976
990
  */
977
- this.Offset = null;
991
+ this.IndexCreateTime = null;
978
992
 
979
- /**
980
- * Number of entries per page. Default value: 100. Maximum value: 100
981
- * @type {number || null}
982
- */
983
- this.Limit = null;
984
-
985
- /**
986
- * Time sorting order. Default value: 0
987
- <li>0: descending</li>
988
- <li>1: ascending</li>
989
- * @type {number || null}
990
- */
991
- this.OrderByType = null;
992
-
993
- }
993
+ }
994
994
 
995
995
  /**
996
996
  * @private
@@ -999,67 +999,70 @@ class DescribeInstanceLogsRequest extends AbstractModel {
999
999
  if (!params) {
1000
1000
  return;
1001
1001
  }
1002
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1003
- this.LogType = 'LogType' in params ? params.LogType : null;
1004
- this.SearchKey = 'SearchKey' in params ? params.SearchKey : null;
1005
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
1006
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
1007
- this.Offset = 'Offset' in params ? params.Offset : null;
1008
- this.Limit = 'Limit' in params ? params.Limit : null;
1009
- this.OrderByType = 'OrderByType' in params ? params.OrderByType : null;
1002
+ this.IndexName = 'IndexName' in params ? params.IndexName : null;
1003
+ this.IndexStatus = 'IndexStatus' in params ? params.IndexStatus : null;
1004
+ this.IndexStorage = 'IndexStorage' in params ? params.IndexStorage : null;
1005
+ this.IndexPhrase = 'IndexPhrase' in params ? params.IndexPhrase : null;
1006
+ this.IndexCreateTime = 'IndexCreateTime' in params ? params.IndexCreateTime : null;
1010
1007
 
1011
1008
  }
1012
1009
  }
1013
1010
 
1014
1011
  /**
1015
- * UpdateDictionaries request structure.
1012
+ * Information of the IK plugin dictionary
1016
1013
  * @class
1017
1014
  */
1018
- class UpdateDictionariesRequest extends AbstractModel {
1015
+ class DictInfo extends AbstractModel {
1019
1016
  constructor(){
1020
1017
  super();
1021
1018
 
1022
1019
  /**
1023
- * ES instance ID
1020
+ * Dictionary key value
1024
1021
  * @type {string || null}
1025
1022
  */
1026
- this.InstanceId = null;
1023
+ this.Key = null;
1027
1024
 
1028
1025
  /**
1029
- * COS address of the main dictionary for the IK analyzer
1030
- * @type {Array.<string> || null}
1026
+ * Dictionary name
1027
+ * @type {string || null}
1031
1028
  */
1032
- this.IkMainDicts = null;
1029
+ this.Name = null;
1033
1030
 
1034
1031
  /**
1035
- * COS address of the stopword dictionary for the IK analyzer
1036
- * @type {Array.<string> || null}
1032
+ * Dictionary size in B
1033
+ * @type {number || null}
1037
1034
  */
1038
- this.IkStopwords = null;
1035
+ this.Size = null;
1039
1036
 
1040
- /**
1041
- * COS address of the synonym dictionary
1042
- * @type {Array.<string> || null}
1043
- */
1044
- this.Synonym = null;
1037
+ }
1045
1038
 
1046
- /**
1047
- * COS address of the QQ dictionary
1048
- * @type {Array.<string> || null}
1049
- */
1050
- this.QQDict = null;
1039
+ /**
1040
+ * @private
1041
+ */
1042
+ deserialize(params) {
1043
+ if (!params) {
1044
+ return;
1045
+ }
1046
+ this.Key = 'Key' in params ? params.Key : null;
1047
+ this.Name = 'Name' in params ? params.Name : null;
1048
+ this.Size = 'Size' in params ? params.Size : null;
1051
1049
 
1052
- /**
1053
- * `0` (default): Install, `1`: Delete
1054
- * @type {number || null}
1055
- */
1056
- this.UpdateType = null;
1050
+ }
1051
+ }
1052
+
1053
+ /**
1054
+ * RestartInstance response structure.
1055
+ * @class
1056
+ */
1057
+ class RestartInstanceResponse extends AbstractModel {
1058
+ constructor(){
1059
+ super();
1057
1060
 
1058
1061
  /**
1059
- * Whether to force restart the cluster. The default value is `false`.
1060
- * @type {boolean || null}
1062
+ * 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.
1063
+ * @type {string || null}
1061
1064
  */
1062
- this.ForceRestart = null;
1065
+ this.RequestId = null;
1063
1066
 
1064
1067
  }
1065
1068
 
@@ -1070,36 +1073,30 @@ class UpdateDictionariesRequest extends AbstractModel {
1070
1073
  if (!params) {
1071
1074
  return;
1072
1075
  }
1073
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1074
- this.IkMainDicts = 'IkMainDicts' in params ? params.IkMainDicts : null;
1075
- this.IkStopwords = 'IkStopwords' in params ? params.IkStopwords : null;
1076
- this.Synonym = 'Synonym' in params ? params.Synonym : null;
1077
- this.QQDict = 'QQDict' in params ? params.QQDict : null;
1078
- this.UpdateType = 'UpdateType' in params ? params.UpdateType : null;
1079
- this.ForceRestart = 'ForceRestart' in params ? params.ForceRestart : null;
1076
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1080
1077
 
1081
1078
  }
1082
1079
  }
1083
1080
 
1084
1081
  /**
1085
- * Details of AZs in multi-AZ deployment mode
1082
+ * `OperationDetail` uses an array of this structure to describe the old and new configuration information
1086
1083
  * @class
1087
1084
  */
1088
- class ZoneDetail extends AbstractModel {
1085
+ class KeyValue extends AbstractModel {
1089
1086
  constructor(){
1090
1087
  super();
1091
1088
 
1092
1089
  /**
1093
- * AZ
1090
+ * Key
1094
1091
  * @type {string || null}
1095
1092
  */
1096
- this.Zone = null;
1093
+ this.Key = null;
1097
1094
 
1098
1095
  /**
1099
- * Subnet ID
1096
+ * Value
1100
1097
  * @type {string || null}
1101
1098
  */
1102
- this.SubnetId = null;
1099
+ this.Value = null;
1103
1100
 
1104
1101
  }
1105
1102
 
@@ -1110,32 +1107,26 @@ class ZoneDetail extends AbstractModel {
1110
1107
  if (!params) {
1111
1108
  return;
1112
1109
  }
1113
- this.Zone = 'Zone' in params ? params.Zone : null;
1114
- this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
1110
+ this.Key = 'Key' in params ? params.Key : null;
1111
+ this.Value = 'Value' in params ? params.Value : null;
1115
1112
 
1116
1113
  }
1117
1114
  }
1118
1115
 
1119
1116
  /**
1120
- * UpdateRequestTargetNodeTypes request structure.
1117
+ * RestartKibana request structure.
1121
1118
  * @class
1122
1119
  */
1123
- class UpdateRequestTargetNodeTypesRequest extends AbstractModel {
1120
+ class RestartKibanaRequest extends AbstractModel {
1124
1121
  constructor(){
1125
1122
  super();
1126
1123
 
1127
1124
  /**
1128
- * Instance ID.
1125
+ * ES instance ID
1129
1126
  * @type {string || null}
1130
1127
  */
1131
1128
  this.InstanceId = null;
1132
1129
 
1133
- /**
1134
- * A list of node types used to receive requests.
1135
- * @type {Array.<string> || null}
1136
- */
1137
- this.TargetNodeTypes = null;
1138
-
1139
1130
  }
1140
1131
 
1141
1132
  /**
@@ -1146,43 +1137,36 @@ class UpdateRequestTargetNodeTypesRequest extends AbstractModel {
1146
1137
  return;
1147
1138
  }
1148
1139
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1149
- this.TargetNodeTypes = 'TargetNodeTypes' in params ? params.TargetNodeTypes : null;
1150
1140
 
1151
1141
  }
1152
1142
  }
1153
1143
 
1154
1144
  /**
1155
- * The maintenance time slot of the cluster
1145
+ * CreateInstance response structure.
1156
1146
  * @class
1157
1147
  */
1158
- class OperationDuration extends AbstractModel {
1148
+ class CreateInstanceResponse extends AbstractModel {
1159
1149
  constructor(){
1160
1150
  super();
1161
1151
 
1162
1152
  /**
1163
- * Maintenance period, which can be one or more days from Monday to Sunday. Valid values: [0, 6].
1164
- Note: This field may return null, indicating that no valid values can be obtained.
1165
- * @type {Array.<number> || null}
1166
- */
1167
- this.Periods = null;
1168
-
1169
- /**
1170
- * The maintenance start time
1153
+ * Instance ID
1171
1154
  * @type {string || null}
1172
1155
  */
1173
- this.TimeStart = null;
1156
+ this.InstanceId = null;
1174
1157
 
1175
1158
  /**
1176
- * The maintenance end time
1159
+ * Order ID
1160
+ Note: This field may return `null`, indicating that no valid value was found.
1177
1161
  * @type {string || null}
1178
1162
  */
1179
- this.TimeEnd = null;
1163
+ this.DealName = null;
1180
1164
 
1181
1165
  /**
1182
- * The time zone expressed in UTC.
1166
+ * 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.
1183
1167
  * @type {string || null}
1184
1168
  */
1185
- this.TimeZone = null;
1169
+ this.RequestId = null;
1186
1170
 
1187
1171
  }
1188
1172
 
@@ -1193,123 +1177,162 @@ Note: This field may return null, indicating that no valid values can be obtaine
1193
1177
  if (!params) {
1194
1178
  return;
1195
1179
  }
1196
- this.Periods = 'Periods' in params ? params.Periods : null;
1197
- this.TimeStart = 'TimeStart' in params ? params.TimeStart : null;
1198
- this.TimeEnd = 'TimeEnd' in params ? params.TimeEnd : null;
1199
- this.TimeZone = 'TimeZone' in params ? params.TimeZone : null;
1180
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1181
+ this.DealName = 'DealName' in params ? params.DealName : null;
1182
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1200
1183
 
1201
1184
  }
1202
1185
  }
1203
1186
 
1204
1187
  /**
1205
- * Node view data
1188
+ * Index configuration fields
1206
1189
  * @class
1207
1190
  */
1208
- class NodeView extends AbstractModel {
1191
+ class IndexSettingsField extends AbstractModel {
1209
1192
  constructor(){
1210
1193
  super();
1211
1194
 
1212
1195
  /**
1213
- * Node ID
1196
+ * Number of primary shards
1197
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1214
1198
  * @type {string || null}
1215
1199
  */
1216
- this.NodeId = null;
1200
+ this.NumberOfShards = null;
1217
1201
 
1218
1202
  /**
1219
- * Node IP
1203
+ * Number of replica shards
1204
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1220
1205
  * @type {string || null}
1221
1206
  */
1222
- this.NodeIp = null;
1207
+ this.NumberOfReplicas = null;
1223
1208
 
1224
1209
  /**
1225
- * Whether the node is visible
1226
- * @type {number || null}
1210
+ * Index refresh interval
1211
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1212
+ * @type {string || null}
1227
1213
  */
1228
- this.Visible = null;
1214
+ this.RefreshInterval = null;
1229
1215
 
1230
- /**
1231
- * Whether the node encounters circuit breaking
1232
- * @type {number || null}
1233
- */
1234
- this.Break = null;
1216
+ }
1235
1217
 
1236
- /**
1237
- * Node disk size
1238
- * @type {number || null}
1239
- */
1240
- this.DiskSize = null;
1218
+ /**
1219
+ * @private
1220
+ */
1221
+ deserialize(params) {
1222
+ if (!params) {
1223
+ return;
1224
+ }
1225
+ this.NumberOfShards = 'NumberOfShards' in params ? params.NumberOfShards : null;
1226
+ this.NumberOfReplicas = 'NumberOfReplicas' in params ? params.NumberOfReplicas : null;
1227
+ this.RefreshInterval = 'RefreshInterval' in params ? params.RefreshInterval : null;
1241
1228
 
1242
- /**
1243
- * Disk usage
1244
- * @type {number || null}
1245
- */
1246
- this.DiskUsage = null;
1229
+ }
1230
+ }
1231
+
1232
+ /**
1233
+ * DescribeAutoBackUpStrategy response structure.
1234
+ * @class
1235
+ */
1236
+ class DescribeAutoBackUpStrategyResponse extends AbstractModel {
1237
+ constructor(){
1238
+ super();
1247
1239
 
1248
1240
  /**
1249
- * Node memory size (in GB)
1250
- * @type {number || null}
1241
+ * Policy information.
1242
+ * @type {Array.<CosBackup> || null}
1251
1243
  */
1252
- this.MemSize = null;
1244
+ this.CosBackupList = null;
1253
1245
 
1254
1246
  /**
1255
- * Memory usage
1256
- * @type {number || null}
1247
+ * 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.
1248
+ * @type {string || null}
1257
1249
  */
1258
- this.MemUsage = null;
1250
+ this.RequestId = null;
1251
+
1252
+ }
1253
+
1254
+ /**
1255
+ * @private
1256
+ */
1257
+ deserialize(params) {
1258
+ if (!params) {
1259
+ return;
1260
+ }
1261
+
1262
+ if (params.CosBackupList) {
1263
+ this.CosBackupList = new Array();
1264
+ for (let z in params.CosBackupList) {
1265
+ let obj = new CosBackup();
1266
+ obj.deserialize(params.CosBackupList[z]);
1267
+ this.CosBackupList.push(obj);
1268
+ }
1269
+ }
1270
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1271
+
1272
+ }
1273
+ }
1274
+
1275
+ /**
1276
+ * DescribeInstanceLogs request structure.
1277
+ * @class
1278
+ */
1279
+ class DescribeInstanceLogsRequest extends AbstractModel {
1280
+ constructor(){
1281
+ super();
1259
1282
 
1260
1283
  /**
1261
- * Number of node CPUs
1262
- * @type {number || null}
1284
+ * Cluster instance ID
1285
+ * @type {string || null}
1263
1286
  */
1264
- this.CpuNum = null;
1287
+ this.InstanceId = null;
1265
1288
 
1266
1289
  /**
1267
- * CPU usage
1290
+ * Log type. Default value: 1
1291
+ <li>1: primary log</li>
1292
+ <li>2: search slow log</li>
1293
+ <li>3: index slow log</li>
1294
+ <li>4: GC log</li>
1268
1295
  * @type {number || null}
1269
1296
  */
1270
- this.CpuUsage = null;
1297
+ this.LogType = null;
1271
1298
 
1272
1299
  /**
1273
- * Availability zone
1300
+ * Search keyword, which supports LUCENE syntax, such as `level:WARN`, `ip:1.1.1.1`, and `message:test-index`
1274
1301
  * @type {string || null}
1275
1302
  */
1276
- this.Zone = null;
1303
+ this.SearchKey = null;
1277
1304
 
1278
1305
  /**
1279
- * Node role
1306
+ * Log start time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53
1280
1307
  * @type {string || null}
1281
1308
  */
1282
- this.NodeRole = null;
1309
+ this.StartTime = null;
1283
1310
 
1284
1311
  /**
1285
- * Node HTTP IP
1312
+ * Log end time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53
1286
1313
  * @type {string || null}
1287
1314
  */
1288
- this.NodeHttpIp = null;
1315
+ this.EndTime = null;
1289
1316
 
1290
1317
  /**
1291
- * JVM memory usage
1318
+ * Pagination start value. Default value: 0
1292
1319
  * @type {number || null}
1293
1320
  */
1294
- this.JvmMemUsage = null;
1321
+ this.Offset = null;
1295
1322
 
1296
1323
  /**
1297
- * Number of node shards
1324
+ * Number of entries per page. Default value: 100. Maximum value: 100
1298
1325
  * @type {number || null}
1299
1326
  */
1300
- this.ShardNum = null;
1301
-
1302
- /**
1303
- * ID list of node disks
1304
- * @type {Array.<string> || null}
1305
- */
1306
- this.DiskIds = null;
1327
+ this.Limit = null;
1307
1328
 
1308
1329
  /**
1309
- * Whether a hidden availability zone
1310
- * @type {boolean || null}
1330
+ * Time sorting order. Default value: 0
1331
+ <li>0: descending</li>
1332
+ <li>1: ascending</li>
1333
+ * @type {number || null}
1311
1334
  */
1312
- this.Hidden = null;
1335
+ this.OrderByType = null;
1313
1336
 
1314
1337
  }
1315
1338
 
@@ -1320,94 +1343,67 @@ class NodeView extends AbstractModel {
1320
1343
  if (!params) {
1321
1344
  return;
1322
1345
  }
1323
- this.NodeId = 'NodeId' in params ? params.NodeId : null;
1324
- this.NodeIp = 'NodeIp' in params ? params.NodeIp : null;
1325
- this.Visible = 'Visible' in params ? params.Visible : null;
1326
- this.Break = 'Break' in params ? params.Break : null;
1327
- this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
1328
- this.DiskUsage = 'DiskUsage' in params ? params.DiskUsage : null;
1329
- this.MemSize = 'MemSize' in params ? params.MemSize : null;
1330
- this.MemUsage = 'MemUsage' in params ? params.MemUsage : null;
1331
- this.CpuNum = 'CpuNum' in params ? params.CpuNum : null;
1332
- this.CpuUsage = 'CpuUsage' in params ? params.CpuUsage : null;
1333
- this.Zone = 'Zone' in params ? params.Zone : null;
1334
- this.NodeRole = 'NodeRole' in params ? params.NodeRole : null;
1335
- this.NodeHttpIp = 'NodeHttpIp' in params ? params.NodeHttpIp : null;
1336
- this.JvmMemUsage = 'JvmMemUsage' in params ? params.JvmMemUsage : null;
1337
- this.ShardNum = 'ShardNum' in params ? params.ShardNum : null;
1338
- this.DiskIds = 'DiskIds' in params ? params.DiskIds : null;
1339
- this.Hidden = 'Hidden' in params ? params.Hidden : null;
1346
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1347
+ this.LogType = 'LogType' in params ? params.LogType : null;
1348
+ this.SearchKey = 'SearchKey' in params ? params.SearchKey : null;
1349
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
1350
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
1351
+ this.Offset = 'Offset' in params ? params.Offset : null;
1352
+ this.Limit = 'Limit' in params ? params.Limit : null;
1353
+ this.OrderByType = 'OrderByType' in params ? params.OrderByType : null;
1340
1354
 
1341
1355
  }
1342
1356
  }
1343
1357
 
1344
1358
  /**
1345
- * DescribeIndexList request structure.
1359
+ * UpdateDictionaries request structure.
1346
1360
  * @class
1347
1361
  */
1348
- class DescribeIndexListRequest extends AbstractModel {
1362
+ class UpdateDictionariesRequest extends AbstractModel {
1349
1363
  constructor(){
1350
1364
  super();
1351
1365
 
1352
1366
  /**
1353
- * Index type. `auto`: Automated; `normal`: General.
1354
- * @type {string || null}
1355
- */
1356
- this.IndexType = null;
1357
-
1358
- /**
1359
- * ES cluster ID
1367
+ * ES instance ID
1360
1368
  * @type {string || null}
1361
1369
  */
1362
1370
  this.InstanceId = null;
1363
1371
 
1364
1372
  /**
1365
- * Index name. `null` indicates that all indexes are requested.
1366
- * @type {string || null}
1373
+ * COS address of the main dictionary for the IK analyzer
1374
+ * @type {Array.<string> || null}
1367
1375
  */
1368
- this.IndexName = null;
1376
+ this.IkMainDicts = null;
1369
1377
 
1370
1378
  /**
1371
- * Username for cluster access
1372
- * @type {string || null}
1379
+ * COS address of the stopword dictionary for the IK analyzer
1380
+ * @type {Array.<string> || null}
1373
1381
  */
1374
- this.Username = null;
1382
+ this.IkStopwords = null;
1375
1383
 
1376
1384
  /**
1377
- * Password for cluster access
1378
- * @type {string || null}
1385
+ * COS address of the synonym dictionary
1386
+ * @type {Array.<string> || null}
1379
1387
  */
1380
- this.Password = null;
1388
+ this.Synonym = null;
1381
1389
 
1382
1390
  /**
1383
- * The starting position of paging
1384
- * @type {number || null}
1391
+ * COS address of the QQ dictionary
1392
+ * @type {Array.<string> || null}
1385
1393
  */
1386
- this.Offset = null;
1394
+ this.QQDict = null;
1387
1395
 
1388
1396
  /**
1389
- * The number of results per page
1397
+ * `0` (default): Install, `1`: Delete
1390
1398
  * @type {number || null}
1391
1399
  */
1392
- this.Limit = null;
1393
-
1394
- /**
1395
- * Sorting condition field, which can be `IndexName`, `IndexStorage`, or `IndexCreateTime`.
1396
- * @type {string || null}
1397
- */
1398
- this.OrderBy = null;
1399
-
1400
- /**
1401
- * Filtering by index status
1402
- * @type {Array.<string> || null}
1403
- */
1404
- this.IndexStatusList = null;
1400
+ this.UpdateType = null;
1405
1401
 
1406
1402
  /**
1407
- * Sorting mode, which can be `asc` and `desc`.
1408
- * @type {string || null}
1403
+ * Whether to force restart the cluster. The default value is `false`.
1404
+ * @type {boolean || null}
1409
1405
  */
1410
- this.Order = null;
1406
+ this.ForceRestart = null;
1411
1407
 
1412
1408
  }
1413
1409
 
@@ -1418,39 +1414,36 @@ class DescribeIndexListRequest extends AbstractModel {
1418
1414
  if (!params) {
1419
1415
  return;
1420
1416
  }
1421
- this.IndexType = 'IndexType' in params ? params.IndexType : null;
1422
1417
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1423
- this.IndexName = 'IndexName' in params ? params.IndexName : null;
1424
- this.Username = 'Username' in params ? params.Username : null;
1425
- this.Password = 'Password' in params ? params.Password : null;
1426
- this.Offset = 'Offset' in params ? params.Offset : null;
1427
- this.Limit = 'Limit' in params ? params.Limit : null;
1428
- this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
1429
- this.IndexStatusList = 'IndexStatusList' in params ? params.IndexStatusList : null;
1430
- this.Order = 'Order' in params ? params.Order : null;
1418
+ this.IkMainDicts = 'IkMainDicts' in params ? params.IkMainDicts : null;
1419
+ this.IkStopwords = 'IkStopwords' in params ? params.IkStopwords : null;
1420
+ this.Synonym = 'Synonym' in params ? params.Synonym : null;
1421
+ this.QQDict = 'QQDict' in params ? params.QQDict : null;
1422
+ this.UpdateType = 'UpdateType' in params ? params.UpdateType : null;
1423
+ this.ForceRestart = 'ForceRestart' in params ? params.ForceRestart : null;
1431
1424
 
1432
1425
  }
1433
1426
  }
1434
1427
 
1435
1428
  /**
1436
- * Auto-backup to COS for ES
1429
+ * UpdateRequestTargetNodeTypes request structure.
1437
1430
  * @class
1438
1431
  */
1439
- class CosBackup extends AbstractModel {
1432
+ class UpdateRequestTargetNodeTypesRequest extends AbstractModel {
1440
1433
  constructor(){
1441
1434
  super();
1442
1435
 
1443
1436
  /**
1444
- * Whether to enable auto-backup to COS
1445
- * @type {boolean || null}
1437
+ * Instance ID.
1438
+ * @type {string || null}
1446
1439
  */
1447
- this.IsAutoBackup = null;
1440
+ this.InstanceId = null;
1448
1441
 
1449
1442
  /**
1450
- * Auto-backup time (accurate down to the hour), such as "22:00"
1451
- * @type {string || null}
1443
+ * A list of node types used to receive requests.
1444
+ * @type {Array.<string> || null}
1452
1445
  */
1453
- this.BackupTime = null;
1446
+ this.TargetNodeTypes = null;
1454
1447
 
1455
1448
  }
1456
1449
 
@@ -1461,31 +1454,31 @@ class CosBackup extends AbstractModel {
1461
1454
  if (!params) {
1462
1455
  return;
1463
1456
  }
1464
- this.IsAutoBackup = 'IsAutoBackup' in params ? params.IsAutoBackup : null;
1465
- this.BackupTime = 'BackupTime' in params ? params.BackupTime : null;
1457
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1458
+ this.TargetNodeTypes = 'TargetNodeTypes' in params ? params.TargetNodeTypes : null;
1466
1459
 
1467
1460
  }
1468
1461
  }
1469
1462
 
1470
1463
  /**
1471
- * Instance tag information
1464
+ * Details of AZs in multi-AZ deployment mode
1472
1465
  * @class
1473
1466
  */
1474
- class TagInfo extends AbstractModel {
1467
+ class ZoneDetail extends AbstractModel {
1475
1468
  constructor(){
1476
1469
  super();
1477
1470
 
1478
1471
  /**
1479
- * Tag key
1472
+ * AZ
1480
1473
  * @type {string || null}
1481
1474
  */
1482
- this.TagKey = null;
1475
+ this.Zone = null;
1483
1476
 
1484
1477
  /**
1485
- * Tag value
1478
+ * Subnet ID
1486
1479
  * @type {string || null}
1487
1480
  */
1488
- this.TagValue = null;
1481
+ this.SubnetId = null;
1489
1482
 
1490
1483
  }
1491
1484
 
@@ -1496,32 +1489,20 @@ class TagInfo extends AbstractModel {
1496
1489
  if (!params) {
1497
1490
  return;
1498
1491
  }
1499
- this.TagKey = 'TagKey' in params ? params.TagKey : null;
1500
- this.TagValue = 'TagValue' in params ? params.TagValue : null;
1492
+ this.Zone = 'Zone' in params ? params.Zone : null;
1493
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
1501
1494
 
1502
1495
  }
1503
1496
  }
1504
1497
 
1505
1498
  /**
1506
- * `OperationDetail` uses an array of this structure to describe the old and new configuration information
1499
+ * ModifyAutoBackUpCommonInfo request structure.
1507
1500
  * @class
1508
1501
  */
1509
- class KeyValue extends AbstractModel {
1502
+ class ModifyAutoBackUpCommonInfoRequest extends AbstractModel {
1510
1503
  constructor(){
1511
1504
  super();
1512
1505
 
1513
- /**
1514
- * Key
1515
- * @type {string || null}
1516
- */
1517
- this.Key = null;
1518
-
1519
- /**
1520
- * Value
1521
- * @type {string || null}
1522
- */
1523
- this.Value = null;
1524
-
1525
1506
  }
1526
1507
 
1527
1508
  /**
@@ -1531,231 +1512,406 @@ class KeyValue extends AbstractModel {
1531
1512
  if (!params) {
1532
1513
  return;
1533
1514
  }
1534
- this.Key = 'Key' in params ? params.Key : null;
1535
- this.Value = 'Value' in params ? params.Value : null;
1536
1515
 
1537
1516
  }
1538
1517
  }
1539
1518
 
1540
1519
  /**
1541
- * CreateInstance request structure.
1520
+ * The maintenance time slot of the cluster
1542
1521
  * @class
1543
1522
  */
1544
- class CreateInstanceRequest extends AbstractModel {
1523
+ class OperationDuration extends AbstractModel {
1545
1524
  constructor(){
1546
1525
  super();
1547
1526
 
1548
1527
  /**
1549
- * Availability Zone
1550
- * @type {string || null}
1528
+ * Maintenance period, which can be one or more days from Monday to Sunday. Valid values: [0, 6].
1529
+ Note: This field may return null, indicating that no valid values can be obtained.
1530
+ * @type {Array.<number> || null}
1551
1531
  */
1552
- this.Zone = null;
1532
+ this.Periods = null;
1553
1533
 
1554
1534
  /**
1555
- * Instance version. Valid values: `5.6.4`, `6.4.3`, `6.8.2`, `7.5.1`, `7.10.1`
1535
+ * The maintenance start time
1556
1536
  * @type {string || null}
1557
1537
  */
1558
- this.EsVersion = null;
1538
+ this.TimeStart = null;
1559
1539
 
1560
1540
  /**
1561
- * VPC ID
1541
+ * The maintenance end time
1562
1542
  * @type {string || null}
1563
1543
  */
1564
- this.VpcId = null;
1544
+ this.TimeEnd = null;
1565
1545
 
1566
1546
  /**
1567
- * Subnet ID
1547
+ * The time zone expressed in UTC.
1568
1548
  * @type {string || null}
1569
1549
  */
1570
- this.SubnetId = null;
1550
+ this.TimeZone = null;
1551
+
1552
+ }
1553
+
1554
+ /**
1555
+ * @private
1556
+ */
1557
+ deserialize(params) {
1558
+ if (!params) {
1559
+ return;
1560
+ }
1561
+ this.Periods = 'Periods' in params ? params.Periods : null;
1562
+ this.TimeStart = 'TimeStart' in params ? params.TimeStart : null;
1563
+ this.TimeEnd = 'TimeEnd' in params ? params.TimeEnd : null;
1564
+ this.TimeZone = 'TimeZone' in params ? params.TimeZone : null;
1565
+
1566
+ }
1567
+ }
1568
+
1569
+ /**
1570
+ * Node view data
1571
+ * @class
1572
+ */
1573
+ class NodeView extends AbstractModel {
1574
+ constructor(){
1575
+ super();
1571
1576
 
1572
1577
  /**
1573
- * Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
1578
+ * Node ID
1574
1579
  * @type {string || null}
1575
1580
  */
1576
- this.Password = null;
1581
+ this.NodeId = null;
1577
1582
 
1578
1583
  /**
1579
- * Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
1584
+ * Node IP
1580
1585
  * @type {string || null}
1581
1586
  */
1582
- this.InstanceName = null;
1587
+ this.NodeIp = null;
1583
1588
 
1584
1589
  /**
1585
- * This parameter has been disused. Please use `NodeInfoList`
1586
- Number of nodes (2-50)
1590
+ * Whether the node is visible
1587
1591
  * @type {number || null}
1588
1592
  */
1589
- this.NodeNum = null;
1593
+ this.Visible = null;
1590
1594
 
1591
1595
  /**
1592
- * Billing mode <li>POSTPAID_BY_HOUR: Pay-as-you-go hourly </li>Default value: POSTPAID_BY_HOUR
1593
- * @type {string || null}
1596
+ * Whether the node encounters circuit breaking
1597
+ * @type {number || null}
1594
1598
  */
1595
- this.ChargeType = null;
1599
+ this.Break = null;
1596
1600
 
1597
1601
  /**
1598
- * This parameter is not used on the global website
1602
+ * Node disk size
1599
1603
  * @type {number || null}
1600
1604
  */
1601
- this.ChargePeriod = null;
1605
+ this.DiskSize = null;
1602
1606
 
1603
1607
  /**
1604
- * This parameter is not used on the global website
1605
- * @type {string || null}
1608
+ * Disk usage
1609
+ * @type {number || null}
1606
1610
  */
1607
- this.RenewFlag = null;
1611
+ this.DiskUsage = null;
1608
1612
 
1609
1613
  /**
1610
- * This parameter has been disused. Please use `NodeInfoList`
1611
- Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li>
1612
- * @type {string || null}
1614
+ * Node memory size (in GB)
1615
+ * @type {number || null}
1613
1616
  */
1614
- this.NodeType = null;
1617
+ this.MemSize = null;
1615
1618
 
1616
1619
  /**
1617
- * This parameter has been disused. Please use `NodeInfoList`
1618
- Node storage type <li>CLOUD_SSD: SSD cloud storage </li><li>CLOUD_PREMIUM: premium cloud storage </li>Default value: CLOUD_SSD
1619
- * @type {string || null}
1620
+ * Memory usage
1621
+ * @type {number || null}
1620
1622
  */
1621
- this.DiskType = null;
1623
+ this.MemUsage = null;
1622
1624
 
1623
1625
  /**
1624
- * This parameter has been disused. Please use `NodeInfoList`
1625
- Node disk size in GB
1626
+ * Number of node CPUs
1626
1627
  * @type {number || null}
1627
1628
  */
1628
- this.DiskSize = null;
1629
+ this.CpuNum = null;
1629
1630
 
1630
1631
  /**
1631
- * This parameter is not used on the global website
1632
+ * CPU usage
1633
+ * @type {number || null}
1634
+ */
1635
+ this.CpuUsage = null;
1636
+
1637
+ /**
1638
+ * Availability zone
1632
1639
  * @type {string || null}
1633
1640
  */
1634
- this.TimeUnit = null;
1641
+ this.Zone = null;
1635
1642
 
1636
1643
  /**
1637
- * Whether to automatically use vouchers <li>0: No </li><li>1: Yes </li>Default value: 0
1644
+ * Node role
1645
+ * @type {string || null}
1646
+ */
1647
+ this.NodeRole = null;
1648
+
1649
+ /**
1650
+ * Node HTTP IP
1651
+ * @type {string || null}
1652
+ */
1653
+ this.NodeHttpIp = null;
1654
+
1655
+ /**
1656
+ * JVM memory usage
1638
1657
  * @type {number || null}
1639
1658
  */
1640
- this.AutoVoucher = null;
1659
+ this.JvmMemUsage = null;
1641
1660
 
1642
1661
  /**
1643
- * List of voucher IDs (only one voucher can be specified at a time currently)
1662
+ * Number of node shards
1663
+ * @type {number || null}
1664
+ */
1665
+ this.ShardNum = null;
1666
+
1667
+ /**
1668
+ * ID list of node disks
1644
1669
  * @type {Array.<string> || null}
1645
1670
  */
1646
- this.VoucherIds = null;
1671
+ this.DiskIds = null;
1647
1672
 
1648
1673
  /**
1649
- * This parameter has been disused. Please use `NodeInfoList`
1650
- Whether to create a dedicated primary node <li>true: yes </li><li>false: no </li>Default value: false
1674
+ * Whether a hidden availability zone
1651
1675
  * @type {boolean || null}
1652
1676
  */
1653
- this.EnableDedicatedMaster = null;
1677
+ this.Hidden = null;
1678
+
1679
+ }
1680
+
1681
+ /**
1682
+ * @private
1683
+ */
1684
+ deserialize(params) {
1685
+ if (!params) {
1686
+ return;
1687
+ }
1688
+ this.NodeId = 'NodeId' in params ? params.NodeId : null;
1689
+ this.NodeIp = 'NodeIp' in params ? params.NodeIp : null;
1690
+ this.Visible = 'Visible' in params ? params.Visible : null;
1691
+ this.Break = 'Break' in params ? params.Break : null;
1692
+ this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
1693
+ this.DiskUsage = 'DiskUsage' in params ? params.DiskUsage : null;
1694
+ this.MemSize = 'MemSize' in params ? params.MemSize : null;
1695
+ this.MemUsage = 'MemUsage' in params ? params.MemUsage : null;
1696
+ this.CpuNum = 'CpuNum' in params ? params.CpuNum : null;
1697
+ this.CpuUsage = 'CpuUsage' in params ? params.CpuUsage : null;
1698
+ this.Zone = 'Zone' in params ? params.Zone : null;
1699
+ this.NodeRole = 'NodeRole' in params ? params.NodeRole : null;
1700
+ this.NodeHttpIp = 'NodeHttpIp' in params ? params.NodeHttpIp : null;
1701
+ this.JvmMemUsage = 'JvmMemUsage' in params ? params.JvmMemUsage : null;
1702
+ this.ShardNum = 'ShardNum' in params ? params.ShardNum : null;
1703
+ this.DiskIds = 'DiskIds' in params ? params.DiskIds : null;
1704
+ this.Hidden = 'Hidden' in params ? params.Hidden : null;
1705
+
1706
+ }
1707
+ }
1708
+
1709
+ /**
1710
+ * DescribeIndexList request structure.
1711
+ * @class
1712
+ */
1713
+ class DescribeIndexListRequest extends AbstractModel {
1714
+ constructor(){
1715
+ super();
1654
1716
 
1655
1717
  /**
1656
- * This parameter has been disused. Please use `NodeInfoList`
1657
- Number of dedicated primary nodes (only 3 and 5 are supported. This value must be passed in if `EnableDedicatedMaster` is `true`)
1658
- * @type {number || null}
1718
+ * Index type. `auto`: Automated; `normal`: General.
1719
+ * @type {string || null}
1659
1720
  */
1660
- this.MasterNodeNum = null;
1721
+ this.IndexType = null;
1661
1722
 
1662
1723
  /**
1663
- * This parameter has been disused. Please use `NodeInfoList`
1664
- Dedicated primary node type, which must be passed in if `EnableDedicatedMaster` is `true` <li>ES.S1.SMALL2: 1-core 2 GB</li><li>ES.S1.MEDIUM4: 2-core 4 GB</li><li>ES.S1.MEDIUM8: 2-core 8 GB</li><li>ES.S1.LARGE16: 4-core 16 GB</li><li>ES.S1.2XLARGE32: 8-core 32 GB</li><li>ES.S1.4XLARGE32: 16-core 32 GB</li><li>ES.S1.4XLARGE64: 16-core 64 GB</li>
1724
+ * ES cluster ID
1665
1725
  * @type {string || null}
1666
1726
  */
1667
- this.MasterNodeType = null;
1727
+ this.InstanceId = null;
1668
1728
 
1669
1729
  /**
1670
- * This parameter has been disused. Please use `NodeInfoList`
1671
- Dedicated primary node disk size in GB, which is optional. If passed in, it can only be 50 and cannot be customized currently
1730
+ * Index name. `null` indicates that all indexes are requested.
1731
+ * @type {string || null}
1732
+ */
1733
+ this.IndexName = null;
1734
+
1735
+ /**
1736
+ * Username for cluster access
1737
+ * @type {string || null}
1738
+ */
1739
+ this.Username = null;
1740
+
1741
+ /**
1742
+ * Password for cluster access
1743
+ * @type {string || null}
1744
+ */
1745
+ this.Password = null;
1746
+
1747
+ /**
1748
+ * The starting position of paging
1672
1749
  * @type {number || null}
1673
1750
  */
1674
- this.MasterNodeDiskSize = null;
1751
+ this.Offset = null;
1675
1752
 
1676
1753
  /**
1677
- * ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized
1754
+ * The number of results per page
1755
+ * @type {number || null}
1756
+ */
1757
+ this.Limit = null;
1758
+
1759
+ /**
1760
+ * Sorting condition field, which can be `IndexName`, `IndexStorage`, or `IndexCreateTime`.
1678
1761
  * @type {string || null}
1679
1762
  */
1680
- this.ClusterNameInConf = null;
1763
+ this.OrderBy = null;
1681
1764
 
1682
1765
  /**
1683
- * Cluster deployment mode <li>0: single-AZ deployment </li><li>1: multi-AZ deployment </li>Default value: 0
1766
+ * Filtering by index status
1767
+ * @type {Array.<string> || null}
1768
+ */
1769
+ this.IndexStatusList = null;
1770
+
1771
+ /**
1772
+ * Sorting mode, which can be `asc` and `desc`.
1773
+ * @type {string || null}
1774
+ */
1775
+ this.Order = null;
1776
+
1777
+ }
1778
+
1779
+ /**
1780
+ * @private
1781
+ */
1782
+ deserialize(params) {
1783
+ if (!params) {
1784
+ return;
1785
+ }
1786
+ this.IndexType = 'IndexType' in params ? params.IndexType : null;
1787
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1788
+ this.IndexName = 'IndexName' in params ? params.IndexName : null;
1789
+ this.Username = 'Username' in params ? params.Username : null;
1790
+ this.Password = 'Password' in params ? params.Password : null;
1791
+ this.Offset = 'Offset' in params ? params.Offset : null;
1792
+ this.Limit = 'Limit' in params ? params.Limit : null;
1793
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
1794
+ this.IndexStatusList = 'IndexStatusList' in params ? params.IndexStatusList : null;
1795
+ this.Order = 'Order' in params ? params.Order : null;
1796
+
1797
+ }
1798
+ }
1799
+
1800
+ /**
1801
+ * Auto-backup to COS for ES
1802
+ * @class
1803
+ */
1804
+ class CosBackup extends AbstractModel {
1805
+ constructor(){
1806
+ super();
1807
+
1808
+ /**
1809
+ * Whether to enable auto-backup to COS
1810
+ * @type {boolean || null}
1811
+ */
1812
+ this.IsAutoBackup = null;
1813
+
1814
+ /**
1815
+ * Auto-backup time (accurate down to the hour), such as "22:00"
1816
+ * @type {string || null}
1817
+ */
1818
+ this.BackupTime = null;
1819
+
1820
+ /**
1821
+ * Backup snapshot prefix.
1822
+ * @type {string || null}
1823
+ */
1824
+ this.SnapshotName = null;
1825
+
1826
+ /**
1827
+ * Valid values: 0 (Tencent Cloud repository) and 1 (customer repository).
1684
1828
  * @type {number || null}
1685
1829
  */
1686
- this.DeployMode = null;
1830
+ this.EsRepositoryType = null;
1687
1831
 
1688
1832
  /**
1689
- * Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)
1690
- * @type {Array.<ZoneDetail> || null}
1833
+ * Managed snapshot repository name.
1834
+ * @type {string || null}
1691
1835
  */
1692
- this.MultiZoneInfo = null;
1836
+ this.PaasEsRepository = null;
1693
1837
 
1694
1838
  /**
1695
- * License type <li>oss: Open Source Edition </li><li>basic: Basic Edition </li><li>platinum: Platinum Edition </li>Default value: Platinum
1839
+ * Customer snapshot repository name.
1696
1840
  * @type {string || null}
1697
1841
  */
1698
- this.LicenseType = null;
1842
+ this.UserEsRepository = null;
1699
1843
 
1700
1844
  /**
1701
- * Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size
1702
- * @type {Array.<NodeInfo> || null}
1845
+ * COS storage folder directory.
1846
+ * @type {string || null}
1703
1847
  */
1704
- this.NodeInfoList = null;
1848
+ this.CosBasePath = null;
1705
1849
 
1706
1850
  /**
1707
- * Node tag information list
1708
- * @type {Array.<TagInfo> || null}
1851
+ * Snapshot storage cycle in days.
1852
+ * @type {number || null}
1709
1853
  */
1710
- this.TagList = null;
1854
+ this.StorageDuration = null;
1711
1855
 
1712
1856
  /**
1713
- * Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li>
1857
+ * Auto backup frequency in hours.
1714
1858
  * @type {number || null}
1715
1859
  */
1716
- this.BasicSecurityType = null;
1860
+ this.AutoBackupInterval = null;
1717
1861
 
1718
1862
  /**
1719
- * Scenario template type. 0: not enabled; 1: general; 2: log; 3: search
1863
+ * Backup lock. Valid values: 0 (not locked) and 1 (locked).
1720
1864
  * @type {number || null}
1721
1865
  */
1722
- this.SceneType = null;
1866
+ this.CosRetention = null;
1723
1867
 
1724
1868
  /**
1725
- * Visual node configuration
1726
- * @type {WebNodeTypeInfo || null}
1869
+ * Lock expiration date, such as 2022-12-10T08:34:48.000Z.
1870
+ * @type {string || null}
1727
1871
  */
1728
- this.WebNodeTypeInfo = null;
1872
+ this.RetainUntilDate = null;
1729
1873
 
1730
1874
  /**
1731
- * Valid values: `https`, `http` (default)
1875
+ * Lock grace period.
1876
+ * @type {number || null}
1877
+ */
1878
+ this.RetentionGraceTime = null;
1879
+
1880
+ /**
1881
+ * Cross-region backup. Valid values: 0 (disabled) and 1 (enabled).
1882
+ * @type {number || null}
1883
+ */
1884
+ this.RemoteCos = null;
1885
+
1886
+ /**
1887
+ * Region name for cross-region backup, such as ap-guangzhou.
1732
1888
  * @type {string || null}
1733
1889
  */
1734
- this.Protocol = null;
1890
+ this.RemoteCosRegion = null;
1735
1891
 
1736
1892
  /**
1737
- * The maintenance time slot
1738
- * @type {OperationDuration || null}
1893
+ * Policy name.
1894
+ * @type {string || null}
1739
1895
  */
1740
- this.OperationDuration = null;
1896
+ this.StrategyName = null;
1741
1897
 
1742
1898
  /**
1743
- * Whether to enable the storage-computing separation feature.
1744
- * @type {boolean || null}
1899
+ * Backup index list. If left empty, it means to back up all indexes.
1900
+ * @type {string || null}
1745
1901
  */
1746
- this.EnableHybridStorage = null;
1902
+ this.Indices = null;
1747
1903
 
1748
1904
  /**
1749
- * Whether to enable enhanced SSD
1905
+ *
1750
1906
  * @type {number || null}
1751
1907
  */
1752
- this.DiskEnhance = null;
1908
+ this.MultiAz = null;
1753
1909
 
1754
1910
  /**
1755
- * Whether to enable smart inspection.
1756
- * @type {boolean || null}
1911
+ * Policy creation time.
1912
+ * @type {string || null}
1757
1913
  */
1758
- this.EnableDiagnose = null;
1914
+ this.CreateTime = null;
1759
1915
 
1760
1916
  }
1761
1917
 
@@ -1766,74 +1922,162 @@ Dedicated primary node disk size in GB, which is optional. If passed in, it can
1766
1922
  if (!params) {
1767
1923
  return;
1768
1924
  }
1769
- this.Zone = 'Zone' in params ? params.Zone : null;
1770
- this.EsVersion = 'EsVersion' in params ? params.EsVersion : null;
1771
- this.VpcId = 'VpcId' in params ? params.VpcId : null;
1772
- this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
1773
- this.Password = 'Password' in params ? params.Password : null;
1774
- this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
1775
- this.NodeNum = 'NodeNum' in params ? params.NodeNum : null;
1776
- this.ChargeType = 'ChargeType' in params ? params.ChargeType : null;
1777
- this.ChargePeriod = 'ChargePeriod' in params ? params.ChargePeriod : null;
1778
- this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
1779
- this.NodeType = 'NodeType' in params ? params.NodeType : null;
1780
- this.DiskType = 'DiskType' in params ? params.DiskType : null;
1781
- this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
1782
- this.TimeUnit = 'TimeUnit' in params ? params.TimeUnit : null;
1783
- this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
1784
- this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
1785
- this.EnableDedicatedMaster = 'EnableDedicatedMaster' in params ? params.EnableDedicatedMaster : null;
1786
- this.MasterNodeNum = 'MasterNodeNum' in params ? params.MasterNodeNum : null;
1787
- this.MasterNodeType = 'MasterNodeType' in params ? params.MasterNodeType : null;
1788
- this.MasterNodeDiskSize = 'MasterNodeDiskSize' in params ? params.MasterNodeDiskSize : null;
1789
- this.ClusterNameInConf = 'ClusterNameInConf' in params ? params.ClusterNameInConf : null;
1790
- this.DeployMode = 'DeployMode' in params ? params.DeployMode : null;
1925
+ this.IsAutoBackup = 'IsAutoBackup' in params ? params.IsAutoBackup : null;
1926
+ this.BackupTime = 'BackupTime' in params ? params.BackupTime : null;
1927
+ this.SnapshotName = 'SnapshotName' in params ? params.SnapshotName : null;
1928
+ this.EsRepositoryType = 'EsRepositoryType' in params ? params.EsRepositoryType : null;
1929
+ this.PaasEsRepository = 'PaasEsRepository' in params ? params.PaasEsRepository : null;
1930
+ this.UserEsRepository = 'UserEsRepository' in params ? params.UserEsRepository : null;
1931
+ this.CosBasePath = 'CosBasePath' in params ? params.CosBasePath : null;
1932
+ this.StorageDuration = 'StorageDuration' in params ? params.StorageDuration : null;
1933
+ this.AutoBackupInterval = 'AutoBackupInterval' in params ? params.AutoBackupInterval : null;
1934
+ this.CosRetention = 'CosRetention' in params ? params.CosRetention : null;
1935
+ this.RetainUntilDate = 'RetainUntilDate' in params ? params.RetainUntilDate : null;
1936
+ this.RetentionGraceTime = 'RetentionGraceTime' in params ? params.RetentionGraceTime : null;
1937
+ this.RemoteCos = 'RemoteCos' in params ? params.RemoteCos : null;
1938
+ this.RemoteCosRegion = 'RemoteCosRegion' in params ? params.RemoteCosRegion : null;
1939
+ this.StrategyName = 'StrategyName' in params ? params.StrategyName : null;
1940
+ this.Indices = 'Indices' in params ? params.Indices : null;
1941
+ this.MultiAz = 'MultiAz' in params ? params.MultiAz : null;
1942
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
1791
1943
 
1792
- if (params.MultiZoneInfo) {
1793
- this.MultiZoneInfo = new Array();
1794
- for (let z in params.MultiZoneInfo) {
1795
- let obj = new ZoneDetail();
1796
- obj.deserialize(params.MultiZoneInfo[z]);
1797
- this.MultiZoneInfo.push(obj);
1798
- }
1944
+ }
1945
+ }
1946
+
1947
+ /**
1948
+ * ModifyAutoBackUpStrategy response structure.
1949
+ * @class
1950
+ */
1951
+ class ModifyAutoBackUpStrategyResponse extends AbstractModel {
1952
+ constructor(){
1953
+ super();
1954
+
1955
+ /**
1956
+ * Valid values: true (success) and false (failure).
1957
+ * @type {boolean || null}
1958
+ */
1959
+ this.Status = null;
1960
+
1961
+ /**
1962
+ * 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.
1963
+ * @type {string || null}
1964
+ */
1965
+ this.RequestId = null;
1966
+
1967
+ }
1968
+
1969
+ /**
1970
+ * @private
1971
+ */
1972
+ deserialize(params) {
1973
+ if (!params) {
1974
+ return;
1799
1975
  }
1800
- this.LicenseType = 'LicenseType' in params ? params.LicenseType : null;
1976
+ this.Status = 'Status' in params ? params.Status : null;
1977
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1801
1978
 
1802
- if (params.NodeInfoList) {
1803
- this.NodeInfoList = new Array();
1804
- for (let z in params.NodeInfoList) {
1805
- let obj = new NodeInfo();
1806
- obj.deserialize(params.NodeInfoList[z]);
1807
- this.NodeInfoList.push(obj);
1808
- }
1979
+ }
1980
+ }
1981
+
1982
+ /**
1983
+ * CreateAutoBackUpStrategy request structure.
1984
+ * @class
1985
+ */
1986
+ class CreateAutoBackUpStrategyRequest extends AbstractModel {
1987
+ constructor(){
1988
+ super();
1989
+
1990
+ /**
1991
+ * Instance name.
1992
+ * @type {string || null}
1993
+ */
1994
+ this.InstanceId = null;
1995
+
1996
+ /**
1997
+ * Policy information.
1998
+ * @type {CosBackup || null}
1999
+ */
2000
+ this.CosBackup = null;
2001
+
2002
+ }
2003
+
2004
+ /**
2005
+ * @private
2006
+ */
2007
+ deserialize(params) {
2008
+ if (!params) {
2009
+ return;
1809
2010
  }
2011
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1810
2012
 
1811
- if (params.TagList) {
1812
- this.TagList = new Array();
1813
- for (let z in params.TagList) {
1814
- let obj = new TagInfo();
1815
- obj.deserialize(params.TagList[z]);
1816
- this.TagList.push(obj);
1817
- }
2013
+ if (params.CosBackup) {
2014
+ let obj = new CosBackup();
2015
+ obj.deserialize(params.CosBackup)
2016
+ this.CosBackup = obj;
1818
2017
  }
1819
- this.BasicSecurityType = 'BasicSecurityType' in params ? params.BasicSecurityType : null;
1820
- this.SceneType = 'SceneType' in params ? params.SceneType : null;
1821
2018
 
1822
- if (params.WebNodeTypeInfo) {
1823
- let obj = new WebNodeTypeInfo();
1824
- obj.deserialize(params.WebNodeTypeInfo)
1825
- this.WebNodeTypeInfo = obj;
2019
+ }
2020
+ }
2021
+
2022
+ /**
2023
+ * CreateAutoBackUpStrategy response structure.
2024
+ * @class
2025
+ */
2026
+ class CreateAutoBackUpStrategyResponse extends AbstractModel {
2027
+ constructor(){
2028
+ super();
2029
+
2030
+ /**
2031
+ * Valid values: true (success) and false (failure).
2032
+ * @type {boolean || null}
2033
+ */
2034
+ this.Status = null;
2035
+
2036
+ /**
2037
+ * 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.
2038
+ * @type {string || null}
2039
+ */
2040
+ this.RequestId = null;
2041
+
2042
+ }
2043
+
2044
+ /**
2045
+ * @private
2046
+ */
2047
+ deserialize(params) {
2048
+ if (!params) {
2049
+ return;
1826
2050
  }
1827
- this.Protocol = 'Protocol' in params ? params.Protocol : null;
2051
+ this.Status = 'Status' in params ? params.Status : null;
2052
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1828
2053
 
1829
- if (params.OperationDuration) {
1830
- let obj = new OperationDuration();
1831
- obj.deserialize(params.OperationDuration)
1832
- this.OperationDuration = obj;
2054
+ }
2055
+ }
2056
+
2057
+ /**
2058
+ * UpgradeInstance response structure.
2059
+ * @class
2060
+ */
2061
+ class UpgradeInstanceResponse extends AbstractModel {
2062
+ constructor(){
2063
+ super();
2064
+
2065
+ /**
2066
+ * 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.
2067
+ * @type {string || null}
2068
+ */
2069
+ this.RequestId = null;
2070
+
2071
+ }
2072
+
2073
+ /**
2074
+ * @private
2075
+ */
2076
+ deserialize(params) {
2077
+ if (!params) {
2078
+ return;
1833
2079
  }
1834
- this.EnableHybridStorage = 'EnableHybridStorage' in params ? params.EnableHybridStorage : null;
1835
- this.DiskEnhance = 'DiskEnhance' in params ? params.DiskEnhance : null;
1836
- this.EnableDiagnose = 'EnableDiagnose' in params ? params.EnableDiagnose : null;
2080
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1837
2081
 
1838
2082
  }
1839
2083
  }
@@ -1847,7 +2091,7 @@ class UpdateDictionariesResponse extends AbstractModel {
1847
2091
  super();
1848
2092
 
1849
2093
  /**
1850
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2094
+ * 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.
1851
2095
  * @type {string || null}
1852
2096
  */
1853
2097
  this.RequestId = null;
@@ -2588,7 +2832,7 @@ class DeleteInstanceResponse extends AbstractModel {
2588
2832
  super();
2589
2833
 
2590
2834
  /**
2591
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2835
+ * 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.
2592
2836
  * @type {string || null}
2593
2837
  */
2594
2838
  this.RequestId = null;
@@ -2608,27 +2852,15 @@ class DeleteInstanceResponse extends AbstractModel {
2608
2852
  }
2609
2853
 
2610
2854
  /**
2611
- * DescribeInstances response structure.
2855
+ * DeleteIndex response structure.
2612
2856
  * @class
2613
2857
  */
2614
- class DescribeInstancesResponse extends AbstractModel {
2858
+ class DeleteIndexResponse extends AbstractModel {
2615
2859
  constructor(){
2616
2860
  super();
2617
2861
 
2618
2862
  /**
2619
- * Number of returned instances
2620
- * @type {number || null}
2621
- */
2622
- this.TotalCount = null;
2623
-
2624
- /**
2625
- * List of instance details
2626
- * @type {Array.<InstanceInfo> || null}
2627
- */
2628
- this.InstanceList = null;
2629
-
2630
- /**
2631
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2863
+ * 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.
2632
2864
  * @type {string || null}
2633
2865
  */
2634
2866
  this.RequestId = null;
@@ -2642,16 +2874,6 @@ class DescribeInstancesResponse extends AbstractModel {
2642
2874
  if (!params) {
2643
2875
  return;
2644
2876
  }
2645
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
2646
-
2647
- if (params.InstanceList) {
2648
- this.InstanceList = new Array();
2649
- for (let z in params.InstanceList) {
2650
- let obj = new InstanceInfo();
2651
- obj.deserialize(params.InstanceList[z]);
2652
- this.InstanceList.push(obj);
2653
- }
2654
- }
2655
2877
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2656
2878
 
2657
2879
  }
@@ -2708,110 +2930,224 @@ class DescribeInstanceLogsResponse extends AbstractModel {
2708
2930
  }
2709
2931
 
2710
2932
  /**
2711
- * Index metadata field
2933
+ * CreateInstance request structure.
2712
2934
  * @class
2713
2935
  */
2714
- class IndexMetaField extends AbstractModel {
2936
+ class CreateInstanceRequest extends AbstractModel {
2715
2937
  constructor(){
2716
2938
  super();
2717
2939
 
2718
2940
  /**
2719
- * Index type
2720
- Note: This field may return `null`, indicating that no valid value can be obtained.
2941
+ * Availability Zone
2721
2942
  * @type {string || null}
2722
2943
  */
2723
- this.IndexType = null;
2944
+ this.Zone = null;
2724
2945
 
2725
2946
  /**
2726
- * Index name
2727
- Note: This field may return `null`, indicating that no valid value can be obtained.
2947
+ * Instance version. Valid values: `5.6.4`, `6.4.3`, `6.8.2`, `7.5.1`, `7.10.1`
2728
2948
  * @type {string || null}
2729
2949
  */
2730
- this.IndexName = null;
2950
+ this.EsVersion = null;
2731
2951
 
2732
2952
  /**
2733
- * Index status
2734
- Note: This field may return `null`, indicating that no valid value can be obtained.
2953
+ * VPC ID
2735
2954
  * @type {string || null}
2736
2955
  */
2737
- this.IndexStatus = null;
2956
+ this.VpcId = null;
2738
2957
 
2739
2958
  /**
2740
- * Index size (in byte)
2741
- Note: This field may return `null`, indicating that no valid value can be obtained.
2959
+ * Subnet ID
2960
+ * @type {string || null}
2961
+ */
2962
+ this.SubnetId = null;
2963
+
2964
+ /**
2965
+ * Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
2966
+ * @type {string || null}
2967
+ */
2968
+ this.Password = null;
2969
+
2970
+ /**
2971
+ * Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
2972
+ * @type {string || null}
2973
+ */
2974
+ this.InstanceName = null;
2975
+
2976
+ /**
2977
+ * This parameter has been disused. Please use `NodeInfoList`
2978
+ Number of nodes (2-50)
2742
2979
  * @type {number || null}
2743
2980
  */
2744
- this.IndexStorage = null;
2981
+ this.NodeNum = null;
2745
2982
 
2746
2983
  /**
2747
- * Index creation time
2748
- Note: This field may return `null`, indicating that no valid value can be obtained.
2984
+ * Billing mode <li>POSTPAID_BY_HOUR: Pay-as-you-go hourly </li>Default value: POSTPAID_BY_HOUR
2749
2985
  * @type {string || null}
2750
2986
  */
2751
- this.IndexCreateTime = null;
2987
+ this.ChargeType = null;
2752
2988
 
2753
2989
  /**
2754
- * Backing index
2755
- Note: This field may return `null`, indicating that no valid value can be obtained.
2756
- * @type {Array.<BackingIndexMetaField> || null}
2990
+ * This parameter is not used on the global website
2991
+ * @type {number || null}
2757
2992
  */
2758
- this.BackingIndices = null;
2993
+ this.ChargePeriod = null;
2759
2994
 
2760
2995
  /**
2761
- * Cluster ID
2762
- Note: This field may return `null`, indicating that no valid value can be obtained.
2996
+ * This parameter is not used on the global website
2763
2997
  * @type {string || null}
2764
2998
  */
2765
- this.ClusterId = null;
2999
+ this.RenewFlag = null;
2766
3000
 
2767
3001
  /**
2768
- * Cluster name
2769
- Note: This field may return `null`, indicating that no valid value can be obtained.
3002
+ * This parameter has been disused. Please use `NodeInfoList`
3003
+ Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li>
2770
3004
  * @type {string || null}
2771
3005
  */
2772
- this.ClusterName = null;
3006
+ this.NodeType = null;
2773
3007
 
2774
3008
  /**
2775
- * Cluster version
2776
- Note: This field may return `null`, indicating that no valid value can be obtained.
3009
+ * This parameter has been disused. Please use `NodeInfoList`
3010
+ Node storage type <li>CLOUD_SSD: SSD cloud storage </li><li>CLOUD_PREMIUM: premium cloud storage </li>Default value: CLOUD_SSD
2777
3011
  * @type {string || null}
2778
3012
  */
2779
- this.ClusterVersion = null;
3013
+ this.DiskType = null;
2780
3014
 
2781
3015
  /**
2782
- * Index lifecycle policy field
2783
- Note: This field may return `null`, indicating that no valid value can be obtained.
2784
- * @type {IndexPolicyField || null}
3016
+ * This parameter has been disused. Please use `NodeInfoList`
3017
+ Node disk size in GB
3018
+ * @type {number || null}
2785
3019
  */
2786
- this.IndexPolicyField = null;
3020
+ this.DiskSize = null;
2787
3021
 
2788
3022
  /**
2789
- * Index automation field
2790
- Note: This field may return `null`, indicating that no valid value can be obtained.
2791
- * @type {IndexOptionsField || null}
3023
+ * This parameter is not used on the global website
3024
+ * @type {string || null}
2792
3025
  */
2793
- this.IndexOptionsField = null;
3026
+ this.TimeUnit = null;
2794
3027
 
2795
3028
  /**
2796
- * Index setting field
2797
- Note: This field may return `null`, indicating that no valid value can be obtained.
2798
- * @type {IndexSettingsField || null}
3029
+ * Whether to automatically use vouchers <li>0: No </li><li>1: Yes </li>Default value: 0
3030
+ * @type {number || null}
2799
3031
  */
2800
- this.IndexSettingsField = null;
3032
+ this.AutoVoucher = null;
2801
3033
 
2802
3034
  /**
2803
- * Cluster APP ID
2804
- Note: This field may return `null`, indicating that no valid value can be obtained.
3035
+ * List of voucher IDs (only one voucher can be specified at a time currently)
3036
+ * @type {Array.<string> || null}
3037
+ */
3038
+ this.VoucherIds = null;
3039
+
3040
+ /**
3041
+ * This parameter has been disused. Please use `NodeInfoList`
3042
+ Whether to create a dedicated primary node <li>true: yes </li><li>false: no </li>Default value: false
3043
+ * @type {boolean || null}
3044
+ */
3045
+ this.EnableDedicatedMaster = null;
3046
+
3047
+ /**
3048
+ * This parameter has been disused. Please use `NodeInfoList`
3049
+ Number of dedicated primary nodes (only 3 and 5 are supported. This value must be passed in if `EnableDedicatedMaster` is `true`)
2805
3050
  * @type {number || null}
2806
3051
  */
2807
- this.AppId = null;
3052
+ this.MasterNodeNum = null;
2808
3053
 
2809
3054
  /**
2810
- * The number of index docs.
2811
- Note: This field may return null, indicating that no valid values can be obtained.
3055
+ * This parameter has been disused. Please use `NodeInfoList`
3056
+ Dedicated primary node type, which must be passed in if `EnableDedicatedMaster` is `true` <li>ES.S1.SMALL2: 1-core 2 GB</li><li>ES.S1.MEDIUM4: 2-core 4 GB</li><li>ES.S1.MEDIUM8: 2-core 8 GB</li><li>ES.S1.LARGE16: 4-core 16 GB</li><li>ES.S1.2XLARGE32: 8-core 32 GB</li><li>ES.S1.4XLARGE32: 16-core 32 GB</li><li>ES.S1.4XLARGE64: 16-core 64 GB</li>
3057
+ * @type {string || null}
3058
+ */
3059
+ this.MasterNodeType = null;
3060
+
3061
+ /**
3062
+ * This parameter has been disused. Please use `NodeInfoList`
3063
+ Dedicated primary node disk size in GB, which is optional. If passed in, it can only be 50 and cannot be customized currently
2812
3064
  * @type {number || null}
2813
3065
  */
2814
- this.IndexDocs = null;
3066
+ this.MasterNodeDiskSize = null;
3067
+
3068
+ /**
3069
+ * ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized
3070
+ * @type {string || null}
3071
+ */
3072
+ this.ClusterNameInConf = null;
3073
+
3074
+ /**
3075
+ * Cluster deployment mode <li>0: single-AZ deployment </li><li>1: multi-AZ deployment </li>Default value: 0
3076
+ * @type {number || null}
3077
+ */
3078
+ this.DeployMode = null;
3079
+
3080
+ /**
3081
+ * Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)
3082
+ * @type {Array.<ZoneDetail> || null}
3083
+ */
3084
+ this.MultiZoneInfo = null;
3085
+
3086
+ /**
3087
+ * License type <li>oss: Open Source Edition </li><li>basic: Basic Edition </li><li>platinum: Platinum Edition </li>Default value: Platinum
3088
+ * @type {string || null}
3089
+ */
3090
+ this.LicenseType = null;
3091
+
3092
+ /**
3093
+ * Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size
3094
+ * @type {Array.<NodeInfo> || null}
3095
+ */
3096
+ this.NodeInfoList = null;
3097
+
3098
+ /**
3099
+ * Node tag information list
3100
+ * @type {Array.<TagInfo> || null}
3101
+ */
3102
+ this.TagList = null;
3103
+
3104
+ /**
3105
+ * Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li>
3106
+ * @type {number || null}
3107
+ */
3108
+ this.BasicSecurityType = null;
3109
+
3110
+ /**
3111
+ * Scenario template type. 0: not enabled; 1: general; 2: log; 3: search
3112
+ * @type {number || null}
3113
+ */
3114
+ this.SceneType = null;
3115
+
3116
+ /**
3117
+ * Visual node configuration
3118
+ * @type {WebNodeTypeInfo || null}
3119
+ */
3120
+ this.WebNodeTypeInfo = null;
3121
+
3122
+ /**
3123
+ * Valid values: `https`, `http` (default)
3124
+ * @type {string || null}
3125
+ */
3126
+ this.Protocol = null;
3127
+
3128
+ /**
3129
+ * The maintenance time slot
3130
+ * @type {OperationDuration || null}
3131
+ */
3132
+ this.OperationDuration = null;
3133
+
3134
+ /**
3135
+ * Whether to enable the storage-computing separation feature.
3136
+ * @type {boolean || null}
3137
+ */
3138
+ this.EnableHybridStorage = null;
3139
+
3140
+ /**
3141
+ * Whether to enable enhanced SSD
3142
+ * @type {number || null}
3143
+ */
3144
+ this.DiskEnhance = null;
3145
+
3146
+ /**
3147
+ * Whether to enable smart inspection.
3148
+ * @type {boolean || null}
3149
+ */
3150
+ this.EnableDiagnose = null;
2815
3151
 
2816
3152
  }
2817
3153
 
@@ -2822,43 +3158,74 @@ Note: This field may return null, indicating that no valid values can be obtaine
2822
3158
  if (!params) {
2823
3159
  return;
2824
3160
  }
2825
- this.IndexType = 'IndexType' in params ? params.IndexType : null;
2826
- this.IndexName = 'IndexName' in params ? params.IndexName : null;
2827
- this.IndexStatus = 'IndexStatus' in params ? params.IndexStatus : null;
2828
- this.IndexStorage = 'IndexStorage' in params ? params.IndexStorage : null;
2829
- this.IndexCreateTime = 'IndexCreateTime' in params ? params.IndexCreateTime : null;
3161
+ this.Zone = 'Zone' in params ? params.Zone : null;
3162
+ this.EsVersion = 'EsVersion' in params ? params.EsVersion : null;
3163
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
3164
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
3165
+ this.Password = 'Password' in params ? params.Password : null;
3166
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
3167
+ this.NodeNum = 'NodeNum' in params ? params.NodeNum : null;
3168
+ this.ChargeType = 'ChargeType' in params ? params.ChargeType : null;
3169
+ this.ChargePeriod = 'ChargePeriod' in params ? params.ChargePeriod : null;
3170
+ this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
3171
+ this.NodeType = 'NodeType' in params ? params.NodeType : null;
3172
+ this.DiskType = 'DiskType' in params ? params.DiskType : null;
3173
+ this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
3174
+ this.TimeUnit = 'TimeUnit' in params ? params.TimeUnit : null;
3175
+ this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
3176
+ this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
3177
+ this.EnableDedicatedMaster = 'EnableDedicatedMaster' in params ? params.EnableDedicatedMaster : null;
3178
+ this.MasterNodeNum = 'MasterNodeNum' in params ? params.MasterNodeNum : null;
3179
+ this.MasterNodeType = 'MasterNodeType' in params ? params.MasterNodeType : null;
3180
+ this.MasterNodeDiskSize = 'MasterNodeDiskSize' in params ? params.MasterNodeDiskSize : null;
3181
+ this.ClusterNameInConf = 'ClusterNameInConf' in params ? params.ClusterNameInConf : null;
3182
+ this.DeployMode = 'DeployMode' in params ? params.DeployMode : null;
2830
3183
 
2831
- if (params.BackingIndices) {
2832
- this.BackingIndices = new Array();
2833
- for (let z in params.BackingIndices) {
2834
- let obj = new BackingIndexMetaField();
2835
- obj.deserialize(params.BackingIndices[z]);
2836
- this.BackingIndices.push(obj);
3184
+ if (params.MultiZoneInfo) {
3185
+ this.MultiZoneInfo = new Array();
3186
+ for (let z in params.MultiZoneInfo) {
3187
+ let obj = new ZoneDetail();
3188
+ obj.deserialize(params.MultiZoneInfo[z]);
3189
+ this.MultiZoneInfo.push(obj);
2837
3190
  }
2838
3191
  }
2839
- this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
2840
- this.ClusterName = 'ClusterName' in params ? params.ClusterName : null;
2841
- this.ClusterVersion = 'ClusterVersion' in params ? params.ClusterVersion : null;
3192
+ this.LicenseType = 'LicenseType' in params ? params.LicenseType : null;
2842
3193
 
2843
- if (params.IndexPolicyField) {
2844
- let obj = new IndexPolicyField();
2845
- obj.deserialize(params.IndexPolicyField)
2846
- this.IndexPolicyField = obj;
3194
+ if (params.NodeInfoList) {
3195
+ this.NodeInfoList = new Array();
3196
+ for (let z in params.NodeInfoList) {
3197
+ let obj = new NodeInfo();
3198
+ obj.deserialize(params.NodeInfoList[z]);
3199
+ this.NodeInfoList.push(obj);
3200
+ }
2847
3201
  }
2848
3202
 
2849
- if (params.IndexOptionsField) {
2850
- let obj = new IndexOptionsField();
2851
- obj.deserialize(params.IndexOptionsField)
2852
- this.IndexOptionsField = obj;
3203
+ if (params.TagList) {
3204
+ this.TagList = new Array();
3205
+ for (let z in params.TagList) {
3206
+ let obj = new TagInfo();
3207
+ obj.deserialize(params.TagList[z]);
3208
+ this.TagList.push(obj);
3209
+ }
3210
+ }
3211
+ this.BasicSecurityType = 'BasicSecurityType' in params ? params.BasicSecurityType : null;
3212
+ this.SceneType = 'SceneType' in params ? params.SceneType : null;
3213
+
3214
+ if (params.WebNodeTypeInfo) {
3215
+ let obj = new WebNodeTypeInfo();
3216
+ obj.deserialize(params.WebNodeTypeInfo)
3217
+ this.WebNodeTypeInfo = obj;
2853
3218
  }
3219
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
2854
3220
 
2855
- if (params.IndexSettingsField) {
2856
- let obj = new IndexSettingsField();
2857
- obj.deserialize(params.IndexSettingsField)
2858
- this.IndexSettingsField = obj;
3221
+ if (params.OperationDuration) {
3222
+ let obj = new OperationDuration();
3223
+ obj.deserialize(params.OperationDuration)
3224
+ this.OperationDuration = obj;
2859
3225
  }
2860
- this.AppId = 'AppId' in params ? params.AppId : null;
2861
- this.IndexDocs = 'IndexDocs' in params ? params.IndexDocs : null;
3226
+ this.EnableHybridStorage = 'EnableHybridStorage' in params ? params.EnableHybridStorage : null;
3227
+ this.DiskEnhance = 'DiskEnhance' in params ? params.DiskEnhance : null;
3228
+ this.EnableDiagnose = 'EnableDiagnose' in params ? params.EnableDiagnose : null;
2862
3229
 
2863
3230
  }
2864
3231
  }
@@ -2872,7 +3239,7 @@ class UpdatePluginsResponse extends AbstractModel {
2872
3239
  super();
2873
3240
 
2874
3241
  /**
2875
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3242
+ * 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.
2876
3243
  * @type {string || null}
2877
3244
  */
2878
3245
  this.RequestId = null;
@@ -2942,7 +3309,7 @@ class RestartKibanaResponse extends AbstractModel {
2942
3309
  super();
2943
3310
 
2944
3311
  /**
2945
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3312
+ * 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.
2946
3313
  * @type {string || null}
2947
3314
  */
2948
3315
  this.RequestId = null;
@@ -3137,183 +3504,6 @@ class CreateIndexRequest extends AbstractModel {
3137
3504
  }
3138
3505
  }
3139
3506
 
3140
- /**
3141
- * Cluster view data
3142
- * @class
3143
- */
3144
- class ClusterView extends AbstractModel {
3145
- constructor(){
3146
- super();
3147
-
3148
- /**
3149
- * Cluster health status
3150
- * @type {number || null}
3151
- */
3152
- this.Health = null;
3153
-
3154
- /**
3155
- * Whether the cluster is visible
3156
- * @type {number || null}
3157
- */
3158
- this.Visible = null;
3159
-
3160
- /**
3161
- * Whether the cluster encounters circuit breaking
3162
- * @type {number || null}
3163
- */
3164
- this.Break = null;
3165
-
3166
- /**
3167
- * Average disk usage
3168
- * @type {number || null}
3169
- */
3170
- this.AvgDiskUsage = null;
3171
-
3172
- /**
3173
- * Average memory usage
3174
- * @type {number || null}
3175
- */
3176
- this.AvgMemUsage = null;
3177
-
3178
- /**
3179
- * Average CPU usage
3180
- * @type {number || null}
3181
- */
3182
- this.AvgCpuUsage = null;
3183
-
3184
- /**
3185
- * Total disk size of the cluster
3186
- * @type {number || null}
3187
- */
3188
- this.TotalDiskSize = null;
3189
-
3190
- /**
3191
- * Types of nodes to receive client requests
3192
- * @type {Array.<string> || null}
3193
- */
3194
- this.TargetNodeTypes = null;
3195
-
3196
- /**
3197
- * Number of online nodes
3198
- * @type {number || null}
3199
- */
3200
- this.NodeNum = null;
3201
-
3202
- /**
3203
- * Total number of nodes
3204
- * @type {number || null}
3205
- */
3206
- this.TotalNodeNum = null;
3207
-
3208
- /**
3209
- * Number of data nodes
3210
- * @type {number || null}
3211
- */
3212
- this.DataNodeNum = null;
3213
-
3214
- /**
3215
- * Number of indices
3216
- * @type {number || null}
3217
- */
3218
- this.IndexNum = null;
3219
-
3220
- /**
3221
- * Number of documents
3222
- * @type {number || null}
3223
- */
3224
- this.DocNum = null;
3225
-
3226
- /**
3227
- * Used disk size (in bytes)
3228
- * @type {number || null}
3229
- */
3230
- this.DiskUsedInBytes = null;
3231
-
3232
- /**
3233
- * Number of shards
3234
- * @type {number || null}
3235
- */
3236
- this.ShardNum = null;
3237
-
3238
- /**
3239
- * Number of primary shards
3240
- * @type {number || null}
3241
- */
3242
- this.PrimaryShardNum = null;
3243
-
3244
- /**
3245
- * Number of relocating shards
3246
- * @type {number || null}
3247
- */
3248
- this.RelocatingShardNum = null;
3249
-
3250
- /**
3251
- * Number of initializing shards
3252
- * @type {number || null}
3253
- */
3254
- this.InitializingShardNum = null;
3255
-
3256
- /**
3257
- * Number of unassigned shards
3258
- * @type {number || null}
3259
- */
3260
- this.UnassignedShardNum = null;
3261
-
3262
- /**
3263
- * Total COS storage of an enterprise cluster, in GB
3264
- * @type {number || null}
3265
- */
3266
- this.TotalCosStorage = null;
3267
-
3268
- /**
3269
- * Name of the COS bucket that stores searchable snapshots of an enterprise cluster
3270
- Note: This field may return `null`, indicating that no valid value was found.
3271
- * @type {string || null}
3272
- */
3273
- this.SearchableSnapshotCosBucket = null;
3274
-
3275
- /**
3276
- * COS app ID of the searchable snapshots of an enterprise cluster
3277
- Note: This field may return `null`, indicating that no valid value was found.
3278
- * @type {string || null}
3279
- */
3280
- this.SearchableSnapshotCosAppId = null;
3281
-
3282
- }
3283
-
3284
- /**
3285
- * @private
3286
- */
3287
- deserialize(params) {
3288
- if (!params) {
3289
- return;
3290
- }
3291
- this.Health = 'Health' in params ? params.Health : null;
3292
- this.Visible = 'Visible' in params ? params.Visible : null;
3293
- this.Break = 'Break' in params ? params.Break : null;
3294
- this.AvgDiskUsage = 'AvgDiskUsage' in params ? params.AvgDiskUsage : null;
3295
- this.AvgMemUsage = 'AvgMemUsage' in params ? params.AvgMemUsage : null;
3296
- this.AvgCpuUsage = 'AvgCpuUsage' in params ? params.AvgCpuUsage : null;
3297
- this.TotalDiskSize = 'TotalDiskSize' in params ? params.TotalDiskSize : null;
3298
- this.TargetNodeTypes = 'TargetNodeTypes' in params ? params.TargetNodeTypes : null;
3299
- this.NodeNum = 'NodeNum' in params ? params.NodeNum : null;
3300
- this.TotalNodeNum = 'TotalNodeNum' in params ? params.TotalNodeNum : null;
3301
- this.DataNodeNum = 'DataNodeNum' in params ? params.DataNodeNum : null;
3302
- this.IndexNum = 'IndexNum' in params ? params.IndexNum : null;
3303
- this.DocNum = 'DocNum' in params ? params.DocNum : null;
3304
- this.DiskUsedInBytes = 'DiskUsedInBytes' in params ? params.DiskUsedInBytes : null;
3305
- this.ShardNum = 'ShardNum' in params ? params.ShardNum : null;
3306
- this.PrimaryShardNum = 'PrimaryShardNum' in params ? params.PrimaryShardNum : null;
3307
- this.RelocatingShardNum = 'RelocatingShardNum' in params ? params.RelocatingShardNum : null;
3308
- this.InitializingShardNum = 'InitializingShardNum' in params ? params.InitializingShardNum : null;
3309
- this.UnassignedShardNum = 'UnassignedShardNum' in params ? params.UnassignedShardNum : null;
3310
- this.TotalCosStorage = 'TotalCosStorage' in params ? params.TotalCosStorage : null;
3311
- this.SearchableSnapshotCosBucket = 'SearchableSnapshotCosBucket' in params ? params.SearchableSnapshotCosBucket : null;
3312
- this.SearchableSnapshotCosAppId = 'SearchableSnapshotCosAppId' in params ? params.SearchableSnapshotCosAppId : null;
3313
-
3314
- }
3315
- }
3316
-
3317
3507
  /**
3318
3508
  * UpdateInstance request structure.
3319
3509
  * @class
@@ -3732,7 +3922,7 @@ class DescribeInstanceOperationsResponse extends AbstractModel {
3732
3922
  this.Operations = null;
3733
3923
 
3734
3924
  /**
3735
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3925
+ * 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.
3736
3926
  * @type {string || null}
3737
3927
  */
3738
3928
  this.RequestId = null;
@@ -4043,7 +4233,7 @@ Note: This field may return `null`, indicating that no valid value was found.
4043
4233
  this.DealName = null;
4044
4234
 
4045
4235
  /**
4046
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4236
+ * 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.
4047
4237
  * @type {string || null}
4048
4238
  */
4049
4239
  this.RequestId = null;
@@ -4107,7 +4297,7 @@ class UpdateRequestTargetNodeTypesResponse extends AbstractModel {
4107
4297
  super();
4108
4298
 
4109
4299
  /**
4110
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4300
+ * 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.
4111
4301
  * @type {string || null}
4112
4302
  */
4113
4303
  this.RequestId = null;
@@ -4176,6 +4366,24 @@ class UpdateIndexRequest extends AbstractModel {
4176
4366
  */
4177
4367
  this.RolloverBackingIndex = null;
4178
4368
 
4369
+ /**
4370
+ *
4371
+ * @type {boolean || null}
4372
+ */
4373
+ this.MountIndex = null;
4374
+
4375
+ /**
4376
+ *
4377
+ * @type {string || null}
4378
+ */
4379
+ this.IndexUuid = null;
4380
+
4381
+ /**
4382
+ *
4383
+ * @type {string || null}
4384
+ */
4385
+ this.BackingIndexName = null;
4386
+
4179
4387
  }
4180
4388
 
4181
4389
  /**
@@ -4192,6 +4400,9 @@ class UpdateIndexRequest extends AbstractModel {
4192
4400
  this.Username = 'Username' in params ? params.Username : null;
4193
4401
  this.Password = 'Password' in params ? params.Password : null;
4194
4402
  this.RolloverBackingIndex = 'RolloverBackingIndex' in params ? params.RolloverBackingIndex : null;
4403
+ this.MountIndex = 'MountIndex' in params ? params.MountIndex : null;
4404
+ this.IndexUuid = 'IndexUuid' in params ? params.IndexUuid : null;
4405
+ this.BackingIndexName = 'BackingIndexName' in params ? params.BackingIndexName : null;
4195
4406
 
4196
4407
  }
4197
4408
  }
@@ -4266,6 +4477,62 @@ class MasterNodeInfo extends AbstractModel {
4266
4477
  }
4267
4478
  }
4268
4479
 
4480
+ /**
4481
+ * DescribeInstanceOperations request structure.
4482
+ * @class
4483
+ */
4484
+ class DescribeInstanceOperationsRequest extends AbstractModel {
4485
+ constructor(){
4486
+ super();
4487
+
4488
+ /**
4489
+ * Cluster instance ID
4490
+ * @type {string || null}
4491
+ */
4492
+ this.InstanceId = null;
4493
+
4494
+ /**
4495
+ * Start time, such as "2019-03-07 16:30:39"
4496
+ * @type {string || null}
4497
+ */
4498
+ this.StartTime = null;
4499
+
4500
+ /**
4501
+ * End time, such as "2019-03-30 20:18:03"
4502
+ * @type {string || null}
4503
+ */
4504
+ this.EndTime = null;
4505
+
4506
+ /**
4507
+ * Pagination start value
4508
+ * @type {number || null}
4509
+ */
4510
+ this.Offset = null;
4511
+
4512
+ /**
4513
+ * Number of entries per page
4514
+ * @type {number || null}
4515
+ */
4516
+ this.Limit = null;
4517
+
4518
+ }
4519
+
4520
+ /**
4521
+ * @private
4522
+ */
4523
+ deserialize(params) {
4524
+ if (!params) {
4525
+ return;
4526
+ }
4527
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4528
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
4529
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
4530
+ this.Offset = 'Offset' in params ? params.Offset : null;
4531
+ this.Limit = 'Limit' in params ? params.Limit : null;
4532
+
4533
+ }
4534
+ }
4535
+
4269
4536
  /**
4270
4537
  * Index automation field
4271
4538
  * @class
@@ -4466,7 +4733,7 @@ Note: This field may return `null`, indicating that no valid value was found.
4466
4733
  this.KibanasView = null;
4467
4734
 
4468
4735
  /**
4469
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4736
+ * 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.
4470
4737
  * @type {string || null}
4471
4738
  */
4472
4739
  this.RequestId = null;
@@ -4518,7 +4785,7 @@ class RestartNodesResponse extends AbstractModel {
4518
4785
  super();
4519
4786
 
4520
4787
  /**
4521
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4788
+ * 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.
4522
4789
  * @type {string || null}
4523
4790
  */
4524
4791
  this.RequestId = null;
@@ -4614,6 +4881,41 @@ class SubTaskDetail extends AbstractModel {
4614
4881
  }
4615
4882
  }
4616
4883
 
4884
+ /**
4885
+ * DeleteAutoBackUpStrategy response structure.
4886
+ * @class
4887
+ */
4888
+ class DeleteAutoBackUpStrategyResponse extends AbstractModel {
4889
+ constructor(){
4890
+ super();
4891
+
4892
+ /**
4893
+ * Valid values: true (success) and false (failure).
4894
+ * @type {boolean || null}
4895
+ */
4896
+ this.Status = null;
4897
+
4898
+ /**
4899
+ * 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.
4900
+ * @type {string || null}
4901
+ */
4902
+ this.RequestId = null;
4903
+
4904
+ }
4905
+
4906
+ /**
4907
+ * @private
4908
+ */
4909
+ deserialize(params) {
4910
+ if (!params) {
4911
+ return;
4912
+ }
4913
+ this.Status = 'Status' in params ? params.Status : null;
4914
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4915
+
4916
+ }
4917
+ }
4918
+
4617
4919
  /**
4618
4920
  * DescribeIndexMeta request structure.
4619
4921
  * @class
@@ -4748,13 +5050,25 @@ class UpgradeInstanceRequest extends AbstractModel {
4748
5050
  }
4749
5051
 
4750
5052
  /**
4751
- * DeleteIndex response structure.
5053
+ * DescribeInstances response structure.
4752
5054
  * @class
4753
5055
  */
4754
- class DeleteIndexResponse extends AbstractModel {
5056
+ class DescribeInstancesResponse extends AbstractModel {
4755
5057
  constructor(){
4756
5058
  super();
4757
5059
 
5060
+ /**
5061
+ * Number of returned instances
5062
+ * @type {number || null}
5063
+ */
5064
+ this.TotalCount = null;
5065
+
5066
+ /**
5067
+ * List of instance details
5068
+ * @type {Array.<InstanceInfo> || null}
5069
+ */
5070
+ this.InstanceList = null;
5071
+
4758
5072
  /**
4759
5073
  * 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.
4760
5074
  * @type {string || null}
@@ -4770,6 +5084,16 @@ class DeleteIndexResponse extends AbstractModel {
4770
5084
  if (!params) {
4771
5085
  return;
4772
5086
  }
5087
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
5088
+
5089
+ if (params.InstanceList) {
5090
+ this.InstanceList = new Array();
5091
+ for (let z in params.InstanceList) {
5092
+ let obj = new InstanceInfo();
5093
+ obj.deserialize(params.InstanceList[z]);
5094
+ this.InstanceList.push(obj);
5095
+ }
5096
+ }
4773
5097
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4774
5098
 
4775
5099
  }
@@ -4916,7 +5240,7 @@ class GetRequestTargetNodeTypesResponse extends AbstractModel {
4916
5240
  this.TargetNodeTypes = null;
4917
5241
 
4918
5242
  /**
4919
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5243
+ * 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.
4920
5244
  * @type {string || null}
4921
5245
  */
4922
5246
  this.RequestId = null;
@@ -4959,7 +5283,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
4959
5283
  this.TotalCount = null;
4960
5284
 
4961
5285
  /**
4962
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5286
+ * 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.
4963
5287
  * @type {string || null}
4964
5288
  */
4965
5289
  this.RequestId = null;
@@ -5072,18 +5396,116 @@ class Operation extends AbstractModel {
5072
5396
  }
5073
5397
 
5074
5398
  /**
5075
- * UpdateIndex response structure.
5399
+ * Index metadata field
5076
5400
  * @class
5077
5401
  */
5078
- class UpdateIndexResponse extends AbstractModel {
5402
+ class IndexMetaField extends AbstractModel {
5079
5403
  constructor(){
5080
5404
  super();
5081
5405
 
5082
5406
  /**
5083
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5407
+ * Index type
5408
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5084
5409
  * @type {string || null}
5085
5410
  */
5086
- this.RequestId = null;
5411
+ this.IndexType = null;
5412
+
5413
+ /**
5414
+ * Index name
5415
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5416
+ * @type {string || null}
5417
+ */
5418
+ this.IndexName = null;
5419
+
5420
+ /**
5421
+ *
5422
+ * @type {string || null}
5423
+ */
5424
+ this.IndexMetaJson = null;
5425
+
5426
+ /**
5427
+ * Index status
5428
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5429
+ * @type {string || null}
5430
+ */
5431
+ this.IndexStatus = null;
5432
+
5433
+ /**
5434
+ * Index size (in byte)
5435
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5436
+ * @type {number || null}
5437
+ */
5438
+ this.IndexStorage = null;
5439
+
5440
+ /**
5441
+ * Index creation time
5442
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5443
+ * @type {string || null}
5444
+ */
5445
+ this.IndexCreateTime = null;
5446
+
5447
+ /**
5448
+ * Backing index
5449
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5450
+ * @type {Array.<BackingIndexMetaField> || null}
5451
+ */
5452
+ this.BackingIndices = null;
5453
+
5454
+ /**
5455
+ * Cluster ID
5456
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5457
+ * @type {string || null}
5458
+ */
5459
+ this.ClusterId = null;
5460
+
5461
+ /**
5462
+ * Cluster name
5463
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5464
+ * @type {string || null}
5465
+ */
5466
+ this.ClusterName = null;
5467
+
5468
+ /**
5469
+ * Cluster version
5470
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5471
+ * @type {string || null}
5472
+ */
5473
+ this.ClusterVersion = null;
5474
+
5475
+ /**
5476
+ * Index lifecycle policy field
5477
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5478
+ * @type {IndexPolicyField || null}
5479
+ */
5480
+ this.IndexPolicyField = null;
5481
+
5482
+ /**
5483
+ * Index automation field
5484
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5485
+ * @type {IndexOptionsField || null}
5486
+ */
5487
+ this.IndexOptionsField = null;
5488
+
5489
+ /**
5490
+ * Index setting field
5491
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5492
+ * @type {IndexSettingsField || null}
5493
+ */
5494
+ this.IndexSettingsField = null;
5495
+
5496
+ /**
5497
+ * Cluster APP ID
5498
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5499
+ * @type {number || null}
5500
+ */
5501
+ this.AppId = null;
5502
+
5503
+ /**
5504
+ * The number of index docs.
5505
+ Note: This field may return null, indicating that no valid values can be obtained.
5506
+ * @type {number || null}
5507
+ */
5508
+ this.IndexDocs = null;
5087
5509
 
5088
5510
  }
5089
5511
 
@@ -5094,7 +5516,44 @@ class UpdateIndexResponse extends AbstractModel {
5094
5516
  if (!params) {
5095
5517
  return;
5096
5518
  }
5097
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
5519
+ this.IndexType = 'IndexType' in params ? params.IndexType : null;
5520
+ this.IndexName = 'IndexName' in params ? params.IndexName : null;
5521
+ this.IndexMetaJson = 'IndexMetaJson' in params ? params.IndexMetaJson : null;
5522
+ this.IndexStatus = 'IndexStatus' in params ? params.IndexStatus : null;
5523
+ this.IndexStorage = 'IndexStorage' in params ? params.IndexStorage : null;
5524
+ this.IndexCreateTime = 'IndexCreateTime' in params ? params.IndexCreateTime : null;
5525
+
5526
+ if (params.BackingIndices) {
5527
+ this.BackingIndices = new Array();
5528
+ for (let z in params.BackingIndices) {
5529
+ let obj = new BackingIndexMetaField();
5530
+ obj.deserialize(params.BackingIndices[z]);
5531
+ this.BackingIndices.push(obj);
5532
+ }
5533
+ }
5534
+ this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
5535
+ this.ClusterName = 'ClusterName' in params ? params.ClusterName : null;
5536
+ this.ClusterVersion = 'ClusterVersion' in params ? params.ClusterVersion : null;
5537
+
5538
+ if (params.IndexPolicyField) {
5539
+ let obj = new IndexPolicyField();
5540
+ obj.deserialize(params.IndexPolicyField)
5541
+ this.IndexPolicyField = obj;
5542
+ }
5543
+
5544
+ if (params.IndexOptionsField) {
5545
+ let obj = new IndexOptionsField();
5546
+ obj.deserialize(params.IndexOptionsField)
5547
+ this.IndexOptionsField = obj;
5548
+ }
5549
+
5550
+ if (params.IndexSettingsField) {
5551
+ let obj = new IndexSettingsField();
5552
+ obj.deserialize(params.IndexSettingsField)
5553
+ this.IndexSettingsField = obj;
5554
+ }
5555
+ this.AppId = 'AppId' in params ? params.AppId : null;
5556
+ this.IndexDocs = 'IndexDocs' in params ? params.IndexDocs : null;
5098
5557
 
5099
5558
  }
5100
5559
  }
@@ -5162,6 +5621,34 @@ class UpgradeLicenseRequest extends AbstractModel {
5162
5621
  }
5163
5622
  }
5164
5623
 
5624
+ /**
5625
+ * ModifyAutoBackUpCommonInfo response structure.
5626
+ * @class
5627
+ */
5628
+ class ModifyAutoBackUpCommonInfoResponse extends AbstractModel {
5629
+ constructor(){
5630
+ super();
5631
+
5632
+ /**
5633
+ * 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.
5634
+ * @type {string || null}
5635
+ */
5636
+ this.RequestId = null;
5637
+
5638
+ }
5639
+
5640
+ /**
5641
+ * @private
5642
+ */
5643
+ deserialize(params) {
5644
+ if (!params) {
5645
+ return;
5646
+ }
5647
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5648
+
5649
+ }
5650
+ }
5651
+
5165
5652
  /**
5166
5653
  * The information of optional web components
5167
5654
  * @class
@@ -5243,45 +5730,52 @@ module.exports = {
5243
5730
  WebNodeTypeInfo: WebNodeTypeInfo,
5244
5731
  InstanceLog: InstanceLog,
5245
5732
  LocalDiskInfo: LocalDiskInfo,
5733
+ ModifyAutoBackUpStrategyRequest: ModifyAutoBackUpStrategyRequest,
5246
5734
  IndexPolicyField: IndexPolicyField,
5247
5735
  NodeInfo: NodeInfo,
5248
- UpgradeInstanceResponse: UpgradeInstanceResponse,
5736
+ UpdateIndexResponse: UpdateIndexResponse,
5737
+ DescribeAutoBackUpStrategyRequest: DescribeAutoBackUpStrategyRequest,
5249
5738
  DescribeIndexMetaResponse: DescribeIndexMetaResponse,
5250
5739
  UpdateInstanceResponse: UpdateInstanceResponse,
5251
- DescribeInstanceOperationsRequest: DescribeInstanceOperationsRequest,
5252
- CreateIndexResponse: CreateIndexResponse,
5253
5740
  OperationDetail: OperationDetail,
5741
+ ClusterView: ClusterView,
5742
+ TagInfo: TagInfo,
5743
+ CreateIndexResponse: CreateIndexResponse,
5744
+ DeleteAutoBackUpStrategyRequest: DeleteAutoBackUpStrategyRequest,
5254
5745
  KibanaView: KibanaView,
5255
5746
  EsPublicAcl: EsPublicAcl,
5256
5747
  BackingIndexMetaField: BackingIndexMetaField,
5257
5748
  DictInfo: DictInfo,
5258
5749
  RestartInstanceResponse: RestartInstanceResponse,
5750
+ KeyValue: KeyValue,
5259
5751
  RestartKibanaRequest: RestartKibanaRequest,
5260
5752
  CreateInstanceResponse: CreateInstanceResponse,
5261
5753
  IndexSettingsField: IndexSettingsField,
5754
+ DescribeAutoBackUpStrategyResponse: DescribeAutoBackUpStrategyResponse,
5262
5755
  DescribeInstanceLogsRequest: DescribeInstanceLogsRequest,
5263
5756
  UpdateDictionariesRequest: UpdateDictionariesRequest,
5264
- ZoneDetail: ZoneDetail,
5265
5757
  UpdateRequestTargetNodeTypesRequest: UpdateRequestTargetNodeTypesRequest,
5758
+ ZoneDetail: ZoneDetail,
5759
+ ModifyAutoBackUpCommonInfoRequest: ModifyAutoBackUpCommonInfoRequest,
5266
5760
  OperationDuration: OperationDuration,
5267
5761
  NodeView: NodeView,
5268
5762
  DescribeIndexListRequest: DescribeIndexListRequest,
5269
5763
  CosBackup: CosBackup,
5270
- TagInfo: TagInfo,
5271
- KeyValue: KeyValue,
5272
- CreateInstanceRequest: CreateInstanceRequest,
5764
+ ModifyAutoBackUpStrategyResponse: ModifyAutoBackUpStrategyResponse,
5765
+ CreateAutoBackUpStrategyRequest: CreateAutoBackUpStrategyRequest,
5766
+ CreateAutoBackUpStrategyResponse: CreateAutoBackUpStrategyResponse,
5767
+ UpgradeInstanceResponse: UpgradeInstanceResponse,
5273
5768
  UpdateDictionariesResponse: UpdateDictionariesResponse,
5274
5769
  InstanceInfo: InstanceInfo,
5275
5770
  DeleteInstanceResponse: DeleteInstanceResponse,
5276
- DescribeInstancesResponse: DescribeInstancesResponse,
5771
+ DeleteIndexResponse: DeleteIndexResponse,
5277
5772
  DescribeInstanceLogsResponse: DescribeInstanceLogsResponse,
5278
- IndexMetaField: IndexMetaField,
5773
+ CreateInstanceRequest: CreateInstanceRequest,
5279
5774
  UpdatePluginsResponse: UpdatePluginsResponse,
5280
5775
  RestartInstanceRequest: RestartInstanceRequest,
5281
5776
  RestartKibanaResponse: RestartKibanaResponse,
5282
5777
  DescribeInstancesRequest: DescribeInstancesRequest,
5283
5778
  CreateIndexRequest: CreateIndexRequest,
5284
- ClusterView: ClusterView,
5285
5779
  UpdateInstanceRequest: UpdateInstanceRequest,
5286
5780
  EsDictionaryInfo: EsDictionaryInfo,
5287
5781
  DescribeInstanceOperationsResponse: DescribeInstanceOperationsResponse,
@@ -5295,23 +5789,26 @@ module.exports = {
5295
5789
  UpdateRequestTargetNodeTypesResponse: UpdateRequestTargetNodeTypesResponse,
5296
5790
  UpdateIndexRequest: UpdateIndexRequest,
5297
5791
  MasterNodeInfo: MasterNodeInfo,
5792
+ DescribeInstanceOperationsRequest: DescribeInstanceOperationsRequest,
5298
5793
  IndexOptionsField: IndexOptionsField,
5299
5794
  TaskDetail: TaskDetail,
5300
5795
  DeleteInstanceRequest: DeleteInstanceRequest,
5301
5796
  DescribeViewsResponse: DescribeViewsResponse,
5302
5797
  RestartNodesResponse: RestartNodesResponse,
5303
5798
  SubTaskDetail: SubTaskDetail,
5799
+ DeleteAutoBackUpStrategyResponse: DeleteAutoBackUpStrategyResponse,
5304
5800
  DescribeIndexMetaRequest: DescribeIndexMetaRequest,
5305
5801
  UpgradeInstanceRequest: UpgradeInstanceRequest,
5306
- DeleteIndexResponse: DeleteIndexResponse,
5802
+ DescribeInstancesResponse: DescribeInstancesResponse,
5307
5803
  DeleteIndexRequest: DeleteIndexRequest,
5308
5804
  EsConfigSetInfo: EsConfigSetInfo,
5309
5805
  DescribeViewsRequest: DescribeViewsRequest,
5310
5806
  GetRequestTargetNodeTypesResponse: GetRequestTargetNodeTypesResponse,
5311
5807
  DescribeIndexListResponse: DescribeIndexListResponse,
5312
5808
  Operation: Operation,
5313
- UpdateIndexResponse: UpdateIndexResponse,
5809
+ IndexMetaField: IndexMetaField,
5314
5810
  UpgradeLicenseRequest: UpgradeLicenseRequest,
5811
+ ModifyAutoBackUpCommonInfoResponse: ModifyAutoBackUpCommonInfoResponse,
5315
5812
  OptionalWebServiceInfo: OptionalWebServiceInfo,
5316
5813
 
5317
5814
  }