tencentcloud-sdk-tem 1.0.227 → 1.0.228

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6575320afa152f79a89197bae2a4bf277bb79cd
4
- data.tar.gz: 863e4bb252f93d702a370838dff8c02503e10e80
3
+ metadata.gz: 5864fb866a1a8b747240011880cb57afc564632d
4
+ data.tar.gz: a3f4d0c378d82d83acf034e9c51f232ff06ddcf2
5
5
  SHA512:
6
- metadata.gz: d6c39d4c758f5aaf72ee2f157de8ee978888bcf69bed1da12489c5ebe9691b155bb874d0e1ee0a8f717216f4bf8f2546388bd3131f94ed21a20902eecc60263a
7
- data.tar.gz: 76ac79984c7f7cdf2e6df5ae21372d145169df66059db6457f02a0321b677183b40f32f81fa1dd034e3a8d37a519d6ab81d18364bffd4228a7b66589bfc089cd
6
+ metadata.gz: 0fa06b09a78feda8ac0ce48db2ad23bb82af4ed152640bd57a03955c47e8d7df2036f627e8f263e07c67ac6af5772c457ac40ef5770311ff76292ef27219ccf6
7
+ data.tar.gz: 73202cc721a6308127baa564e4e9fd6f9a51c2ea03d155df0370264f51cf13d84050a00743d9a0fdd1609595810f60a89c3f05a1507974b6b5a00a0f82ca592a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.227
1
+ 1.0.228
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 更新应用部署版本
513
+
514
+ # @param request: Request instance for RollingUpdateApplicationByVersion.
515
+ # @type request: :class:`Tencentcloud::tem::V20210701::RollingUpdateApplicationByVersionRequest`
516
+ # @rtype: :class:`Tencentcloud::tem::V20210701::RollingUpdateApplicationByVersionResponse`
517
+ def RollingUpdateApplicationByVersion(request)
518
+ body = send_request('RollingUpdateApplicationByVersion', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = RollingUpdateApplicationByVersionResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
 
513
537
  end
514
538
  end
@@ -2071,6 +2071,58 @@ module TencentCloud
2071
2071
  end
2072
2072
  end
2073
2073
 
2074
+ # RollingUpdateApplicationByVersion请求参数结构体
2075
+ class RollingUpdateApplicationByVersionRequest < TencentCloud::Common::AbstractModel
2076
+ # @param ApplicationId: 应用ID
2077
+ # @type ApplicationId: String
2078
+ # @param EnvironmentId: 环境ID
2079
+ # @type EnvironmentId: String
2080
+ # @param DeployVersion: 更新版本,IMAGE 部署为 tag 值;JAR/WAR 部署 为 Version
2081
+ # @type DeployVersion: String
2082
+ # @param PackageName: JAR/WAR 包名,仅 JAR/WAR 部署时必填
2083
+ # @type PackageName: String
2084
+ # @param From: 请求来源平台,含 IntelliJ,Coding
2085
+ # @type From: String
2086
+
2087
+ attr_accessor :ApplicationId, :EnvironmentId, :DeployVersion, :PackageName, :From
2088
+
2089
+ def initialize(applicationid=nil, environmentid=nil, deployversion=nil, packagename=nil, from=nil)
2090
+ @ApplicationId = applicationid
2091
+ @EnvironmentId = environmentid
2092
+ @DeployVersion = deployversion
2093
+ @PackageName = packagename
2094
+ @From = from
2095
+ end
2096
+
2097
+ def deserialize(params)
2098
+ @ApplicationId = params['ApplicationId']
2099
+ @EnvironmentId = params['EnvironmentId']
2100
+ @DeployVersion = params['DeployVersion']
2101
+ @PackageName = params['PackageName']
2102
+ @From = params['From']
2103
+ end
2104
+ end
2105
+
2106
+ # RollingUpdateApplicationByVersion返回参数结构体
2107
+ class RollingUpdateApplicationByVersionResponse < TencentCloud::Common::AbstractModel
2108
+ # @param Result: 版本ID
2109
+ # @type Result: String
2110
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2111
+ # @type RequestId: String
2112
+
2113
+ attr_accessor :Result, :RequestId
2114
+
2115
+ def initialize(result=nil, requestid=nil)
2116
+ @Result = result
2117
+ @RequestId = requestid
2118
+ end
2119
+
2120
+ def deserialize(params)
2121
+ @Result = params['Result']
2122
+ @RequestId = params['RequestId']
2123
+ end
2124
+ end
2125
+
2074
2126
  # 应用实例
2075
2127
  class RunVersionPod < TencentCloud::Common::AbstractModel
2076
2128
  # @param Webshell: shell地址
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.227
4
+ version: 1.0.228
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common