tencentcloud-sdk-python-intl-en 3.0.1288__py2.py3-none-any.whl → 3.0.1291__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

Files changed (29) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  3. tencentcloud/ccc/v20200210/models.py +184 -0
  4. tencentcloud/clb/v20180317/clb_client.py +4 -4
  5. tencentcloud/clb/v20180317/errorcodes.py +9 -0
  6. tencentcloud/clb/v20180317/models.py +27 -2
  7. tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
  8. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  9. tencentcloud/cynosdb/v20190107/models.py +1286 -75
  10. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  11. tencentcloud/dlc/v20210125/models.py +504 -0
  12. tencentcloud/mdl/v20200326/models.py +191 -0
  13. tencentcloud/mongodb/v20190725/errorcodes.py +15 -0
  14. tencentcloud/mongodb/v20190725/models.py +1276 -463
  15. tencentcloud/mongodb/v20190725/mongodb_client.py +75 -6
  16. tencentcloud/monitor/v20180724/models.py +1351 -124
  17. tencentcloud/monitor/v20180724/monitor_client.py +118 -0
  18. tencentcloud/mps/v20190612/models.py +366 -62
  19. tencentcloud/quota/v20241204/models.py +17 -2
  20. tencentcloud/redis/v20180412/models.py +410 -168
  21. tencentcloud/redis/v20180412/redis_client.py +4 -4
  22. tencentcloud/wedata/v20250806/__init__.py +0 -0
  23. tencentcloud/wedata/v20250806/errorcodes.py +57 -0
  24. tencentcloud/wedata/v20250806/models.py +26375 -0
  25. tencentcloud/wedata/v20250806/wedata_client.py +1797 -0
  26. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/METADATA +1 -1
  27. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/RECORD +29 -25
  28. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/WHEEL +0 -0
  29. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/top_level.txt +0 -0
@@ -4240,6 +4240,628 @@ Note: This field may return null, indicating that no valid values can be obtaine
4240
4240
  self._RequestId = params.get("RequestId")
4241
4241
 
4242
4242
 
