tencentcloud-sdk-lighthouse 3.0.619 → 3.0.620
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200324/client.rb +289 -0
- data/lib/v20200324/models.rb +725 -2
- 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: c1bc13d6e8c301dfaa18feb3f58788fa0e98d9b8
|
4
|
+
data.tar.gz: dc5879412a7413b3c7044f68816fd0287ea35c9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88a4580eee181b8d173e06776428f756babad25951f49da813410bfca0cc98af1a3bace431fa0653c511cbe8c7d8d292db2c7e14e9977f4796793e09bfbeca1b
|
7
|
+
data.tar.gz: f44c68d2792d7d8282519812bb91c3bd5c56ecca48c1c2f9d6ae6ff285c71b8f8800ecf5b8e1fc0ce61934d892d7337fc301a5f5c3e62d695ae38bea4d7f0e81
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.620
|
data/lib/v20200324/client.rb
CHANGED
@@ -785,6 +785,102 @@ module TencentCloud
|
|
785
785
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
786
786
|
end
|
787
787
|
|
788
|
+
# 查询实例内的Docker活动列表。
|
789
|
+
|
790
|
+
# @param request: Request instance for DescribeDockerActivities.
|
791
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerActivitiesRequest`
|
792
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerActivitiesResponse`
|
793
|
+
def DescribeDockerActivities(request)
|
794
|
+
body = send_request('DescribeDockerActivities', request.serialize)
|
795
|
+
response = JSON.parse(body)
|
796
|
+
if response['Response'].key?('Error') == false
|
797
|
+
model = DescribeDockerActivitiesResponse.new
|
798
|
+
model.deserialize(response['Response'])
|
799
|
+
model
|
800
|
+
else
|
801
|
+
code = response['Response']['Error']['Code']
|
802
|
+
message = response['Response']['Error']['Message']
|
803
|
+
reqid = response['Response']['RequestId']
|
804
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
805
|
+
end
|
806
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
807
|
+
raise e
|
808
|
+
rescue StandardError => e
|
809
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
810
|
+
end
|
811
|
+
|
812
|
+
# 查询实例内的Docker容器配置信息
|
813
|
+
|
814
|
+
# @param request: Request instance for DescribeDockerContainerConfiguration.
|
815
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerContainerConfigurationRequest`
|
816
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerContainerConfigurationResponse`
|
817
|
+
def DescribeDockerContainerConfiguration(request)
|
818
|
+
body = send_request('DescribeDockerContainerConfiguration', request.serialize)
|
819
|
+
response = JSON.parse(body)
|
820
|
+
if response['Response'].key?('Error') == false
|
821
|
+
model = DescribeDockerContainerConfigurationResponse.new
|
822
|
+
model.deserialize(response['Response'])
|
823
|
+
model
|
824
|
+
else
|
825
|
+
code = response['Response']['Error']['Code']
|
826
|
+
message = response['Response']['Error']['Message']
|
827
|
+
reqid = response['Response']['RequestId']
|
828
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
829
|
+
end
|
830
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
831
|
+
raise e
|
832
|
+
rescue StandardError => e
|
833
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
834
|
+
end
|
835
|
+
|
836
|
+
# 查询实例内的Docker容器详情
|
837
|
+
|
838
|
+
# @param request: Request instance for DescribeDockerContainerDetail.
|
839
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerContainerDetailRequest`
|
840
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerContainerDetailResponse`
|
841
|
+
def DescribeDockerContainerDetail(request)
|
842
|
+
body = send_request('DescribeDockerContainerDetail', request.serialize)
|
843
|
+
response = JSON.parse(body)
|
844
|
+
if response['Response'].key?('Error') == false
|
845
|
+
model = DescribeDockerContainerDetailResponse.new
|
846
|
+
model.deserialize(response['Response'])
|
847
|
+
model
|
848
|
+
else
|
849
|
+
code = response['Response']['Error']['Code']
|
850
|
+
message = response['Response']['Error']['Message']
|
851
|
+
reqid = response['Response']['RequestId']
|
852
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
853
|
+
end
|
854
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
855
|
+
raise e
|
856
|
+
rescue StandardError => e
|
857
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
858
|
+
end
|
859
|
+
|
860
|
+
# 查询实例内的容器列表。
|
861
|
+
|
862
|
+
# @param request: Request instance for DescribeDockerContainers.
|
863
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerContainersRequest`
|
864
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDockerContainersResponse`
|
865
|
+
def DescribeDockerContainers(request)
|
866
|
+
body = send_request('DescribeDockerContainers', request.serialize)
|
867
|
+
response = JSON.parse(body)
|
868
|
+
if response['Response'].key?('Error') == false
|
869
|
+
model = DescribeDockerContainersResponse.new
|
870
|
+
model.deserialize(response['Response'])
|
871
|
+
model
|
872
|
+
else
|
873
|
+
code = response['Response']['Error']['Code']
|
874
|
+
message = response['Response']['Error']['Message']
|
875
|
+
reqid = response['Response']['RequestId']
|
876
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
877
|
+
end
|
878
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
879
|
+
raise e
|
880
|
+
rescue StandardError => e
|
881
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
882
|
+
end
|
883
|
+
|
788
884
|
# 本接口(DescribeFirewallRules)用于查询实例的防火墙规则。
|
789
885
|
|
790
886
|
# @param request: Request instance for DescribeFirewallRules.
|
@@ -1609,6 +1705,31 @@ module TencentCloud
|
|
1609
1705
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1610
1706
|
end
|
1611
1707
|
|
1708
|
+
# 修改实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。
|
1709
|
+
# 请注意:本接口会重新创建并运行实例内的Docker容器。
|
1710
|
+
|
1711
|
+
# @param request: Request instance for ModifyDockerContainer.
|
1712
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::ModifyDockerContainerRequest`
|
1713
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::ModifyDockerContainerResponse`
|
1714
|
+
def ModifyDockerContainer(request)
|
1715
|
+
body = send_request('ModifyDockerContainer', request.serialize)
|
1716
|
+
response = JSON.parse(body)
|
1717
|
+
if response['Response'].key?('Error') == false
|
1718
|
+
model = ModifyDockerContainerResponse.new
|
1719
|
+
model.deserialize(response['Response'])
|
1720
|
+
model
|
1721
|
+
else
|
1722
|
+
code = response['Response']['Error']['Code']
|
1723
|
+
message = response['Response']['Error']['Message']
|
1724
|
+
reqid = response['Response']['RequestId']
|
1725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1726
|
+
end
|
1727
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1728
|
+
raise e
|
1729
|
+
rescue StandardError => e
|
1730
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1731
|
+
end
|
1732
|
+
|
1612
1733
|
# 本接口(ModifyFirewallRuleDescription)用于修改单条防火墙规则描述。
|
1613
1734
|
|
1614
1735
|
# * FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。
|
@@ -1836,6 +1957,54 @@ module TencentCloud
|
|
1836
1957
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1837
1958
|
end
|
1838
1959
|
|
1960
|
+
# 删除实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询删除情况。
|
1961
|
+
|
1962
|
+
# @param request: Request instance for RemoveDockerContainers.
|
1963
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::RemoveDockerContainersRequest`
|
1964
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::RemoveDockerContainersResponse`
|
1965
|
+
def RemoveDockerContainers(request)
|
1966
|
+
body = send_request('RemoveDockerContainers', request.serialize)
|
1967
|
+
response = JSON.parse(body)
|
1968
|
+
if response['Response'].key?('Error') == false
|
1969
|
+
model = RemoveDockerContainersResponse.new
|
1970
|
+
model.deserialize(response['Response'])
|
1971
|
+
model
|
1972
|
+
else
|
1973
|
+
code = response['Response']['Error']['Code']
|
1974
|
+
message = response['Response']['Error']['Message']
|
1975
|
+
reqid = response['Response']['RequestId']
|
1976
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1977
|
+
end
|
1978
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1979
|
+
raise e
|
1980
|
+
rescue StandardError => e
|
1981
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# 重命名实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重命名情况。
|
1985
|
+
|
1986
|
+
# @param request: Request instance for RenameDockerContainer.
|
1987
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::RenameDockerContainerRequest`
|
1988
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::RenameDockerContainerResponse`
|
1989
|
+
def RenameDockerContainer(request)
|
1990
|
+
body = send_request('RenameDockerContainer', request.serialize)
|
1991
|
+
response = JSON.parse(body)
|
1992
|
+
if response['Response'].key?('Error') == false
|
1993
|
+
model = RenameDockerContainerResponse.new
|
1994
|
+
model.deserialize(response['Response'])
|
1995
|
+
model
|
1996
|
+
else
|
1997
|
+
code = response['Response']['Error']['Code']
|
1998
|
+
message = response['Response']['Error']['Message']
|
1999
|
+
reqid = response['Response']['RequestId']
|
2000
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2001
|
+
end
|
2002
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2003
|
+
raise e
|
2004
|
+
rescue StandardError => e
|
2005
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2006
|
+
end
|
2007
|
+
|
1839
2008
|
# 本接口(RenewDisks)用于续费一个或多个轻量应用服务器云硬盘。
|
1840
2009
|
|
1841
2010
|
# 只有状态为 ATTACHED,UNATTACHED 或 SHUTDOWN 的数据盘才可以进行此操作。
|
@@ -1891,6 +2060,30 @@ module TencentCloud
|
|
1891
2060
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1892
2061
|
end
|
1893
2062
|
|
2063
|
+
# 重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。
|
2064
|
+
|
2065
|
+
# @param request: Request instance for RerunDockerContainer.
|
2066
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::RerunDockerContainerRequest`
|
2067
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::RerunDockerContainerResponse`
|
2068
|
+
def RerunDockerContainer(request)
|
2069
|
+
body = send_request('RerunDockerContainer', request.serialize)
|
2070
|
+
response = JSON.parse(body)
|
2071
|
+
if response['Response'].key?('Error') == false
|
2072
|
+
model = RerunDockerContainerResponse.new
|
2073
|
+
model.deserialize(response['Response'])
|
2074
|
+
model
|
2075
|
+
else
|
2076
|
+
code = response['Response']['Error']['Code']
|
2077
|
+
message = response['Response']['Error']['Message']
|
2078
|
+
reqid = response['Response']['RequestId']
|
2079
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2080
|
+
end
|
2081
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2082
|
+
raise e
|
2083
|
+
rescue StandardError => e
|
2084
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2085
|
+
end
|
2086
|
+
|
1894
2087
|
# 本接口 (ResetAttachCcn) 用于关联云联网实例申请过期时,重新申请关联操作。
|
1895
2088
|
|
1896
2089
|
# @param request: Request instance for ResetAttachCcn.
|
@@ -1973,6 +2166,78 @@ module TencentCloud
|
|
1973
2166
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
2167
|
end
|
1975
2168
|
|
2169
|
+
# 重启实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重启情况。
|
2170
|
+
|
2171
|
+
# @param request: Request instance for RestartDockerContainers.
|
2172
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::RestartDockerContainersRequest`
|
2173
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::RestartDockerContainersResponse`
|
2174
|
+
def RestartDockerContainers(request)
|
2175
|
+
body = send_request('RestartDockerContainers', request.serialize)
|
2176
|
+
response = JSON.parse(body)
|
2177
|
+
if response['Response'].key?('Error') == false
|
2178
|
+
model = RestartDockerContainersResponse.new
|
2179
|
+
model.deserialize(response['Response'])
|
2180
|
+
model
|
2181
|
+
else
|
2182
|
+
code = response['Response']['Error']['Code']
|
2183
|
+
message = response['Response']['Error']['Message']
|
2184
|
+
reqid = response['Response']['RequestId']
|
2185
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2186
|
+
end
|
2187
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2188
|
+
raise e
|
2189
|
+
rescue StandardError => e
|
2190
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
# 创建并运行多个Docker容器,之后可以通过返回的ActivityIds调用DescribeDockerActivities接口查询创建情况。
|
2194
|
+
|
2195
|
+
# @param request: Request instance for RunDockerContainers.
|
2196
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::RunDockerContainersRequest`
|
2197
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::RunDockerContainersResponse`
|
2198
|
+
def RunDockerContainers(request)
|
2199
|
+
body = send_request('RunDockerContainers', request.serialize)
|
2200
|
+
response = JSON.parse(body)
|
2201
|
+
if response['Response'].key?('Error') == false
|
2202
|
+
model = RunDockerContainersResponse.new
|
2203
|
+
model.deserialize(response['Response'])
|
2204
|
+
model
|
2205
|
+
else
|
2206
|
+
code = response['Response']['Error']['Code']
|
2207
|
+
message = response['Response']['Error']['Message']
|
2208
|
+
reqid = response['Response']['RequestId']
|
2209
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2210
|
+
end
|
2211
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2212
|
+
raise e
|
2213
|
+
rescue StandardError => e
|
2214
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
# 启动实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询启动情况。
|
2218
|
+
|
2219
|
+
# @param request: Request instance for StartDockerContainers.
|
2220
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::StartDockerContainersRequest`
|
2221
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::StartDockerContainersResponse`
|
2222
|
+
def StartDockerContainers(request)
|
2223
|
+
body = send_request('StartDockerContainers', request.serialize)
|
2224
|
+
response = JSON.parse(body)
|
2225
|
+
if response['Response'].key?('Error') == false
|
2226
|
+
model = StartDockerContainersResponse.new
|
2227
|
+
model.deserialize(response['Response'])
|
2228
|
+
model
|
2229
|
+
else
|
2230
|
+
code = response['Response']['Error']['Code']
|
2231
|
+
message = response['Response']['Error']['Message']
|
2232
|
+
reqid = response['Response']['RequestId']
|
2233
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2234
|
+
end
|
2235
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2236
|
+
raise e
|
2237
|
+
rescue StandardError => e
|
2238
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2239
|
+
end
|
2240
|
+
|
1976
2241
|
# 本接口(StartInstances)用于启动一个或多个实例。
|
1977
2242
|
|
1978
2243
|
# * 只有状态为 STOPPED 的实例才可以进行此操作。
|
@@ -2002,6 +2267,30 @@ module TencentCloud
|
|
2002
2267
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2003
2268
|
end
|
2004
2269
|
|
2270
|
+
# 停止实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询停止情况。
|
2271
|
+
|
2272
|
+
# @param request: Request instance for StopDockerContainers.
|
2273
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::StopDockerContainersRequest`
|
2274
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::StopDockerContainersResponse`
|
2275
|
+
def StopDockerContainers(request)
|
2276
|
+
body = send_request('StopDockerContainers', request.serialize)
|
2277
|
+
response = JSON.parse(body)
|
2278
|
+
if response['Response'].key?('Error') == false
|
2279
|
+
model = StopDockerContainersResponse.new
|
2280
|
+
model.deserialize(response['Response'])
|
2281
|
+
model
|
2282
|
+
else
|
2283
|
+
code = response['Response']['Error']['Code']
|
2284
|
+
message = response['Response']['Error']['Message']
|
2285
|
+
reqid = response['Response']['RequestId']
|
2286
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2287
|
+
end
|
2288
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2289
|
+
raise e
|
2290
|
+
rescue StandardError => e
|
2291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2292
|
+
end
|
2293
|
+
|
2005
2294
|
# 本接口(StopInstances)用于关闭一个或多个实例。
|
2006
2295
|
# * 只有状态为 RUNNING 的实例才可以进行此操作。
|
2007
2296
|
# * 接口调用成功时,实例会进入 STOPPING 状态;关闭实例成功时,实例会进入 STOPPED 状态。
|
data/lib/v20200324/models.rb
CHANGED
@@ -1982,6 +1982,233 @@ module TencentCloud
|
|
1982
1982
|
end
|
1983
1983
|
end
|
1984
1984
|
|
1985
|
+
# DescribeDockerActivities请求参数结构体
|
1986
|
+
class DescribeDockerActivitiesRequest < TencentCloud::Common::AbstractModel
|
1987
|
+
# @param InstanceId: 实例ID。
|
1988
|
+
# @type InstanceId: String
|
1989
|
+
# @param ActivityIds: Docker活动ID列表。
|
1990
|
+
# @type ActivityIds: Array
|
1991
|
+
# @param Offset: 偏移量,默认为 0。
|
1992
|
+
# @type Offset: Integer
|
1993
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
1994
|
+
# @type Limit: Integer
|
1995
|
+
# @param CreatedTimeBegin: 活动创建时间的起始值,时间戳秒数。
|
1996
|
+
# @type CreatedTimeBegin: Integer
|
1997
|
+
# @param CreatedTimeEnd: 活动创建时间的结束值,时间戳秒数。
|
1998
|
+
# @type CreatedTimeEnd: Integer
|
1999
|
+
|
2000
|
+
attr_accessor :InstanceId, :ActivityIds, :Offset, :Limit, :CreatedTimeBegin, :CreatedTimeEnd
|
2001
|
+
|
2002
|
+
def initialize(instanceid=nil, activityids=nil, offset=nil, limit=nil, createdtimebegin=nil, createdtimeend=nil)
|
2003
|
+
@InstanceId = instanceid
|
2004
|
+
@ActivityIds = activityids
|
2005
|
+
@Offset = offset
|
2006
|
+
@Limit = limit
|
2007
|
+
@CreatedTimeBegin = createdtimebegin
|
2008
|
+
@CreatedTimeEnd = createdtimeend
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
def deserialize(params)
|
2012
|
+
@InstanceId = params['InstanceId']
|
2013
|
+
@ActivityIds = params['ActivityIds']
|
2014
|
+
@Offset = params['Offset']
|
2015
|
+
@Limit = params['Limit']
|
2016
|
+
@CreatedTimeBegin = params['CreatedTimeBegin']
|
2017
|
+
@CreatedTimeEnd = params['CreatedTimeEnd']
|
2018
|
+
end
|
2019
|
+
end
|
2020
|
+
|
2021
|
+
# DescribeDockerActivities返回参数结构体
|
2022
|
+
class DescribeDockerActivitiesResponse < TencentCloud::Common::AbstractModel
|
2023
|
+
# @param TotalCount: 总数量。
|
2024
|
+
# @type TotalCount: Integer
|
2025
|
+
# @param DockerActivitySet: Docker活动列表。
|
2026
|
+
# @type DockerActivitySet: Array
|
2027
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2028
|
+
# @type RequestId: String
|
2029
|
+
|
2030
|
+
attr_accessor :TotalCount, :DockerActivitySet, :RequestId
|
2031
|
+
|
2032
|
+
def initialize(totalcount=nil, dockeractivityset=nil, requestid=nil)
|
2033
|
+
@TotalCount = totalcount
|
2034
|
+
@DockerActivitySet = dockeractivityset
|
2035
|
+
@RequestId = requestid
|
2036
|
+
end
|
2037
|
+
|
2038
|
+
def deserialize(params)
|
2039
|
+
@TotalCount = params['TotalCount']
|
2040
|
+
unless params['DockerActivitySet'].nil?
|
2041
|
+
@DockerActivitySet = []
|
2042
|
+
params['DockerActivitySet'].each do |i|
|
2043
|
+
dockeractivity_tmp = DockerActivity.new
|
2044
|
+
dockeractivity_tmp.deserialize(i)
|
2045
|
+
@DockerActivitySet << dockeractivity_tmp
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
@RequestId = params['RequestId']
|
2049
|
+
end
|
2050
|
+
end
|
2051
|
+
|
2052
|
+
# DescribeDockerContainerConfiguration请求参数结构体
|
2053
|
+
class DescribeDockerContainerConfigurationRequest < TencentCloud::Common::AbstractModel
|
2054
|
+
# @param InstanceId: 实例ID。
|
2055
|
+
# @type InstanceId: String
|
2056
|
+
# @param ContainerId: 容器ID。
|
2057
|
+
# @type ContainerId: String
|
2058
|
+
|
2059
|
+
attr_accessor :InstanceId, :ContainerId
|
2060
|
+
|
2061
|
+
def initialize(instanceid=nil, containerid=nil)
|
2062
|
+
@InstanceId = instanceid
|
2063
|
+
@ContainerId = containerid
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
def deserialize(params)
|
2067
|
+
@InstanceId = params['InstanceId']
|
2068
|
+
@ContainerId = params['ContainerId']
|
2069
|
+
end
|
2070
|
+
end
|
2071
|
+
|
2072
|
+
# DescribeDockerContainerConfiguration返回参数结构体
|
2073
|
+
class DescribeDockerContainerConfigurationResponse < TencentCloud::Common::AbstractModel
|
2074
|
+
# @param ContainerConfiguration: Docker容器配置信息。
|
2075
|
+
# @type ContainerConfiguration: :class:`Tencentcloud::Lighthouse.v20200324.models.DockerContainerConfiguration`
|
2076
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2077
|
+
# @type RequestId: String
|
2078
|
+
|
2079
|
+
attr_accessor :ContainerConfiguration, :RequestId
|
2080
|
+
|
2081
|
+
def initialize(containerconfiguration=nil, requestid=nil)
|
2082
|
+
@ContainerConfiguration = containerconfiguration
|
2083
|
+
@RequestId = requestid
|
2084
|
+
end
|
2085
|
+
|
2086
|
+
def deserialize(params)
|
2087
|
+
unless params['ContainerConfiguration'].nil?
|
2088
|
+
@ContainerConfiguration = DockerContainerConfiguration.new
|
2089
|
+
@ContainerConfiguration.deserialize(params['ContainerConfiguration'])
|
2090
|
+
end
|
2091
|
+
@RequestId = params['RequestId']
|
2092
|
+
end
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
# DescribeDockerContainerDetail请求参数结构体
|
2096
|
+
class DescribeDockerContainerDetailRequest < TencentCloud::Common::AbstractModel
|
2097
|
+
# @param InstanceId: 实例ID。
|
2098
|
+
# @type InstanceId: String
|
2099
|
+
# @param ContainerId: 容器ID。
|
2100
|
+
# @type ContainerId: String
|
2101
|
+
|
2102
|
+
attr_accessor :InstanceId, :ContainerId
|
2103
|
+
|
2104
|
+
def initialize(instanceid=nil, containerid=nil)
|
2105
|
+
@InstanceId = instanceid
|
2106
|
+
@ContainerId = containerid
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
def deserialize(params)
|
2110
|
+
@InstanceId = params['InstanceId']
|
2111
|
+
@ContainerId = params['ContainerId']
|
2112
|
+
end
|
2113
|
+
end
|
2114
|
+
|
2115
|
+
# DescribeDockerContainerDetail返回参数结构体
|
2116
|
+
class DescribeDockerContainerDetailResponse < TencentCloud::Common::AbstractModel
|
2117
|
+
# @param ContainerDetail: Docker容器详情,json字符串base64编码。
|
2118
|
+
# @type ContainerDetail: String
|
2119
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2120
|
+
# @type RequestId: String
|
2121
|
+
|
2122
|
+
attr_accessor :ContainerDetail, :RequestId
|
2123
|
+
|
2124
|
+
def initialize(containerdetail=nil, requestid=nil)
|
2125
|
+
@ContainerDetail = containerdetail
|
2126
|
+
@RequestId = requestid
|
2127
|
+
end
|
2128
|
+
|
2129
|
+
def deserialize(params)
|
2130
|
+
@ContainerDetail = params['ContainerDetail']
|
2131
|
+
@RequestId = params['RequestId']
|
2132
|
+
end
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
# DescribeDockerContainers请求参数结构体
|
2136
|
+
class DescribeDockerContainersRequest < TencentCloud::Common::AbstractModel
|
2137
|
+
# @param InstanceId: 实例ID。
|
2138
|
+
# @type InstanceId: String
|
2139
|
+
# @param ContainerIds: 容器ID列表。
|
2140
|
+
# @type ContainerIds: Array
|
2141
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
2142
|
+
# @type Limit: Integer
|
2143
|
+
# @param Offset: 偏移量,默认为 0。
|
2144
|
+
# @type Offset: Integer
|
2145
|
+
# @param Filters: 过滤器列表。
|
2146
|
+
# <li>container-id</li>按照【容器ID】进行过滤。
|
2147
|
+
# 类型:String
|
2148
|
+
# 必选:否
|
2149
|
+
# <li>container-name</li>按照【容器名称】进行过滤。
|
2150
|
+
# 类型:String
|
2151
|
+
# 必选:否
|
2152
|
+
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 ContainerIds 和 Filters。
|
2153
|
+
# @type Filters: Array
|
2154
|
+
|
2155
|
+
attr_accessor :InstanceId, :ContainerIds, :Limit, :Offset, :Filters
|
2156
|
+
|
2157
|
+
def initialize(instanceid=nil, containerids=nil, limit=nil, offset=nil, filters=nil)
|
2158
|
+
@InstanceId = instanceid
|
2159
|
+
@ContainerIds = containerids
|
2160
|
+
@Limit = limit
|
2161
|
+
@Offset = offset
|
2162
|
+
@Filters = filters
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
def deserialize(params)
|
2166
|
+
@InstanceId = params['InstanceId']
|
2167
|
+
@ContainerIds = params['ContainerIds']
|
2168
|
+
@Limit = params['Limit']
|
2169
|
+
@Offset = params['Offset']
|
2170
|
+
unless params['Filters'].nil?
|
2171
|
+
@Filters = []
|
2172
|
+
params['Filters'].each do |i|
|
2173
|
+
filter_tmp = Filter.new
|
2174
|
+
filter_tmp.deserialize(i)
|
2175
|
+
@Filters << filter_tmp
|
2176
|
+
end
|
2177
|
+
end
|
2178
|
+
end
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
# DescribeDockerContainers返回参数结构体
|
2182
|
+
class DescribeDockerContainersResponse < TencentCloud::Common::AbstractModel
|
2183
|
+
# @param TotalCount: 总数量。
|
2184
|
+
# @type TotalCount: Integer
|
2185
|
+
# @param DockerContainerSet: 容器列表。
|
2186
|
+
# @type DockerContainerSet: Array
|
2187
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2188
|
+
# @type RequestId: String
|
2189
|
+
|
2190
|
+
attr_accessor :TotalCount, :DockerContainerSet, :RequestId
|
2191
|
+
|
2192
|
+
def initialize(totalcount=nil, dockercontainerset=nil, requestid=nil)
|
2193
|
+
@TotalCount = totalcount
|
2194
|
+
@DockerContainerSet = dockercontainerset
|
2195
|
+
@RequestId = requestid
|
2196
|
+
end
|
2197
|
+
|
2198
|
+
def deserialize(params)
|
2199
|
+
@TotalCount = params['TotalCount']
|
2200
|
+
unless params['DockerContainerSet'].nil?
|
2201
|
+
@DockerContainerSet = []
|
2202
|
+
params['DockerContainerSet'].each do |i|
|
2203
|
+
dockercontainer_tmp = DockerContainer.new
|
2204
|
+
dockercontainer_tmp.deserialize(i)
|
2205
|
+
@DockerContainerSet << dockercontainer_tmp
|
2206
|
+
end
|
2207
|
+
end
|
2208
|
+
@RequestId = params['RequestId']
|
2209
|
+
end
|
2210
|
+
end
|
2211
|
+
|
1985
2212
|
# DescribeFirewallRules请求参数结构体
|
1986
2213
|
class DescribeFirewallRulesRequest < TencentCloud::Common::AbstractModel
|
1987
2214
|
# @param InstanceId: 实例 ID。
|
@@ -3549,6 +3776,113 @@ module TencentCloud
|
|
3549
3776
|
end
|
3550
3777
|
end
|
3551
3778
|
|
3779
|
+
# Docker活动信息
|
3780
|
+
class DockerActivity < TencentCloud::Common::AbstractModel
|
3781
|
+
# @param ActivityId: 活动ID。
|
3782
|
+
# @type ActivityId: String
|
3783
|
+
# @param ActivityName: 活动名称。
|
3784
|
+
# @type ActivityName: String
|
3785
|
+
# @param ActivityState: 活动状态。取值范围:
|
3786
|
+
# <li>INIT:表示初始化,活动尚未执行</li>
|
3787
|
+
# <li>OPERATING:表示活动执行中</li>
|
3788
|
+
# <li>SUCCESS:表示活动执行成功</li>
|
3789
|
+
# <li>FAILED:表示活动执行失败</li>
|
3790
|
+
# @type ActivityState: String
|
3791
|
+
# @param ActivityCommandOutput: 活动执行的命令输出,以base64编码。
|
3792
|
+
# @type ActivityCommandOutput: String
|
3793
|
+
# @param ContainerIds: 容器ID列表。
|
3794
|
+
# @type ContainerIds: Array
|
3795
|
+
# @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
|
3796
|
+
# @type CreatedTime: String
|
3797
|
+
# @param EndTime: 结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
|
3798
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3799
|
+
# @type EndTime: String
|
3800
|
+
|
3801
|
+
attr_accessor :ActivityId, :ActivityName, :ActivityState, :ActivityCommandOutput, :ContainerIds, :CreatedTime, :EndTime
|
3802
|
+
|
3803
|
+
def initialize(activityid=nil, activityname=nil, activitystate=nil, activitycommandoutput=nil, containerids=nil, createdtime=nil, endtime=nil)
|
3804
|
+
@ActivityId = activityid
|
3805
|
+
@ActivityName = activityname
|
3806
|
+
@ActivityState = activitystate
|
3807
|
+
@ActivityCommandOutput = activitycommandoutput
|
3808
|
+
@ContainerIds = containerids
|
3809
|
+
@CreatedTime = createdtime
|
3810
|
+
@EndTime = endtime
|
3811
|
+
end
|
3812
|
+
|
3813
|
+
def deserialize(params)
|
3814
|
+
@ActivityId = params['ActivityId']
|
3815
|
+
@ActivityName = params['ActivityName']
|
3816
|
+
@ActivityState = params['ActivityState']
|
3817
|
+
@ActivityCommandOutput = params['ActivityCommandOutput']
|
3818
|
+
@ContainerIds = params['ContainerIds']
|
3819
|
+
@CreatedTime = params['CreatedTime']
|
3820
|
+
@EndTime = params['EndTime']
|
3821
|
+
end
|
3822
|
+
end
|
3823
|
+
|
3824
|
+
# Docker容器信息
|
3825
|
+
class DockerContainer < TencentCloud::Common::AbstractModel
|
3826
|
+
# @param ContainerId: 容器ID
|
3827
|
+
# @type ContainerId: String
|
3828
|
+
# @param ContainerName: 容器名称
|
3829
|
+
# @type ContainerName: String
|
3830
|
+
# @param ContainerImage: 容器镜像地址
|
3831
|
+
# @type ContainerImage: String
|
3832
|
+
# @param Command: 容器Command
|
3833
|
+
# @type Command: String
|
3834
|
+
# @param Status: 容器状态描述
|
3835
|
+
# @type Status: String
|
3836
|
+
# @param State: 容器状态,和docker的容器状态保持一致,当前取值有:created, restarting, running, removing, paused, exited, or dead
|
3837
|
+
# @type State: String
|
3838
|
+
# @param PublishPortSet: 容器端口主机端口映射列表
|
3839
|
+
# @type PublishPortSet: Array
|
3840
|
+
# @param VolumeSet: 容器挂载本地卷列表
|
3841
|
+
# @type VolumeSet: Array
|
3842
|
+
# @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
|
3843
|
+
# @type CreatedTime: String
|
3844
|
+
|
3845
|
+
attr_accessor :ContainerId, :ContainerName, :ContainerImage, :Command, :Status, :State, :PublishPortSet, :VolumeSet, :CreatedTime
|
3846
|
+
|
3847
|
+
def initialize(containerid=nil, containername=nil, containerimage=nil, command=nil, status=nil, state=nil, publishportset=nil, volumeset=nil, createdtime=nil)
|
3848
|
+
@ContainerId = containerid
|
3849
|
+
@ContainerName = containername
|
3850
|
+
@ContainerImage = containerimage
|
3851
|
+
@Command = command
|
3852
|
+
@Status = status
|
3853
|
+
@State = state
|
3854
|
+
@PublishPortSet = publishportset
|
3855
|
+
@VolumeSet = volumeset
|
3856
|
+
@CreatedTime = createdtime
|
3857
|
+
end
|
3858
|
+
|
3859
|
+
def deserialize(params)
|
3860
|
+
@ContainerId = params['ContainerId']
|
3861
|
+
@ContainerName = params['ContainerName']
|
3862
|
+
@ContainerImage = params['ContainerImage']
|
3863
|
+
@Command = params['Command']
|
3864
|
+
@Status = params['Status']
|
3865
|
+
@State = params['State']
|
3866
|
+
unless params['PublishPortSet'].nil?
|
3867
|
+
@PublishPortSet = []
|
3868
|
+
params['PublishPortSet'].each do |i|
|
3869
|
+
dockercontainerpublishport_tmp = DockerContainerPublishPort.new
|
3870
|
+
dockercontainerpublishport_tmp.deserialize(i)
|
3871
|
+
@PublishPortSet << dockercontainerpublishport_tmp
|
3872
|
+
end
|
3873
|
+
end
|
3874
|
+
unless params['VolumeSet'].nil?
|
3875
|
+
@VolumeSet = []
|
3876
|
+
params['VolumeSet'].each do |i|
|
3877
|
+
dockercontainervolume_tmp = DockerContainerVolume.new
|
3878
|
+
dockercontainervolume_tmp.deserialize(i)
|
3879
|
+
@VolumeSet << dockercontainervolume_tmp
|
3880
|
+
end
|
3881
|
+
end
|
3882
|
+
@CreatedTime = params['CreatedTime']
|
3883
|
+
end
|
3884
|
+
end
|
3885
|
+
|
3552
3886
|
# Docker容器创建时的配置
|
3553
3887
|
class DockerContainerConfiguration < TencentCloud::Common::AbstractModel
|
3554
3888
|
# @param ContainerImage: 容器镜像地址
|
@@ -4577,17 +4911,21 @@ module TencentCloud
|
|
4577
4911
|
# `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能包含空格, 不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字:0-9<br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li>
|
4578
4912
|
# `WINDOWS` 实例密码必须 12-30 位,不能包含空格, 不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字: 0-9<br><li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/
|
4579
4913
|
# @type Password: String
|
4914
|
+
# @param KeyIds: 密钥ID列表,最多同时指定5个密钥。关联密钥后,就可以通过对应的私钥来访问实例。密钥与密码不能同时指定,同时WINDOWS操作系统不支持指定密钥。密钥ID列表可以通过[DescribeKeyPairs](https://cloud.tencent.com/document/product/1207/55540)接口获取。
|
4915
|
+
# @type KeyIds: Array
|
4580
4916
|
|
4581
|
-
attr_accessor :AutoGeneratePassword, :Password
|
4917
|
+
attr_accessor :AutoGeneratePassword, :Password, :KeyIds
|
4582
4918
|
|
4583
|
-
def initialize(autogeneratepassword=nil, password=nil)
|
4919
|
+
def initialize(autogeneratepassword=nil, password=nil, keyids=nil)
|
4584
4920
|
@AutoGeneratePassword = autogeneratepassword
|
4585
4921
|
@Password = password
|
4922
|
+
@KeyIds = keyids
|
4586
4923
|
end
|
4587
4924
|
|
4588
4925
|
def deserialize(params)
|
4589
4926
|
@AutoGeneratePassword = params['AutoGeneratePassword']
|
4590
4927
|
@Password = params['Password']
|
4928
|
+
@KeyIds = params['KeyIds']
|
4591
4929
|
end
|
4592
4930
|
end
|
4593
4931
|
|
@@ -4793,6 +5131,93 @@ module TencentCloud
|
|
4793
5131
|
end
|
4794
5132
|
end
|
4795
5133
|
|
5134
|
+
# ModifyDockerContainer请求参数结构体
|
5135
|
+
class ModifyDockerContainerRequest < TencentCloud::Common::AbstractModel
|
5136
|
+
# @param InstanceId: 实例ID。
|
5137
|
+
# @type InstanceId: String
|
5138
|
+
# @param ContainerId: 容器ID。
|
5139
|
+
# @type ContainerId: String
|
5140
|
+
# @param Envs: 环境变量列表
|
5141
|
+
# @type Envs: Array
|
5142
|
+
# @param PublishPorts: 容器端口主机端口映射列表
|
5143
|
+
# @type PublishPorts: Array
|
5144
|
+
# @param Volumes: 容器加载本地卷列表
|
5145
|
+
# @type Volumes: Array
|
5146
|
+
# @param Command: 运行的命令
|
5147
|
+
# @type Command: String
|
5148
|
+
# @param RestartPolicy: 容器重启策略,对应docker "--restart"参数。
|
5149
|
+
|
5150
|
+
# 枚举值:
|
5151
|
+
# no: 不自动重启。默认策略。
|
5152
|
+
# on-failure[:max-retries]: 当容器退出码非0时重启容器。使用max-retries限制重启次数,比如on-failure:10,限制最多重启10次。
|
5153
|
+
# always: 只要容器退出就重启。
|
5154
|
+
# unless-stopped: 始终重新启动容器,包括在守护进程启动时,除非容器在 Docker 守护进程停止之前进入停止状态。
|
5155
|
+
# @type RestartPolicy: String
|
5156
|
+
|
5157
|
+
attr_accessor :InstanceId, :ContainerId, :Envs, :PublishPorts, :Volumes, :Command, :RestartPolicy
|
5158
|
+
|
5159
|
+
def initialize(instanceid=nil, containerid=nil, envs=nil, publishports=nil, volumes=nil, command=nil, restartpolicy=nil)
|
5160
|
+
@InstanceId = instanceid
|
5161
|
+
@ContainerId = containerid
|
5162
|
+
@Envs = envs
|
5163
|
+
@PublishPorts = publishports
|
5164
|
+
@Volumes = volumes
|
5165
|
+
@Command = command
|
5166
|
+
@RestartPolicy = restartpolicy
|
5167
|
+
end
|
5168
|
+
|
5169
|
+
def deserialize(params)
|
5170
|
+
@InstanceId = params['InstanceId']
|
5171
|
+
@ContainerId = params['ContainerId']
|
5172
|
+
unless params['Envs'].nil?
|
5173
|
+
@Envs = []
|
5174
|
+
params['Envs'].each do |i|
|
5175
|
+
containerenv_tmp = ContainerEnv.new
|
5176
|
+
containerenv_tmp.deserialize(i)
|
5177
|
+
@Envs << containerenv_tmp
|
5178
|
+
end
|
5179
|
+
end
|
5180
|
+
unless params['PublishPorts'].nil?
|
5181
|
+
@PublishPorts = []
|
5182
|
+
params['PublishPorts'].each do |i|
|
5183
|
+
dockercontainerpublishport_tmp = DockerContainerPublishPort.new
|
5184
|
+
dockercontainerpublishport_tmp.deserialize(i)
|
5185
|
+
@PublishPorts << dockercontainerpublishport_tmp
|
5186
|
+
end
|
5187
|
+
end
|
5188
|
+
unless params['Volumes'].nil?
|
5189
|
+
@Volumes = []
|
5190
|
+
params['Volumes'].each do |i|
|
5191
|
+
dockercontainervolume_tmp = DockerContainerVolume.new
|
5192
|
+
dockercontainervolume_tmp.deserialize(i)
|
5193
|
+
@Volumes << dockercontainervolume_tmp
|
5194
|
+
end
|
5195
|
+
end
|
5196
|
+
@Command = params['Command']
|
5197
|
+
@RestartPolicy = params['RestartPolicy']
|
5198
|
+
end
|
5199
|
+
end
|
5200
|
+
|
5201
|
+
# ModifyDockerContainer返回参数结构体
|
5202
|
+
class ModifyDockerContainerResponse < TencentCloud::Common::AbstractModel
|
5203
|
+
# @param DockerActivityId: Docker活动ID。
|
5204
|
+
# @type DockerActivityId: String
|
5205
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5206
|
+
# @type RequestId: String
|
5207
|
+
|
5208
|
+
attr_accessor :DockerActivityId, :RequestId
|
5209
|
+
|
5210
|
+
def initialize(dockeractivityid=nil, requestid=nil)
|
5211
|
+
@DockerActivityId = dockeractivityid
|
5212
|
+
@RequestId = requestid
|
5213
|
+
end
|
5214
|
+
|
5215
|
+
def deserialize(params)
|
5216
|
+
@DockerActivityId = params['DockerActivityId']
|
5217
|
+
@RequestId = params['RequestId']
|
5218
|
+
end
|
5219
|
+
end
|
5220
|
+
|
4796
5221
|
# ModifyFirewallRuleDescription请求参数结构体
|
4797
5222
|
class ModifyFirewallRuleDescriptionRequest < TencentCloud::Common::AbstractModel
|
4798
5223
|
# @param InstanceId: 实例 ID。
|
@@ -5184,6 +5609,90 @@ module TencentCloud
|
|
5184
5609
|
end
|
5185
5610
|
end
|
5186
5611
|
|
5612
|
+
# RemoveDockerContainers请求参数结构体
|
5613
|
+
class RemoveDockerContainersRequest < TencentCloud::Common::AbstractModel
|
5614
|
+
# @param InstanceId: 实例ID。
|
5615
|
+
# @type InstanceId: String
|
5616
|
+
# @param ContainerIds: 容器ID列表。
|
5617
|
+
# @type ContainerIds: Array
|
5618
|
+
|
5619
|
+
attr_accessor :InstanceId, :ContainerIds
|
5620
|
+
|
5621
|
+
def initialize(instanceid=nil, containerids=nil)
|
5622
|
+
@InstanceId = instanceid
|
5623
|
+
@ContainerIds = containerids
|
5624
|
+
end
|
5625
|
+
|
5626
|
+
def deserialize(params)
|
5627
|
+
@InstanceId = params['InstanceId']
|
5628
|
+
@ContainerIds = params['ContainerIds']
|
5629
|
+
end
|
5630
|
+
end
|
5631
|
+
|
5632
|
+
# RemoveDockerContainers返回参数结构体
|
5633
|
+
class RemoveDockerContainersResponse < TencentCloud::Common::AbstractModel
|
5634
|
+
# @param DockerActivityId: Docker活动ID。
|
5635
|
+
# @type DockerActivityId: String
|
5636
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5637
|
+
# @type RequestId: String
|
5638
|
+
|
5639
|
+
attr_accessor :DockerActivityId, :RequestId
|
5640
|
+
|
5641
|
+
def initialize(dockeractivityid=nil, requestid=nil)
|
5642
|
+
@DockerActivityId = dockeractivityid
|
5643
|
+
@RequestId = requestid
|
5644
|
+
end
|
5645
|
+
|
5646
|
+
def deserialize(params)
|
5647
|
+
@DockerActivityId = params['DockerActivityId']
|
5648
|
+
@RequestId = params['RequestId']
|
5649
|
+
end
|
5650
|
+
end
|
5651
|
+
|
5652
|
+
# RenameDockerContainer请求参数结构体
|
5653
|
+
class RenameDockerContainerRequest < TencentCloud::Common::AbstractModel
|
5654
|
+
# @param InstanceId: 实例ID。
|
5655
|
+
# @type InstanceId: String
|
5656
|
+
# @param ContainerId: 容器ID。
|
5657
|
+
# @type ContainerId: String
|
5658
|
+
# @param ContainerName: 容器新的名称。
|
5659
|
+
# @type ContainerName: String
|
5660
|
+
|
5661
|
+
attr_accessor :InstanceId, :ContainerId, :ContainerName
|
5662
|
+
|
5663
|
+
def initialize(instanceid=nil, containerid=nil, containername=nil)
|
5664
|
+
@InstanceId = instanceid
|
5665
|
+
@ContainerId = containerid
|
5666
|
+
@ContainerName = containername
|
5667
|
+
end
|
5668
|
+
|
5669
|
+
def deserialize(params)
|
5670
|
+
@InstanceId = params['InstanceId']
|
5671
|
+
@ContainerId = params['ContainerId']
|
5672
|
+
@ContainerName = params['ContainerName']
|
5673
|
+
end
|
5674
|
+
end
|
5675
|
+
|
5676
|
+
# RenameDockerContainer返回参数结构体
|
5677
|
+
class RenameDockerContainerResponse < TencentCloud::Common::AbstractModel
|
5678
|
+
# @param DockerActivityId: Docker活动ID。
|
5679
|
+
# @type DockerActivityId: String
|
5680
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5681
|
+
# @type RequestId: String
|
5682
|
+
|
5683
|
+
attr_accessor :DockerActivityId, :RequestId
|
5684
|
+
|
5685
|
+
def initialize(dockeractivityid=nil, requestid=nil)
|
5686
|
+
@DockerActivityId = dockeractivityid
|
5687
|
+
@RequestId = requestid
|
5688
|
+
end
|
5689
|
+
|
5690
|
+
def deserialize(params)
|
5691
|
+
@DockerActivityId = params['DockerActivityId']
|
5692
|
+
@RequestId = params['RequestId']
|
5693
|
+
end
|
5694
|
+
end
|
5695
|
+
|
5187
5696
|
# 续费云硬盘包年包月相关参数设置
|
5188
5697
|
class RenewDiskChargePrepaid < TencentCloud::Common::AbstractModel
|
5189
5698
|
# @param Period: 续费周期。
|
@@ -5312,6 +5821,53 @@ module TencentCloud
|
|
5312
5821
|
end
|
5313
5822
|
end
|
5314
5823
|
|
5824
|
+
# RerunDockerContainer请求参数结构体
|
5825
|
+
class RerunDockerContainerRequest < TencentCloud::Common::AbstractModel
|
5826
|
+
# @param InstanceId: 实例ID。
|
5827
|
+
# @type InstanceId: String
|
5828
|
+
# @param ContainerConfiguration: 重新创建的容器配置。
|
5829
|
+
# @type ContainerConfiguration: :class:`Tencentcloud::Lighthouse.v20200324.models.DockerContainerConfiguration`
|
5830
|
+
# @param ContainerId: 容器ID。
|
5831
|
+
# @type ContainerId: String
|
5832
|
+
|
5833
|
+
attr_accessor :InstanceId, :ContainerConfiguration, :ContainerId
|
5834
|
+
|
5835
|
+
def initialize(instanceid=nil, containerconfiguration=nil, containerid=nil)
|
5836
|
+
@InstanceId = instanceid
|
5837
|
+
@ContainerConfiguration = containerconfiguration
|
5838
|
+
@ContainerId = containerid
|
5839
|
+
end
|
5840
|
+
|
5841
|
+
def deserialize(params)
|
5842
|
+
@InstanceId = params['InstanceId']
|
5843
|
+
unless params['ContainerConfiguration'].nil?
|
5844
|
+
@ContainerConfiguration = DockerContainerConfiguration.new
|
5845
|
+
@ContainerConfiguration.deserialize(params['ContainerConfiguration'])
|
5846
|
+
end
|
5847
|
+
@ContainerId = params['ContainerId']
|
5848
|
+
end
|
5849
|
+
end
|
5850
|
+
|
5851
|
+
# RerunDockerContainer返回参数结构体
|
5852
|
+
class RerunDockerContainerResponse < TencentCloud::Common::AbstractModel
|
5853
|
+
# @param DockerActivityId: Docker活动ID。
|
5854
|
+
# @type DockerActivityId: String
|
5855
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5856
|
+
# @type RequestId: String
|
5857
|
+
|
5858
|
+
attr_accessor :DockerActivityId, :RequestId
|
5859
|
+
|
5860
|
+
def initialize(dockeractivityid=nil, requestid=nil)
|
5861
|
+
@DockerActivityId = dockeractivityid
|
5862
|
+
@RequestId = requestid
|
5863
|
+
end
|
5864
|
+
|
5865
|
+
def deserialize(params)
|
5866
|
+
@DockerActivityId = params['DockerActivityId']
|
5867
|
+
@RequestId = params['RequestId']
|
5868
|
+
end
|
5869
|
+
end
|
5870
|
+
|
5315
5871
|
# ResetAttachCcn请求参数结构体
|
5316
5872
|
class ResetAttachCcnRequest < TencentCloud::Common::AbstractModel
|
5317
5873
|
# @param CcnId: 云联网实例ID。
|
@@ -5449,6 +6005,93 @@ module TencentCloud
|
|
5449
6005
|
end
|
5450
6006
|
end
|
5451
6007
|
|
6008
|
+
# RestartDockerContainers请求参数结构体
|
6009
|
+
class RestartDockerContainersRequest < TencentCloud::Common::AbstractModel
|
6010
|
+
# @param InstanceId: 实例ID。
|
6011
|
+
# @type InstanceId: String
|
6012
|
+
# @param ContainerIds: 容器ID列表。
|
6013
|
+
# @type ContainerIds: Array
|
6014
|
+
|
6015
|
+
attr_accessor :InstanceId, :ContainerIds
|
6016
|
+
|
6017
|
+
def initialize(instanceid=nil, containerids=nil)
|
6018
|
+
@InstanceId = instanceid
|
6019
|
+
@ContainerIds = containerids
|
6020
|
+
end
|
6021
|
+
|
6022
|
+
def deserialize(params)
|
6023
|
+
@InstanceId = params['InstanceId']
|
6024
|
+
@ContainerIds = params['ContainerIds']
|
6025
|
+
end
|
6026
|
+
end
|
6027
|
+
|
6028
|
+
# RestartDockerContainers返回参数结构体
|
6029
|
+
class RestartDockerContainersResponse < TencentCloud::Common::AbstractModel
|
6030
|
+
# @param DockerActivityId: Docker活动ID。
|
6031
|
+
# @type DockerActivityId: String
|
6032
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6033
|
+
# @type RequestId: String
|
6034
|
+
|
6035
|
+
attr_accessor :DockerActivityId, :RequestId
|
6036
|
+
|
6037
|
+
def initialize(dockeractivityid=nil, requestid=nil)
|
6038
|
+
@DockerActivityId = dockeractivityid
|
6039
|
+
@RequestId = requestid
|
6040
|
+
end
|
6041
|
+
|
6042
|
+
def deserialize(params)
|
6043
|
+
@DockerActivityId = params['DockerActivityId']
|
6044
|
+
@RequestId = params['RequestId']
|
6045
|
+
end
|
6046
|
+
end
|
6047
|
+
|
6048
|
+
# RunDockerContainers请求参数结构体
|
6049
|
+
class RunDockerContainersRequest < TencentCloud::Common::AbstractModel
|
6050
|
+
# @param InstanceId: 实例ID。
|
6051
|
+
# @type InstanceId: String
|
6052
|
+
# @param Containers: 要创建的容器列表。
|
6053
|
+
# @type Containers: Array
|
6054
|
+
|
6055
|
+
attr_accessor :InstanceId, :Containers
|
6056
|
+
|
6057
|
+
def initialize(instanceid=nil, containers=nil)
|
6058
|
+
@InstanceId = instanceid
|
6059
|
+
@Containers = containers
|
6060
|
+
end
|
6061
|
+
|
6062
|
+
def deserialize(params)
|
6063
|
+
@InstanceId = params['InstanceId']
|
6064
|
+
unless params['Containers'].nil?
|
6065
|
+
@Containers = []
|
6066
|
+
params['Containers'].each do |i|
|
6067
|
+
dockercontainerconfiguration_tmp = DockerContainerConfiguration.new
|
6068
|
+
dockercontainerconfiguration_tmp.deserialize(i)
|
6069
|
+
@Containers << dockercontainerconfiguration_tmp
|
6070
|
+
end
|
6071
|
+
end
|
6072
|
+
end
|
6073
|
+
end
|
6074
|
+
|
6075
|
+
# RunDockerContainers返回参数结构体
|
6076
|
+
class RunDockerContainersResponse < TencentCloud::Common::AbstractModel
|
6077
|
+
# @param DockerActivitySet: Docker活动ID列表。
|
6078
|
+
# @type DockerActivitySet: Array
|
6079
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6080
|
+
# @type RequestId: String
|
6081
|
+
|
6082
|
+
attr_accessor :DockerActivitySet, :RequestId
|
6083
|
+
|
6084
|
+
def initialize(dockeractivityset=nil, requestid=nil)
|
6085
|
+
@DockerActivitySet = dockeractivityset
|
6086
|
+
@RequestId = requestid
|
6087
|
+
end
|
6088
|
+
|
6089
|
+
def deserialize(params)
|
6090
|
+
@DockerActivitySet = params['DockerActivitySet']
|
6091
|
+
@RequestId = params['RequestId']
|
6092
|
+
end
|
6093
|
+
end
|
6094
|
+
|
5452
6095
|
# 使用场景信息
|
5453
6096
|
class Scene < TencentCloud::Common::AbstractModel
|
5454
6097
|
# @param SceneId: 使用场景Id
|
@@ -5655,6 +6298,46 @@ module TencentCloud
|
|
5655
6298
|
end
|
5656
6299
|
end
|
5657
6300
|
|
6301
|
+
# StartDockerContainers请求参数结构体
|
6302
|
+
class StartDockerContainersRequest < TencentCloud::Common::AbstractModel
|
6303
|
+
# @param InstanceId: 实例ID。
|
6304
|
+
# @type InstanceId: String
|
6305
|
+
# @param ContainerIds: 容器ID列表。
|
6306
|
+
# @type ContainerIds: Array
|
6307
|
+
|
6308
|
+
attr_accessor :InstanceId, :ContainerIds
|
6309
|
+
|
6310
|
+
def initialize(instanceid=nil, containerids=nil)
|
6311
|
+
@InstanceId = instanceid
|
6312
|
+
@ContainerIds = containerids
|
6313
|
+
end
|
6314
|
+
|
6315
|
+
def deserialize(params)
|
6316
|
+
@InstanceId = params['InstanceId']
|
6317
|
+
@ContainerIds = params['ContainerIds']
|
6318
|
+
end
|
6319
|
+
end
|
6320
|
+
|
6321
|
+
# StartDockerContainers返回参数结构体
|
6322
|
+
class StartDockerContainersResponse < TencentCloud::Common::AbstractModel
|
6323
|
+
# @param DockerActivityId: Docker活动ID。
|
6324
|
+
# @type DockerActivityId: String
|
6325
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6326
|
+
# @type RequestId: String
|
6327
|
+
|
6328
|
+
attr_accessor :DockerActivityId, :RequestId
|
6329
|
+
|
6330
|
+
def initialize(dockeractivityid=nil, requestid=nil)
|
6331
|
+
@DockerActivityId = dockeractivityid
|
6332
|
+
@RequestId = requestid
|
6333
|
+
end
|
6334
|
+
|
6335
|
+
def deserialize(params)
|
6336
|
+
@DockerActivityId = params['DockerActivityId']
|
6337
|
+
@RequestId = params['RequestId']
|
6338
|
+
end
|
6339
|
+
end
|
6340
|
+
|
5658
6341
|
# StartInstances请求参数结构体
|
5659
6342
|
class StartInstancesRequest < TencentCloud::Common::AbstractModel
|
5660
6343
|
# @param InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
@@ -5687,6 +6370,46 @@ module TencentCloud
|
|
5687
6370
|
end
|
5688
6371
|
end
|
5689
6372
|
|
6373
|
+
# StopDockerContainers请求参数结构体
|
6374
|
+
class StopDockerContainersRequest < TencentCloud::Common::AbstractModel
|
6375
|
+
# @param InstanceId: 实例ID。
|
6376
|
+
# @type InstanceId: String
|
6377
|
+
# @param ContainerIds: 容器ID列表。
|
6378
|
+
# @type ContainerIds: Array
|
6379
|
+
|
6380
|
+
attr_accessor :InstanceId, :ContainerIds
|
6381
|
+
|
6382
|
+
def initialize(instanceid=nil, containerids=nil)
|
6383
|
+
@InstanceId = instanceid
|
6384
|
+
@ContainerIds = containerids
|
6385
|
+
end
|
6386
|
+
|
6387
|
+
def deserialize(params)
|
6388
|
+
@InstanceId = params['InstanceId']
|
6389
|
+
@ContainerIds = params['ContainerIds']
|
6390
|
+
end
|
6391
|
+
end
|
6392
|
+
|
6393
|
+
# StopDockerContainers返回参数结构体
|
6394
|
+
class StopDockerContainersResponse < TencentCloud::Common::AbstractModel
|
6395
|
+
# @param DockerActivityId: Docker活动ID。
|
6396
|
+
# @type DockerActivityId: String
|
6397
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6398
|
+
# @type RequestId: String
|
6399
|
+
|
6400
|
+
attr_accessor :DockerActivityId, :RequestId
|
6401
|
+
|
6402
|
+
def initialize(dockeractivityid=nil, requestid=nil)
|
6403
|
+
@DockerActivityId = dockeractivityid
|
6404
|
+
@RequestId = requestid
|
6405
|
+
end
|
6406
|
+
|
6407
|
+
def deserialize(params)
|
6408
|
+
@DockerActivityId = params['DockerActivityId']
|
6409
|
+
@RequestId = params['RequestId']
|
6410
|
+
end
|
6411
|
+
end
|
6412
|
+
|
5690
6413
|
# StopInstances请求参数结构体
|
5691
6414
|
class StopInstancesRequest < TencentCloud::Common::AbstractModel
|
5692
6415
|
# @param InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
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.
|
4
|
+
version: 3.0.620
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|