tencentcloud-sdk-lighthouse 3.0.776 → 3.0.778

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/v20200324/models.rb +44 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e0f7688029e2da05060b7ac8372787a18e3ecc7
4
- data.tar.gz: a731eb690748c6933d3acfbc670b61f8b9a9d90d
3
+ metadata.gz: c33f898eb42f0abdd48f68f65fc43a07b348d321
4
+ data.tar.gz: f5dfc6e13542a0f8f01deee0a3b4c2931d4c88e6
5
5
  SHA512:
6
- metadata.gz: 35c80cb78cbd8b6885dd5549c49ca304cc61d7758d6bb6405bb206943550a4f643fe11fca82d4252fa63e5e8959e03e95430da3e70d83047c7770bf3437d4be2
7
- data.tar.gz: 20889e7991982c6e15032cc469266482be3a3761326ad3ada3e935c0e174868761aca4ed7be4a45f71444224803ef5e46dcce01b1a9b8f5a8694f162c0945be7
6
+ metadata.gz: 6bd6122bb416802faea6555f63b6e1c7d042a33f5fcdf3e417cd54766166004f26a2bb109815964a2437049ba61904488d43be206bbe9e18657f76a52e89350c
7
+ data.tar.gz: d8ab9e0a30fadd6d65e102372f97a4f103124045cc0a49deda4f0cdc6ea6781829585186f8261b30ba23bf9d1ff85a09184cff94f91aa055aaf048e83193d400
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.776
1
+ 3.0.778
@@ -630,6 +630,35 @@ module TencentCloud
630
630
  end
631
631
  end
632
632
 
633
+ # 用户执行TAT命令的数据结构。
634
+ class Command < TencentCloud::Common::AbstractModel
635
+ # @param Content: Base64编码后的命令内容,长度不可超过64KB。
636
+ # @type Content: String
637
+ # @param Timeout: 命令超时时间,默认60秒。取值范围[1, 86400]。
638
+ # @type Timeout: Integer
639
+ # @param WorkingDirectory: 命令执行路径,对于 SHELL 命令默认为 /root,对于 POWERSHELL 命令默认为 C:\Program Files\qcloud\tat_agent\workdir。
640
+ # @type WorkingDirectory: String
641
+ # @param Username: 在 Lighthouse 实例中执行命令的用户名称。
642
+ # 默认情况下,在 Linux 实例中以 root 用户执行命令;在Windows 实例中以 System 用户执行命令。
643
+ # @type Username: String
644
+
645
+ attr_accessor :Content, :Timeout, :WorkingDirectory, :Username
646
+
647
+ def initialize(content=nil, timeout=nil, workingdirectory=nil, username=nil)
648
+ @Content = content
649
+ @Timeout = timeout
650
+ @WorkingDirectory = workingdirectory
651
+ @Username = username
652
+ end
653
+
654
+ def deserialize(params)
655
+ @Content = params['Content']
656
+ @Timeout = params['Timeout']
657
+ @WorkingDirectory = params['WorkingDirectory']
658
+ @Username = params['Username']
659
+ end
660
+ end
661
+
633
662
  # 容器环境变量
634
663
  class ContainerEnv < TencentCloud::Common::AbstractModel
635
664
  # @param Key: 环境变量Key
@@ -1037,10 +1066,12 @@ module TencentCloud
1037
1066
  # 如果标签不存在会为您自动创建标签。
1038
1067
  # 数组最多支持10个元素。
1039
1068
  # @type Tags: Array
1069
+ # @param InitCommand: 创建实例后自动执行的命令。
1070
+ # @type InitCommand: :class:`Tencentcloud::Lighthouse.v20200324.models.Command`
1040
1071
 
1041
- attr_accessor :BundleId, :BlueprintId, :InstanceChargePrepaid, :InstanceName, :InstanceCount, :Zones, :DryRun, :ClientToken, :LoginConfiguration, :Containers, :AutoVoucher, :FirewallTemplateId, :Tags
1072
+ attr_accessor :BundleId, :BlueprintId, :InstanceChargePrepaid, :InstanceName, :InstanceCount, :Zones, :DryRun, :ClientToken, :LoginConfiguration, :Containers, :AutoVoucher, :FirewallTemplateId, :Tags, :InitCommand
1042
1073
 
1043
- def initialize(bundleid=nil, blueprintid=nil, instancechargeprepaid=nil, instancename=nil, instancecount=nil, zones=nil, dryrun=nil, clienttoken=nil, loginconfiguration=nil, containers=nil, autovoucher=nil, firewalltemplateid=nil, tags=nil)
1074
+ def initialize(bundleid=nil, blueprintid=nil, instancechargeprepaid=nil, instancename=nil, instancecount=nil, zones=nil, dryrun=nil, clienttoken=nil, loginconfiguration=nil, containers=nil, autovoucher=nil, firewalltemplateid=nil, tags=nil, initcommand=nil)
1044
1075
  @BundleId = bundleid
1045
1076
  @BlueprintId = blueprintid
1046
1077
  @InstanceChargePrepaid = instancechargeprepaid
@@ -1054,6 +1085,7 @@ module TencentCloud
1054
1085
  @AutoVoucher = autovoucher
1055
1086
  @FirewallTemplateId = firewalltemplateid
1056
1087
  @Tags = tags
1088
+ @InitCommand = initcommand
1057
1089
  end
1058
1090
 
1059
1091
  def deserialize(params)
@@ -1090,6 +1122,10 @@ module TencentCloud
1090
1122
  @Tags << tag_tmp
1091
1123
  end
1092
1124
  end
1125
+ unless params['InitCommand'].nil?
1126
+ @InitCommand = Command.new
1127
+ @InitCommand.deserialize(params['InitCommand'])
1128
+ end
1093
1129
  end
1094
1130
  end
1095
1131
 
@@ -5205,10 +5241,12 @@ module TencentCloud
5205
5241
  # @param InstanceRestrictState: 实例封禁状态。取值范围:
5206
5242
  # <li>NORMAL实例正常。</li><li>NETWORK_RESTRICT:网络封禁。</li>
5207
5243
  # @type InstanceRestrictState: String
5244
+ # @param InitInvocationId: 创建实例后自动执行TAT命令的调用ID。
5245
+ # @type InitInvocationId: String
5208
5246
 
5209
- 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
5247
+ 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, :InitInvocationId
5210
5248
 
5211
- 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)
5249
+ 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, initinvocationid=nil)
5212
5250
  @InstanceId = instanceid
5213
5251
  @BundleId = bundleid
5214
5252
  @BlueprintId = blueprintid
@@ -5236,6 +5274,7 @@ module TencentCloud
5236
5274
  @Zone = zone
5237
5275
  @Tags = tags
5238
5276
  @InstanceRestrictState = instancerestrictstate
5277
+ @InitInvocationId = initinvocationid
5239
5278
  end
5240
5279
 
5241
5280
  def deserialize(params)
@@ -5282,6 +5321,7 @@ module TencentCloud
5282
5321
  end
5283
5322
  end
5284
5323
  @InstanceRestrictState = params['InstanceRestrictState']
5324
+ @InitInvocationId = params['InitInvocationId']
5285
5325
  end
5286
5326
  end
5287
5327
 
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: 3.0.776
4
+ version: 3.0.778
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-03-06 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common