tencentcloud-sdk-python 3.0.1256__py2.py3-none-any.whl → 3.0.1258__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +26 -0
  3. tencentcloud/asr/v20190614/models.py +3 -2
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
  5. tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
  6. tencentcloud/autoscaling/v20180419/models.py +18 -2
  7. tencentcloud/bi/v20220105/models.py +44 -4
  8. tencentcloud/billing/v20180709/billing_client.py +23 -0
  9. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  10. tencentcloud/billing/v20180709/models.py +424 -0
  11. tencentcloud/bsca/v20210811/models.py +306 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  14. tencentcloud/ccc/v20200210/models.py +249 -136
  15. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  16. tencentcloud/cdb/v20170320/models.py +25 -1
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwdoris/v20211228/models.py +29 -2
  19. tencentcloud/cfw/v20190904/cfw_client.py +6 -30
  20. tencentcloud/cfw/v20190904/models.py +267 -479
  21. tencentcloud/ciam/v20220331/models.py +13 -0
  22. tencentcloud/ckafka/v20190819/models.py +5 -5
  23. tencentcloud/clb/v20180317/models.py +1 -1
  24. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
  25. tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
  26. tencentcloud/cloudaudit/v20190319/models.py +328 -254
  27. tencentcloud/cls/v20201016/cls_client.py +8 -1
  28. tencentcloud/cls/v20201016/models.py +551 -109
  29. tencentcloud/csip/v20221121/models.py +225 -12
  30. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  31. tencentcloud/cvm/v20170312/models.py +78 -0
  32. tencentcloud/cwp/v20180228/cwp_client.py +3 -1
  33. tencentcloud/cwp/v20180228/models.py +206 -52
  34. tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
  35. tencentcloud/cynosdb/v20190107/models.py +78 -0
  36. tencentcloud/dasb/v20191018/models.py +155 -0
  37. tencentcloud/dlc/v20210125/models.py +13 -0
  38. tencentcloud/domain/v20180808/errorcodes.py +45 -0
  39. tencentcloud/eb/v20210416/models.py +19 -19
  40. tencentcloud/emr/v20190103/models.py +12 -0
  41. tencentcloud/es/v20180416/errorcodes.py +4 -1
  42. tencentcloud/es/v20180416/es_client.py +92 -0
  43. tencentcloud/es/v20180416/models.py +770 -12
  44. tencentcloud/ess/v20201111/ess_client.py +71 -4
  45. tencentcloud/ess/v20201111/models.py +260 -10
  46. tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
  47. tencentcloud/essbasic/v20210526/models.py +390 -21
  48. tencentcloud/gaap/v20180529/models.py +40 -3
  49. tencentcloud/hunyuan/v20230901/models.py +12 -0
  50. tencentcloud/ioa/v20220601/errorcodes.py +15 -0
  51. tencentcloud/ioa/v20220601/ioa_client.py +26 -2
  52. tencentcloud/ioa/v20220601/models.py +516 -46
  53. tencentcloud/iotexplorer/v20190423/models.py +52 -0
  54. tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
  55. tencentcloud/iotvideo/v20191126/models.py +379 -0
  56. tencentcloud/iss/v20230517/models.py +25 -0
  57. tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
  58. tencentcloud/live/v20180801/models.py +51 -0
  59. tencentcloud/mongodb/v20190725/models.py +3 -7
  60. tencentcloud/mqtt/v20240516/models.py +4 -4
  61. tencentcloud/ocr/v20181119/models.py +7 -16
  62. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  63. tencentcloud/organization/v20210331/errorcodes.py +31 -1
  64. tencentcloud/organization/v20210331/models.py +674 -0
  65. tencentcloud/organization/v20210331/organization_client.py +138 -0
  66. tencentcloud/partners/v20180321/models.py +71 -0
  67. tencentcloud/partners/v20180321/partners_client.py +23 -0
  68. tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
  69. tencentcloud/privatedns/v20201028/models.py +858 -4
  70. tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
  71. tencentcloud/region/v20220627/models.py +0 -1
  72. tencentcloud/scf/v20180416/models.py +889 -8
  73. tencentcloud/scf/v20180416/scf_client.py +115 -0
  74. tencentcloud/smop/v20201203/models.py +17 -17
  75. tencentcloud/ssl/v20191205/models.py +44 -3
  76. tencentcloud/ssm/v20190923/models.py +84 -0
  77. tencentcloud/tat/v20201028/models.py +1 -29
  78. tencentcloud/tcss/v20201101/models.py +815 -33
  79. tencentcloud/tcss/v20201101/tcss_client.py +1 -1
  80. tencentcloud/tdmq/v20200217/models.py +7 -7
  81. tencentcloud/tem/v20210701/models.py +202 -198
  82. tencentcloud/teo/v20220901/errorcodes.py +51 -0
  83. tencentcloud/teo/v20220901/models.py +1470 -97
  84. tencentcloud/teo/v20220901/teo_client.py +115 -0
  85. tencentcloud/tke/v20180525/models.py +70 -0
  86. tencentcloud/tke/v20180525/tke_client.py +23 -0
  87. tencentcloud/tms/v20201229/models.py +0 -558
  88. tencentcloud/tms/v20201229/tms_client.py +0 -23
  89. tencentcloud/trp/v20210515/models.py +6 -6
  90. tencentcloud/trtc/v20190722/models.py +353 -4
  91. tencentcloud/tse/v20201207/models.py +94 -0
  92. tencentcloud/tse/v20201207/tse_client.py +23 -0
  93. tencentcloud/vclm/v20240523/models.py +166 -0
  94. tencentcloud/vpc/v20170312/models.py +137 -6
  95. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  96. tencentcloud/waf/v20180125/models.py +99 -0
  97. tencentcloud/waf/v20180125/waf_client.py +23 -0
  98. tencentcloud/wedata/v20210820/models.py +991 -0
  99. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  100. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
  101. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +104 -109
  102. tencentcloud/cr/__init__.py +0 -0
  103. tencentcloud/cr/v20180321/__init__.py +0 -0
  104. tencentcloud/cr/v20180321/cr_client.py +0 -672
  105. tencentcloud/cr/v20180321/errorcodes.py +0 -114
  106. tencentcloud/cr/v20180321/models.py +0 -4966
  107. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
  108. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
  109. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -771,6 +771,101 @@ class CosSnapShotInfo(AbstractModel):
