tencentcloud-sdk-hai 3.0.939 → 3.0.941

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20230812/models.rb +98 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aedd57a3934150d6150cc696ce8e2d6143e06fc7
4
- data.tar.gz: 90a220226782784882272ee7b8dfb2b9e2301200
3
+ metadata.gz: 233cd123f89b995ad37b5ce6fcb513b5ff4c44d7
4
+ data.tar.gz: 48f6ed133214c502cf18b91c0ede970aaa12688a
5
5
  SHA512:
6
- metadata.gz: 6fd58dff941c85272d5bb61da33e593ec96d107680d62e98fc943c3ca7040c1a4927af23ff9cec1fd79489173bd0019e9a02aa10abb211539cc9c91171a0b7ec
7
- data.tar.gz: 3893ca59eb380d04350e3fed738e3c70e926c1e1c68d10743915317f3381534d8596a56982fcc92428a0b09b54abf7a06573fc6f143694b616cdb522bd524e9c
6
+ metadata.gz: 371fbf8b2ea025cddf7f7f9d00673457bd0c1371b5c65218f41352f3a3dc969c24c6a1f90de01356a9024eb9d152910451355f472ee6321fc5a8b4665164cb5c
7
+ data.tar.gz: 0f68d8ed8f66e3c57e0106ac480bc21e91f90733e77a389e6df9c689df3e6db60dd41398c8d0bfcfbe591a3e126079b99e538cb6e59da3cc57f487fba71ffa44
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.939
1
+ 3.0.941
@@ -211,7 +211,7 @@ module TencentCloud
211
211
  class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
212
212
  # @param InstanceIds: 实例元组
213
213
  # @type InstanceIds: Array
214
- # @param Filters: 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state,实例状态
214
+ # @param Filters: 描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有:instance-id,实例id;instance-state,实例状态;charge-type,付费方式;public-ip-address,公网IP过滤
215
215
  # @type Filters: Array
216
216
  # @param Offset: 偏移量,默认为0
217
217
  # @type Offset: Integer
@@ -447,10 +447,14 @@ module TencentCloud
447
447
  # @type ClientToken: String
448
448
  # @param DryRun: DryRun为True就是只验接口连通性,默认为False
449
449
  # @type DryRun: Boolean
450
+ # @param InstanceChargeType: 付费方式,POSTPAID_BY_HOUR按量后付费,PREPAID_BY_MONTH预付费按月,PREPAID_BY_DAY预付费按天
451
+ # @type InstanceChargeType: String
452
+ # @param InstanceChargePrepaid: 预付费参数
453
+ # @type InstanceChargePrepaid: :class:`Tencentcloud::Hai.v20230812.models.InstanceChargePrepaid`
450
454
 
451
- attr_accessor :ApplicationId, :BundleType, :SystemDisk, :InstanceCount, :InstanceName, :ClientToken, :DryRun
455
+ attr_accessor :ApplicationId, :BundleType, :SystemDisk, :InstanceCount, :InstanceName, :ClientToken, :DryRun, :InstanceChargeType, :InstanceChargePrepaid
452
456
 
453
- def initialize(applicationid=nil, bundletype=nil, systemdisk=nil, instancecount=nil, instancename=nil, clienttoken=nil, dryrun=nil)
457
+ def initialize(applicationid=nil, bundletype=nil, systemdisk=nil, instancecount=nil, instancename=nil, clienttoken=nil, dryrun=nil, instancechargetype=nil, instancechargeprepaid=nil)
454
458
  @ApplicationId = applicationid
455
459
  @BundleType = bundletype
456
460
  @SystemDisk = systemdisk
@@ -458,6 +462,8 @@ module TencentCloud
458
462
  @InstanceName = instancename
459
463
  @ClientToken = clienttoken
460
464
  @DryRun = dryrun
465
+ @InstanceChargeType = instancechargetype
466
+ @InstanceChargePrepaid = instancechargeprepaid
461
467
  end
462
468
 
463
469
  def deserialize(params)
@@ -471,6 +477,11 @@ module TencentCloud
471
477
  @InstanceName = params['InstanceName']
472
478
  @ClientToken = params['ClientToken']
473
479
  @DryRun = params['DryRun']
480
+ @InstanceChargeType = params['InstanceChargeType']
481
+ unless params['InstanceChargePrepaid'].nil?
482
+ @InstanceChargePrepaid = InstanceChargePrepaid.new
483
+ @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
484
+ end
474
485
  end
475
486
  end
476
487
 
@@ -645,6 +656,34 @@ module TencentCloud
645
656
  end
646
657
  end
647
658
 
659
+ # 实例预付费入参
660
+ class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
661
+ # @param Period: 时长,默认值:1
662
+ # @type Period: Integer
663
+ # @param RenewFlag: 续费标志可选参数:
664
+ # NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
665
+ # NOTIFY_AND_AUTO_RENEW:表示自动续费
666
+ # DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
667
+ # 默认值:NOTIFY_AND_MANUAL_RENEW
668
+ # @type RenewFlag: String
669
+ # @param TimeUnit: 时长单位,默认值MONTH
670
+ # @type TimeUnit: String
671
+
672
+ attr_accessor :Period, :RenewFlag, :TimeUnit
673
+
674
+ def initialize(period=nil, renewflag=nil, timeunit=nil)
675
+ @Period = period
676
+ @RenewFlag = renewflag
677
+ @TimeUnit = timeunit
678
+ end
679
+
680
+ def deserialize(params)
681
+ @Period = params['Period']
682
+ @RenewFlag = params['RenewFlag']
683
+ @TimeUnit = params['TimeUnit']
684
+ end
685
+ end
686
+
648
687
  # 套餐价格
