tencentcloud-sdk-lighthouse 1.0.289 → 1.0.292
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200324/client.rb +1 -1
- data/lib/v20200324/models.rb +20 -11
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e173be395dabb747f38afd13619b269dc55b64bb
|
|
4
|
+
data.tar.gz: 3e290957ebf1697d7e2fc248566f907d37f176d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1b0c5008763728a53cd9e56c5d8058a3f2dd56802f0b9b39dabe7ae2c6c7ce1f4317a733d74001eb1d92bd2c3ddb38c967cb956248f5eb30ec62cca2c34d2a5
|
|
7
|
+
data.tar.gz: 83ae54510f61b04b593a52fde08a6514159b2c042a180654de8763845ce72a1267a25103ef31c31d7959fbcc7aa98b8e9fd7fbee661b52831c348982c48122b1
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.292
|
data/lib/v20200324/client.rb
CHANGED
|
@@ -1226,7 +1226,7 @@ module TencentCloud
|
|
|
1226
1226
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1227
1227
|
end
|
|
1228
1228
|
|
|
1229
|
-
# 本接口(
|
|
1229
|
+
# 本接口(InquirePriceRenewInstances)用于续费实例询价。
|
|
1230
1230
|
|
|
1231
1231
|
# @param request: Request instance for InquirePriceRenewInstances.
|
|
1232
1232
|
# @type request: :class:`Tencentcloud::lighthouse::V20200324::InquirePriceRenewInstancesRequest`
|
data/lib/v20200324/models.rb
CHANGED
|
@@ -601,15 +601,15 @@ module TencentCloud
|
|
|
601
601
|
|
|
602
602
|
# CreateInstances请求参数结构体
|
|
603
603
|
class CreateInstancesRequest < TencentCloud::Common::AbstractModel
|
|
604
|
-
# @param BundleId:
|
|
604
|
+
# @param BundleId: 套餐ID。
|
|
605
605
|
# @type BundleId: String
|
|
606
|
-
# @param BlueprintId:
|
|
606
|
+
# @param BlueprintId: 镜像ID。
|
|
607
607
|
# @type BlueprintId: String
|
|
608
|
-
# @param InstanceChargePrepaid:
|
|
608
|
+
# @param InstanceChargePrepaid: 当前实例仅支持预付费模式,即包年包月相关参数设置,单位(月)。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。该参数必传。
|
|
609
609
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Lighthouse.v20200324.models.InstanceChargePrepaid`
|
|
610
|
-
# @param InstanceName:
|
|
610
|
+
# @param InstanceName: 实例显示名称。
|
|
611
611
|
# @type InstanceName: String
|
|
612
|
-
# @param InstanceCount:
|
|
612
|
+
# @param InstanceCount: 购买实例数量。包年包月实例取值范围:[1,30]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量
|
|
613
613
|
# @type InstanceCount: Integer
|
|
614
614
|
# @param Zones: 可用区列表。默认为随机可用区
|
|
615
615
|
# @type Zones: Array
|
|
@@ -625,10 +625,12 @@ module TencentCloud
|
|
|
625
625
|
# @type LoginConfiguration: :class:`Tencentcloud::Lighthouse.v20200324.models.LoginConfiguration`
|
|
626
626
|
# @param Containers: 要创建的容器配置列表。
|
|
627
627
|
# @type Containers: Array
|
|
628
|
+
# @param AutoVoucher: 是否自动使用代金券。默认不使用。
|
|
629
|
+
# @type AutoVoucher: Boolean
|
|
628
630
|
|
|
629
|
-
attr_accessor :BundleId, :BlueprintId, :InstanceChargePrepaid, :InstanceName, :InstanceCount, :Zones, :DryRun, :ClientToken, :LoginConfiguration, :Containers
|
|
631
|
+
attr_accessor :BundleId, :BlueprintId, :InstanceChargePrepaid, :InstanceName, :InstanceCount, :Zones, :DryRun, :ClientToken, :LoginConfiguration, :Containers, :AutoVoucher
|
|
630
632
|
|
|
631
|
-
def initialize(bundleid=nil, blueprintid=nil, instancechargeprepaid=nil, instancename=nil, instancecount=nil, zones=nil, dryrun=nil, clienttoken=nil, loginconfiguration=nil, containers=nil)
|
|
633
|
+
def initialize(bundleid=nil, blueprintid=nil, instancechargeprepaid=nil, instancename=nil, instancecount=nil, zones=nil, dryrun=nil, clienttoken=nil, loginconfiguration=nil, containers=nil, autovoucher=nil)
|
|
632
634
|
@BundleId = bundleid
|
|
633
635
|
@BlueprintId = blueprintid
|
|
634
636
|
@InstanceChargePrepaid = instancechargeprepaid
|
|
@@ -639,6 +641,7 @@ module TencentCloud
|
|
|
639
641
|
@ClientToken = clienttoken
|
|
640
642
|
@LoginConfiguration = loginconfiguration
|
|
641
643
|
@Containers = containers
|
|
644
|
+
@AutoVoucher = autovoucher
|
|
642
645
|
end
|
|
643
646
|
|
|
644
647
|
def deserialize(params)
|
|
@@ -665,6 +668,7 @@ module TencentCloud
|
|
|
665
668
|
@Containers << dockercontainerconfiguration_tmp
|
|
666
669
|
end
|
|
667
670
|
end
|
|
671
|
+
@AutoVoucher = params['AutoVoucher']
|
|
668
672
|
end
|
|
669
673
|
end
|
|
670
674
|
|
|
@@ -1628,7 +1632,7 @@ module TencentCloud
|
|
|
1628
1632
|
|
|
1629
1633
|
# DescribeGeneralResourceQuotas请求参数结构体
|
|
1630
1634
|
class DescribeGeneralResourceQuotasRequest < TencentCloud::Common::AbstractModel
|
|
1631
|
-
# @param ResourceNames: 资源名列表,取值为:USER_KEY_PAIR、
|
|
1635
|
+
# @param ResourceNames: 资源名列表,取值为:USER_KEY_PAIR、GENERAL_BUNDLE_INSTANCE、STORAGE_BUNDLE_INSTANCE、ENTERPRISE_BUNDLE_INSTANCE、EXCLUSIVE_BUNDLE_INSTANCE、BEFAST_BUNDLE_INSTANCE、SNAPSHOT、BLUEPRINT、FREE_BLUEPRINT、DATA_DISK、ATTACHED_DATA_DISK、FIREWALL_RULE。
|
|
1632
1636
|
# @type ResourceNames: Array
|
|
1633
1637
|
|
|
1634
1638
|
attr_accessor :ResourceNames
|
|
@@ -3393,7 +3397,7 @@ module TencentCloud
|
|
|
3393
3397
|
# @param LoginSettings: 实例登录设置。
|
|
3394
3398
|
# @type LoginSettings: :class:`Tencentcloud::Lighthouse.v20200324.models.LoginSettings`
|
|
3395
3399
|
# @param InstanceState: 实例状态。取值范围:
|
|
3396
|
-
# <li>PENDING:表示创建中</li><li>LAUNCH_FAILED:表示创建失败</li><li>RUNNING:表示运行中</li><li>STOPPED:表示关机</li><li>STARTING:表示开机中</li><li>STOPPING:表示关机中</li><li>REBOOTING:表示重启中</li><li>SHUTDOWN:表示停止待销毁</li><li>TERMINATING:表示销毁中</li>
|
|
3400
|
+
# <li>PENDING:表示创建中</li><li>LAUNCH_FAILED:表示创建失败</li><li>RUNNING:表示运行中</li><li>STOPPED:表示关机</li><li>STARTING:表示开机中</li><li>STOPPING:表示关机中</li><li>REBOOTING:表示重启中</li><li>SHUTDOWN:表示停止待销毁</li><li>TERMINATING:表示销毁中</li><li>DELETING:表示删除中</li><li>FREEZING:表示冻结中</li>
|
|
3397
3401
|
# @type InstanceState: String
|
|
3398
3402
|
# @param Uuid: 实例全局唯一 ID。
|
|
3399
3403
|
# @type Uuid: String
|
|
@@ -3430,10 +3434,13 @@ module TencentCloud
|
|
|
3430
3434
|
# @type Zone: String
|
|
3431
3435
|
# @param Tags: 实例绑定的标签列表。
|
|
3432
3436
|
# @type Tags: Array
|
|
3437
|
+
# @param InstanceRestrictState: 实例封禁状态。取值范围:
|
|
3438
|
+
# <li>NORMAL实例正常。</li><li>NETWORK_RESTRICT:网络封禁。</li>
|
|
3439
|
+
# @type InstanceRestrictState: String
|
|
3433
3440
|
|
|
3434
|
-
attr_accessor :InstanceId, :BundleId, :BlueprintId, :CPU, :Memory, :InstanceName, :InstanceChargeType, :SystemDisk, :PrivateAddresses, :PublicAddresses, :InternetAccessible, :RenewFlag, :LoginSettings, :InstanceState, :Uuid, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :IsolatedTime, :CreatedTime, :ExpiredTime, :PlatformType, :Platform, :OsName, :Zone, :Tags
|
|
3441
|
+
attr_accessor :InstanceId, :BundleId, :BlueprintId, :CPU, :Memory, :InstanceName, :InstanceChargeType, :SystemDisk, :PrivateAddresses, :PublicAddresses, :InternetAccessible, :RenewFlag, :LoginSettings, :InstanceState, :Uuid, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :IsolatedTime, :CreatedTime, :ExpiredTime, :PlatformType, :Platform, :OsName, :Zone, :Tags, :InstanceRestrictState
|
|
3435
3442
|
|
|
3436
|
-
def initialize(instanceid=nil, bundleid=nil, blueprintid=nil, cpu=nil, memory=nil, instancename=nil, instancechargetype=nil, systemdisk=nil, privateaddresses=nil, publicaddresses=nil, internetaccessible=nil, renewflag=nil, loginsettings=nil, instancestate=nil, uuid=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, isolatedtime=nil, createdtime=nil, expiredtime=nil, platformtype=nil, platform=nil, osname=nil, zone=nil, tags=nil)
|
|
3443
|
+
def initialize(instanceid=nil, bundleid=nil, blueprintid=nil, cpu=nil, memory=nil, instancename=nil, instancechargetype=nil, systemdisk=nil, privateaddresses=nil, publicaddresses=nil, internetaccessible=nil, renewflag=nil, loginsettings=nil, instancestate=nil, uuid=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, isolatedtime=nil, createdtime=nil, expiredtime=nil, platformtype=nil, platform=nil, osname=nil, zone=nil, tags=nil, instancerestrictstate=nil)
|
|
3437
3444
|
@InstanceId = instanceid
|
|
3438
3445
|
@BundleId = bundleid
|
|
3439
3446
|
@BlueprintId = blueprintid
|
|
@@ -3460,6 +3467,7 @@ module TencentCloud
|
|
|
3460
3467
|
@OsName = osname
|
|
3461
3468
|
@Zone = zone
|
|
3462
3469
|
@Tags = tags
|
|
3470
|
+
@InstanceRestrictState = instancerestrictstate
|
|
3463
3471
|
end
|
|
3464
3472
|
|
|
3465
3473
|
def deserialize(params)
|
|
@@ -3505,6 +3513,7 @@ module TencentCloud
|
|
|
3505
3513
|
@Tags << tag_tmp
|
|
3506
3514
|
end
|
|
3507
3515
|
end
|
|
3516
|
+
@InstanceRestrictState = params['InstanceRestrictState']
|
|
3508
3517
|
end
|
|
3509
3518
|
end
|
|
3510
3519
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-lighthouse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.292
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-04-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|