771
771
 
772
772
 
773
773
 
774
+ class CreateClusterSnapshotRequest(AbstractModel):
775
+ """CreateClusterSnapshot请求参数结构体
776
+
777
+ """
778
+
779
+ def __init__(self):
780
+ r"""
781
+ :param _InstanceId: 实例名称
782
+ :type InstanceId: str
783
+ :param _SnapshotName: 快照名称
784
+ :type SnapshotName: str
785
+ :param _Indices: 索引名称
786
+ :type Indices: str
787
+ """
788
+ self._InstanceId = None
789
+ self._SnapshotName = None
790
+ self._Indices = None
791
+
792
+ @property
793
+ def InstanceId(self):
794
+ return self._InstanceId
795
+
796
+ @InstanceId.setter
797
+ def InstanceId(self, InstanceId):
798
+ self._InstanceId = InstanceId
799
+
800
+ @property
801
+ def SnapshotName(self):
802
+ return self._SnapshotName
803
+
804
+ @SnapshotName.setter
805
+ def SnapshotName(self, SnapshotName):
806
+ self._SnapshotName = SnapshotName
807
+
808
+ @property
809
+ def Indices(self):
810
+ return self._Indices
811
+
812
+ @Indices.setter
813
+ def Indices(self, Indices):
814
+ self._Indices = Indices
815
+
816
+
817
+ def _deserialize(self, params):
818
+ self._InstanceId = params.get("InstanceId")
819
+ self._SnapshotName = params.get("SnapshotName")
820
+ self._Indices = params.get("Indices")
821
+ memeber_set = set(params.keys())
822
+ for name, value in vars(self).items():
823
+ property_name = name[1:]
824
+ if property_name in memeber_set:
825
+ memeber_set.remove(property_name)
826
+ if len(memeber_set) > 0:
827
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
828
+
829
+
830
+
831
+ class CreateClusterSnapshotResponse(AbstractModel):
832
+ """CreateClusterSnapshot返回参数结构体
833
+
834
+ """
835
+
836
+ def __init__(self):
837
+ r"""
838
+ :param _InstanceId: 实例名称
839
+ 注意:此字段可能返回 null,表示取不到有效值。
840
+ :type InstanceId: str
841
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
842
+ :type RequestId: str
843
+ """
844
+ self._InstanceId = None
845
+ self._RequestId = None
846
+
847
+ @property
848
+ def InstanceId(self):
849
+ return self._InstanceId
850
+
851
+ @InstanceId.setter
852
+ def InstanceId(self, InstanceId):
853
+ self._InstanceId = InstanceId
854
+
855
+ @property
856
+ def RequestId(self):
857
+ return self._RequestId
858
+
859
+ @RequestId.setter
860
+ def RequestId(self, RequestId):
861
+ self._RequestId = RequestId
862
+
863
+
864
+ def _deserialize(self, params):
865
+ self._InstanceId = params.get("InstanceId")
866
+ self._RequestId = params.get("RequestId")
867
+
868
+
774
869
  class CreateCosMigrateToServerlessInstanceRequest(AbstractModel):