4243
+ class CreateIntegrateClusterRequest(AbstractModel):
4244
+ r"""CreateIntegrateCluster request structure.
4245
+
4246
+ """
4247
+
4248
+ def __init__(self):
4249
+ r"""
4250
+ :param _Zone: Availability zone
4251
+ :type Zone: str
4252
+ :param _VpcId: Specifies the ID of the VPC network it belongs to.
4253
+ :type VpcId: str
4254
+ :param _SubnetId: Subnet ID.
4255
+ :type SubnetId: str
4256
+ :param _DbVersion: Database version. valid values:.
4257
+ <li>Specifies the available values for MYSQL: 5.7, 8.0.</li>.
4258
+ :type DbVersion: str
4259
+ :param _ProjectId: Project ID
4260
+ :type ProjectId: int
4261
+ :param _ClusterName: Cluster name, length less than 64 characters. each character value ranges from uppercase/lowercase letters, digits, special symbols ('-','_','.').
4262
+ :type ClusterName: str
4263
+ :param _AdminPassword: Account password (8-64 characters, a combination of uppercase and lowercase letters, digits and symbols ~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/ with any three types).
4264
+ :type AdminPassword: str
4265
+ :param _Port: Port, default 3306, in the range of [0, 65535).
4266
+ :type Port: int
4267
+ :param _PayMode: Billing mode. 0: pay-as-you-go; 1: monthly subscription. default is pay-as-you-go.
4268
+ :type PayMode: int
4269
+ :param _Count: Number of clusters to purchase. value range: [1,3]. default is 1.
4270
+ :type Count: int
4271
+ :param _StorageLimit: Maximum storage limit of a regular instance, in GB.
4272
+ When DbType is MYSQL and the storage billing mode is prepaid, this parameter should not exceed the maximum storage specification corresponding to cpu and memory.
4273
+ :type StorageLimit: int
4274
+ :param _TimeSpan: Specifies the annual and monthly subscription duration.
4275
+ :type TimeSpan: int
4276
+ :param _TimeUnit: Specifies the measurement unit for annual and monthly subscription duration. valid values: 's', 'd', 'm', 'y'.
4277
+ :type TimeUnit: str
4278
+ :param _AutoRenewFlag: Whether annual/monthly subscription is auto-renewed. default value is 0.
4279
+ 0 identifies the default renewal method, 1 means auto-renew, 2 indicates no auto-renewal.
4280
+ :type AutoRenewFlag: int
4281
+ :param _AutoVoucher: Whether to automatically select a voucher. 1: yes; 0: no. default value: 0.
4282
+ :type AutoVoucher: int
4283
+ :param _ResourceTags: Specifies the tag array information that needs to be bound during cluster creation.
4284
+ :type ResourceTags: list of Tag
4285
+ :param _StoragePayMode: Specifies the cluster storage billing mode. 0: pay-as-you-go; 1: monthly subscription. default is pay-as-you-go.
4286
+ When DbType is MYSQL and the cluster billing mode for computing is postpaid (including DbMode as SERVERLESS), the storage billing mode can only be pay-as-you-go.
4287
+ Rollback and clone do not support monthly subscription storage.
4288
+ :type StoragePayMode: int
4289
+ :param _SecurityGroupIds: Security group id array.
4290
+ :type SecurityGroupIds: list of str
4291
+ :param _AlarmPolicyIds: Specifies the Alarm policy Id array.
4292
+ :type AlarmPolicyIds: list of str
4293
+ :param _ClusterParams: Parameter array, temporarily supports character_set_server (utf8|latin1|gbk|utf8mb4), lower_case_table_names. valid values: 1 (case-insensitive), 0 (case-sensitive).
4294
+ :type ClusterParams: list of ParamItem
4295
+ :param _DealMode: Transaction mode. valid values: 0 (place order and pay), 1 (place order).
4296
+ :type DealMode: int
4297
+ :param _ParamTemplateId: Parameter template ID. can be obtained through querying parameter template information DescribeParamTemplates.
4298
+ :type ParamTemplateId: int
4299
+ :param _SlaveZone: Multi-AZ address.
4300
+ :type SlaveZone: str
4301
+ :param _InstanceInitInfos: Initializes configuration information, mainly used to purchase clusters with different specification instances.
4302
+ :type InstanceInitInfos: list of IntegrateInstanceInfo
4303
+ :param _GdnId: Global database unique identifier.
4304
+ :type GdnId: str
4305
+ :param _ProxyConfig: Database proxy configuration.
4306
+ :type ProxyConfig: :class:`tencentcloud.cynosdb.v20190107.models.ProxyConfigInfo`
4307
+ :param _AutoArchive: Specifies whether to automatically archive.
4308
+ :type AutoArchive: str
4309
+ :param _AutoArchiveDelayHours: Processing time after pausing.
4310
+ :type AutoArchiveDelayHours: int
4311
+ :param _EncryptMethod: Encryption method (consists of encryption algorithm and key pair version).
4312
+ :type EncryptMethod: str
4313
+ :param _IntegrateCreateClusterConfig: Describes the cluster configuration information.
4314
+ :type IntegrateCreateClusterConfig: :class:`tencentcloud.cynosdb.v20190107.models.IntegrateCreateClusterConfig`
4315
+ :param _StorageVersion: Storage architecture type. valid values: 1.0/2.0. default value: 1.0.
4316
+ :type StorageVersion: str
4317
+ """
4318
+ self._Zone = None
4319
+ self._VpcId = None
4320
+ self._SubnetId = None
4321
+ self._DbVersion = None
4322
+ self._ProjectId = None
4323
+ self._ClusterName = None
4324
+ self._AdminPassword = None
4325
+ self._Port = None
4326
+ self._PayMode = None
4327
+ self._Count = None
4328
+ self._StorageLimit = None
4329
+ self._TimeSpan = None
4330
+ self._TimeUnit = None
4331
+ self._AutoRenewFlag = None
4332
+ self._AutoVoucher = None
4333
+ self._ResourceTags = None
4334
+ self._StoragePayMode = None
4335
+ self._SecurityGroupIds = None
4336
+ self._AlarmPolicyIds = None
4337
+ self._ClusterParams = None
4338
+ self._DealMode = None
4339
+ self._ParamTemplateId = None
4340
+ self._SlaveZone = None
4341
+ self._InstanceInitInfos = None
4342
+ self._GdnId = None
4343
+ self._ProxyConfig = None
4344
+ self._AutoArchive = None
4345
+ self._AutoArchiveDelayHours = None
4346
+ self._EncryptMethod = None
4347
+ self._IntegrateCreateClusterConfig = None
4348
+ self._StorageVersion = None
4349
+
4350
+ @property
4351
+ def Zone(self):
4352
+ r"""Availability zone
4353
+ :rtype: str
4354
+ """
4355
+ return self._Zone
4356
+
4357
+ @Zone.setter
4358
+ def Zone(self, Zone):
4359
+ self._Zone = Zone
4360
+
4361
+ @property
4362
+ def VpcId(self):
4363
+ r"""Specifies the ID of the VPC network it belongs to.
4364
+ :rtype: str
4365
+ """
4366
+ return self._VpcId
4367
+
4368
+ @VpcId.setter
4369
+ def VpcId(self, VpcId):
4370
+ self._VpcId = VpcId
4371
+
4372
+ @property
4373
+ def SubnetId(self):
4374
+ r"""Subnet ID.
4375
+ :rtype: str
4376
+ """
4377
+ return self._SubnetId
4378
+
4379
+ @SubnetId.setter
4380
+ def SubnetId(self, SubnetId):
4381
+ self._SubnetId = SubnetId
4382
+
4383
+ @property
4384
+ def DbVersion(self):
4385
+ r"""Database version. valid values:.
4386
+ <li>Specifies the available values for MYSQL: 5.7, 8.0.</li>.
4387
+ :rtype: str
4388
+ """
4389
+ return self._DbVersion
4390
+
4391
+ @DbVersion.setter
4392
+ def DbVersion(self, DbVersion):
4393
+ self._DbVersion = DbVersion
4394
+
4395
+ @property
4396
+ def ProjectId(self):
4397
+ r"""Project ID
4398
+ :rtype: int
4399
+ """
4400
+ return self._ProjectId
4401
+
4402
+ @ProjectId.setter
4403
+ def ProjectId(self, ProjectId):
4404
+ self._ProjectId = ProjectId
4405
+
4406
+ @property
4407
+ def ClusterName(self):
4408
+ r"""Cluster name, length less than 64 characters. each character value ranges from uppercase/lowercase letters, digits, special symbols ('-','_','.').
4409
+ :rtype: str
4410
+ """
4411
+ return self._ClusterName
4412
+
4413
+ @ClusterName.setter
4414
+ def ClusterName(self, ClusterName):
4415
+ self._ClusterName = ClusterName
4416
+
4417
+ @property
4418
+ def AdminPassword(self):
4419
+ r"""Account password (8-64 characters, a combination of uppercase and lowercase letters, digits and symbols ~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/ with any three types).
4420
+ :rtype: str
4421
+ """
4422
+ return self._AdminPassword
4423
+
4424
+ @AdminPassword.setter
4425
+ def AdminPassword(self, AdminPassword):
4426
+ self._AdminPassword = AdminPassword
4427
+
4428
+ @property
4429
+ def Port(self):
4430
+ r"""Port, default 3306, in the range of [0, 65535).
4431
+ :rtype: int
4432
+ """
4433
+ return self._Port
4434
+
4435
+ @Port.setter
4436
+ def Port(self, Port):
4437
+ self._Port = Port
4438
+
4439
+ @property
4440
+ def PayMode(self):
4441
+ r"""Billing mode. 0: pay-as-you-go; 1: monthly subscription. default is pay-as-you-go.
4442
+ :rtype: int
4443
+ """
4444
+ return self._PayMode
4445
+
4446
+ @PayMode.setter
4447
+ def PayMode(self, PayMode):
4448
+ self._PayMode = PayMode
4449
+
4450
+ @property
4451
+ def Count(self):
4452
+ r"""Number of clusters to purchase. value range: [1,3]. default is 1.
4453
+ :rtype: int
4454
+ """
4455
+ return self._Count
4456
+
4457
+ @Count.setter
4458
+ def Count(self, Count):
4459
+ self._Count = Count
4460
+
4461
+ @property
4462
+ def StorageLimit(self):
4463
+ r"""Maximum storage limit of a regular instance, in GB.
4464
+ When DbType is MYSQL and the storage billing mode is prepaid, this parameter should not exceed the maximum storage specification corresponding to cpu and memory.
4465
+ :rtype: int
4466
+ """
4467
+ return self._StorageLimit
4468
+
4469
+ @StorageLimit.setter
4470
+ def StorageLimit(self, StorageLimit):
4471
+ self._StorageLimit = StorageLimit
4472
+
4473
+ @property
4474
+ def TimeSpan(self):
4475
+ r"""Specifies the annual and monthly subscription duration.
4476
+ :rtype: int
4477
+ """
4478
+ return self._TimeSpan
4479
+
4480
+ @TimeSpan.setter
4481
+ def TimeSpan(self, TimeSpan):
4482
+ self._TimeSpan = TimeSpan
4483
+
4484
+ @property
4485
+ def TimeUnit(self):
4486
+ r"""Specifies the measurement unit for annual and monthly subscription duration. valid values: 's', 'd', 'm', 'y'.
4487
+ :rtype: str
4488
+ """
4489
+ return self._TimeUnit
4490
+
4491
+ @TimeUnit.setter
4492
+ def TimeUnit(self, TimeUnit):
4493
+ self._TimeUnit = TimeUnit
4494
+
4495
+ @property
4496
+ def AutoRenewFlag(self):
4497
+ r"""Whether annual/monthly subscription is auto-renewed. default value is 0.
4498
+ 0 identifies the default renewal method, 1 means auto-renew, 2 indicates no auto-renewal.
4499
+ :rtype: int
4500
+ """
4501
+ return self._AutoRenewFlag
4502
+
4503
+ @AutoRenewFlag.setter
4504
+ def AutoRenewFlag(self, AutoRenewFlag):
4505
+ self._AutoRenewFlag = AutoRenewFlag
4506
+
4507
+ @property
4508
+ def AutoVoucher(self):
4509
+ r"""Whether to automatically select a voucher. 1: yes; 0: no. default value: 0.
4510
+ :rtype: int
4511
+ """
4512
+ return self._AutoVoucher
4513
+
4514
+ @AutoVoucher.setter
4515
+ def AutoVoucher(self, AutoVoucher):
4516
+ self._AutoVoucher = AutoVoucher
4517
+
4518
+ @property
4519
+ def ResourceTags(self):
4520
+ r"""Specifies the tag array information that needs to be bound during cluster creation.
4521
+ :rtype: list of Tag
4522
+ """
4523
+ return self._ResourceTags
4524
+
4525
+ @ResourceTags.setter
4526
+ def ResourceTags(self, ResourceTags):
4527
+ self._ResourceTags = ResourceTags
4528
+
4529
+ @property
4530
+ def StoragePayMode(self):
4531
+ r"""Specifies the cluster storage billing mode. 0: pay-as-you-go; 1: monthly subscription. default is pay-as-you-go.
4532
+ When DbType is MYSQL and the cluster billing mode for computing is postpaid (including DbMode as SERVERLESS), the storage billing mode can only be pay-as-you-go.
4533
+ Rollback and clone do not support monthly subscription storage.
4534
+ :rtype: int
4535
+ """
4536
+ return self._StoragePayMode
4537
+
4538
+ @StoragePayMode.setter
4539
+ def StoragePayMode(self, StoragePayMode):
4540
+ self._StoragePayMode = StoragePayMode
4541
+
4542
+ @property
4543
+ def SecurityGroupIds(self):
4544
+ r"""Security group id array.
4545
+ :rtype: list of str
4546
+ """
4547
+ return self._SecurityGroupIds
4548
+
4549
+ @SecurityGroupIds.setter
4550
+ def SecurityGroupIds(self, SecurityGroupIds):
4551
+ self._SecurityGroupIds = SecurityGroupIds
4552
+
4553
+ @property
4554
+ def AlarmPolicyIds(self):
4555
+ r"""Specifies the Alarm policy Id array.
4556
+ :rtype: list of str
4557
+ """
4558
+ return self._AlarmPolicyIds
4559
+
4560
+ @AlarmPolicyIds.setter
4561
+ def AlarmPolicyIds(self, AlarmPolicyIds):
4562
+ self._AlarmPolicyIds = AlarmPolicyIds
4563
+
4564
+ @property
4565
+ def ClusterParams(self):
4566
+ r"""Parameter array, temporarily supports character_set_server (utf8|latin1|gbk|utf8mb4), lower_case_table_names. valid values: 1 (case-insensitive), 0 (case-sensitive).
4567
+ :rtype: list of ParamItem
4568
+ """
4569
+ return self._ClusterParams
4570
+
4571
+ @ClusterParams.setter
4572
+ def ClusterParams(self, ClusterParams):
4573
+ self._ClusterParams = ClusterParams
4574
+
4575
+ @property
4576
+ def DealMode(self):
4577
+ r"""Transaction mode. valid values: 0 (place order and pay), 1 (place order).
4578
+ :rtype: int
4579
+ """
4580
+ return self._DealMode
4581
+
4582
+ @DealMode.setter
4583
+ def DealMode(self, DealMode):
4584
+ self._DealMode = DealMode
4585
+
4586
+ @property
4587
+ def ParamTemplateId(self):
4588
+ r"""Parameter template ID. can be obtained through querying parameter template information DescribeParamTemplates.
4589
+ :rtype: int
4590
+ """
4591
+ return self._ParamTemplateId
4592
+
4593
+ @ParamTemplateId.setter
4594
+ def ParamTemplateId(self, ParamTemplateId):
4595
+ self._ParamTemplateId = ParamTemplateId
4596
+
4597
+ @property
4598
+ def SlaveZone(self):
4599
+ r"""Multi-AZ address.
4600
+ :rtype: str
4601
+ """
4602
+ return self._SlaveZone
4603
+
4604
+ @SlaveZone.setter
4605
+ def SlaveZone(self, SlaveZone):
4606
+ self._SlaveZone = SlaveZone
4607
+
4608
+ @property
4609
+ def InstanceInitInfos(self):
4610
+ r"""Initializes configuration information, mainly used to purchase clusters with different specification instances.
4611
+ :rtype: list of IntegrateInstanceInfo
4612
+ """
4613
+ return self._InstanceInitInfos
4614
+
4615
+ @InstanceInitInfos.setter
4616
+ def InstanceInitInfos(self, InstanceInitInfos):
4617
+ self._InstanceInitInfos = InstanceInitInfos
4618
+
4619
+ @property
4620
+ def GdnId(self):
4621
+ r"""Global database unique identifier.
4622
+ :rtype: str
4623
+ """
4624
+ return self._GdnId
4625
+
4626
+ @GdnId.setter
4627
+ def GdnId(self, GdnId):
4628
+ self._GdnId = GdnId
4629
+
4630
+ @property
4631
+ def ProxyConfig(self):
4632
+ r"""Database proxy configuration.
4633
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.ProxyConfigInfo`
4634
+ """
4635
+ return self._ProxyConfig
4636
+
4637
+ @ProxyConfig.setter
4638
+ def ProxyConfig(self, ProxyConfig):
4639
+ self._ProxyConfig = ProxyConfig
4640
+
4641
+ @property
4642
+ def AutoArchive(self):
4643
+ r"""Specifies whether to automatically archive.
4644
+ :rtype: str
4645
+ """
4646
+ return self._AutoArchive
4647
+
4648
+ @AutoArchive.setter
4649
+ def AutoArchive(self, AutoArchive):
4650
+ self._AutoArchive = AutoArchive
4651
+
4652
+ @property
4653
+ def AutoArchiveDelayHours(self):
4654
+ r"""Processing time after pausing.
4655
+ :rtype: int
4656
+ """
4657
+ return self._AutoArchiveDelayHours
4658
+
4659
+ @AutoArchiveDelayHours.setter
4660
+ def AutoArchiveDelayHours(self, AutoArchiveDelayHours):
4661
+ self._AutoArchiveDelayHours = AutoArchiveDelayHours
4662
+
4663
+ @property
4664
+ def EncryptMethod(self):
4665
+ r"""Encryption method (consists of encryption algorithm and key pair version).
4666
+ :rtype: str
4667
+ """
4668
+ return self._EncryptMethod
4669
+
4670
+ @EncryptMethod.setter
4671
+ def EncryptMethod(self, EncryptMethod):
4672
+ self._EncryptMethod = EncryptMethod
4673
+
4674
+ @property
4675
+ def IntegrateCreateClusterConfig(self):
4676
+ r"""Describes the cluster configuration information.
4677
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.IntegrateCreateClusterConfig`
4678
+ """
4679
+ return self._IntegrateCreateClusterConfig
4680
+
4681
+ @IntegrateCreateClusterConfig.setter
4682
+ def IntegrateCreateClusterConfig(self, IntegrateCreateClusterConfig):
4683
+ self._IntegrateCreateClusterConfig = IntegrateCreateClusterConfig
4684
+
4685
+ @property
4686
+ def StorageVersion(self):
4687
+ r"""Storage architecture type. valid values: 1.0/2.0. default value: 1.0.
4688
+ :rtype: str
4689
+ """
4690
+ return self._StorageVersion
4691
+
4692
+ @StorageVersion.setter
4693
+ def StorageVersion(self, StorageVersion):
4694
+ self._StorageVersion = StorageVersion
4695
+
4696
+
4697
+ def _deserialize(self, params):
4698
+ self._Zone = params.get("Zone")
4699
+ self._VpcId = params.get("VpcId")
4700
+ self._SubnetId = params.get("SubnetId")
4701
+ self._DbVersion = params.get("DbVersion")
4702
+ self._ProjectId = params.get("ProjectId")
4703
+ self._ClusterName = params.get("ClusterName")
4704
+ self._AdminPassword = params.get("AdminPassword")
4705
+ self._Port = params.get("Port")
4706
+ self._PayMode = params.get("PayMode")
4707
+ self._Count = params.get("Count")
4708
+ self._StorageLimit = params.get("StorageLimit")
4709
+ self._TimeSpan = params.get("TimeSpan")
4710
+ self._TimeUnit = params.get("TimeUnit")
4711
+ self._AutoRenewFlag = params.get("AutoRenewFlag")
4712
+ self._AutoVoucher = params.get("AutoVoucher")
4713
+ if params.get("ResourceTags") is not None:
4714
+ self._ResourceTags = []
4715
+ for item in params.get("ResourceTags"):
4716
+ obj = Tag()
4717
+ obj._deserialize(item)
4718
+ self._ResourceTags.append(obj)
4719
+ self._StoragePayMode = params.get("StoragePayMode")
4720
+ self._SecurityGroupIds = params.get("SecurityGroupIds")
4721
+ self._AlarmPolicyIds = params.get("AlarmPolicyIds")
4722
+ if params.get("ClusterParams") is not None:
4723
+ self._ClusterParams = []
4724
+ for item in params.get("ClusterParams"):
4725
+ obj = ParamItem()
4726
+ obj._deserialize(item)
4727
+ self._ClusterParams.append(obj)
4728
+ self._DealMode = params.get("DealMode")
4729
+ self._ParamTemplateId = params.get("ParamTemplateId")
4730
+ self._SlaveZone = params.get("SlaveZone")
4731
+ if params.get("InstanceInitInfos") is not None:
4732
+ self._InstanceInitInfos = []
4733
+ for item in params.get("InstanceInitInfos"):
4734
+ obj = IntegrateInstanceInfo()
4735
+ obj._deserialize(item)
4736
+ self._InstanceInitInfos.append(obj)
4737
+ self._GdnId = params.get("GdnId")
4738
+ if params.get("ProxyConfig") is not None:
4739
+ self._ProxyConfig = ProxyConfigInfo()
4740
+ self._ProxyConfig._deserialize(params.get("ProxyConfig"))
4741
+ self._AutoArchive = params.get("AutoArchive")
4742
+ self._AutoArchiveDelayHours = params.get("AutoArchiveDelayHours")
4743
+ self._EncryptMethod = params.get("EncryptMethod")
4744
+ if params.get("IntegrateCreateClusterConfig") is not None:
4745
+ self._IntegrateCreateClusterConfig = IntegrateCreateClusterConfig()
4746
+ self._IntegrateCreateClusterConfig._deserialize(params.get("IntegrateCreateClusterConfig"))
4747
+ self._StorageVersion = params.get("StorageVersion")
4748
+ memeber_set = set(params.keys())
4749
+ for name, value in vars(self).items():
4750
+ property_name = name[1:]
4751
+ if property_name in memeber_set:
4752
+ memeber_set.remove(property_name)
4753
+ if len(memeber_set) > 0:
4754
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4755
+
4756
+
4757
+
4758
+ class CreateIntegrateClusterResponse(AbstractModel):
4759
+ r"""CreateIntegrateCluster response structure.
4760
+
4761
+ """
4762
+
4763
+ def __init__(self):
4764
+ r"""
4765
+ :param _TranId: Frozen transaction ID.
4766
+ :type TranId: str
4767
+ :param _DealNames: Order ID
4768
+ :type DealNames: list of str
4769
+ :param _ResourceIds: Resource ID list (this field is no longer maintained. please use the dealNames field and the query API DescribeResourcesByDealName to obtain resource ids).
4770
+ :type ResourceIds: list of str
4771
+ :param _ClusterIds: Cluster ID list (this field is no longer maintained. please use the dealNames field to get cluster ids via the DescribeResourcesByDealName api.).
4772
+ :type ClusterIds: list of str
4773
+ :param _BigDealIds: Large order number.
4774
+
4775
+ Note: This field may return null, indicating that no valid values can be obtained.
4776
+ :type BigDealIds: list of str
4777
+ :param _RequestId: 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.
4778
+ :type RequestId: str
4779
+ """
4780
+ self._TranId = None
4781
+ self._DealNames = None
4782
+ self._ResourceIds = None
4783
+ self._ClusterIds = None
4784
+ self._BigDealIds = None
4785
+ self._RequestId = None
4786
+
4787
+ @property
4788
+ def TranId(self):
4789
+ r"""Frozen transaction ID.
4790
+ :rtype: str
4791
+ """
4792
+ return self._TranId
4793
+
4794
+ @TranId.setter
4795
+ def TranId(self, TranId):
4796
+ self._TranId = TranId
4797
+
4798
+ @property
4799
+ def DealNames(self):
4800
+ r"""Order ID
4801
+ :rtype: list of str
4802
+ """
4803
+ return self._DealNames
4804
+
4805
+ @DealNames.setter
4806
+ def DealNames(self, DealNames):
4807
+ self._DealNames = DealNames
4808
+
4809
+ @property
4810
+ def ResourceIds(self):
4811
+ r"""Resource ID list (this field is no longer maintained. please use the dealNames field and the query API DescribeResourcesByDealName to obtain resource ids).
4812
+ :rtype: list of str
4813
+ """
4814
+ return self._ResourceIds
4815
+
4816
+ @ResourceIds.setter
4817
+ def ResourceIds(self, ResourceIds):
4818
+ self._ResourceIds = ResourceIds
4819
+
4820
+ @property
4821
+ def ClusterIds(self):
4822
+ r"""Cluster ID list (this field is no longer maintained. please use the dealNames field to get cluster ids via the DescribeResourcesByDealName api.).
4823
+ :rtype: list of str
4824
+ """
4825
+ return self._ClusterIds
4826
+
4827
+ @ClusterIds.setter
4828
+ def ClusterIds(self, ClusterIds):
4829
+ self._ClusterIds = ClusterIds
4830
+
4831
+ @property
4832
+ def BigDealIds(self):
4833
+ r"""Large order number.
4834
+
4835
+ Note: This field may return null, indicating that no valid values can be obtained.
4836
+ :rtype: list of str
4837
+ """
4838
+ return self._BigDealIds
4839
+
4840
+ @BigDealIds.setter
4841
+ def BigDealIds(self, BigDealIds):
4842
+ self._BigDealIds = BigDealIds
4843
+
4844
+ @property
4845
+ def RequestId(self):
4846
+ r"""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.
4847
+ :rtype: str
4848
+ """
4849
+ return self._RequestId
4850
+
4851
+ @RequestId.setter
4852
+ def RequestId(self, RequestId):
4853
+ self._RequestId = RequestId
4854
+
4855
+
4856
+ def _deserialize(self, params):
4857
+ self._TranId = params.get("TranId")
4858
+ self._DealNames = params.get("DealNames")
4859
+ self._ResourceIds = params.get("ResourceIds")
4860
+ self._ClusterIds = params.get("ClusterIds")
4861
+ self._BigDealIds = params.get("BigDealIds")
4862
+ self._RequestId = params.get("RequestId")
4863
+
4864
+
4243
4865
  class CreateParamTemplateRequest(AbstractModel):
