tencentcloud-sdk-python 3.0.1439__py2.py3-none-any.whl → 3.0.1441__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +10 -6
- tencentcloud/batch/v20170312/models.py +83 -0
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/cdwch/v20200915/models.py +19 -6
- tencentcloud/cfg/v20210820/models.py +20 -0
- tencentcloud/cfs/v20190719/cfs_client.py +23 -0
- tencentcloud/cfs/v20190719/models.py +124 -0
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +578 -4
- tencentcloud/dcdb/v20180411/models.py +47 -2
- tencentcloud/dlc/v20210125/models.py +15 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -1
- tencentcloud/dsgc/v20190723/models.py +10 -10
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20180416/errorcodes.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +16 -1
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/mariadb/v20170312/models.py +47 -2
- tencentcloud/mps/v20190612/models.py +24 -0
- tencentcloud/omics/v20221128/models.py +175 -0
- tencentcloud/organization/v20210331/models.py +306 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/privatedns/v20201028/models.py +6 -6
- tencentcloud/sqlserver/v20180328/models.py +30 -0
- tencentcloud/tdmq/v20200217/models.py +17 -2
- tencentcloud/teo/v20220901/models.py +130 -0
- tencentcloud/trocket/v20230308/models.py +35 -20
- tencentcloud/tsf/v20180326/errorcodes.py +21 -21
- tencentcloud/tsf/v20180326/models.py +4 -4
- tencentcloud/vdb/v20230616/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/top_level.txt +0 -0
|
@@ -708,6 +708,10 @@ class CreateVolumeRequest(AbstractModel):
|
|
|
708
708
|
:type Description: str
|
|
709
709
|
:param _Capacity: 缓存卷大小(GB),Turbo系列需要指定。
|
|
710
710
|
:type Capacity: int
|
|
711
|
+
:param _EnableAutoScaleUp: 是否开启默认扩容,仅turbo类型文件存储支持
|
|
712
|
+
:type EnableAutoScaleUp: bool
|
|
713
|
+
:param _MetaType: turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
|
|
714
|
+
:type MetaType: str
|
|
711
715
|
"""
|
|
712
716
|
self._EnvironmentId = None
|
|
713
717
|
self._Name = None
|
|
@@ -715,6 +719,8 @@ class CreateVolumeRequest(AbstractModel):
|
|
|
715
719
|
self._Spec = None
|
|
716
720
|
self._Description = None
|
|
717
721
|
self._Capacity = None
|
|
722
|
+
self._EnableAutoScaleUp = None
|
|
723
|
+
self._MetaType = None
|
|
718
724
|
|
|
719
725
|
@property
|
|
720
726
|
def EnvironmentId(self):
|
|
@@ -788,6 +794,28 @@ class CreateVolumeRequest(AbstractModel):
|
|
|
788
794
|
def Capacity(self, Capacity):
|
|
789
795
|
self._Capacity = Capacity
|
|
790
796
|
|
|
797
|
+
@property
|
|
798
|
+
def EnableAutoScaleUp(self):
|
|
799
|
+
"""是否开启默认扩容,仅turbo类型文件存储支持
|
|
800
|
+
:rtype: bool
|
|
801
|
+
"""
|
|
802
|
+
return self._EnableAutoScaleUp
|
|
803
|
+
|
|
804
|
+
@EnableAutoScaleUp.setter
|
|
805
|
+
def EnableAutoScaleUp(self, EnableAutoScaleUp):
|
|
806
|
+
self._EnableAutoScaleUp = EnableAutoScaleUp
|
|
807
|
+
|
|
808
|
+
@property
|
|
809
|
+
def MetaType(self):
|
|
810
|
+
"""turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
|
|
811
|
+
:rtype: str
|
|
812
|
+
"""
|
|
813
|
+
return self._MetaType
|
|
814
|
+
|
|
815
|
+
@MetaType.setter
|
|
816
|
+
def MetaType(self, MetaType):
|
|
817
|
+
self._MetaType = MetaType
|
|
818
|
+
|
|
791
819
|
|
|
792
820
|
def _deserialize(self, params):
|
|
793
821
|
self._EnvironmentId = params.get("EnvironmentId")
|
|
@@ -796,6 +824,8 @@ class CreateVolumeRequest(AbstractModel):
|
|
|
796
824
|
self._Spec = params.get("Spec")
|
|
797
825
|
self._Description = params.get("Description")
|
|
798
826
|
self._Capacity = params.get("Capacity")
|
|
827
|
+
self._EnableAutoScaleUp = params.get("EnableAutoScaleUp")
|
|
828
|
+
self._MetaType = params.get("MetaType")
|
|
799
829
|
memeber_set = set(params.keys())
|
|
800
830
|
for name, value in vars(self).items():
|
|
801
831
|
property_name = name[1:]
|
|
@@ -5758,10 +5788,16 @@ class StorageOption(AbstractModel):
|
|
|
5758
5788
|
- turbo标准型起售40TiB,即40960GiB;扩容步长20TiB,即20480 GiB。
|
|
5759
5789
|
- turbo性能型起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。
|
|
5760
5790
|
:type Capacity: int
|
|
5791
|
+
:param _EnableAutoScaleUp: 是否开启默认扩容,仅turbo类型文件存储支持
|
|
5792
|
+
:type EnableAutoScaleUp: bool
|
|
5793
|
+
:param _MetaType: turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
|
|
5794
|
+
:type MetaType: str
|
|
5761
5795
|
"""
|
|
5762
5796
|
self._StorageType = None
|
|
5763
5797
|
self._Zone = None
|
|
5764
5798
|
self._Capacity = None
|
|
5799
|
+
self._EnableAutoScaleUp = None
|
|
5800
|
+
self._MetaType = None
|
|
5765
5801
|
|
|
5766
5802
|
@property
|
|
5767
5803
|
def StorageType(self):
|
|
@@ -5802,11 +5838,35 @@ class StorageOption(AbstractModel):
|
|
|
5802
5838
|
def Capacity(self, Capacity):
|
|
5803
5839
|
self._Capacity = Capacity
|
|
5804
5840
|
|
|
5841
|
+
@property
|
|
5842
|
+
def EnableAutoScaleUp(self):
|
|
5843
|
+
"""是否开启默认扩容,仅turbo类型文件存储支持
|
|
5844
|
+
:rtype: bool
|
|
5845
|
+
"""
|
|
5846
|
+
return self._EnableAutoScaleUp
|
|
5847
|
+
|
|
5848
|
+
@EnableAutoScaleUp.setter
|
|
5849
|
+
def EnableAutoScaleUp(self, EnableAutoScaleUp):
|
|
5850
|
+
self._EnableAutoScaleUp = EnableAutoScaleUp
|
|
5851
|
+
|
|
5852
|
+
@property
|
|
5853
|
+
def MetaType(self):
|
|
5854
|
+
"""turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
|
|
5855
|
+
:rtype: str
|
|
5856
|
+
"""
|
|
5857
|
+
return self._MetaType
|
|
5858
|
+
|
|
5859
|
+
@MetaType.setter
|
|
5860
|
+
def MetaType(self, MetaType):
|
|
5861
|
+
self._MetaType = MetaType
|
|
5862
|
+
|
|
5805
5863
|
|
|
5806
5864
|
def _deserialize(self, params):
|
|
5807
5865
|
self._StorageType = params.get("StorageType")
|
|
5808
5866
|
self._Zone = params.get("Zone")
|
|
5809
5867
|
self._Capacity = params.get("Capacity")
|
|
5868
|
+
self._EnableAutoScaleUp = params.get("EnableAutoScaleUp")
|
|
5869
|
+
self._MetaType = params.get("MetaType")
|
|
5810
5870
|
memeber_set = set(params.keys())
|
|
5811
5871
|
for name, value in vars(self).items():
|
|
5812
5872
|
property_name = name[1:]
|
|
@@ -6279,6 +6339,12 @@ class Volume(AbstractModel):
|
|
|
6279
6339
|
:type IsDefault: bool
|
|
6280
6340
|
:param _Status: 状态。
|
|
6281
6341
|
:type Status: str
|
|
6342
|
+
:param _AutoScaleUpRule: turbo自动扩容策略
|
|
6343
|
+
:type AutoScaleUpRule: :class:`tencentcloud.omics.v20221128.models.VolumeAutoScaleUpRule`
|
|
6344
|
+
:param _MetaType: turbo元数据属性
|
|
6345
|
+
:type MetaType: str
|
|
6346
|
+
:param _Zone: 可用区
|
|
6347
|
+
:type Zone: str
|
|
6282
6348
|
"""
|
|
6283
6349
|
self._VolumeId = None
|
|
6284
6350
|
self._Name = None
|
|
@@ -6292,6 +6358,9 @@ class Volume(AbstractModel):
|
|
|
6292
6358
|
self._DefaultMountPath = None
|
|
6293
6359
|
self._IsDefault = None
|
|
6294
6360
|
self._Status = None
|
|
6361
|
+
self._AutoScaleUpRule = None
|
|
6362
|
+
self._MetaType = None
|
|
6363
|
+
self._Zone = None
|
|
6295
6364
|
|
|
6296
6365
|
@property
|
|
6297
6366
|
def VolumeId(self):
|
|
@@ -6431,6 +6500,39 @@ class Volume(AbstractModel):
|
|
|
6431
6500
|
def Status(self, Status):
|
|
6432
6501
|
self._Status = Status
|
|
6433
6502
|
|
|
6503
|
+
@property
|
|
6504
|
+
def AutoScaleUpRule(self):
|
|
6505
|
+
"""turbo自动扩容策略
|
|
6506
|
+
:rtype: :class:`tencentcloud.omics.v20221128.models.VolumeAutoScaleUpRule`
|
|
6507
|
+
"""
|
|
6508
|
+
return self._AutoScaleUpRule
|
|
6509
|
+
|
|
6510
|
+
@AutoScaleUpRule.setter
|
|
6511
|
+
def AutoScaleUpRule(self, AutoScaleUpRule):
|
|
6512
|
+
self._AutoScaleUpRule = AutoScaleUpRule
|
|
6513
|
+
|
|
6514
|
+
@property
|
|
6515
|
+
def MetaType(self):
|
|
6516
|
+
"""turbo元数据属性
|
|
6517
|
+
:rtype: str
|
|
6518
|
+
"""
|
|
6519
|
+
return self._MetaType
|
|
6520
|
+
|
|
6521
|
+
@MetaType.setter
|
|
6522
|
+
def MetaType(self, MetaType):
|
|
6523
|
+
self._MetaType = MetaType
|
|
6524
|
+
|
|
6525
|
+
@property
|
|
6526
|
+
def Zone(self):
|
|
6527
|
+
"""可用区
|
|
6528
|
+
:rtype: str
|
|
6529
|
+
"""
|
|
6530
|
+
return self._Zone
|
|
6531
|
+
|
|
6532
|
+
@Zone.setter
|
|
6533
|
+
def Zone(self, Zone):
|
|
6534
|
+
self._Zone = Zone
|
|
6535
|
+
|
|
6434
6536
|
|
|
6435
6537
|
def _deserialize(self, params):
|
|
6436
6538
|
self._VolumeId = params.get("VolumeId")
|
|
@@ -6445,6 +6547,79 @@ class Volume(AbstractModel):
|
|
|
6445
6547
|
self._DefaultMountPath = params.get("DefaultMountPath")
|
|
6446
6548
|
self._IsDefault = params.get("IsDefault")
|
|
6447
6549
|
self._Status = params.get("Status")
|
|
6550
|
+
if params.get("AutoScaleUpRule") is not None:
|
|
6551
|
+
self._AutoScaleUpRule = VolumeAutoScaleUpRule()
|
|
6552
|
+
self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
|
|
6553
|
+
self._MetaType = params.get("MetaType")
|
|
6554
|
+
self._Zone = params.get("Zone")
|
|
6555
|
+
memeber_set = set(params.keys())
|
|
6556
|
+
for name, value in vars(self).items():
|
|
6557
|
+
property_name = name[1:]
|
|
6558
|
+
if property_name in memeber_set:
|
|
6559
|
+
memeber_set.remove(property_name)
|
|
6560
|
+
if len(memeber_set) > 0:
|
|
6561
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6562
|
+
|
|
6563
|
+
|
|
6564
|
+
|
|
6565
|
+
class VolumeAutoScaleUpRule(AbstractModel):
|
|
6566
|
+
"""缓存卷自动扩容策略
|
|
6567
|
+
|
|
6568
|
+
"""
|
|
6569
|
+
|
|
6570
|
+
def __init__(self):
|
|
6571
|
+
r"""
|
|
6572
|
+
:param _Status: 自动扩容策略开启,关闭
|
|
6573
|
+
示例值:open,close
|
|
6574
|
+
:type Status: str
|
|
6575
|
+
:param _ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
|
6576
|
+
:type ScaleThreshold: int
|
|
6577
|
+
:param _TargetThreshold: 扩容后使用量跟集群总量比例,范围[10-90]
|
|
6578
|
+
:type TargetThreshold: int
|
|
6579
|
+
"""
|
|
6580
|
+
self._Status = None
|
|
6581
|
+
self._ScaleThreshold = None
|
|
6582
|
+
self._TargetThreshold = None
|
|
6583
|
+
|
|
6584
|
+
@property
|
|
6585
|
+
def Status(self):
|
|
6586
|
+
"""自动扩容策略开启,关闭
|
|
6587
|
+
示例值:open,close
|
|
6588
|
+
:rtype: str
|
|
6589
|
+
"""
|
|
6590
|
+
return self._Status
|
|
6591
|
+
|
|
6592
|
+
@Status.setter
|
|
6593
|
+
def Status(self, Status):
|
|
6594
|
+
self._Status = Status
|
|
6595
|
+
|
|
6596
|
+
@property
|
|
6597
|
+
def ScaleThreshold(self):
|
|
6598
|
+
"""集群用量占比,到达这个值后开始扩容,范围[10-90]
|
|
6599
|
+
:rtype: int
|
|
6600
|
+
"""
|
|
6601
|
+
return self._ScaleThreshold
|
|
6602
|
+
|
|
6603
|
+
@ScaleThreshold.setter
|
|
6604
|
+
def ScaleThreshold(self, ScaleThreshold):
|
|
6605
|
+
self._ScaleThreshold = ScaleThreshold
|
|
6606
|
+
|
|
6607
|
+
@property
|
|
6608
|
+
def TargetThreshold(self):
|
|
6609
|
+
"""扩容后使用量跟集群总量比例,范围[10-90]
|
|
6610
|
+
:rtype: int
|
|
6611
|
+
"""
|
|
6612
|
+
return self._TargetThreshold
|
|
6613
|
+
|
|
6614
|
+
@TargetThreshold.setter
|
|
6615
|
+
def TargetThreshold(self, TargetThreshold):
|
|
6616
|
+
self._TargetThreshold = TargetThreshold
|
|
6617
|
+
|
|
6618
|
+
|
|
6619
|
+
def _deserialize(self, params):
|
|
6620
|
+
self._Status = params.get("Status")
|
|
6621
|
+
self._ScaleThreshold = params.get("ScaleThreshold")
|
|
6622
|
+
self._TargetThreshold = params.get("TargetThreshold")
|
|
6448
6623
|
memeber_set = set(params.keys())
|
|
6449
6624
|
for name, value in vars(self).items():
|
|
6450
6625
|
property_name = name[1:]
|
|
@@ -7532,6 +7532,184 @@ class DescribePolicyResponse(AbstractModel):
|
|
|
7532
7532
|
self._RequestId = params.get("RequestId")
|
|
7533
7533
|
|
|
7534
7534
|
|
|
7535
|
+
class DescribeResourceToShareMemberRequest(AbstractModel):
|
|
7536
|
+
"""DescribeResourceToShareMember请求参数结构体
|
|
7537
|
+
|
|
7538
|
+
"""
|
|
7539
|
+
|
|
7540
|
+
def __init__(self):
|
|
7541
|
+
r"""
|
|
7542
|
+
:param _Area: 地域
|
|
7543
|
+
:type Area: str
|
|
7544
|
+
:param _Offset: 偏移量
|
|
7545
|
+
:type Offset: int
|
|
7546
|
+
:param _Limit: 每页条数
|
|
7547
|
+
:type Limit: int
|
|
7548
|
+
:param _SearchKey: 搜索关键字,支持业务资源ID搜索
|
|
7549
|
+
:type SearchKey: str
|
|
7550
|
+
:param _Type: 资源类型
|
|
7551
|
+
:type Type: str
|
|
7552
|
+
:param _ProductResourceIds: 业务资源ID。最大50个
|
|
7553
|
+
:type ProductResourceIds: list of str
|
|
7554
|
+
"""
|
|
7555
|
+
self._Area = None
|
|
7556
|
+
self._Offset = None
|
|
7557
|
+
self._Limit = None
|
|
7558
|
+
self._SearchKey = None
|
|
7559
|
+
self._Type = None
|
|
7560
|
+
self._ProductResourceIds = None
|
|
7561
|
+
|
|
7562
|
+
@property
|
|
7563
|
+
def Area(self):
|
|
7564
|
+
"""地域
|
|
7565
|
+
:rtype: str
|
|
7566
|
+
"""
|
|
7567
|
+
return self._Area
|
|
7568
|
+
|
|
7569
|
+
@Area.setter
|
|
7570
|
+
def Area(self, Area):
|
|
7571
|
+
self._Area = Area
|
|
7572
|
+
|
|
7573
|
+
@property
|
|
7574
|
+
def Offset(self):
|
|
7575
|
+
"""偏移量
|
|
7576
|
+
:rtype: int
|
|
7577
|
+
"""
|
|
7578
|
+
return self._Offset
|
|
7579
|
+
|
|
7580
|
+
@Offset.setter
|
|
7581
|
+
def Offset(self, Offset):
|
|
7582
|
+
self._Offset = Offset
|
|
7583
|
+
|
|
7584
|
+
@property
|
|
7585
|
+
def Limit(self):
|
|
7586
|
+
"""每页条数
|
|
7587
|
+
:rtype: int
|
|
7588
|
+
"""
|
|
7589
|
+
return self._Limit
|
|
7590
|
+
|
|
7591
|
+
@Limit.setter
|
|
7592
|
+
def Limit(self, Limit):
|
|
7593
|
+
self._Limit = Limit
|
|
7594
|
+
|
|
7595
|
+
@property
|
|
7596
|
+
def SearchKey(self):
|
|
7597
|
+
"""搜索关键字,支持业务资源ID搜索
|
|
7598
|
+
:rtype: str
|
|
7599
|
+
"""
|
|
7600
|
+
return self._SearchKey
|
|
7601
|
+
|
|
7602
|
+
@SearchKey.setter
|
|
7603
|
+
def SearchKey(self, SearchKey):
|
|
7604
|
+
self._SearchKey = SearchKey
|
|
7605
|
+
|
|
7606
|
+
@property
|
|
7607
|
+
def Type(self):
|
|
7608
|
+
"""资源类型
|
|
7609
|
+
:rtype: str
|
|
7610
|
+
"""
|
|
7611
|
+
return self._Type
|
|
7612
|
+
|
|
7613
|
+
@Type.setter
|
|
7614
|
+
def Type(self, Type):
|
|
7615
|
+
self._Type = Type
|
|
7616
|
+
|
|
7617
|
+
@property
|
|
7618
|
+
def ProductResourceIds(self):
|
|
7619
|
+
"""业务资源ID。最大50个
|
|
7620
|
+
:rtype: list of str
|
|
7621
|
+
"""
|
|
7622
|
+
return self._ProductResourceIds
|
|
7623
|
+
|
|
7624
|
+
@ProductResourceIds.setter
|
|
7625
|
+
def ProductResourceIds(self, ProductResourceIds):
|
|
7626
|
+
self._ProductResourceIds = ProductResourceIds
|
|
7627
|
+
|
|
7628
|
+
|
|
7629
|
+
def _deserialize(self, params):
|
|
7630
|
+
self._Area = params.get("Area")
|
|
7631
|
+
self._Offset = params.get("Offset")
|
|
7632
|
+
self._Limit = params.get("Limit")
|
|
7633
|
+
self._SearchKey = params.get("SearchKey")
|
|
7634
|
+
self._Type = params.get("Type")
|
|
7635
|
+
self._ProductResourceIds = params.get("ProductResourceIds")
|
|
7636
|
+
memeber_set = set(params.keys())
|
|
7637
|
+
for name, value in vars(self).items():
|
|
7638
|
+
property_name = name[1:]
|
|
7639
|
+
if property_name in memeber_set:
|
|
7640
|
+
memeber_set.remove(property_name)
|
|
7641
|
+
if len(memeber_set) > 0:
|
|
7642
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7643
|
+
|
|
7644
|
+
|
|
7645
|
+
|
|
7646
|
+
class DescribeResourceToShareMemberResponse(AbstractModel):
|
|
7647
|
+
"""DescribeResourceToShareMember返回参数结构体
|
|
7648
|
+
|
|
7649
|
+
"""
|
|
7650
|
+
|
|
7651
|
+
def __init__(self):
|
|
7652
|
+
r"""
|
|
7653
|
+
:param _Total: 总数
|
|
7654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7655
|
+
:type Total: int
|
|
7656
|
+
:param _Items: 详情
|
|
7657
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7658
|
+
:type Items: list of ShareResourceToMember
|
|
7659
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7660
|
+
:type RequestId: str
|
|
7661
|
+
"""
|
|
7662
|
+
self._Total = None
|
|
7663
|
+
self._Items = None
|
|
7664
|
+
self._RequestId = None
|
|
7665
|
+
|
|
7666
|
+
@property
|
|
7667
|
+
def Total(self):
|
|
7668
|
+
"""总数
|
|
7669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7670
|
+
:rtype: int
|
|
7671
|
+
"""
|
|
7672
|
+
return self._Total
|
|
7673
|
+
|
|
7674
|
+
@Total.setter
|
|
7675
|
+
def Total(self, Total):
|
|
7676
|
+
self._Total = Total
|
|
7677
|
+
|
|
7678
|
+
@property
|
|
7679
|
+
def Items(self):
|
|
7680
|
+
"""详情
|
|
7681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7682
|
+
:rtype: list of ShareResourceToMember
|
|
7683
|
+
"""
|
|
7684
|
+
return self._Items
|
|
7685
|
+
|
|
7686
|
+
@Items.setter
|
|
7687
|
+
def Items(self, Items):
|
|
7688
|
+
self._Items = Items
|
|
7689
|
+
|
|
7690
|
+
@property
|
|
7691
|
+
def RequestId(self):
|
|
7692
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7693
|
+
:rtype: str
|
|
7694
|
+
"""
|
|
7695
|
+
return self._RequestId
|
|
7696
|
+
|
|
7697
|
+
@RequestId.setter
|
|
7698
|
+
def RequestId(self, RequestId):
|
|
7699
|
+
self._RequestId = RequestId
|
|
7700
|
+
|
|
7701
|
+
|
|
7702
|
+
def _deserialize(self, params):
|
|
7703
|
+
self._Total = params.get("Total")
|
|
7704
|
+
if params.get("Items") is not None:
|
|
7705
|
+
self._Items = []
|
|
7706
|
+
for item in params.get("Items"):
|
|
7707
|
+
obj = ShareResourceToMember()
|
|
7708
|
+
obj._deserialize(item)
|
|
7709
|
+
self._Items.append(obj)
|
|
7710
|
+
self._RequestId = params.get("RequestId")
|
|
7711
|
+
|
|
7712
|
+
|
|
7535
7713
|
class DescribeShareAreasRequest(AbstractModel):
|
|
7536
7714
|
"""DescribeShareAreas请求参数结构体
|
|
7537
7715
|
|
|
@@ -18856,6 +19034,134 @@ class ShareResource(AbstractModel):
|
|
|
18856
19034
|
|
|
18857
19035
|
|
|
18858
19036
|
|
|
19037
|
+
class ShareResourceToMember(AbstractModel):
|
|
19038
|
+
"""与我共享的资源
|
|
19039
|
+
|
|
19040
|
+
"""
|
|
19041
|
+
|
|
19042
|
+
def __init__(self):
|
|
19043
|
+
r"""
|
|
19044
|
+
:param _ResourceId: 资源ID
|
|
19045
|
+
:type ResourceId: str
|
|
19046
|
+
:param _Type: 资源类型
|
|
19047
|
+
:type Type: str
|
|
19048
|
+
:param _UnitId: 共享单元ID
|
|
19049
|
+
:type UnitId: str
|
|
19050
|
+
:param _UnitName: 共享单元名
|
|
19051
|
+
:type UnitName: str
|
|
19052
|
+
:param _CreateTime: 创建时间
|
|
19053
|
+
:type CreateTime: str
|
|
19054
|
+
:param _ProductResourceId: 业务资源ID
|
|
19055
|
+
:type ProductResourceId: str
|
|
19056
|
+
:param _ShareManagerUin: 共享管理员uin
|
|
19057
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19058
|
+
:type ShareManagerUin: int
|
|
19059
|
+
"""
|
|
19060
|
+
self._ResourceId = None
|
|
19061
|
+
self._Type = None
|
|
19062
|
+
self._UnitId = None
|
|
19063
|
+
self._UnitName = None
|
|
19064
|
+
self._CreateTime = None
|
|
19065
|
+
self._ProductResourceId = None
|
|
19066
|
+
self._ShareManagerUin = None
|
|
19067
|
+
|
|
19068
|
+
@property
|
|
19069
|
+
def ResourceId(self):
|
|
19070
|
+
"""资源ID
|
|
19071
|
+
:rtype: str
|
|
19072
|
+
"""
|
|
19073
|
+
return self._ResourceId
|
|
19074
|
+
|
|
19075
|
+
@ResourceId.setter
|
|
19076
|
+
def ResourceId(self, ResourceId):
|
|
19077
|
+
self._ResourceId = ResourceId
|
|
19078
|
+
|
|
19079
|
+
@property
|
|
19080
|
+
def Type(self):
|
|
19081
|
+
"""资源类型
|
|
19082
|
+
:rtype: str
|
|
19083
|
+
"""
|
|
19084
|
+
return self._Type
|
|
19085
|
+
|
|
19086
|
+
@Type.setter
|
|
19087
|
+
def Type(self, Type):
|
|
19088
|
+
self._Type = Type
|
|
19089
|
+
|
|
19090
|
+
@property
|
|
19091
|
+
def UnitId(self):
|
|
19092
|
+
"""共享单元ID
|
|
19093
|
+
:rtype: str
|
|
19094
|
+
"""
|
|
19095
|
+
return self._UnitId
|
|
19096
|
+
|
|
19097
|
+
@UnitId.setter
|
|
19098
|
+
def UnitId(self, UnitId):
|
|
19099
|
+
self._UnitId = UnitId
|
|
19100
|
+
|
|
19101
|
+
@property
|
|
19102
|
+
def UnitName(self):
|
|
19103
|
+
"""共享单元名
|
|
19104
|
+
:rtype: str
|
|
19105
|
+
"""
|
|
19106
|
+
return self._UnitName
|
|
19107
|
+
|
|
19108
|
+
@UnitName.setter
|
|
19109
|
+
def UnitName(self, UnitName):
|
|
19110
|
+
self._UnitName = UnitName
|
|
19111
|
+
|
|
19112
|
+
@property
|
|
19113
|
+
def CreateTime(self):
|
|
19114
|
+
"""创建时间
|
|
19115
|
+
:rtype: str
|
|
19116
|
+
"""
|
|
19117
|
+
return self._CreateTime
|
|
19118
|
+
|
|
19119
|
+
@CreateTime.setter
|
|
19120
|
+
def CreateTime(self, CreateTime):
|
|
19121
|
+
self._CreateTime = CreateTime
|
|
19122
|
+
|
|
19123
|
+
@property
|
|
19124
|
+
def ProductResourceId(self):
|
|
19125
|
+
"""业务资源ID
|
|
19126
|
+
:rtype: str
|
|
19127
|
+
"""
|
|
19128
|
+
return self._ProductResourceId
|
|
19129
|
+
|
|
19130
|
+
@ProductResourceId.setter
|
|
19131
|
+
def ProductResourceId(self, ProductResourceId):
|
|
19132
|
+
self._ProductResourceId = ProductResourceId
|
|
19133
|
+
|
|
19134
|
+
@property
|
|
19135
|
+
def ShareManagerUin(self):
|
|
19136
|
+
"""共享管理员uin
|
|
19137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19138
|
+
:rtype: int
|
|
19139
|
+
"""
|
|
19140
|
+
return self._ShareManagerUin
|
|
19141
|
+
|
|
19142
|
+
@ShareManagerUin.setter
|
|
19143
|
+
def ShareManagerUin(self, ShareManagerUin):
|
|
19144
|
+
self._ShareManagerUin = ShareManagerUin
|
|
19145
|
+
|
|
19146
|
+
|
|
19147
|
+
def _deserialize(self, params):
|
|
19148
|
+
self._ResourceId = params.get("ResourceId")
|
|
19149
|
+
self._Type = params.get("Type")
|
|
19150
|
+
self._UnitId = params.get("UnitId")
|
|
19151
|
+
self._UnitName = params.get("UnitName")
|
|
19152
|
+
self._CreateTime = params.get("CreateTime")
|
|
19153
|
+
self._ProductResourceId = params.get("ProductResourceId")
|
|
19154
|
+
self._ShareManagerUin = params.get("ShareManagerUin")
|
|
19155
|
+
memeber_set = set(params.keys())
|
|
19156
|
+
for name, value in vars(self).items():
|
|
19157
|
+
property_name = name[1:]
|
|
19158
|
+
if property_name in memeber_set:
|
|
19159
|
+
memeber_set.remove(property_name)
|
|
19160
|
+
if len(memeber_set) > 0:
|
|
19161
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19162
|
+
|
|
19163
|
+
|
|
19164
|
+
|
|
18859
19165
|
class ShareUnitMember(AbstractModel):
|
|
18860
19166
|
"""共享单元成员
|
|
18861
19167
|
|
|
@@ -1475,6 +1475,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1475
1475
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1476
1476
|
|
|
1477
1477
|
|
|
1478
|
+
def DescribeResourceToShareMember(self, request):
|
|
1479
|
+
"""获取与我共享的资源列表。
|
|
1480
|
+
|
|
1481
|
+
:param request: Request instance for DescribeResourceToShareMember.
|
|
1482
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DescribeResourceToShareMemberRequest`
|
|
1483
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DescribeResourceToShareMemberResponse`
|
|
1484
|
+
|
|
1485
|
+
"""
|
|
1486
|
+
try:
|
|
1487
|
+
params = request._serialize()
|
|
1488
|
+
headers = request.headers
|
|
1489
|
+
body = self.call("DescribeResourceToShareMember", params, headers=headers)
|
|
1490
|
+
response = json.loads(body)
|
|
1491
|
+
model = models.DescribeResourceToShareMemberResponse()
|
|
1492
|
+
model._deserialize(response["Response"])
|
|
1493
|
+
return model
|
|
1494
|
+
except Exception as e:
|
|
1495
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1496
|
+
raise
|
|
1497
|
+
else:
|
|
1498
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1499
|
+
|
|
1500
|
+
|
|
1478
1501
|
def DescribeShareAreas(self, request):
|
|
1479
1502
|
"""获取可共享地域列表
|
|
1480
1503
|
|
|
@@ -1009,7 +1009,7 @@ class CreatePrivateZoneResponse(AbstractModel):
|
|
|
1009
1009
|
|
|
1010
1010
|
def __init__(self):
|
|
1011
1011
|
r"""
|
|
1012
|
-
:param _ZoneId: 私有域ID, zone-
|
|
1012
|
+
:param _ZoneId: 私有域ID, zone-12sa5ce78
|
|
1013
1013
|
:type ZoneId: str
|
|
1014
1014
|
:param _Domain: 私有域名
|
|
1015
1015
|
:type Domain: str
|
|
@@ -1022,7 +1022,7 @@ class CreatePrivateZoneResponse(AbstractModel):
|
|
|
1022
1022
|
|
|
1023
1023
|
@property
|
|
1024
1024
|
def ZoneId(self):
|
|
1025
|
-
"""私有域ID, zone-
|
|
1025
|
+
"""私有域ID, zone-12sa5ce78
|
|
1026
1026
|
:rtype: str
|
|
1027
1027
|
"""
|
|
1028
1028
|
return self._ZoneId
|
|
@@ -2211,7 +2211,7 @@ class DescribePrivateZoneRecordListRequest(AbstractModel):
|
|
|
2211
2211
|
|
|
2212
2212
|
def __init__(self):
|
|
2213
2213
|
r"""
|
|
2214
|
-
:param _ZoneId: 私有域ID: zone-
|
|
2214
|
+
:param _ZoneId: 私有域ID: zone-12c5a6e8
|
|
2215
2215
|
:type ZoneId: str
|
|
2216
2216
|
:param _Filters: 过滤参数(支持使用Value、RecordType过滤)
|
|
2217
2217
|
:type Filters: list of Filter
|
|
@@ -2227,7 +2227,7 @@ class DescribePrivateZoneRecordListRequest(AbstractModel):
|
|
|
2227
2227
|
|
|
2228
2228
|
@property
|
|
2229
2229
|
def ZoneId(self):
|
|
2230
|
-
"""私有域ID: zone-
|
|
2230
|
+
"""私有域ID: zone-12c5a6e8
|
|
2231
2231
|
:rtype: str
|
|
2232
2232
|
"""
|
|
2233
2233
|
return self._ZoneId
|
|
@@ -3373,7 +3373,7 @@ class ModifyPrivateZoneVpcResponse(AbstractModel):
|
|
|
3373
3373
|
|
|
3374
3374
|
def __init__(self):
|
|
3375
3375
|
r"""
|
|
3376
|
-
:param _ZoneId: 私有域ID, zone-
|
|
3376
|
+
:param _ZoneId: 私有域ID, zone-12e45ds6
|
|
3377
3377
|
:type ZoneId: str
|
|
3378
3378
|
:param _VpcSet: 解析域关联的VPC列表
|
|
3379
3379
|
:type VpcSet: list of VpcInfo
|
|
@@ -3389,7 +3389,7 @@ class ModifyPrivateZoneVpcResponse(AbstractModel):
|
|
|
3389
3389
|
|
|
3390
3390
|
@property
|
|
3391
3391
|
def ZoneId(self):
|
|
3392
|
-
"""私有域ID, zone-
|
|
3392
|
+
"""私有域ID, zone-12e45ds6
|
|
3393
3393
|
:rtype: str
|
|
3394
3394
|
"""
|
|
3395
3395
|
return self._ZoneId
|