775
870
  """CreateCosMigrateToServerlessInstance请求参数结构体
776
871
 
@@ -2301,6 +2396,100 @@ class DataStreamInfo(AbstractModel):
2301
2396
 
2302
2397
 
2303
2398
 
2399
+ class DeleteClusterSnapshotRequest(AbstractModel):
2400
+ """DeleteClusterSnapshot请求参数结构体
2401
+
2402
+ """
2403
+
2404
+ def __init__(self):
2405
+ r"""
2406
+ :param _InstanceId: 集群实例Id,格式:es-xxxx
2407
+ :type InstanceId: str
2408
+ :param _RepositoryName: 快照仓库名称
2409
+ :type RepositoryName: str
2410
+ :param _SnapshotName: 集群快照名称
2411
+ :type SnapshotName: str
2412
+ """
2413
+ self._InstanceId = None
2414
+ self._RepositoryName = None
2415
+ self._SnapshotName = None
2416
+
2417
+ @property
2418
+ def InstanceId(self):
2419
+ return self._InstanceId
2420
+
2421
+ @InstanceId.setter
2422
+ def InstanceId(self, InstanceId):
2423
+ self._InstanceId = InstanceId
2424
+
2425
+ @property
2426
+ def RepositoryName(self):
2427
+ return self._RepositoryName
2428
+
2429
+ @RepositoryName.setter
2430
+ def RepositoryName(self, RepositoryName):
2431
+ self._RepositoryName = RepositoryName
2432
+
2433
+ @property
2434
+ def SnapshotName(self):
2435
+ return self._SnapshotName
2436
+
2437
+ @SnapshotName.setter
2438
+ def SnapshotName(self, SnapshotName):
2439
+ self._SnapshotName = SnapshotName
2440
+
2441
+
2442
+ def _deserialize(self, params):
2443
+ self._InstanceId = params.get("InstanceId")
2444
+ self._RepositoryName = params.get("RepositoryName")
2445
+ self._SnapshotName = params.get("SnapshotName")
2446
+ memeber_set = set(params.keys())
2447
+ for name, value in vars(self).items():
2448
+ property_name = name[1:]
2449
+ if property_name in memeber_set:
2450
+ memeber_set.remove(property_name)
2451
+ if len(memeber_set) > 0:
2452
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2453
+
2454
+
2455
+
2456
+ class DeleteClusterSnapshotResponse(AbstractModel):
2457
+ """DeleteClusterSnapshot返回参数结构体
2458
+
2459
+ """
2460
+
2461
+ def __init__(self):
2462
+ r"""
2463
+ :param _InstanceId: 集群id
2464
+ :type InstanceId: str
2465
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2466
+ :type RequestId: str
2467
+ """
2468
+ self._InstanceId = None
2469
+ self._RequestId = None
2470
+
2471
+ @property
2472
+ def InstanceId(self):
2473
+ return self._InstanceId
2474
+
2475
+ @InstanceId.setter
2476
+ def InstanceId(self, InstanceId):
2477
+ self._InstanceId = InstanceId
2478
+
2479
+ @property
2480
+ def RequestId(self):
2481
+ return self._RequestId
2482
+
2483
+ @RequestId.setter
2484
+ def RequestId(self, RequestId):
2485
+ self._RequestId = RequestId
2486
+
2487
+
2488
+ def _deserialize(self, params):
2489
+ self._InstanceId = params.get("InstanceId")
2490
+ self._RequestId = params.get("RequestId")
2491
+
2492
+
2304
2493
  class DeleteIndexRequest(AbstractModel):
2305
2494
  """DeleteIndex请求参数结构体
2306
2495
 
@@ -2733,6 +2922,129 @@ class DeleteServerlessSpaceUserResponse(AbstractModel):
2733
2922
  self._RequestId = params.get("RequestId")
2734
2923
 
2735
2924
 