4244
4866
  r"""CreateParamTemplate request structure.
4245
4867
 
@@ -13549,27 +14171,136 @@ class DescribeInstancesWithinSameClusterRequest(AbstractModel):
13549
14171
  r"""vpcId
13550
14172
  :rtype: str
13551
14173
  """
13552
- return self._UniqVpcId
14174
+ return self._UniqVpcId
14175
+
14176
+ @UniqVpcId.setter
14177
+ def UniqVpcId(self, UniqVpcId):
14178
+ self._UniqVpcId = UniqVpcId
14179
+
14180
+ @property
14181
+ def Vip(self):
14182
+ r"""vip
14183
+ :rtype: str
14184
+ """
14185
+ return self._Vip
14186
+
14187
+ @Vip.setter
14188
+ def Vip(self, Vip):
14189
+ self._Vip = Vip
14190
+
14191
+
14192
+ def _deserialize(self, params):
14193
+ self._UniqVpcId = params.get("UniqVpcId")
14194
+ self._Vip = params.get("Vip")
14195
+ memeber_set = set(params.keys())
14196
+ for name, value in vars(self).items():
14197
+ property_name = name[1:]
14198
+ if property_name in memeber_set:
14199
+ memeber_set.remove(property_name)
14200
+ if len(memeber_set) > 0:
14201
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14202
+
14203
+
14204
+
14205
+ class DescribeInstancesWithinSameClusterResponse(AbstractModel):
14206
+ r"""DescribeInstancesWithinSameCluster response structure.
14207
+
14208
+ """
14209
+
14210
+ def __init__(self):
14211
+ r"""
14212
+ :param _TotalCount: Number of instances.
14213
+ :type TotalCount: int
14214
+ :param _InstanceIds: Instance ID list.
14215
+ :type InstanceIds: list of str
14216
+ :param _RequestId: 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.
14217
+ :type RequestId: str
14218
+ """
14219
+ self._TotalCount = None
14220
+ self._InstanceIds = None
14221
+ self._RequestId = None
14222
+
14223
+ @property
14224
+ def TotalCount(self):
14225
+ r"""Number of instances.
14226
+ :rtype: int
14227
+ """
14228
+ return self._TotalCount
14229
+
14230
+ @TotalCount.setter
14231
+ def TotalCount(self, TotalCount):
14232
+ self._TotalCount = TotalCount
14233
+
14234
+ @property
14235
+ def InstanceIds(self):
14236
+ r"""Instance ID list.
14237
+ :rtype: list of str
14238
+ """
14239
+ return self._InstanceIds
14240
+
14241
+ @InstanceIds.setter
14242
+ def InstanceIds(self, InstanceIds):
14243
+ self._InstanceIds = InstanceIds
14244
+
14245
+ @property
14246
+ def RequestId(self):
14247
+ r"""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.
14248
+ :rtype: str
14249
+ """
14250
+ return self._RequestId
14251
+
14252
+ @RequestId.setter
14253
+ def RequestId(self, RequestId):
14254
+ self._RequestId = RequestId
14255
+
14256
+
14257
+ def _deserialize(self, params):
14258
+ self._TotalCount = params.get("TotalCount")
14259
+ self._InstanceIds = params.get("InstanceIds")
14260
+ self._RequestId = params.get("RequestId")
14261
+
14262
+
14263
+ class DescribeIntegrateTaskRequest(AbstractModel):
14264
+ r"""DescribeIntegrateTask request structure.
14265
+
14266
+ """
14267
+
14268
+ def __init__(self):
14269
+ r"""
14270
+ :param _BigDealId: Large order id. must choose between large order id and sub-order id.
14271
+ :type BigDealId: str
14272
+ :param _DealNames: Order list
14273
+ :type DealNames: list of str
14274
+ """
14275
+ self._BigDealId = None
14276
+ self._DealNames = None
14277
+
14278
+ @property
14279
+ def BigDealId(self):
14280
+ r"""Large order id. must choose between large order id and sub-order id.
14281
+ :rtype: str
14282
+ """
14283
+ return self._BigDealId
13553
14284
 
13554
- @UniqVpcId.setter
13555
- def UniqVpcId(self, UniqVpcId):
13556
- self._UniqVpcId = UniqVpcId
14285
+ @BigDealId.setter
14286
+ def BigDealId(self, BigDealId):
14287
+ self._BigDealId = BigDealId
13557
14288
 
13558
14289
  @property
13559
- def Vip(self):
13560
- r"""vip
13561
- :rtype: str
14290
+ def DealNames(self):
14291
+ r"""Order list
14292
+ :rtype: list of str
13562
14293
  """