649
688
  class ItemPrice < TencentCloud::Common::AbstractModel
650
689
  # @param UnitPrice: 原单价
@@ -656,7 +695,7 @@ module TencentCloud
656
695
  # @param Discount: 折扣
657
696
  # 注意:此字段可能返回 null,表示取不到有效值。
658
697
  # @type Discount: Float
659
- # @param ChargeUnit: 单位:时
698
+ # @param ChargeUnit: 单位:时/月
660
699
 
661
700
  # 注意:此字段可能返回 null,表示取不到有效值。
662
701
  # @type ChargeUnit: String
@@ -683,6 +722,47 @@ module TencentCloud
683
722
  end
684
723
  end
685
724
 
725
+ # 分实例价格
726
+ class ItemPriceDetail < TencentCloud::Common::AbstractModel
727
+ # @param InstanceId: 实例id
728
+ # 注意:此字段可能返回 null,表示取不到有效值。
729
+ # @type InstanceId: String
730
+ # @param InstancePrice: 实例价格详情
731
+ # 注意:此字段可能返回 null,表示取不到有效值。
732
+ # @type InstancePrice: :class:`Tencentcloud::Hai.v20230812.models.ItemPrice`
733
+ # @param CloudDiskPrice: 磁盘价格详情
734
+ # 注意:此字段可能返回 null,表示取不到有效值。
735
+ # @type CloudDiskPrice: :class:`Tencentcloud::Hai.v20230812.models.ItemPrice`
736
+ # @param InstanceTotalPrice: 该实例的总价钱
737
+ # 注意:此字段可能返回 null,表示取不到有效值。
738
+ # @type InstanceTotalPrice: :class:`Tencentcloud::Hai.v20230812.models.ItemPrice`
739
+
740
+ attr_accessor :InstanceId, :InstancePrice, :CloudDiskPrice, :InstanceTotalPrice
741
+
742
+ def initialize(instanceid=nil, instanceprice=nil, clouddiskprice=nil, instancetotalprice=nil)
743
+ @InstanceId = instanceid
744
+ @InstancePrice = instanceprice
745
+ @CloudDiskPrice = clouddiskprice
746
+ @InstanceTotalPrice = instancetotalprice
747
+ end
748
+
749
+ def deserialize(params)
750
+ @InstanceId = params['InstanceId']
751
+ unless params['InstancePrice'].nil?
752
+ @InstancePrice = ItemPrice.new
753
+ @InstancePrice.deserialize(params['InstancePrice'])
754
+ end
755
+ unless params['CloudDiskPrice'].nil?
756
+ @CloudDiskPrice = ItemPrice.new
757
+ @CloudDiskPrice.deserialize(params['CloudDiskPrice'])
758
+ end
759
+ unless params['InstanceTotalPrice'].nil?
760
+ @InstanceTotalPrice = ItemPrice.new
761
+ @InstanceTotalPrice.deserialize(params['InstanceTotalPrice'])
762
+ end
763
+ end
764
+ end
765
+
686
766
  # 登录服务详情
687
767
  class LoginService < TencentCloud::Common::AbstractModel
688
768
  # @param ServiceName: 登录方式名称
@@ -767,12 +847,16 @@ module TencentCloud
767
847
  # @param CloudDiskPrice: 云盘价格信息
768
848
  # 注意:此字段可能返回 null,表示取不到有效值。
769
849
  # @type CloudDiskPrice: :class:`Tencentcloud::Hai.v20230812.models.ItemPrice`
850
+ # @param PriceDetailSet: 分实例价格
851
+ # 注意:此字段可能返回 null,表示取不到有效值。
852
+ # @type PriceDetailSet: Array
770
853
 
771
- attr_accessor :InstancePrice, :CloudDiskPrice
854
+ attr_accessor :InstancePrice, :CloudDiskPrice, :PriceDetailSet
772
855
 
773
- def initialize(instanceprice=nil, clouddiskprice=nil)
856
+ def initialize(instanceprice=nil, clouddiskprice=nil, pricedetailset=nil)
774
857
  @InstancePrice = instanceprice
775
858
  @CloudDiskPrice = clouddiskprice
859
+ @PriceDetailSet = pricedetailset
776
860
  end
777
861
 
778
862
  def deserialize(params)
@@ -784,6 +868,14 @@ module TencentCloud
784
868
  @CloudDiskPrice = ItemPrice.new
785
869
  @CloudDiskPrice.deserialize(params['CloudDiskPrice'])
786
870
  end
871
+ unless params['PriceDetailSet'].nil?
872
+ @PriceDetailSet = []
873
+ params['PriceDetailSet'].each do |i|
874
+ itempricedetail_tmp = ItemPriceDetail.new
875
+ itempricedetail_tmp.deserialize(i)
876
+ @PriceDetailSet << itempricedetail_tmp
877
+ end
878
+ end
787
879
  end
788
880
  end
789
881
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-hai
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.939
4
+ version: 3.0.941
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-08 00:00:00.000000000 Z
11
+ date: 2024-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common