2925
+ class DescribeClusterSnapshotRequest(AbstractModel):
2926
+ """DescribeClusterSnapshot请求参数结构体
2927
+
2928
+ """
2929
+
2930
+ def __init__(self):
2931
+ r"""
2932
+ :param _InstanceId: 集群实例Id,格式:es-xxxx
2933
+ :type InstanceId: str
2934
+ :param _RepositoryName: 快照仓库名称
2935
+ :type RepositoryName: str
2936
+ :param _SnapshotName: 集群快照名称
2937
+ :type SnapshotName: str
2938
+ """
2939
+ self._InstanceId = None
2940
+ self._RepositoryName = None
2941
+ self._SnapshotName = None
2942
+
2943
+ @property
2944
+ def InstanceId(self):
2945
+ return self._InstanceId
2946
+
2947
+ @InstanceId.setter
2948
+ def InstanceId(self, InstanceId):
2949
+ self._InstanceId = InstanceId
2950
+
2951
+ @property
2952
+ def RepositoryName(self):
2953
+ return self._RepositoryName
2954
+
2955
+ @RepositoryName.setter
2956
+ def RepositoryName(self, RepositoryName):
2957
+ self._RepositoryName = RepositoryName
2958
+
2959
+ @property
2960
+ def SnapshotName(self):
2961
+ return self._SnapshotName
2962
+
2963
+ @SnapshotName.setter
2964
+ def SnapshotName(self, SnapshotName):
2965
+ self._SnapshotName = SnapshotName
2966
+
2967
+
2968
+ def _deserialize(self, params):
2969
+ self._InstanceId = params.get("InstanceId")
2970
+ self._RepositoryName = params.get("RepositoryName")
2971
+ self._SnapshotName = params.get("SnapshotName")
2972
+ memeber_set = set(params.keys())
2973
+ for name, value in vars(self).items():
2974
+ property_name = name[1:]
2975
+ if property_name in memeber_set:
2976
+ memeber_set.remove(property_name)
2977
+ if len(memeber_set) > 0:
2978
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2979
+
2980
+
2981
+
2982
+ class DescribeClusterSnapshotResponse(AbstractModel):
2983
+ """DescribeClusterSnapshot返回参数结构体
2984
+
2985
+ """
2986
+
2987
+ def __init__(self):
2988
+ r"""
2989
+ :param _InstanceId: 集群实例Id,格式:es-xxxx
2990
+ :type InstanceId: str
2991
+ :param _Snapshots: 快照备份详情列表
2992
+ :type Snapshots: list of Snapshots
2993
+ :param _RepositoryName: 快照仓库名称
2994
+ :type RepositoryName: str
2995
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2996
+ :type RequestId: str
2997
+ """
2998
+ self._InstanceId = None
2999
+ self._Snapshots = None
3000
+ self._RepositoryName = None
3001
+ self._RequestId = None
3002
+
3003
+ @property
3004
+ def InstanceId(self):
3005
+ return self._InstanceId
3006
+
3007
+ @InstanceId.setter
3008
+ def InstanceId(self, InstanceId):
3009
+ self._InstanceId = InstanceId
3010
+
3011
+ @property
3012
+ def Snapshots(self):
3013
+ return self._Snapshots
3014
+
3015
+ @Snapshots.setter
3016
+ def Snapshots(self, Snapshots):
3017
+ self._Snapshots = Snapshots
3018
+
3019
+ @property
3020
+ def RepositoryName(self):
3021
+ return self._RepositoryName
3022
+
3023
+ @RepositoryName.setter
3024
+ def RepositoryName(self, RepositoryName):
3025
+ self._RepositoryName = RepositoryName
3026
+
3027
+ @property
3028
+ def RequestId(self):
3029
+ return self._RequestId
3030
+
3031
+ @RequestId.setter
3032
+ def RequestId(self, RequestId):
3033
+ self._RequestId = RequestId
3034
+
3035
+
3036
+ def _deserialize(self, params):
3037
+ self._InstanceId = params.get("InstanceId")
3038
+ if params.get("Snapshots") is not None:
3039
+ self._Snapshots = []
3040
+ for item in params.get("Snapshots"):
3041
+ obj = Snapshots()
3042
+ obj._deserialize(item)
3043
+ self._Snapshots.append(obj)
3044
+ self._RepositoryName = params.get("RepositoryName")
3045
+ self._RequestId = params.get("RequestId")
3046
+
3047
+
2736
3048
  class DescribeDiagnoseRequest(AbstractModel):