13563
- return self._Vip
14294
+ return self._DealNames
13564
14295
 
13565
- @Vip.setter
13566
- def Vip(self, Vip):
13567
- self._Vip = Vip
14296
+ @DealNames.setter
14297
+ def DealNames(self, DealNames):
14298
+ self._DealNames = DealNames
13568
14299
 
13569
14300
 
13570
14301
  def _deserialize(self, params):
13571
- self._UniqVpcId = params.get("UniqVpcId")
13572
- self._Vip = params.get("Vip")
14302
+ self._BigDealId = params.get("BigDealId")
14303
+ self._DealNames = params.get("DealNames")
13573
14304
  memeber_set = set(params.keys())
13574
14305
  for name, value in vars(self).items():
13575
14306
  property_name = name[1:]
@@ -13580,45 +14311,59 @@ class DescribeInstancesWithinSameClusterRequest(AbstractModel):
13580
14311
 
13581
14312
 
13582
14313
 
13583
- class DescribeInstancesWithinSameClusterResponse(AbstractModel):
13584
- r"""DescribeInstancesWithinSameCluster response structure.
14314
+ class DescribeIntegrateTaskResponse(AbstractModel):
14315
+ r"""DescribeIntegrateTask response structure.
13585
14316
 
13586
14317
  """
13587
14318
 
13588
14319
  def __init__(self):
13589
14320
  r"""
