tencentcloud-sdk-python 3.0.1334__py2.py3-none-any.whl → 3.0.1335__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 (35) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/acp/v20220105/models.py +0 -32
  3. tencentcloud/autoscaling/v20180419/autoscaling_client.py +3 -2
  4. tencentcloud/controlcenter/v20230110/controlcenter_client.py +92 -0
  5. tencentcloud/controlcenter/v20230110/errorcodes.py +9 -0
  6. tencentcloud/controlcenter/v20230110/models.py +948 -0
  7. tencentcloud/cvm/v20170312/cvm_client.py +92 -0
  8. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  9. tencentcloud/cvm/v20170312/models.py +1491 -33
  10. tencentcloud/cynosdb/v20190107/models.py +17 -2
  11. tencentcloud/ims/v20201229/ims_client.py +18 -12
  12. tencentcloud/keewidb/v20220308/models.py +0 -2
  13. tencentcloud/lcic/v20220817/models.py +75 -54
  14. tencentcloud/lke/v20231130/errorcodes.py +0 -12
  15. tencentcloud/lke/v20231130/lke_client.py +0 -50
  16. tencentcloud/lke/v20231130/models.py +0 -284
  17. tencentcloud/lowcode/v20210108/models.py +182 -2
  18. tencentcloud/mariadb/v20170312/models.py +10 -10
  19. tencentcloud/mqtt/v20240516/models.py +84 -0
  20. tencentcloud/mqtt/v20240516/mqtt_client.py +23 -0
  21. tencentcloud/ocr/v20181119/models.py +4 -22
  22. tencentcloud/ocr/v20181119/ocr_client.py +1 -1
  23. tencentcloud/partners/v20180321/models.py +197 -0
  24. tencentcloud/partners/v20180321/partners_client.py +23 -0
  25. tencentcloud/tat/v20201028/models.py +494 -180
  26. tencentcloud/tat/v20201028/tat_client.py +2 -2
  27. tencentcloud/teo/v20220901/models.py +14 -4
  28. tencentcloud/tke/v20180525/models.py +0 -292
  29. tencentcloud/tke/v20220501/models.py +0 -2
  30. tencentcloud/vdb/v20230616/models.py +0 -12
  31. {tencentcloud_sdk_python-3.0.1334.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/METADATA +1 -1
  32. {tencentcloud_sdk_python-3.0.1334.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/RECORD +35 -35
  33. {tencentcloud_sdk_python-3.0.1334.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/LICENSE +0 -0
  34. {tencentcloud_sdk_python-3.0.1334.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/WHEEL +0 -0
  35. {tencentcloud_sdk_python-3.0.1334.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/top_level.txt +0 -0
@@ -7588,6 +7588,340 @@ class DescribeRegionsResponse(AbstractModel):
7588
7588
  self._RequestId = params.get("RequestId")
7589
7589
 
7590
7590
 
7591
+ class DescribeReservedInstancesConfigInfosRequest(AbstractModel):
7592
+ """DescribeReservedInstancesConfigInfos请求参数结构体
7593
+
7594
+ """
7595
+
7596
+ def __init__(self):
7597
+ r"""
7598
+ :param _Filters: zone
7599
+ 按照预留实例计费可购买的可用区进行过滤。形如:ap-guangzhou-1。
7600
+ 类型:String
7601
+ 必选:否
7602
+ 可选项:各地域可用区列表
7603
+
7604
+ product-description
7605
+ 按照预留实例计费的平台描述(即操作系统)进行过滤。形如:linux。
7606
+ 类型:String
7607
+ 必选:否
7608
+ 可选项:linux
7609
+
7610
+ duration
7611
+ 按照预留实例计费有效期,即预留实例计费购买时长进行过滤。形如:31536000。
7612
+ 类型:Integer
7613
+ 计量单位:秒
7614
+ 必选:否
7615
+ 可选项:31536000 (1年)
7616
+ :type Filters: list of Filter
7617
+ """
7618
+ self._Filters = None
7619
+
7620
+ @property
7621
+ def Filters(self):
7622
+ """zone
7623
+ 按照预留实例计费可购买的可用区进行过滤。形如:ap-guangzhou-1。
7624
+ 类型:String
7625
+ 必选:否
7626
+ 可选项:各地域可用区列表
7627
+
7628
+ product-description
7629
+ 按照预留实例计费的平台描述(即操作系统)进行过滤。形如:linux。
7630
+ 类型:String
7631
+ 必选:否
7632
+ 可选项:linux
7633
+
7634
+ duration
7635
+ 按照预留实例计费有效期,即预留实例计费购买时长进行过滤。形如:31536000。
7636
+ 类型:Integer
7637
+ 计量单位:秒
7638
+ 必选:否
7639
+ 可选项:31536000 (1年)
7640
+ :rtype: list of Filter
7641
+ """
7642
+ return self._Filters
7643
+
7644
+ @Filters.setter
7645
+ def Filters(self, Filters):
7646
+ self._Filters = Filters
7647
+
7648
+
7649
+ def _deserialize(self, params):
7650
+ if params.get("Filters") is not None:
7651
+ self._Filters = []
7652
+ for item in params.get("Filters"):
7653
+ obj = Filter()
7654
+ obj._deserialize(item)
7655
+ self._Filters.append(obj)
7656
+ memeber_set = set(params.keys())
7657
+ for name, value in vars(self).items():
7658
+ property_name = name[1:]
7659
+ if property_name in memeber_set:
7660
+ memeber_set.remove(property_name)
7661
+ if len(memeber_set) > 0:
7662
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7663
+
7664
+
7665
+
7666
+ class DescribeReservedInstancesConfigInfosResponse(AbstractModel):
7667
+ """DescribeReservedInstancesConfigInfos返回参数结构体
7668
+
7669
+ """
7670
+
7671
+ def __init__(self):
7672
+ r"""
7673
+ :param _ReservedInstanceConfigInfos: 预留实例静态配置信息列表。
7674
+ :type ReservedInstanceConfigInfos: list of ReservedInstanceConfigInfoItem
7675
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7676
+ :type RequestId: str
7677
+ """
7678
+ self._ReservedInstanceConfigInfos = None
7679
+ self._RequestId = None
7680
+
7681
+ @property
7682
+ def ReservedInstanceConfigInfos(self):
7683
+ """预留实例静态配置信息列表。
7684
+ :rtype: list of ReservedInstanceConfigInfoItem
7685
+ """
7686
+ return self._ReservedInstanceConfigInfos
7687
+
7688
+ @ReservedInstanceConfigInfos.setter
7689
+ def ReservedInstanceConfigInfos(self, ReservedInstanceConfigInfos):
7690
+ self._ReservedInstanceConfigInfos = ReservedInstanceConfigInfos
7691
+
7692
+ @property
7693
+ def RequestId(self):
7694
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7695
+ :rtype: str
7696
+ """
7697
+ return self._RequestId
7698
+
7699
+ @RequestId.setter
7700
+ def RequestId(self, RequestId):
7701
+ self._RequestId = RequestId
7702
+
7703
+
7704
+ def _deserialize(self, params):
7705
+ if params.get("ReservedInstanceConfigInfos") is not None:
7706
+ self._ReservedInstanceConfigInfos = []
7707
+ for item in params.get("ReservedInstanceConfigInfos"):
7708
+ obj = ReservedInstanceConfigInfoItem()
7709
+ obj._deserialize(item)
7710
+ self._ReservedInstanceConfigInfos.append(obj)
7711
+ self._RequestId = params.get("RequestId")
7712
+
7713
+
7714
+ class DescribeReservedInstancesOfferingsRequest(AbstractModel):
7715
+ """DescribeReservedInstancesOfferings请求参数结构体
7716
+
7717
+ """
7718
+
7719
+ def __init__(self):
7720
+ r"""
7721
+ :param _DryRun: 试运行, 默认为 false。
7722
+ :type DryRun: bool
7723
+ :param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7724
+ :type Offset: int
7725
+ :param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7726
+ :type Limit: int
7727
+ :param _MaxDuration: 以最大有效期作为过滤参数。
7728
+ 计量单位: 秒
7729
+ 默认为 94608000。
7730
+ :type MaxDuration: int
7731
+ :param _MinDuration: 以最小有效期作为过滤参数。
7732
+ 计量单位: 秒
7733
+ 默认为 2592000。
7734
+ :type MinDuration: int
7735
+ :param _Filters: <li><strong>zone</strong></li>
7736
+ <p style="padding-left: 30px;">按照预留实例计费可购买的【<strong>可用区</strong>】进行过滤。形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
7737
+ <li><strong>duration</strong></li>
7738
+ <p style="padding-left: 30px;">按照预留实例计费【<strong>有效期</strong>】即预留实例计费购买时长进行过滤。形如:31536000。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">计量单位:秒</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:31536000 (1年) | 94608000(3年)</p>
7739
+ <li><strong>instance-type</strong></li>
7740
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费类型</strong>】进行过滤。形如:S3.MEDIUM4。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/11518">预留实例计费类型列表</a></p>
7741
+ <li><strong>offering-type</strong></li>
7742
+ <p style="padding-left: 30px;">按照【<strong>付款类型</strong>】进行过滤。形如:All Upfront (预付全部费用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:All Upfront (预付全部费用)</p>
7743
+ <li><strong>product-description</strong></li>
7744
+ <p style="padding-left: 30px;">按照预留实例计费的【<strong>平台描述</strong>】(即操作系统)进行过滤。形如:linux。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:linux</p>
7745
+ <li><strong>reserved-instances-offering-id</strong></li>
7746
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费配置ID</strong>】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7747
+ 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
7748
+ :type Filters: list of Filter
7749
+ """
7750
+ self._DryRun = None
7751
+ self._Offset = None
7752
+ self._Limit = None
7753
+ self._MaxDuration = None
7754
+ self._MinDuration = None
7755
+ self._Filters = None
7756
+
7757
+ @property
7758
+ def DryRun(self):
7759
+ """试运行, 默认为 false。
7760
+ :rtype: bool
7761
+ """
7762
+ return self._DryRun
7763
+
7764
+ @DryRun.setter
7765
+ def DryRun(self, DryRun):
7766
+ self._DryRun = DryRun
7767
+
7768
+ @property
7769
+ def Offset(self):
7770
+ """偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7771
+ :rtype: int
7772
+ """
7773
+ return self._Offset
7774
+
7775
+ @Offset.setter
7776
+ def Offset(self, Offset):
7777
+ self._Offset = Offset
7778
+
7779
+ @property
7780
+ def Limit(self):
7781
+ """返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
7782
+ :rtype: int
7783
+ """
7784
+ return self._Limit
7785
+
7786
+ @Limit.setter
7787
+ def Limit(self, Limit):
7788
+ self._Limit = Limit
7789
+
7790
+ @property
7791
+ def MaxDuration(self):
7792
+ """以最大有效期作为过滤参数。
7793
+ 计量单位: 秒
7794
+ 默认为 94608000。
7795
+ :rtype: int
7796
+ """
7797
+ return self._MaxDuration
7798
+
7799
+ @MaxDuration.setter
7800
+ def MaxDuration(self, MaxDuration):
7801
+ self._MaxDuration = MaxDuration
7802
+
7803
+ @property
7804
+ def MinDuration(self):
7805
+ """以最小有效期作为过滤参数。
7806
+ 计量单位: 秒
7807
+ 默认为 2592000。
7808
+ :rtype: int
7809
+ """
7810
+ return self._MinDuration
7811
+
7812
+ @MinDuration.setter
7813
+ def MinDuration(self, MinDuration):
7814
+ self._MinDuration = MinDuration
7815
+
7816
+ @property
7817
+ def Filters(self):
7818
+ """<li><strong>zone</strong></li>
7819
+ <p style="padding-left: 30px;">按照预留实例计费可购买的【<strong>可用区</strong>】进行过滤。形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
7820
+ <li><strong>duration</strong></li>
7821
+ <p style="padding-left: 30px;">按照预留实例计费【<strong>有效期</strong>】即预留实例计费购买时长进行过滤。形如:31536000。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">计量单位:秒</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:31536000 (1年) | 94608000(3年)</p>
7822
+ <li><strong>instance-type</strong></li>
7823
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费类型</strong>】进行过滤。形如:S3.MEDIUM4。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/11518">预留实例计费类型列表</a></p>
7824
+ <li><strong>offering-type</strong></li>
7825
+ <p style="padding-left: 30px;">按照【<strong>付款类型</strong>】进行过滤。形如:All Upfront (预付全部费用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:All Upfront (预付全部费用)</p>
7826
+ <li><strong>product-description</strong></li>
7827
+ <p style="padding-left: 30px;">按照预留实例计费的【<strong>平台描述</strong>】(即操作系统)进行过滤。形如:linux。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:linux</p>
7828
+ <li><strong>reserved-instances-offering-id</strong></li>
7829
+ <p style="padding-left: 30px;">按照【<strong>预留实例计费配置ID</strong>】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
7830
+ 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
7831
+ :rtype: list of Filter
7832
+ """
7833
+ return self._Filters
7834
+
7835
+ @Filters.setter
7836
+ def Filters(self, Filters):
7837
+ self._Filters = Filters
7838
+
7839
+
7840
+ def _deserialize(self, params):
7841
+ self._DryRun = params.get("DryRun")
7842
+ self._Offset = params.get("Offset")
7843
+ self._Limit = params.get("Limit")
7844
+ self._MaxDuration = params.get("MaxDuration")
7845
+ self._MinDuration = params.get("MinDuration")
7846
+ if params.get("Filters") is not None:
7847
+ self._Filters = []
7848
+ for item in params.get("Filters"):
7849
+ obj = Filter()
7850
+ obj._deserialize(item)
7851
+ self._Filters.append(obj)
7852
+ memeber_set = set(params.keys())
7853
+ for name, value in vars(self).items():
7854
+ property_name = name[1:]
7855
+ if property_name in memeber_set:
7856
+ memeber_set.remove(property_name)
7857
+ if len(memeber_set) > 0:
7858
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7859
+
7860
+
7861
+
7862
+ class DescribeReservedInstancesOfferingsResponse(AbstractModel):
7863
+ """DescribeReservedInstancesOfferings返回参数结构体
7864
+
7865
+ """
7866
+
7867
+ def __init__(self):
7868
+ r"""
7869
+ :param _TotalCount: 符合条件的预留实例计费数量。
7870
+ :type TotalCount: int
7871
+ :param _ReservedInstancesOfferingsSet: 符合条件的预留实例计费列表。
7872
+ :type ReservedInstancesOfferingsSet: list of ReservedInstancesOffering
7873
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7874
+ :type RequestId: str
7875
+ """
7876
+ self._TotalCount = None
7877
+ self._ReservedInstancesOfferingsSet = None
7878
+ self._RequestId = None
7879
+
7880
+ @property
7881
+ def TotalCount(self):
7882
+ """符合条件的预留实例计费数量。
7883
+ :rtype: int
7884
+ """
7885
+ return self._TotalCount
7886
+
7887
+ @TotalCount.setter
7888
+ def TotalCount(self, TotalCount):
7889
+ self._TotalCount = TotalCount
7890
+
7891
+ @property
7892
+ def ReservedInstancesOfferingsSet(self):
7893
+ """符合条件的预留实例计费列表。
7894
+ :rtype: list of ReservedInstancesOffering
7895
+ """
7896
+ return self._ReservedInstancesOfferingsSet
7897
+
7898
+ @ReservedInstancesOfferingsSet.setter
7899
+ def ReservedInstancesOfferingsSet(self, ReservedInstancesOfferingsSet):
7900
+ self._ReservedInstancesOfferingsSet = ReservedInstancesOfferingsSet
7901
+
7902
+ @property
7903
+ def RequestId(self):
7904
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7905
+ :rtype: str
7906
+ """
7907
+ return self._RequestId
7908
+
7909
+ @RequestId.setter
7910
+ def RequestId(self, RequestId):
7911
+ self._RequestId = RequestId
7912
+
7913
+
7914
+ def _deserialize(self, params):
7915
+ self._TotalCount = params.get("TotalCount")
7916
+ if params.get("ReservedInstancesOfferingsSet") is not None:
7917
+ self._ReservedInstancesOfferingsSet = []
7918
+ for item in params.get("ReservedInstancesOfferingsSet"):
7919
+ obj = ReservedInstancesOffering()
7920
+ obj._deserialize(item)
7921
+ self._ReservedInstancesOfferingsSet.append(obj)
7922
+ self._RequestId = params.get("RequestId")
7923
+
7924
+
7591
7925
  class DescribeTaskInfoRequest(AbstractModel):
7592
7926
  """DescribeTaskInfo请求参数结构体
7593
7927
 
@@ -10787,58 +11121,199 @@ class ImportKeyPairResponse(AbstractModel):
10787
11121
  self._RequestId = params.get("RequestId")
10788
11122
 
10789
11123
 
10790
- class InquiryPriceModifyInstancesChargeTypeRequest(AbstractModel):
10791
- """InquiryPriceModifyInstancesChargeType请求参数结构体
11124
+ class InquirePricePurchaseReservedInstancesOfferingRequest(AbstractModel):
11125
+ """InquirePricePurchaseReservedInstancesOffering请求参数结构体
10792
11126
 
10793
11127
  """
10794
11128
 
10795
11129
  def __init__(self):
10796
11130
  r"""
10797
- :param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
10798
- :type InstanceIds: list of str
10799
- :param _InstanceChargeType: 修改后的实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量付费。</li>
10800
- :type InstanceChargeType: str
10801
- :param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定修改后实例的付费模式为预付费则该参数必传。</dx-alert>
10802
- :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
10803
- :param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<br><li>true:表示切换弹性数据云盘计费模式</li><li>false:表示不切换弹性数据云盘计费模式</li><br>默认取值:false。
10804
- :type ModifyPortableDataDisk: bool
11131
+ :param _InstanceCount: 购买预留实例计费数量
11132
+ :type InstanceCount: int
11133
+ :param _ReservedInstancesOfferingId: 预留实例计费配置ID
11134
+ :type ReservedInstancesOfferingId: str
11135
+ :param _DryRun: 试运行
11136
+ :type DryRun: bool
11137
+ :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
11138
+ :type ClientToken: str
11139
+ :param _ReservedInstanceName: 预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
11140
+ :type ReservedInstanceName: str
10805
11141
  """
10806
- self._InstanceIds = None
10807
- self._InstanceChargeType = None
10808
- self._InstanceChargePrepaid = None
10809
- self._ModifyPortableDataDisk = None
11142
+ self._InstanceCount = None
11143
+ self._ReservedInstancesOfferingId = None
11144
+ self._DryRun = None
11145
+ self._ClientToken = None
11146
+ self._ReservedInstanceName = None
10810
11147
 
10811
11148
  @property
10812
- def InstanceIds(self):
10813
- """一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
10814
- :rtype: list of str
11149
+ def InstanceCount(self):
11150
+ """购买预留实例计费数量
11151
+ :rtype: int
10815
11152
  """
10816
- return self._InstanceIds
11153
+ return self._InstanceCount
10817
11154
 
10818
- @InstanceIds.setter
10819
- def InstanceIds(self, InstanceIds):
10820
- self._InstanceIds = InstanceIds
11155
+ @InstanceCount.setter
11156
+ def InstanceCount(self, InstanceCount):
11157
+ self._InstanceCount = InstanceCount
10821
11158
 
10822
11159
  @property
10823
- def InstanceChargeType(self):
10824
- """修改后的实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量付费。</li>
11160
+ def ReservedInstancesOfferingId(self):
11161
+ """预留实例计费配置ID
10825
11162
  :rtype: str
10826
11163
  """
10827
- return self._InstanceChargeType
11164
+ return self._ReservedInstancesOfferingId
10828
11165
 
10829
- @InstanceChargeType.setter
10830
- def InstanceChargeType(self, InstanceChargeType):
10831
- self._InstanceChargeType = InstanceChargeType
11166
+ @ReservedInstancesOfferingId.setter
11167
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
11168
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
10832
11169
 
10833
11170
  @property
10834
- def InstanceChargePrepaid(self):
10835
- """预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定修改后实例的付费模式为预付费则该参数必传。</dx-alert>
10836
- :rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
11171
+ def DryRun(self):
11172
+ """试运行
11173
+ :rtype: bool
10837
11174
  """
10838
- return self._InstanceChargePrepaid
11175
+ return self._DryRun
10839
11176
 
10840
- @InstanceChargePrepaid.setter
10841
- def InstanceChargePrepaid(self, InstanceChargePrepaid):
11177
+ @DryRun.setter
11178
+ def DryRun(self, DryRun):
11179
+ self._DryRun = DryRun
11180
+
11181
+ @property
11182
+ def ClientToken(self):
11183
+ """用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
11184
+ :rtype: str
11185
+ """
11186
+ return self._ClientToken
11187
+
11188
+ @ClientToken.setter
11189
+ def ClientToken(self, ClientToken):
11190
+ self._ClientToken = ClientToken
11191
+
11192
+ @property
11193
+ def ReservedInstanceName(self):
11194
+ """预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
11195
+ :rtype: str
11196
+ """
11197
+ return self._ReservedInstanceName
11198
+
11199
+ @ReservedInstanceName.setter
11200
+ def ReservedInstanceName(self, ReservedInstanceName):
11201
+ self._ReservedInstanceName = ReservedInstanceName
11202
+
11203
+
11204
+ def _deserialize(self, params):
11205
+ self._InstanceCount = params.get("InstanceCount")
11206
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
11207
+ self._DryRun = params.get("DryRun")
11208
+ self._ClientToken = params.get("ClientToken")
11209
+ self._ReservedInstanceName = params.get("ReservedInstanceName")
11210
+ memeber_set = set(params.keys())
11211
+ for name, value in vars(self).items():
11212
+ property_name = name[1:]
11213
+ if property_name in memeber_set:
11214
+ memeber_set.remove(property_name)
11215
+ if len(memeber_set) > 0:
11216
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11217
+
11218
+
11219
+
11220
+ class InquirePricePurchaseReservedInstancesOfferingResponse(AbstractModel):
11221
+ """InquirePricePurchaseReservedInstancesOffering返回参数结构体
11222
+
11223
+ """
11224
+
11225
+ def __init__(self):
11226
+ r"""
11227
+ :param _Price: 该参数表示对应配置预留实例的价格。
11228
+ :type Price: :class:`tencentcloud.cvm.v20170312.models.ReservedInstancePrice`
11229
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11230
+ :type RequestId: str
11231
+ """
11232
+ self._Price = None
11233
+ self._RequestId = None
11234
+
11235
+ @property
11236
+ def Price(self):
11237
+ """该参数表示对应配置预留实例的价格。
11238
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.ReservedInstancePrice`
11239
+ """
11240
+ return self._Price
11241
+
11242
+ @Price.setter
11243
+ def Price(self, Price):
11244
+ self._Price = Price
11245
+
11246
+ @property
11247
+ def RequestId(self):
11248
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11249
+ :rtype: str
11250
+ """
11251
+ return self._RequestId
11252
+
11253
+ @RequestId.setter
11254
+ def RequestId(self, RequestId):
11255
+ self._RequestId = RequestId
11256
+
11257
+
11258
+ def _deserialize(self, params):
11259
+ if params.get("Price") is not None:
11260
+ self._Price = ReservedInstancePrice()
11261
+ self._Price._deserialize(params.get("Price"))
11262
+ self._RequestId = params.get("RequestId")
11263
+
11264
+
11265
+ class InquiryPriceModifyInstancesChargeTypeRequest(AbstractModel):
11266
+ """InquiryPriceModifyInstancesChargeType请求参数结构体
11267
+
11268
+ """
11269
+
11270
+ def __init__(self):
11271
+ r"""
11272
+ :param _InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
11273
+ :type InstanceIds: list of str
11274
+ :param _InstanceChargeType: 修改后的实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量付费。</li>
11275
+ :type InstanceChargeType: str
11276
+ :param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定修改后实例的付费模式为预付费则该参数必传。</dx-alert>
11277
+ :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
11278
+ :param _ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<br><li>true:表示切换弹性数据云盘计费模式</li><li>false:表示不切换弹性数据云盘计费模式</li><br>默认取值:false。
11279
+ :type ModifyPortableDataDisk: bool
11280
+ """
11281
+ self._InstanceIds = None
11282
+ self._InstanceChargeType = None
11283
+ self._InstanceChargePrepaid = None
11284
+ self._ModifyPortableDataDisk = None
11285
+
11286
+ @property
11287
+ def InstanceIds(self):
11288
+ """一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
11289
+ :rtype: list of str
11290
+ """
11291
+ return self._InstanceIds
11292
+
11293
+ @InstanceIds.setter
11294
+ def InstanceIds(self, InstanceIds):
11295
+ self._InstanceIds = InstanceIds
11296
+
11297
+ @property
11298
+ def InstanceChargeType(self):
11299
+ """修改后的实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月。</li><li>POSTPAID_BY_HOUR:后付费,即按量付费。</li>
11300
+ :rtype: str
11301
+ """
11302
+ return self._InstanceChargeType
11303
+
11304
+ @InstanceChargeType.setter
11305
+ def InstanceChargeType(self, InstanceChargeType):
11306
+ self._InstanceChargeType = InstanceChargeType
11307
+
11308
+ @property
11309
+ def InstanceChargePrepaid(self):
11310
+ """预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定修改后实例的付费模式为预付费则该参数必传。</dx-alert>
11311
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
11312
+ """
11313
+ return self._InstanceChargePrepaid
11314
+
11315
+ @InstanceChargePrepaid.setter
11316
+ def InstanceChargePrepaid(self, InstanceChargePrepaid):
10842
11317
  self._InstanceChargePrepaid = InstanceChargePrepaid
10843
11318
 
10844
11319
  @property
@@ -17424,6 +17899,145 @@ class ProgramFpgaImageResponse(AbstractModel):
17424
17899
  self._RequestId = params.get("RequestId")
17425
17900
 
17426
17901
 
17902
+ class PurchaseReservedInstancesOfferingRequest(AbstractModel):
17903
+ """PurchaseReservedInstancesOffering请求参数结构体
17904
+
17905
+ """
17906
+
17907
+ def __init__(self):
17908
+ r"""
17909
+ :param _InstanceCount: 购买预留实例计费数量
17910
+ :type InstanceCount: int
17911
+ :param _ReservedInstancesOfferingId: 预留实例计费配置ID
17912
+ :type ReservedInstancesOfferingId: str
17913
+ :param _DryRun: 试运行
17914
+ :type DryRun: bool
17915
+ :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
17916
+ :type ClientToken: str
17917
+ :param _ReservedInstanceName: 预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
17918
+ :type ReservedInstanceName: str
17919
+ """
17920
+ self._InstanceCount = None
17921
+ self._ReservedInstancesOfferingId = None
17922
+ self._DryRun = None
17923
+ self._ClientToken = None
17924
+ self._ReservedInstanceName = None
17925
+
17926
+ @property
17927
+ def InstanceCount(self):
17928
+ """购买预留实例计费数量
17929
+ :rtype: int
17930
+ """
17931
+ return self._InstanceCount
17932
+
17933
+ @InstanceCount.setter
17934
+ def InstanceCount(self, InstanceCount):
17935
+ self._InstanceCount = InstanceCount
17936
+
17937
+ @property
17938
+ def ReservedInstancesOfferingId(self):
17939
+ """预留实例计费配置ID
17940
+ :rtype: str
17941
+ """
17942
+ return self._ReservedInstancesOfferingId
17943
+
17944
+ @ReservedInstancesOfferingId.setter
17945
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
17946
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
17947
+
17948
+ @property
17949
+ def DryRun(self):
17950
+ """试运行
17951
+ :rtype: bool
17952
+ """
17953
+ return self._DryRun
17954
+
17955
+ @DryRun.setter
17956
+ def DryRun(self, DryRun):
17957
+ self._DryRun = DryRun
17958
+
17959
+ @property
17960
+ def ClientToken(self):
17961
+ """用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性
17962
+ :rtype: str
17963
+ """
17964
+ return self._ClientToken
17965
+
17966
+ @ClientToken.setter
17967
+ def ClientToken(self, ClientToken):
17968
+ self._ClientToken = ClientToken
17969
+
17970
+ @property
17971
+ def ReservedInstanceName(self):
17972
+ """预留实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>最多支持60个字符(包含模式串)。</li>
17973
+ :rtype: str
17974
+ """
17975
+ return self._ReservedInstanceName
17976
+
17977
+ @ReservedInstanceName.setter
17978
+ def ReservedInstanceName(self, ReservedInstanceName):
17979
+ self._ReservedInstanceName = ReservedInstanceName
17980
+
17981
+
17982
+ def _deserialize(self, params):
17983
+ self._InstanceCount = params.get("InstanceCount")
17984
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
17985
+ self._DryRun = params.get("DryRun")
17986
+ self._ClientToken = params.get("ClientToken")
17987
+ self._ReservedInstanceName = params.get("ReservedInstanceName")
17988
+ memeber_set = set(params.keys())
17989
+ for name, value in vars(self).items():
17990
+ property_name = name[1:]
17991
+ if property_name in memeber_set:
17992
+ memeber_set.remove(property_name)
17993
+ if len(memeber_set) > 0:
17994
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17995
+
17996
+
17997
+
17998
+ class PurchaseReservedInstancesOfferingResponse(AbstractModel):
17999
+ """PurchaseReservedInstancesOffering返回参数结构体
18000
+
18001
+ """
18002
+
18003
+ def __init__(self):
18004
+ r"""
18005
+ :param _ReservedInstanceId: 已购买预留实例计费ID
18006
+ :type ReservedInstanceId: str
18007
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18008
+ :type RequestId: str
18009
+ """
18010
+ self._ReservedInstanceId = None
18011
+ self._RequestId = None
18012
+
18013
+ @property
18014
+ def ReservedInstanceId(self):
18015
+ """已购买预留实例计费ID
18016
+ :rtype: str
18017
+ """
18018
+ return self._ReservedInstanceId
18019
+
18020
+ @ReservedInstanceId.setter
18021
+ def ReservedInstanceId(self, ReservedInstanceId):
18022
+ self._ReservedInstanceId = ReservedInstanceId
18023
+
18024
+ @property
18025
+ def RequestId(self):
18026
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18027
+ :rtype: str
18028
+ """
18029
+ return self._RequestId
18030
+
18031
+ @RequestId.setter
18032
+ def RequestId(self, RequestId):
18033
+ self._RequestId = RequestId
18034
+
18035
+
18036
+ def _deserialize(self, params):
18037
+ self._ReservedInstanceId = params.get("ReservedInstanceId")
18038
+ self._RequestId = params.get("RequestId")
18039
+
18040
+
17427
18041
  class RebootInstancesRequest(AbstractModel):
17428
18042
  """RebootInstances请求参数结构体
17429
18043
 
@@ -18546,6 +19160,850 @@ class RepairTaskInfo(AbstractModel):
18546
19160
 
18547
19161
 
18548
19162
 
19163
+ class ReservedInstanceConfigInfoItem(AbstractModel):
19164
+ """预留实例静态配置信息。预留实例当前只针对国际站白名单用户开放。
19165
+
19166
+ """
19167
+
19168
+ def __init__(self):
19169
+ r"""
19170
+ :param _Type: 实例规格。
19171
+ :type Type: str
19172
+ :param _TypeName: 实例规格名称。
19173
+ :type TypeName: str
19174
+ :param _Order: 优先级。
19175
+ :type Order: int
19176
+ :param _InstanceFamilies: 实例族信息列表。
19177
+ :type InstanceFamilies: list of ReservedInstanceFamilyItem
19178
+ """
19179
+ self._Type = None
19180
+ self._TypeName = None
19181
+ self._Order = None
19182
+ self._InstanceFamilies = None
19183
+
19184
+ @property
19185
+ def Type(self):
19186
+ """实例规格。
19187
+ :rtype: str
19188
+ """
19189
+ return self._Type
19190
+
19191
+ @Type.setter
19192
+ def Type(self, Type):
19193
+ self._Type = Type
19194
+
19195
+ @property
19196
+ def TypeName(self):
19197
+ """实例规格名称。
19198
+ :rtype: str
19199
+ """
19200
+ return self._TypeName
19201
+
19202
+ @TypeName.setter
19203
+ def TypeName(self, TypeName):
19204
+ self._TypeName = TypeName
19205
+
19206
+ @property
19207
+ def Order(self):
19208
+ """优先级。
19209
+ :rtype: int
19210
+ """
19211
+ return self._Order
19212
+
19213
+ @Order.setter
19214
+ def Order(self, Order):
19215
+ self._Order = Order
19216
+
19217
+ @property
19218
+ def InstanceFamilies(self):
19219
+ """实例族信息列表。
19220
+ :rtype: list of ReservedInstanceFamilyItem
19221
+ """
19222
+ return self._InstanceFamilies
19223
+
19224
+ @InstanceFamilies.setter
19225
+ def InstanceFamilies(self, InstanceFamilies):
19226
+ self._InstanceFamilies = InstanceFamilies
19227
+
19228
+
19229
+ def _deserialize(self, params):
19230
+ self._Type = params.get("Type")
19231
+ self._TypeName = params.get("TypeName")
19232
+ self._Order = params.get("Order")
19233
+ if params.get("InstanceFamilies") is not None:
19234
+ self._InstanceFamilies = []
19235
+ for item in params.get("InstanceFamilies"):
19236
+ obj = ReservedInstanceFamilyItem()
19237
+ obj._deserialize(item)
19238
+ self._InstanceFamilies.append(obj)
19239
+ memeber_set = set(params.keys())
19240
+ for name, value in vars(self).items():
19241
+ property_name = name[1:]
19242
+ if property_name in memeber_set:
19243
+ memeber_set.remove(property_name)
19244
+ if len(memeber_set) > 0:
19245
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19246
+
19247
+
19248
+
19249
+ class ReservedInstanceFamilyItem(AbstractModel):
19250
+ """预留实例相关实例族信息。预留实例当前只针对国际站白名单用户开放。
19251
+
19252
+ """
19253
+
19254
+ def __init__(self):
19255
+ r"""
19256
+ :param _InstanceFamily: 实例族。
19257
+ :type InstanceFamily: str
19258
+ :param _Order: 优先级。
19259
+ :type Order: int
19260
+ :param _InstanceTypes: 实例类型信息列表。
19261
+ :type InstanceTypes: list of ReservedInstanceTypeItem
19262
+ """
19263
+ self._InstanceFamily = None
19264
+ self._Order = None
19265
+ self._InstanceTypes = None
19266
+
19267
+ @property
19268
+ def InstanceFamily(self):
19269
+ """实例族。
19270
+ :rtype: str
19271
+ """
19272
+ return self._InstanceFamily
19273
+
19274
+ @InstanceFamily.setter
19275
+ def InstanceFamily(self, InstanceFamily):
19276
+ self._InstanceFamily = InstanceFamily
19277
+
19278
+ @property
19279
+ def Order(self):
19280
+ """优先级。
19281
+ :rtype: int
19282
+ """
19283
+ return self._Order
19284
+
19285
+ @Order.setter
19286
+ def Order(self, Order):
19287
+ self._Order = Order
19288
+
19289
+ @property
19290
+ def InstanceTypes(self):
19291
+ """实例类型信息列表。
19292
+ :rtype: list of ReservedInstanceTypeItem
19293
+ """
19294
+ return self._InstanceTypes
19295
+
19296
+ @InstanceTypes.setter
19297
+ def InstanceTypes(self, InstanceTypes):
19298
+ self._InstanceTypes = InstanceTypes
19299
+
19300
+
19301
+ def _deserialize(self, params):
19302
+ self._InstanceFamily = params.get("InstanceFamily")
19303
+ self._Order = params.get("Order")
19304
+ if params.get("InstanceTypes") is not None:
19305
+ self._InstanceTypes = []
19306
+ for item in params.get("InstanceTypes"):
19307
+ obj = ReservedInstanceTypeItem()
19308
+ obj._deserialize(item)
19309
+ self._InstanceTypes.append(obj)
19310
+ memeber_set = set(params.keys())
19311
+ for name, value in vars(self).items():
19312
+ property_name = name[1:]
19313
+ if property_name in memeber_set:
19314
+ memeber_set.remove(property_name)
19315
+ if len(memeber_set) > 0:
19316
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19317
+
19318
+
19319
+
19320
+ class ReservedInstancePrice(AbstractModel):
19321
+ """预留实例相关价格信息。预留实例当前只针对国际站白名单用户开放。
19322
+
19323
+ """
19324
+
19325
+ def __init__(self):
19326
+ r"""
19327
+ :param _OriginalFixedPrice: 预支合计费用的原价,单位:元。
19328
+ :type OriginalFixedPrice: float
19329
+ :param _DiscountFixedPrice: 预支合计费用的折扣价,单位:元。
19330
+ :type DiscountFixedPrice: float
19331
+ :param _OriginalUsagePrice: 后续合计费用的原价,单位:元/小时
19332
+ :type OriginalUsagePrice: float
19333
+ :param _DiscountUsagePrice: 后续合计费用的折扣价,单位:元/小时
19334
+ :type DiscountUsagePrice: float
19335
+ :param _FixedPriceDiscount: 预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19336
+ 注意:此字段可能返回 null,表示取不到有效值。
19337
+ :type FixedPriceDiscount: float
19338
+ :param _UsagePriceDiscount: 后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19339
+ 注意:此字段可能返回 null,表示取不到有效值。
19340
+ :type UsagePriceDiscount: float
19341
+ """
19342
+ self._OriginalFixedPrice = None
19343
+ self._DiscountFixedPrice = None
19344
+ self._OriginalUsagePrice = None
19345
+ self._DiscountUsagePrice = None
19346
+ self._FixedPriceDiscount = None
19347
+ self._UsagePriceDiscount = None
19348
+
19349
+ @property
19350
+ def OriginalFixedPrice(self):
19351
+ """预支合计费用的原价,单位:元。
19352
+ :rtype: float
19353
+ """
19354
+ return self._OriginalFixedPrice
19355
+
19356
+ @OriginalFixedPrice.setter
19357
+ def OriginalFixedPrice(self, OriginalFixedPrice):
19358
+ self._OriginalFixedPrice = OriginalFixedPrice
19359
+
19360
+ @property
19361
+ def DiscountFixedPrice(self):
19362
+ """预支合计费用的折扣价,单位:元。
19363
+ :rtype: float
19364
+ """
19365
+ return self._DiscountFixedPrice
19366
+
19367
+ @DiscountFixedPrice.setter
19368
+ def DiscountFixedPrice(self, DiscountFixedPrice):
19369
+ self._DiscountFixedPrice = DiscountFixedPrice
19370
+
19371
+ @property
19372
+ def OriginalUsagePrice(self):
19373
+ """后续合计费用的原价,单位:元/小时
19374
+ :rtype: float
19375
+ """
19376
+ return self._OriginalUsagePrice
19377
+
19378
+ @OriginalUsagePrice.setter
19379
+ def OriginalUsagePrice(self, OriginalUsagePrice):
19380
+ self._OriginalUsagePrice = OriginalUsagePrice
19381
+
19382
+ @property
19383
+ def DiscountUsagePrice(self):
19384
+ """后续合计费用的折扣价,单位:元/小时
19385
+ :rtype: float
19386
+ """
19387
+ return self._DiscountUsagePrice
19388
+
19389
+ @DiscountUsagePrice.setter
19390
+ def DiscountUsagePrice(self, DiscountUsagePrice):
19391
+ self._DiscountUsagePrice = DiscountUsagePrice
19392
+
19393
+ @property
19394
+ def FixedPriceDiscount(self):
19395
+ """预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19396
+ 注意:此字段可能返回 null,表示取不到有效值。
19397
+ :rtype: float
19398
+ """
19399
+ return self._FixedPriceDiscount
19400
+
19401
+ @FixedPriceDiscount.setter
19402
+ def FixedPriceDiscount(self, FixedPriceDiscount):
19403
+ self._FixedPriceDiscount = FixedPriceDiscount
19404
+
19405
+ @property
19406
+ def UsagePriceDiscount(self):
19407
+ """后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
19408
+ 注意:此字段可能返回 null,表示取不到有效值。
19409
+ :rtype: float
19410
+ """
19411
+ return self._UsagePriceDiscount
19412
+
19413
+ @UsagePriceDiscount.setter
19414
+ def UsagePriceDiscount(self, UsagePriceDiscount):
19415
+ self._UsagePriceDiscount = UsagePriceDiscount
19416
+
19417
+
19418
+ def _deserialize(self, params):
19419
+ self._OriginalFixedPrice = params.get("OriginalFixedPrice")
19420
+ self._DiscountFixedPrice = params.get("DiscountFixedPrice")
19421
+ self._OriginalUsagePrice = params.get("OriginalUsagePrice")
19422
+ self._DiscountUsagePrice = params.get("DiscountUsagePrice")
19423
+ self._FixedPriceDiscount = params.get("FixedPriceDiscount")
19424
+ self._UsagePriceDiscount = params.get("UsagePriceDiscount")
19425
+ memeber_set = set(params.keys())
19426
+ for name, value in vars(self).items():
19427
+ property_name = name[1:]
19428
+ if property_name in memeber_set:
19429
+ memeber_set.remove(property_name)
19430
+ if len(memeber_set) > 0:
19431
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19432
+
19433
+
19434
+
19435
+ class ReservedInstancePriceItem(AbstractModel):
19436
+ """基于付费类型的预留实例相关价格信息。预留实例当前只针对国际站白名单用户开放。
19437
+
19438
+ """
19439
+
19440
+ def __init__(self):
19441
+ r"""
19442
+ :param _OfferingType: 付费类型,如:"All Upfront","Partial Upfront","No Upfront"
19443
+ :type OfferingType: str
19444
+ :param _FixedPrice: 预支合计费用,单位:元。
19445
+ :type FixedPrice: float
19446
+ :param _UsagePrice: 后续合计费用,单位:元/小时
19447
+ :type UsagePrice: float
19448
+ :param _ReservedInstancesOfferingId: 预留实例配置ID
19449
+ :type ReservedInstancesOfferingId: str
19450
+ :param _Zone: 预留实例计费可购买的可用区。
19451
+ :type Zone: str
19452
+ :param _Duration: 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19453
+ 计量单位:秒
19454
+ :type Duration: int
19455
+ :param _ProductDescription: 预留实例计费的平台描述(即操作系统)。形如:Linux。
19456
+ 返回项: Linux 。
19457
+ :type ProductDescription: str
19458
+ :param _DiscountUsagePrice: 预支合计费用,单位:元。
19459
+ :type DiscountUsagePrice: float
19460
+ :param _DiscountFixedPrice: 后续合计费用的折扣价,单位:元/小时
19461
+ :type DiscountFixedPrice: float
19462
+ """
19463
+ self._OfferingType = None
19464
+ self._FixedPrice = None
19465
+ self._UsagePrice = None
19466
+ self._ReservedInstancesOfferingId = None
19467
+ self._Zone = None
19468
+ self._Duration = None
19469
+ self._ProductDescription = None
19470
+ self._DiscountUsagePrice = None
19471
+ self._DiscountFixedPrice = None
19472
+
19473
+ @property
19474
+ def OfferingType(self):
19475
+ """付费类型,如:"All Upfront","Partial Upfront","No Upfront"
19476
+ :rtype: str
19477
+ """
19478
+ return self._OfferingType
19479
+
19480
+ @OfferingType.setter
19481
+ def OfferingType(self, OfferingType):
19482
+ self._OfferingType = OfferingType
19483
+
19484
+ @property
19485
+ def FixedPrice(self):
19486
+ """预支合计费用,单位:元。
19487
+ :rtype: float
19488
+ """
19489
+ return self._FixedPrice
19490
+
19491
+ @FixedPrice.setter
19492
+ def FixedPrice(self, FixedPrice):
19493
+ self._FixedPrice = FixedPrice
19494
+
19495
+ @property
19496
+ def UsagePrice(self):
19497
+ """后续合计费用,单位:元/小时
19498
+ :rtype: float
19499
+ """
19500
+ return self._UsagePrice
19501
+
19502
+ @UsagePrice.setter
19503
+ def UsagePrice(self, UsagePrice):
19504
+ self._UsagePrice = UsagePrice
19505
+
19506
+ @property
19507
+ def ReservedInstancesOfferingId(self):
19508
+ """预留实例配置ID
19509
+ :rtype: str
19510
+ """
19511
+ return self._ReservedInstancesOfferingId
19512
+
19513
+ @ReservedInstancesOfferingId.setter
19514
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
19515
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
19516
+
19517
+ @property
19518
+ def Zone(self):
19519
+ """预留实例计费可购买的可用区。
19520
+ :rtype: str
19521
+ """
19522
+ return self._Zone
19523
+
19524
+ @Zone.setter
19525
+ def Zone(self, Zone):
19526
+ self._Zone = Zone
19527
+
19528
+ @property
19529
+ def Duration(self):
19530
+ """预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19531
+ 计量单位:秒
19532
+ :rtype: int
19533
+ """
19534
+ return self._Duration
19535
+
19536
+ @Duration.setter
19537
+ def Duration(self, Duration):
19538
+ self._Duration = Duration
19539
+
19540
+ @property
19541
+ def ProductDescription(self):
19542
+ """预留实例计费的平台描述(即操作系统)。形如:Linux。
19543
+ 返回项: Linux 。
19544
+ :rtype: str
19545
+ """
19546
+ return self._ProductDescription
19547
+
19548
+ @ProductDescription.setter
19549
+ def ProductDescription(self, ProductDescription):
19550
+ self._ProductDescription = ProductDescription
19551
+
19552
+ @property
19553
+ def DiscountUsagePrice(self):
19554
+ """预支合计费用,单位:元。
19555
+ :rtype: float
19556
+ """
19557
+ return self._DiscountUsagePrice
19558
+
19559
+ @DiscountUsagePrice.setter
19560
+ def DiscountUsagePrice(self, DiscountUsagePrice):
19561
+ self._DiscountUsagePrice = DiscountUsagePrice
19562
+
19563
+ @property
19564
+ def DiscountFixedPrice(self):
19565
+ """后续合计费用的折扣价,单位:元/小时
19566
+ :rtype: float
19567
+ """
19568
+ return self._DiscountFixedPrice
19569
+
19570
+ @DiscountFixedPrice.setter
19571
+ def DiscountFixedPrice(self, DiscountFixedPrice):
19572
+ self._DiscountFixedPrice = DiscountFixedPrice
19573
+
19574
+
19575
+ def _deserialize(self, params):
19576
+ self._OfferingType = params.get("OfferingType")
19577
+ self._FixedPrice = params.get("FixedPrice")
19578
+ self._UsagePrice = params.get("UsagePrice")
19579
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
19580
+ self._Zone = params.get("Zone")
19581
+ self._Duration = params.get("Duration")
19582
+ self._ProductDescription = params.get("ProductDescription")
19583
+ self._DiscountUsagePrice = params.get("DiscountUsagePrice")
19584
+ self._DiscountFixedPrice = params.get("DiscountFixedPrice")
19585
+ memeber_set = set(params.keys())
19586
+ for name, value in vars(self).items():
19587
+ property_name = name[1:]
19588
+ if property_name in memeber_set:
19589
+ memeber_set.remove(property_name)
19590
+ if len(memeber_set) > 0:
19591
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19592
+
19593
+
19594
+
19595
+ class ReservedInstanceTypeItem(AbstractModel):
19596
+ """预留实例类型信息。预留实例当前只针对国际站白名单用户开放。
19597
+
19598
+ """
19599
+
19600
+ def __init__(self):
19601
+ r"""
19602
+ :param _InstanceType: 实例类型。
19603
+ :type InstanceType: str
19604
+ :param _Cpu: CPU核数。
19605
+ :type Cpu: int
19606
+ :param _Memory: 内存大小。
19607
+ :type Memory: int
19608
+ :param _Gpu: GPU数量。
19609
+ :type Gpu: int
19610
+ :param _Fpga: FPGA数量。
19611
+ :type Fpga: int
19612
+ :param _StorageBlock: 本地存储块数量。
19613
+ :type StorageBlock: int
19614
+ :param _NetworkCard: 网卡数。
19615
+ :type NetworkCard: int
19616
+ :param _MaxBandwidth: 最大带宽。
19617
+ :type MaxBandwidth: float
19618
+ :param _Frequency: 主频。
19619
+ :type Frequency: str
19620
+ :param _CpuModelName: CPU型号名称。
19621
+ :type CpuModelName: str
19622
+ :param _Pps: 包转发率。
19623
+ :type Pps: int
19624
+ :param _Externals: 外部信息。
19625
+ :type Externals: :class:`tencentcloud.cvm.v20170312.models.Externals`
19626
+ :param _Remark: 备注信息。
19627
+ :type Remark: str
19628
+ :param _Prices: 预留实例配置价格信息。
19629
+ :type Prices: list of ReservedInstancePriceItem
19630
+ """
19631
+ self._InstanceType = None
19632
+ self._Cpu = None
19633
+ self._Memory = None
19634
+ self._Gpu = None
19635
+ self._Fpga = None
19636
+ self._StorageBlock = None
19637
+ self._NetworkCard = None
19638
+ self._MaxBandwidth = None
19639
+ self._Frequency = None
19640
+ self._CpuModelName = None
19641
+ self._Pps = None
19642
+ self._Externals = None
19643
+ self._Remark = None
19644
+ self._Prices = None
19645
+
19646
+ @property
19647
+ def InstanceType(self):
19648
+ """实例类型。
19649
+ :rtype: str
19650
+ """
19651
+ return self._InstanceType
19652
+
19653
+ @InstanceType.setter
19654
+ def InstanceType(self, InstanceType):
19655
+ self._InstanceType = InstanceType
19656
+
19657
+ @property
19658
+ def Cpu(self):
19659
+ """CPU核数。
19660
+ :rtype: int
19661
+ """
19662
+ return self._Cpu
19663
+
19664
+ @Cpu.setter
19665
+ def Cpu(self, Cpu):
19666
+ self._Cpu = Cpu
19667
+
19668
+ @property
19669
+ def Memory(self):
19670
+ """内存大小。
19671
+ :rtype: int
19672
+ """
19673
+ return self._Memory
19674
+
19675
+ @Memory.setter
19676
+ def Memory(self, Memory):
19677
+ self._Memory = Memory
19678
+
19679
+ @property
19680
+ def Gpu(self):
19681
+ """GPU数量。
19682
+ :rtype: int
19683
+ """
19684
+ return self._Gpu
19685
+
19686
+ @Gpu.setter
19687
+ def Gpu(self, Gpu):
19688
+ self._Gpu = Gpu
19689
+
19690
+ @property
19691
+ def Fpga(self):
19692
+ """FPGA数量。
19693
+ :rtype: int
19694
+ """
19695
+ return self._Fpga
19696
+
19697
+ @Fpga.setter
19698
+ def Fpga(self, Fpga):
19699
+ self._Fpga = Fpga
19700
+
19701
+ @property
19702
+ def StorageBlock(self):
19703
+ """本地存储块数量。
19704
+ :rtype: int
19705
+ """
19706
+ return self._StorageBlock
19707
+
19708
+ @StorageBlock.setter
19709
+ def StorageBlock(self, StorageBlock):
19710
+ self._StorageBlock = StorageBlock
19711
+
19712
+ @property
19713
+ def NetworkCard(self):
19714
+ """网卡数。
19715
+ :rtype: int
19716
+ """
19717
+ return self._NetworkCard
19718
+
19719
+ @NetworkCard.setter
19720
+ def NetworkCard(self, NetworkCard):
19721
+ self._NetworkCard = NetworkCard
19722
+
19723
+ @property
19724
+ def MaxBandwidth(self):
19725
+ """最大带宽。
19726
+ :rtype: float
19727
+ """
19728
+ return self._MaxBandwidth
19729
+
19730
+ @MaxBandwidth.setter
19731
+ def MaxBandwidth(self, MaxBandwidth):
19732
+ self._MaxBandwidth = MaxBandwidth
19733
+
19734
+ @property
19735
+ def Frequency(self):
19736
+ """主频。
19737
+ :rtype: str
19738
+ """
19739
+ return self._Frequency
19740
+
19741
+ @Frequency.setter
19742
+ def Frequency(self, Frequency):
19743
+ self._Frequency = Frequency
19744
+
19745
+ @property
19746
+ def CpuModelName(self):
19747
+ """CPU型号名称。
19748
+ :rtype: str
19749
+ """
19750
+ return self._CpuModelName
19751
+
19752
+ @CpuModelName.setter
19753
+ def CpuModelName(self, CpuModelName):
19754
+ self._CpuModelName = CpuModelName
19755
+
19756
+ @property
19757
+ def Pps(self):
19758
+ """包转发率。
19759
+ :rtype: int
19760
+ """
19761
+ return self._Pps
19762
+
19763
+ @Pps.setter
19764
+ def Pps(self, Pps):
19765
+ self._Pps = Pps
19766
+
19767
+ @property
19768
+ def Externals(self):
19769
+ """外部信息。
19770
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.Externals`
19771
+ """
19772
+ return self._Externals
19773
+
19774
+ @Externals.setter
19775
+ def Externals(self, Externals):
19776
+ self._Externals = Externals
19777
+
19778
+ @property
19779
+ def Remark(self):
19780
+ """备注信息。
19781
+ :rtype: str
19782
+ """
19783
+ return self._Remark
19784
+
19785
+ @Remark.setter
19786
+ def Remark(self, Remark):
19787
+ self._Remark = Remark
19788
+
19789
+ @property
19790
+ def Prices(self):
19791
+ """预留实例配置价格信息。
19792
+ :rtype: list of ReservedInstancePriceItem
19793
+ """
19794
+ return self._Prices
19795
+
19796
+ @Prices.setter
19797
+ def Prices(self, Prices):
19798
+ self._Prices = Prices
19799
+
19800
+
19801
+ def _deserialize(self, params):
19802
+ self._InstanceType = params.get("InstanceType")
19803
+ self._Cpu = params.get("Cpu")
19804
+ self._Memory = params.get("Memory")
19805
+ self._Gpu = params.get("Gpu")
19806
+ self._Fpga = params.get("Fpga")
19807
+ self._StorageBlock = params.get("StorageBlock")
19808
+ self._NetworkCard = params.get("NetworkCard")
19809
+ self._MaxBandwidth = params.get("MaxBandwidth")
19810
+ self._Frequency = params.get("Frequency")
19811
+ self._CpuModelName = params.get("CpuModelName")
19812
+ self._Pps = params.get("Pps")
19813
+ if params.get("Externals") is not None:
19814
+ self._Externals = Externals()
19815
+ self._Externals._deserialize(params.get("Externals"))
19816
+ self._Remark = params.get("Remark")
19817
+ if params.get("Prices") is not None:
19818
+ self._Prices = []
19819
+ for item in params.get("Prices"):
19820
+ obj = ReservedInstancePriceItem()
19821
+ obj._deserialize(item)
19822
+ self._Prices.append(obj)
19823
+ memeber_set = set(params.keys())
19824
+ for name, value in vars(self).items():
19825
+ property_name = name[1:]
19826
+ if property_name in memeber_set:
19827
+ memeber_set.remove(property_name)
19828
+ if len(memeber_set) > 0:
19829
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19830
+
19831
+
19832
+
19833
+ class ReservedInstancesOffering(AbstractModel):
19834
+ """描述可购买预留实例计费信息
19835
+
19836
+ """
19837
+
19838
+ def __init__(self):
19839
+ r"""
19840
+ :param _Zone: 预留实例计费可购买的可用区。形如:ap-guangzhou-1。
19841
+ 返回项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a>
19842
+ :type Zone: str
19843
+ :param _CurrencyCode: 可购买的预留实例计费类型的结算货币,使用ISO 4217标准货币代码。
19844
+ 返回项:USD(美元)。
19845
+ :type CurrencyCode: str
19846
+ :param _Duration: 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19847
+ 计量单位:秒
19848
+ :type Duration: int
19849
+ :param _FixedPrice: 预留实例计费的购买价格。形如:4000.0。
19850
+ 计量单位:与 currencyCode 一致,目前支持 USD(美元)
19851
+ :type FixedPrice: float
19852
+ :param _InstanceType: 预留实例计费的实例类型。形如:S3.MEDIUM4。
19853
+ 返回项:<a href="https://cloud.tencent.com/product/cvm/instances">预留实例计费类型列表</a>
19854
+ :type InstanceType: str
19855
+ :param _OfferingType: 预留实例计费的付款类型。形如:All Upfront。
19856
+ 返回项: All Upfront (预付全部费用)。
19857
+ :type OfferingType: str
19858
+ :param _ReservedInstancesOfferingId: 可购买的预留实例计费配置ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
19859
+ :type ReservedInstancesOfferingId: str
19860
+ :param _ProductDescription: 预留实例计费的平台描述(即操作系统)。形如:linux。
19861
+ 返回项: linux 。
19862
+ :type ProductDescription: str
19863
+ :param _UsagePrice: 扣除预付费之后的使用价格 (按小时计费)。形如:0.0。
19864
+ 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。
19865
+ 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
19866
+ :type UsagePrice: float
19867
+ """
19868
+ self._Zone = None
19869
+ self._CurrencyCode = None
19870
+ self._Duration = None
19871
+ self._FixedPrice = None
19872
+ self._InstanceType = None
19873
+ self._OfferingType = None
19874
+ self._ReservedInstancesOfferingId = None
19875
+ self._ProductDescription = None
19876
+ self._UsagePrice = None
19877
+
19878
+ @property
19879
+ def Zone(self):
19880
+ """预留实例计费可购买的可用区。形如:ap-guangzhou-1。
19881
+ 返回项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a>
19882
+ :rtype: str
19883
+ """
19884
+ return self._Zone
19885
+
19886
+ @Zone.setter
19887
+ def Zone(self, Zone):
19888
+ self._Zone = Zone
19889
+
19890
+ @property
19891
+ def CurrencyCode(self):
19892
+ """可购买的预留实例计费类型的结算货币,使用ISO 4217标准货币代码。
19893
+ 返回项:USD(美元)。
19894
+ :rtype: str
19895
+ """
19896
+ return self._CurrencyCode
19897
+
19898
+ @CurrencyCode.setter
19899
+ def CurrencyCode(self, CurrencyCode):
19900
+ self._CurrencyCode = CurrencyCode
19901
+
19902
+ @property
19903
+ def Duration(self):
19904
+ """预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
19905
+ 计量单位:秒
19906
+ :rtype: int
19907
+ """
19908
+ return self._Duration
19909
+
19910
+ @Duration.setter
19911
+ def Duration(self, Duration):
19912
+ self._Duration = Duration
19913
+
19914
+ @property
19915
+ def FixedPrice(self):
19916
+ """预留实例计费的购买价格。形如:4000.0。
19917
+ 计量单位:与 currencyCode 一致,目前支持 USD(美元)
19918
+ :rtype: float
19919
+ """
19920
+ return self._FixedPrice
19921
+
19922
+ @FixedPrice.setter
19923
+ def FixedPrice(self, FixedPrice):
19924
+ self._FixedPrice = FixedPrice
19925
+
19926
+ @property
19927
+ def InstanceType(self):
19928
+ """预留实例计费的实例类型。形如:S3.MEDIUM4。
19929
+ 返回项:<a href="https://cloud.tencent.com/product/cvm/instances">预留实例计费类型列表</a>
19930
+ :rtype: str
19931
+ """
19932
+ return self._InstanceType
19933
+
19934
+ @InstanceType.setter
19935
+ def InstanceType(self, InstanceType):
19936
+ self._InstanceType = InstanceType
19937
+
19938
+ @property
19939
+ def OfferingType(self):
19940
+ """预留实例计费的付款类型。形如:All Upfront。
19941
+ 返回项: All Upfront (预付全部费用)。
19942
+ :rtype: str
19943
+ """
19944
+ return self._OfferingType
19945
+
19946
+ @OfferingType.setter
19947
+ def OfferingType(self, OfferingType):
19948
+ self._OfferingType = OfferingType
19949
+
19950
+ @property
19951
+ def ReservedInstancesOfferingId(self):
19952
+ """可购买的预留实例计费配置ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
19953
+ :rtype: str
19954
+ """
19955
+ return self._ReservedInstancesOfferingId
19956
+
19957
+ @ReservedInstancesOfferingId.setter
19958
+ def ReservedInstancesOfferingId(self, ReservedInstancesOfferingId):
19959
+ self._ReservedInstancesOfferingId = ReservedInstancesOfferingId
19960
+
19961
+ @property
19962
+ def ProductDescription(self):
19963
+ """预留实例计费的平台描述(即操作系统)。形如:linux。
19964
+ 返回项: linux 。
19965
+ :rtype: str
19966
+ """
19967
+ return self._ProductDescription
19968
+
19969
+ @ProductDescription.setter
19970
+ def ProductDescription(self, ProductDescription):
19971
+ self._ProductDescription = ProductDescription
19972
+
19973
+ @property
19974
+ def UsagePrice(self):
19975
+ """扣除预付费之后的使用价格 (按小时计费)。形如:0.0。
19976
+ 目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。
19977
+ 计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
19978
+ :rtype: float
19979
+ """
19980
+ return self._UsagePrice
19981
+
19982
+ @UsagePrice.setter
19983
+ def UsagePrice(self, UsagePrice):
19984
+ self._UsagePrice = UsagePrice
19985
+
19986
+
19987
+ def _deserialize(self, params):
19988
+ self._Zone = params.get("Zone")
19989
+ self._CurrencyCode = params.get("CurrencyCode")
19990
+ self._Duration = params.get("Duration")
19991
+ self._FixedPrice = params.get("FixedPrice")
19992
+ self._InstanceType = params.get("InstanceType")
19993
+ self._OfferingType = params.get("OfferingType")
19994
+ self._ReservedInstancesOfferingId = params.get("ReservedInstancesOfferingId")
19995
+ self._ProductDescription = params.get("ProductDescription")
19996
+ self._UsagePrice = params.get("UsagePrice")
19997
+ memeber_set = set(params.keys())
19998
+ for name, value in vars(self).items():
19999
+ property_name = name[1:]
20000
+ if property_name in memeber_set:
20001
+ memeber_set.remove(property_name)
20002
+ if len(memeber_set) > 0:
20003
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20004
+
20005
+
20006
+
18549
20007
  class ResetInstanceRequest(AbstractModel):
18550
20008
  """ResetInstance请求参数结构体
18551
20009