2737
3049
  """DescribeDiagnose请求参数结构体
2738
3050
 
@@ -7109,25 +7421,98 @@ class EsPublicAcl(AbstractModel):
7109
7421
  self._WhiteIpList = None
7110
7422
 
7111
7423
  @property
7112
- def BlackIpList(self):
7113
- return self._BlackIpList
7424
+ def BlackIpList(self):
7425
+ return self._BlackIpList
7426
+
7427
+ @BlackIpList.setter
7428
+ def BlackIpList(self, BlackIpList):
7429
+ self._BlackIpList = BlackIpList
7430
+
7431
+ @property
7432
+ def WhiteIpList(self):
7433
+ return self._WhiteIpList
7434
+
7435
+ @WhiteIpList.setter
7436
+ def WhiteIpList(self, WhiteIpList):
7437
+ self._WhiteIpList = WhiteIpList
7438
+
7439
+
7440
+ def _deserialize(self, params):
7441
+ self._BlackIpList = params.get("BlackIpList")
7442
+ self._WhiteIpList = params.get("WhiteIpList")
7443
+ memeber_set = set(params.keys())
7444
+ for name, value in vars(self).items():
7445
+ property_name = name[1:]
7446
+ if property_name in memeber_set:
7447
+ memeber_set.remove(property_name)
7448
+ if len(memeber_set) > 0:
7449
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7450
+
7451
+
7452
+
7453
+ class Failures(AbstractModel):
7454
+ """索引备份失败的数据结构
7455
+
7456
+ """
7457
+
7458
+ def __init__(self):
7459
+ r"""
7460
+ :param _Index: 备份失败的索引名称
7461
+ 注意:此字段可能返回 null,表示取不到有效值。
7462
+ :type Index: str
7463
+ :param _ShardId: 快照失败的分片号
7464
+ 注意:此字段可能返回 null,表示取不到有效值。
7465
+ :type ShardId: int
7466
+ :param _Reason: 快照失败的原因
7467
+ 注意:此字段可能返回 null,表示取不到有效值。
7468
+ :type Reason: str
7469
+ :param _Status: 快照失败的状态
7470
+ 注意:此字段可能返回 null,表示取不到有效值。
7471
+ :type Status: str
7472
+ """
7473
+ self._Index = None
7474
+ self._ShardId = None
7475
+ self._Reason = None
7476
+ self._Status = None
7477
+
7478
+ @property
7479
+ def Index(self):
7480
+ return self._Index
7481
+
7482
+ @Index.setter
7483
+ def Index(self, Index):
7484
+ self._Index = Index
7485
+
7486
+ @property
7487
+ def ShardId(self):
7488
+ return self._ShardId
7489
+
7490
+ @ShardId.setter
7491
+ def ShardId(self, ShardId):
7492
+ self._ShardId = ShardId
7493
+
7494
+ @property
7495
+ def Reason(self):
7496
+ return self._Reason
7114
7497
 
7115
- @BlackIpList.setter
7116
- def BlackIpList(self, BlackIpList):
7117
- self._BlackIpList = BlackIpList
7498
+ @Reason.setter
7499
+ def Reason(self, Reason):
7500
+ self._Reason = Reason
7118
7501
 
7119
7502
  @property
7120
- def WhiteIpList(self):
7121
- return self._WhiteIpList
7503
+ def Status(self):
7504
+ return self._Status
7122
7505
 
7123
- @WhiteIpList.setter
7124
- def WhiteIpList(self, WhiteIpList):
7125
- self._WhiteIpList = WhiteIpList
7506
+ @Status.setter
7507
+ def Status(self, Status):
7508
+ self._Status = Status
7126
7509
 
7127
7510
 
7128
7511
  def _deserialize(self, params):
7129
- self._BlackIpList = params.get("BlackIpList")
7130
- self._WhiteIpList = params.get("WhiteIpList")
7512
+ self._Index = params.get("Index")
7513
+ self._ShardId = params.get("ShardId")
7514
+ self._Reason = params.get("Reason")
7515
+ self._Status = params.get("Status")
7131
7516
  memeber_set = set(params.keys())
7132
7517
  for name, value in vars(self).items():
7133
7518
  property_name = name[1:]
@@ -12472,6 +12857,176 @@ class RestartNodesResponse(AbstractModel):
12472
12857
  self._RequestId = params.get("RequestId")
12473
12858
 
12474
12859
 
12860
+ class RestoreClusterSnapshotRequest(AbstractModel):
12861
+ """RestoreClusterSnapshot请求参数结构体
12862
+
12863
+ """
12864
+
12865
+ def __init__(self):
12866
+ r"""
12867
+ :param _InstanceId: 集群实例Id,格式:es-xxxx
12868
+ :type InstanceId: str
12869
+ :param _RepositoryName: 仓库名称
12870
+ :type RepositoryName: str
12871
+ :param _SnapshotName: 集群快照名称
12872
+ :type SnapshotName: str
12873
+ :param _TargetInstanceId: 目标集群实例Id,格式:es-xxxx,如果是恢复到本地,则和InstanceId一致
12874
+ :type TargetInstanceId: str
12875
+ :param _Password: elastic用户名对应的密码信息
12876
+ :type Password: str
12877
+ :param _IndexSettings: 要在所有恢复的索引中添加或更改的设置的逗号分隔列表。使用此参数可以在恢复快照时覆盖索引设置。
12878
+ :type IndexSettings: str
12879
+ :param _IncludeGlobalState: 不应从快照还原的以逗号分隔的索引设置列表。
12880
+ :type IncludeGlobalState: list of str
12881
+ :param _Indices: 需要恢复的索引名称,非必填,为空则表示恢复所有
12882
+
12883
+ 支持传多个索引名称
12884
+ :type Indices: str
12885
+ :param _Partial: 如果为 false,则如果快照中包含的一个或多个索引没有所有主分片可用,则整个恢复操作将失败。默认为 false,
12886
+
12887
+ 如果为 true,则允许恢复具有不可用分片的索引的部分快照。只有成功包含在快照中的分片才会被恢复。所有丢失的碎片将被重新创建为空
12888
+ :type Partial: str
12889
+ """
12890
+ self._InstanceId = None
12891
+ self._RepositoryName = None
12892
+ self._SnapshotName = None
12893
+ self._TargetInstanceId = None
12894
+ self._Password = None
12895
+ self._IndexSettings = None
12896
+ self._IncludeGlobalState = None
12897
+ self._Indices = None
12898
+ self._Partial = None
12899
+
12900
+ @property
12901
+ def InstanceId(self):
12902
+ return self._InstanceId
12903
+
12904
+ @InstanceId.setter
12905
+ def InstanceId(self, InstanceId):
12906
+ self._InstanceId = InstanceId
12907
+
12908
+ @property
12909
+ def RepositoryName(self):
12910
+ return self._RepositoryName
12911
+
12912
+ @RepositoryName.setter
12913
+ def RepositoryName(self, RepositoryName):
12914
+ self._RepositoryName = RepositoryName
12915
+
12916
+ @property
12917
+ def SnapshotName(self):
12918
+ return self._SnapshotName
12919
+
12920
+ @SnapshotName.setter
12921
+ def SnapshotName(self, SnapshotName):
12922
+ self._SnapshotName = SnapshotName
12923
+
12924
+ @property
12925
+ def TargetInstanceId(self):
12926
+ return self._TargetInstanceId
12927
+
12928
+ @TargetInstanceId.setter
12929
+ def TargetInstanceId(self, TargetInstanceId):
12930
+ self._TargetInstanceId = TargetInstanceId
12931
+
12932
+ @property
12933
+ def Password(self):
12934
+ return self._Password
12935
+
12936
+ @Password.setter
12937
+ def Password(self, Password):
12938
+ self._Password = Password
12939
+
12940
+ @property
12941
+ def IndexSettings(self):
12942
+ return self._IndexSettings
12943
+
12944
+ @IndexSettings.setter
12945
+ def IndexSettings(self, IndexSettings):
12946
+ self._IndexSettings = IndexSettings
12947
+
12948
+ @property
12949
+ def IncludeGlobalState(self):
12950
+ return self._IncludeGlobalState
12951
+
12952
+ @IncludeGlobalState.setter
12953
+ def IncludeGlobalState(self, IncludeGlobalState):
12954
+ self._IncludeGlobalState = IncludeGlobalState
12955
+
12956
+ @property
12957
+ def Indices(self):
12958
+ return self._Indices
12959
+
12960
+ @Indices.setter
12961
+ def Indices(self, Indices):
12962
+ self._Indices = Indices
12963
+
12964
+ @property
12965
+ def Partial(self):
12966
+ return self._Partial
12967
+
12968
+ @Partial.setter
12969
+ def Partial(self, Partial):
12970
+ self._Partial = Partial
12971
+
12972
+
12973
+ def _deserialize(self, params):
12974
+ self._InstanceId = params.get("InstanceId")
12975
+ self._RepositoryName = params.get("RepositoryName")
12976
+ self._SnapshotName = params.get("SnapshotName")
12977
+ self._TargetInstanceId = params.get("TargetInstanceId")
12978
+ self._Password = params.get("Password")
12979
+ self._IndexSettings = params.get("IndexSettings")
12980
+ self._IncludeGlobalState = params.get("IncludeGlobalState")
12981
+ self._Indices = params.get("Indices")
12982
+ self._Partial = params.get("Partial")
12983
+ memeber_set = set(params.keys())
12984
+ for name, value in vars(self).items():
12985
+ property_name = name[1:]
12986
+ if property_name in memeber_set:
12987
+ memeber_set.remove(property_name)
12988
+ if len(memeber_set) > 0:
12989
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12990
+
12991
+
12992
+
12993
+ class RestoreClusterSnapshotResponse(AbstractModel):
12994
+ """RestoreClusterSnapshot返回参数结构体
12995
+
12996
+ """
12997
+
12998
+ def __init__(self):
12999
+ r"""
13000
+ :param _InstanceId: 集群实例id
13001
+ :type InstanceId: str
13002
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13003
+ :type RequestId: str
13004
+ """
13005
+ self._InstanceId = None
13006
+ self._RequestId = None
13007
+
13008
+ @property
13009
+ def InstanceId(self):
13010
+ return self._InstanceId
13011
+
13012
+ @InstanceId.setter
13013
+ def InstanceId(self, InstanceId):
13014
+ self._InstanceId = InstanceId
13015
+
13016
+ @property
13017
+ def RequestId(self):
13018
+ return self._RequestId
13019
+
13020
+ @RequestId.setter
13021
+ def RequestId(self, RequestId):
13022
+ self._RequestId = RequestId
13023
+
13024
+
13025
+ def _deserialize(self, params):
13026
+ self._InstanceId = params.get("InstanceId")
13027
+ self._RequestId = params.get("RequestId")
13028
+
13029
+
12475
13030
  class SaveAndDeployLogstashPipelineRequest(AbstractModel):
12476
13031
  """SaveAndDeployLogstashPipeline请求参数结构体