13590
- :param _TotalCount: Number of instances.
13591
- :type TotalCount: int
13592
- :param _InstanceIds: Instance ID list.
13593
- :type InstanceIds: list of str
14321
+ :param _CurrentStep: Current step.
14322
+ :type CurrentStep: str
14323
+ :param _CurrentProgress: Current progress.
14324
+ :type CurrentProgress: str
14325
+ :param _TaskStatus: Indicates the task status.
14326
+ :type TaskStatus: str
13594
14327
  :param _RequestId: 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.
13595
14328
  :type RequestId: str
13596
14329
  """
13597
- self._TotalCount = None
13598
- self._InstanceIds = None
14330
+ self._CurrentStep = None
14331
+ self._CurrentProgress = None
14332
+ self._TaskStatus = None
13599
14333
  self._RequestId = None
13600
14334
 
13601
14335
  @property
13602
- def TotalCount(self):
13603
- r"""Number of instances.
13604
- :rtype: int
14336
+ def CurrentStep(self):
14337
+ r"""Current step.
14338
+ :rtype: str
13605
14339
  """
13606
- return self._TotalCount
14340
+ return self._CurrentStep
13607
14341
 
13608
- @TotalCount.setter
13609
- def TotalCount(self, TotalCount):
13610
- self._TotalCount = TotalCount
14342
+ @CurrentStep.setter
14343
+ def CurrentStep(self, CurrentStep):
14344
+ self._CurrentStep = CurrentStep
13611
14345
 
13612
14346
  @property
13613
- def InstanceIds(self):
13614
- r"""Instance ID list.
13615
- :rtype: list of str
14347
+ def CurrentProgress(self):
14348
+ r"""Current progress.
14349
+ :rtype: str
13616
14350
  """
13617
- return self._InstanceIds
14351
+ return self._CurrentProgress
13618
14352
 
13619
- @InstanceIds.setter
13620
- def InstanceIds(self, InstanceIds):
13621
- self._InstanceIds = InstanceIds
14353
+ @CurrentProgress.setter
14354
+ def CurrentProgress(self, CurrentProgress):
14355
+ self._CurrentProgress = CurrentProgress
14356
+
14357
+ @property
14358
+ def TaskStatus(self):
14359
+ r"""Indicates the task status.
14360
+ :rtype: str
14361
+ """
14362
+ return self._TaskStatus
14363
+
14364
+ @TaskStatus.setter
14365
+ def TaskStatus(self, TaskStatus):
14366
+ self._TaskStatus = TaskStatus
13622
14367
 
13623
14368
  @property
13624
14369
  def RequestId(self):
@@ -13633,8 +14378,9 @@ class DescribeInstancesWithinSameClusterResponse(AbstractModel):
13633
14378
 
13634
14379
 
13635
14380
  def _deserialize(self, params):
13636
- self._TotalCount = params.get("TotalCount")
13637
- self._InstanceIds = params.get("InstanceIds")
14381
+ self._CurrentStep = params.get("CurrentStep")
14382
+ self._CurrentProgress = params.get("CurrentProgress")
14383
+ self._TaskStatus = params.get("TaskStatus")
13638
14384
  self._RequestId = params.get("RequestId")
13639
14385
 
13640
14386
 
@@ -17999,6 +18745,57 @@ class InstanceInitInfo(AbstractModel):
17999
18745
 
18000
18746
 
18001
18747
 
18748
+ class InstanceNameWeight(AbstractModel):
18749
+ r"""Instance weight.
18750
+
18751
+ """
18752
+
18753
+ def __init__(self):
18754
+ r"""
18755
+ :param _InstanceName: Instance name. specifies the name defined by InstanceInitInfo.InstanceName in cluster creation.
18756
+ :type InstanceName: str
18757
+ :param _Weight: Weight
18758
+ :type Weight: int
18759
+ """
18760
+ self._InstanceName = None
18761
+ self._Weight = None
18762
+
18763
+ @property
18764
+ def InstanceName(self):
18765
+ r"""Instance name. specifies the name defined by InstanceInitInfo.InstanceName in cluster creation.
18766
+ :rtype: str
18767
+ """
18768
+ return self._InstanceName
18769
+
18770
+ @InstanceName.setter
18771
+ def InstanceName(self, InstanceName):
18772
+ self._InstanceName = InstanceName
18773
+
18774
+ @property
18775
+ def Weight(self):
18776
+ r"""Weight
18777
+ :rtype: int
18778
+ """
18779
+ return self._Weight
18780
+
18781
+ @Weight.setter
18782
+ def Weight(self, Weight):
18783
+ self._Weight = Weight
18784
+
18785
+
18786
+ def _deserialize(self, params):
18787
+ self._InstanceName = params.get("InstanceName")
18788
+ self._Weight = params.get("Weight")
18789
+ memeber_set = set(params.keys())
18790
+ for name, value in vars(self).items():
18791
+ property_name = name[1:]
18792
+ if property_name in memeber_set:
18793
+ memeber_set.remove(property_name)
18794
+ if len(memeber_set) > 0:
18795
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18796
+
18797
+
18798
+
18002
18799
  class InstanceNetInfo(AbstractModel):
18003
18800
  r"""Instance network information
