tencentcloud-sdk-hai 3.0.938 → 3.0.940

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: a60935415e88f4401bd86cf4d1cf4c541561c4a8
4
- data.tar.gz: abc60a7c885a0ed15f4e4280fe2347f2512156f1
3
+ metadata.gz: 22e1b286c393e1c10ed00bade33aa512a094285e
4
+ data.tar.gz: df0d9864b81e004fb2427cfca81a2a825d6a5fc5
5
5
  SHA512:
6
- metadata.gz: 8b718633b5dac69fea08e47cc7133c78e4d5bf75d3a20688d8c6a5615e12bd232ec69dd084a3a46bcfd522a4704b086696953b1e800b5c52101ff9318ead8e1d
7
- data.tar.gz: 5c7fcc4ced1057dcf5e38979f269b9125b3391378e8f6f536250ca217eb81075995eb42e00a47ccc77c0fc32afecc59db74c46f28c4cc07f222aade74158a123
6
+ metadata.gz: d659520fbde6a31f3fdf75cabf79e80f126cc8ae33860e9ea3b54a4b602073fbb9223679336100c0dc1f544cd2600868f02e66ff768418fd76044cb2a78d98b3
7
+ data.tar.gz: 40d8032af04bbe7dc60f2c7e3a11c056f7f675adc4b8e9fd6d1ae82d8c199782ed3272eb2f608248092274dde2d3214e0c1956ae9627cb331d7558204d886bfd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.938
1
+ 3.0.940
@@ -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.938
4
+ version: 3.0.940
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-07 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