12477
13032
 
@@ -13534,6 +14089,209 @@ class SettingDetail(AbstractModel):
13534
14089
 
13535
14090
 
13536
14091
 
14092
+ class Snapshots(AbstractModel):
14093
+ """集群快照数据结构
14094
+
14095
+ """
14096
+
14097
+ def __init__(self):
14098
+ r"""
14099
+ :param _SnapshotName: 快照名称
14100
+ 注意:此字段可能返回 null,表示取不到有效值。
14101
+ :type SnapshotName: str
14102
+ :param _Uuid: 快照Uuid
14103
+ 注意:此字段可能返回 null,表示取不到有效值。
14104
+ :type Uuid: str
14105
+ :param _Version: 该快照所属集群的版本号
14106
+ 注意:此字段可能返回 null,表示取不到有效值。
14107
+ :type Version: str
14108
+ :param _Indices: 备份的索引列表
14109
+ 注意:此字段可能返回 null,表示取不到有效值。
14110
+ :type Indices: list of str
14111
+ :param _DataStreams: 备份的datastream列表
14112
+ 注意:此字段可能返回 null,表示取不到有效值。
14113
+ :type DataStreams: list of str
14114
+ :param _State: 备份的状态
14115
+
14116
+ FAILED 备份失败
14117
+
14118
+ IN_PROGRESS 备份执行中
14119
+
14120
+ PARTIAL 备份部分成功,部分失败,备份失败的索引和原因会在Failures字段中展示
14121
+
14122
+ SUCCESS 备份成功
14123
+ 注意:此字段可能返回 null,表示取不到有效值。
14124
+ :type State: str
14125
+ :param _StartTime: 快照备份的开始时间
14126
+ 注意:此字段可能返回 null,表示取不到有效值。
14127
+ :type StartTime: str
14128
+ :param _EndTime: 快照备份的结束时间
14129
+ 注意:此字段可能返回 null,表示取不到有效值。
14130
+ :type EndTime: str
14131
+ :param _DurationInMillis: 快照备份的耗时时间
14132
+ 注意:此字段可能返回 null,表示取不到有效值。
14133
+ :type DurationInMillis: int
14134
+ :param _TotalShards: 备份的总分片数
14135
+ 注意:此字段可能返回 null,表示取不到有效值。
14136
+ :type TotalShards: int
14137
+ :param _FailedShards: 备份失败的分片数量
14138
+ 注意:此字段可能返回 null,表示取不到有效值。
14139
+ :type FailedShards: int
14140
+ :param _SuccessfulShards: 备份成功的分片数量
14141
+ 注意:此字段可能返回 null,表示取不到有效值。
14142
+ :type SuccessfulShards: int
14143
+ :param _Failures: 备份失败的索引分片和失败原因
14144
+ 注意:此字段可能返回 null,表示取不到有效值。
14145
+ :type Failures: list of Failures
14146
+ """
14147
+ self._SnapshotName = None
14148
+ self._Uuid = None
14149
+ self._Version = None
14150
+ self._Indices = None
14151
+ self._DataStreams = None
14152
+ self._State = None
14153
+ self._StartTime = None
14154
+ self._EndTime = None
14155
+ self._DurationInMillis = None
14156
+ self._TotalShards = None
14157
+ self._FailedShards = None
14158
+ self._SuccessfulShards = None
14159
+ self._Failures = None
14160
+
14161
+ @property
14162
+ def SnapshotName(self):
14163
+ return self._SnapshotName
14164
+
14165
+ @SnapshotName.setter
14166
+ def SnapshotName(self, SnapshotName):
14167
+ self._SnapshotName = SnapshotName
14168
+
14169
+ @property
14170
+ def Uuid(self):
14171
+ return self._Uuid
14172
+
14173
+ @Uuid.setter
14174
+ def Uuid(self, Uuid):
14175
+ self._Uuid = Uuid
14176
+
14177
+ @property
14178
+ def Version(self):
14179
+ return self._Version
14180
+
14181
+ @Version.setter
14182
+ def Version(self, Version):
14183
+ self._Version = Version
14184
+
14185
+ @property
14186
+ def Indices(self):
14187
+ return self._Indices
14188
+
14189
+ @Indices.setter
14190
+ def Indices(self, Indices):
14191
+ self._Indices = Indices
14192
+
14193
+ @property
14194
+ def DataStreams(self):
14195
+ return self._DataStreams
14196
+
14197
+ @DataStreams.setter
14198
+ def DataStreams(self, DataStreams):
14199
+ self._DataStreams = DataStreams
14200
+
14201
+ @property
14202
+ def State(self):
14203
+ return self._State
14204
+
14205
+ @State.setter
14206
+ def State(self, State):
14207
+ self._State = State
14208
+
14209
+ @property
14210
+ def StartTime(self):
14211
+ return self._StartTime
14212
+
14213
+ @StartTime.setter
14214
+ def StartTime(self, StartTime):
14215
+ self._StartTime = StartTime
14216
+
14217
+ @property
14218
+ def EndTime(self):
14219
+ return self._EndTime
14220
+
14221
+ @EndTime.setter
14222
+ def EndTime(self, EndTime):
14223
+ self._EndTime = EndTime
14224
+
14225
+ @property
14226
+ def DurationInMillis(self):
14227
+ return self._DurationInMillis
14228
+
14229
+ @DurationInMillis.setter
14230
+ def DurationInMillis(self, DurationInMillis):
14231
+ self._DurationInMillis = DurationInMillis
14232
+
14233
+ @property
14234
+ def TotalShards(self):
14235
+ return self._TotalShards
14236
+
14237
+ @TotalShards.setter
14238
+ def TotalShards(self, TotalShards):
14239
+ self._TotalShards = TotalShards
14240
+
14241
+ @property
14242
+ def FailedShards(self):
14243
+ return self._FailedShards
14244
+
14245
+ @FailedShards.setter
14246
+ def FailedShards(self, FailedShards):
14247
+ self._FailedShards = FailedShards
14248
+
14249
+ @property
14250
+ def SuccessfulShards(self):
14251
+ return self._SuccessfulShards
14252
+
14253
+ @SuccessfulShards.setter
14254
+ def SuccessfulShards(self, SuccessfulShards):
14255
+ self._SuccessfulShards = SuccessfulShards
14256
+
14257
+ @property
14258
+ def Failures(self):
14259
+ return self._Failures
14260
+
14261
+ @Failures.setter
14262
+ def Failures(self, Failures):
14263
+ self._Failures = Failures
14264
+
14265
+
14266
+ def _deserialize(self, params):
14267
+ self._SnapshotName = params.get("SnapshotName")
14268
+ self._Uuid = params.get("Uuid")
14269
+ self._Version = params.get("Version")
14270
+ self._Indices = params.get("Indices")
14271
+ self._DataStreams = params.get("DataStreams")
14272
+ self._State = params.get("State")
14273
+ self._StartTime = params.get("StartTime")
14274
+ self._EndTime = params.get("EndTime")
14275
+ self._DurationInMillis = params.get("DurationInMillis")
14276
+ self._TotalShards = params.get("TotalShards")
14277
+ self._FailedShards = params.get("FailedShards")
14278
+ self._SuccessfulShards = params.get("SuccessfulShards")
14279
+ if params.get("Failures") is not None:
14280
+ self._Failures = []
14281
+ for item in params.get("Failures"):
14282
+ obj = Failures()
14283
+ obj._deserialize(item)
14284
+ self._Failures.append(obj)
14285
+ memeber_set = set(params.keys())
14286
+ for name, value in vars(self).items():
14287
+ property_name = name[1:]
14288
+ if property_name in memeber_set:
14289
+ memeber_set.remove(property_name)
14290
+ if len(memeber_set) > 0:
14291
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14292
+
14293
+
14294
+
13537
14295
  class StartLogstashPipelinesRequest(AbstractModel):
13538
14296
  """StartLogstashPipelines请求参数结构体
13539
14297