18004
18801
 
@@ -18351,62 +19148,244 @@ class InstanceSpec(AbstractModel):
18351
19148
  r"""Maximum IOPS
18352
19149
  :rtype: int
18353
19150
  """
18354
- return self._MaxIops
19151
+ return self._MaxIops
19152
+
19153
+ @MaxIops.setter
19154
+ def MaxIops(self, MaxIops):
19155
+ self._MaxIops = MaxIops
19156
+
19157
+ @property
19158
+ def MaxIoBandWidth(self):
19159
+ r"""Maximum bandwidth
19160
+ :rtype: int
19161
+ """
19162
+ return self._MaxIoBandWidth
19163
+
19164
+ @MaxIoBandWidth.setter
19165
+ def MaxIoBandWidth(self, MaxIoBandWidth):
19166
+ self._MaxIoBandWidth = MaxIoBandWidth
19167
+
19168
+ @property
19169
+ def ZoneStockInfos(self):
19170
+ r"""Regional inventory information.
19171
+ :rtype: list of ZoneStockInfo
19172
+ """
19173
+ return self._ZoneStockInfos
19174
+
19175
+ @ZoneStockInfos.setter
19176
+ def ZoneStockInfos(self, ZoneStockInfos):
19177
+ self._ZoneStockInfos = ZoneStockInfos
19178
+
19179
+ @property
19180
+ def StockCount(self):
19181
+ r"""Inventory quantity.
19182
+ :rtype: int
19183
+ """
19184
+ return self._StockCount
19185
+
19186
+ @StockCount.setter
19187
+ def StockCount(self, StockCount):
19188
+ self._StockCount = StockCount
19189
+
19190
+
19191
+ def _deserialize(self, params):
19192
+ self._Cpu = params.get("Cpu")
19193
+ self._Memory = params.get("Memory")
19194
+ self._MaxStorageSize = params.get("MaxStorageSize")
19195
+ self._MinStorageSize = params.get("MinStorageSize")
19196
+ self._HasStock = params.get("HasStock")
19197
+ self._MachineType = params.get("MachineType")
19198
+ self._MaxIops = params.get("MaxIops")
19199
+ self._MaxIoBandWidth = params.get("MaxIoBandWidth")
19200
+ if params.get("ZoneStockInfos") is not None:
19201
+ self._ZoneStockInfos = []
19202
+ for item in params.get("ZoneStockInfos"):
19203
+ obj = ZoneStockInfo()
19204
+ obj._deserialize(item)
19205
+ self._ZoneStockInfos.append(obj)
19206
+ self._StockCount = params.get("StockCount")
19207
+ memeber_set = set(params.keys())
19208
+ for name, value in vars(self).items():
19209
+ property_name = name[1:]
19210
+ if property_name in memeber_set:
19211
+ memeber_set.remove(property_name)
19212
+ if len(memeber_set) > 0:
19213
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19214
+
19215
+
19216
+
19217
+ class IntegrateCreateClusterConfig(AbstractModel):
19218
+ r"""Integrated cluster configuration.
19219
+
19220
+ """
19221
+
19222
+ def __init__(self):
19223
+ r"""
19224
+ :param _BinlogSaveDays: Retention days of binlog. value range: 7-1830.
19225
+ :type BinlogSaveDays: int
19226
+ :param _BackupSaveDays: Specifies the backup retention days. value range: 7-1830.
19227
+ :type BackupSaveDays: int
19228
+ :param _SemiSyncTimeout: Specifies the semi-sync timeout period. value range: [1000,4294967295].
19229
+ :type SemiSyncTimeout: int
19230
+ :param _ProxyEndPointConfigs: proxy connection address configuration message.
19231
+ :type ProxyEndPointConfigs: list of ProxyEndPointConfigInfo
19232
+ """
19233
+ self._BinlogSaveDays = None
19234
+ self._BackupSaveDays = None
19235
+ self._SemiSyncTimeout = None
19236
+ self._ProxyEndPointConfigs = None
19237
+
19238
+ @property
19239
+ def BinlogSaveDays(self):
19240
+ r"""Retention days of binlog. value range: 7-1830.
19241
+ :rtype: int
19242
+ """
19243
+ return self._BinlogSaveDays
19244
+
19245
+ @BinlogSaveDays.setter
19246
+ def BinlogSaveDays(self, BinlogSaveDays):
19247
+ self._BinlogSaveDays = BinlogSaveDays
19248
+
19249
+ @property
19250
+ def BackupSaveDays(self):
19251
+ r"""Specifies the backup retention days. value range: 7-1830.
19252
+ :rtype: int
19253
+ """
19254
+ return self._BackupSaveDays
19255
+
19256
+ @BackupSaveDays.setter
19257
+ def BackupSaveDays(self, BackupSaveDays):
19258
+ self._BackupSaveDays = BackupSaveDays
19259
+
19260
+ @property
19261
+ def SemiSyncTimeout(self):
19262
+ r"""Specifies the semi-sync timeout period. value range: [1000,4294967295].
19263
+ :rtype: int
19264
+ """
19265
+ return self._SemiSyncTimeout
19266
+
19267
+ @SemiSyncTimeout.setter
19268
+ def SemiSyncTimeout(self, SemiSyncTimeout):
19269
+ self._SemiSyncTimeout = SemiSyncTimeout
19270
+
19271
+ @property
19272
+ def ProxyEndPointConfigs(self):
19273
+ r"""proxy connection address configuration message.
19274
+ :rtype: list of ProxyEndPointConfigInfo
19275
+ """
19276
+ return self._ProxyEndPointConfigs
19277
+
19278
+ @ProxyEndPointConfigs.setter
19279
+ def ProxyEndPointConfigs(self, ProxyEndPointConfigs):
19280
+ self._ProxyEndPointConfigs = ProxyEndPointConfigs
19281
+
19282
+
19283
+ def _deserialize(self, params):
19284
+ self._BinlogSaveDays = params.get("BinlogSaveDays")
19285
+ self._BackupSaveDays = params.get("BackupSaveDays")
19286
+ self._SemiSyncTimeout = params.get("SemiSyncTimeout")
19287
+ if params.get("ProxyEndPointConfigs") is not None:
19288
+ self._ProxyEndPointConfigs = []
19289
+ for item in params.get("ProxyEndPointConfigs"):
19290
+ obj = ProxyEndPointConfigInfo()
19291
+ obj._deserialize(item)
19292
+ self._ProxyEndPointConfigs.append(obj)
19293
+ memeber_set = set(params.keys())
19294
+ for name, value in vars(self).items():
19295
+ property_name = name[1:]
19296
+ if property_name in memeber_set:
19297
+ memeber_set.remove(property_name)
19298
+ if len(memeber_set) > 0:
19299
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19300
+
19301
+
19302
+
19303
+ class IntegrateInstanceInfo(AbstractModel):
19304
+ r"""Initializes the configuration information of an instance.
19305
+
19306
+ """
19307
+
19308
+ def __init__(self):
19309
+ r"""
19310
+ :param _Cpu: Specifies the cpu of the instance.
19311
+ :type Cpu: int
19312
+ :param _Memory: Specifies the instance memory.
19313
+ :type Memory: int
19314
+ :param _InstanceType: Instance type (rw/ro).
19315
+ :type InstanceType: str
19316
+ :param _InstanceCount: Number of instances. value range: [1,15].
19317
+ :type InstanceCount: int
19318
+ :param _DeviceType: Instance machine type. valid values: universal type (common), exclusive type.
19319
+ :type DeviceType: str
19320
+ """
19321
+ self._Cpu = None
19322
+ self._Memory = None
19323
+ self._InstanceType = None
19324
+ self._InstanceCount = None
19325
+ self._DeviceType = None
19326
+
19327
+ @property
19328
+ def Cpu(self):
19329
+ r"""Specifies the cpu of the instance.
19330
+ :rtype: int
19331
+ """
19332
+ return self._Cpu
19333
+
19334
+ @Cpu.setter
19335
+ def Cpu(self, Cpu):
19336
+ self._Cpu = Cpu
19337
+
19338
+ @property
19339
+ def Memory(self):
19340
+ r"""Specifies the instance memory.
19341
+ :rtype: int
19342
+ """
19343
+ return self._Memory
18355
19344
 
18356
- @MaxIops.setter
18357
- def MaxIops(self, MaxIops):
18358
- self._MaxIops = MaxIops
19345
+ @Memory.setter
19346
+ def Memory(self, Memory):
19347
+ self._Memory = Memory
18359
19348
 
18360
19349
  @property
18361
- def MaxIoBandWidth(self):
18362
- r"""Maximum bandwidth
18363
- :rtype: int
19350
+ def InstanceType(self):
19351
+ r"""Instance type (rw/ro).
19352
+ :rtype: str
18364
19353
  """
18365
- return self._MaxIoBandWidth
19354
+ return self._InstanceType
18366
19355
 
18367
- @MaxIoBandWidth.setter
18368
- def MaxIoBandWidth(self, MaxIoBandWidth):
18369
- self._MaxIoBandWidth = MaxIoBandWidth
19356
+ @InstanceType.setter
19357
+ def InstanceType(self, InstanceType):
19358
+ self._InstanceType = InstanceType
18370
19359
 
18371
19360
  @property
18372
- def ZoneStockInfos(self):
18373
- r"""Regional inventory information.
18374
- :rtype: list of ZoneStockInfo
19361
+ def InstanceCount(self):
19362
+ r"""Number of instances. value range: [1,15].
19363
+ :rtype: int
18375
19364
  """
18376
- return self._ZoneStockInfos
19365
+ return self._InstanceCount
18377
19366
 
18378
- @ZoneStockInfos.setter
18379
- def ZoneStockInfos(self, ZoneStockInfos):
18380
- self._ZoneStockInfos = ZoneStockInfos
19367
+ @InstanceCount.setter
19368
+ def InstanceCount(self, InstanceCount):
19369
+ self._InstanceCount = InstanceCount
18381
19370
 
18382
19371
  @property
18383
- def StockCount(self):
18384
- r"""Inventory quantity.
18385
- :rtype: int
19372
+ def DeviceType(self):
19373
+ r"""Instance machine type. valid values: universal type (common), exclusive type.
19374
+ :rtype: str
18386
19375
  """
18387
- return self._StockCount
19376
+ return self._DeviceType
18388
19377
 
18389
- @StockCount.setter
18390
- def StockCount(self, StockCount):
18391
- self._StockCount = StockCount
19378
+ @DeviceType.setter
19379
+ def DeviceType(self, DeviceType):
19380
+ self._DeviceType = DeviceType
18392
19381
 
18393
19382
 
18394
19383
  def _deserialize(self, params):
18395
19384
  self._Cpu = params.get("Cpu")
18396
19385
  self._Memory = params.get("Memory")
18397
- self._MaxStorageSize = params.get("MaxStorageSize")
18398
- self._MinStorageSize = params.get("MinStorageSize")
18399
- self._HasStock = params.get("HasStock")
18400
- self._MachineType = params.get("MachineType")
18401
- self._MaxIops = params.get("MaxIops")
18402
- self._MaxIoBandWidth = params.get("MaxIoBandWidth")
18403
- if params.get("ZoneStockInfos") is not None:
18404
- self._ZoneStockInfos = []
18405
- for item in params.get("ZoneStockInfos"):
18406
- obj = ZoneStockInfo()
18407
- obj._deserialize(item)
18408
- self._ZoneStockInfos.append(obj)
18409
- self._StockCount = params.get("StockCount")
19386
+ self._InstanceType = params.get("InstanceType")
19387
+ self._InstanceCount = params.get("InstanceCount")
19388
+ self._DeviceType = params.get("DeviceType")
18410
19389
  memeber_set = set(params.keys())
18411
19390
  for name, value in vars(self).items():
18412
19391
  property_name = name[1:]
@@ -25603,6 +26582,107 @@ class PolicyRule(AbstractModel):
25603
26582
 
25604
26583
 
25605
26584
 
26585
+ class ProxyConfigInfo(AbstractModel):
26586
+ r"""Access proxy configuration.
26587
+
26588
+ """
26589
+
26590
+ def __init__(self):
26591
+ r"""
26592
+ :param _ProxyCount: Number of database proxy group nodes. this parameter is no longer recommended. recommend using ProxyZones.
26593
+ :type ProxyCount: int
26594
+ :param _Cpu: Number of CPU cores
26595
+ :type Cpu: int
26596
+ :param _Mem: Specifies the memory.
26597
+ :type Mem: int
26598
+ :param _Description: Description.
26599
+ :type Description: str
26600
+ :param _ProxyZones: Database node information (this parameter is used in combination with ProxyCount, either one must be manually input).
26601
+ :type ProxyZones: list of ProxyZone
26602
+ """
26603
+ self._ProxyCount = None
26604
+ self._Cpu = None
26605
+ self._Mem = None
26606
+ self._Description = None
26607
+ self._ProxyZones = None
26608
+
26609
+ @property
26610
+ def ProxyCount(self):
26611
+ r"""Number of database proxy group nodes. this parameter is no longer recommended. recommend using ProxyZones.
26612
+ :rtype: int
26613
+ """
26614
+ return self._ProxyCount
26615
+
26616
+ @ProxyCount.setter
26617
+ def ProxyCount(self, ProxyCount):
26618
+ self._ProxyCount = ProxyCount
26619
+
26620
+ @property
26621
+ def Cpu(self):
26622
+ r"""Number of CPU cores
26623
+ :rtype: int
26624
+ """
26625
+ return self._Cpu
26626
+
26627
+ @Cpu.setter
26628
+ def Cpu(self, Cpu):
26629
+ self._Cpu = Cpu
26630
+
26631
+ @property
26632
+ def Mem(self):
26633
+ r"""Specifies the memory.
26634
+ :rtype: int
26635
+ """
26636
+ return self._Mem
26637
+
26638
+ @Mem.setter
26639
+ def Mem(self, Mem):
26640
+ self._Mem = Mem
26641
+
26642
+ @property
26643
+ def Description(self):
26644
+ r"""Description.
26645
+ :rtype: str
26646
+ """
26647
+ return self._Description
26648
+
26649
+ @Description.setter
26650
+ def Description(self, Description):
26651
+ self._Description = Description
26652
+
26653
+ @property
26654
+ def ProxyZones(self):
26655
+ r"""Database node information (this parameter is used in combination with ProxyCount, either one must be manually input).
26656
+ :rtype: list of ProxyZone
26657
+ """
26658
+ return self._ProxyZones
26659
+
26660
+ @ProxyZones.setter
26661
+ def ProxyZones(self, ProxyZones):
26662
+ self._ProxyZones = ProxyZones
26663
+
26664
+
26665
+ def _deserialize(self, params):
26666
+ self._ProxyCount = params.get("ProxyCount")
26667
+ self._Cpu = params.get("Cpu")
26668
+ self._Mem = params.get("Mem")
26669
+ self._Description = params.get("Description")
26670
+ if params.get("ProxyZones") is not None:
26671
+ self._ProxyZones = []
26672
+ for item in params.get("ProxyZones"):
26673
+ obj = ProxyZone()
26674
+ obj._deserialize(item)
26675
+ self._ProxyZones.append(obj)
26676
+ memeber_set = set(params.keys())
26677
+ for name, value in vars(self).items():
26678
+ property_name = name[1:]
26679
+ if property_name in memeber_set:
26680
+ memeber_set.remove(property_name)
26681
+ if len(memeber_set) > 0:
26682
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26683
+
26684
+
26685
+
25606
26686
  class ProxyConnectionPoolInfo(AbstractModel):
25607
26687
  r"""Connection pool information for the database proxy
25608
26688
 
@@ -25669,6 +26749,137 @@ class ProxyConnectionPoolInfo(AbstractModel):
25669
26749
 
25670
26750
 
25671
26751
 
26752
+ class ProxyEndPointConfigInfo(AbstractModel):
26753
+ r"""proxy address configuration of the integrated cluster.
26754
+
26755
+ """
26756
+
26757
+ def __init__(self):
26758
+ r"""
26759
+ :param _UniqueVpcId: Specifies the ID of the VPC network it belongs to.
26760
+ :type UniqueVpcId: str
26761
+ :param _UniqueSubnetId: Subnet ID.
26762
+ :type UniqueSubnetId: str
26763
+ :param _SecurityGroupIds: Security group id array.
26764
+ :type SecurityGroupIds: list of str
26765
+ :param _WeightMode: Weight mode: system-system allocation, custom-custom.
26766
+ :type WeightMode: str
26767
+ :param _AutoAddRo: Specifies whether to automatically add a read-only instance. valid values: yes, no.
26768
+ :type AutoAddRo: str
26769
+ :param _RwType: Read-Write attribute. valid values: READWRITE, READONLY.
26770
+ :type RwType: str
26771
+ :param _InstanceNameWeights: Weight information.
26772
+ :type InstanceNameWeights: list of InstanceNameWeight
26773
+ """
26774
+ self._UniqueVpcId = None
26775
+ self._UniqueSubnetId = None
26776
+ self._SecurityGroupIds = None
26777
+ self._WeightMode = None
26778
+ self._AutoAddRo = None
26779
+ self._RwType = None
26780
+ self._InstanceNameWeights = None
26781
+
26782
+ @property
26783
+ def UniqueVpcId(self):
26784
+ r"""Specifies the ID of the VPC network it belongs to.
26785
+ :rtype: str
26786
+ """
26787
+ return self._UniqueVpcId
26788
+
26789
+ @UniqueVpcId.setter
26790
+ def UniqueVpcId(self, UniqueVpcId):
26791
+ self._UniqueVpcId = UniqueVpcId
26792
+
26793
+ @property
26794
+ def UniqueSubnetId(self):
26795
+ r"""Subnet ID.
26796
+ :rtype: str
26797
+ """
26798
+ return self._UniqueSubnetId
26799
+
26800
+ @UniqueSubnetId.setter
26801
+ def UniqueSubnetId(self, UniqueSubnetId):
26802
+ self._UniqueSubnetId = UniqueSubnetId
26803
+
26804
+ @property
26805
+ def SecurityGroupIds(self):
26806
+ r"""Security group id array.
26807
+ :rtype: list of str
26808
+ """
26809
+ return self._SecurityGroupIds
26810
+
26811
+ @SecurityGroupIds.setter
26812
+ def SecurityGroupIds(self, SecurityGroupIds):
26813
+ self._SecurityGroupIds = SecurityGroupIds
26814
+
26815
+ @property
26816
+ def WeightMode(self):
26817
+ r"""Weight mode: system-system allocation, custom-custom.
26818
+ :rtype: str
26819
+ """
26820
+ return self._WeightMode
26821
+
26822
+ @WeightMode.setter
26823
+ def WeightMode(self, WeightMode):
26824
+ self._WeightMode = WeightMode
26825
+
26826
+ @property
26827
+ def AutoAddRo(self):
26828
+ r"""Specifies whether to automatically add a read-only instance. valid values: yes, no.
26829
+ :rtype: str
26830
+ """
26831
+ return self._AutoAddRo
26832
+
26833
+ @AutoAddRo.setter
26834
+ def AutoAddRo(self, AutoAddRo):
26835
+ self._AutoAddRo = AutoAddRo
26836
+
26837
+ @property
26838
+ def RwType(self):
26839
+ r"""Read-Write attribute. valid values: READWRITE, READONLY.
26840
+ :rtype: str
26841
+ """
26842
+ return self._RwType
26843
+
26844
+ @RwType.setter
26845
+ def RwType(self, RwType):
26846
+ self._RwType = RwType
26847
+
26848
+ @property
26849
+ def InstanceNameWeights(self):
26850
+ r"""Weight information.
26851
+ :rtype: list of InstanceNameWeight
26852
+ """
26853
+ return self._InstanceNameWeights
26854
+
26855
+ @InstanceNameWeights.setter
26856
+ def InstanceNameWeights(self, InstanceNameWeights):
26857
+ self._InstanceNameWeights = InstanceNameWeights
26858
+
26859
+
26860
+ def _deserialize(self, params):
26861
+ self._UniqueVpcId = params.get("UniqueVpcId")
26862
+ self._UniqueSubnetId = params.get("UniqueSubnetId")
26863
+ self._SecurityGroupIds = params.get("SecurityGroupIds")
26864
+ self._WeightMode = params.get("WeightMode")
26865
+ self._AutoAddRo = params.get("AutoAddRo")
26866
+ self._RwType = params.get("RwType")
26867
+ if params.get("InstanceNameWeights") is not None:
26868
+ self._InstanceNameWeights = []
26869
+ for item in params.get("InstanceNameWeights"):
26870
+ obj = InstanceNameWeight()
26871
+ obj._deserialize(item)
26872
+ self._InstanceNameWeights.append(obj)
26873
+ memeber_set = set(params.keys())
26874
+ for name, value in vars(self).items():
26875
+ property_name = name[1:]
26876
+ if property_name in memeber_set:
26877
+ memeber_set.remove(property_name)
26878
+ if len(memeber_set) > 0:
26879
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26880
+
26881
+
26882
+
25672
26883
  class ProxyGroup(AbstractModel):
25673
26884
  r"""Proxy group
25674
26885