tencentcloud-sdk-tem 1.0.228 → 1.0.229

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5864fb866a1a8b747240011880cb57afc564632d
4
- data.tar.gz: a3f4d0c378d82d83acf034e9c51f232ff06ddcf2
3
+ metadata.gz: 395c27ae6cb11d31d01a249a0373b6b7e276edca
4
+ data.tar.gz: 0e8b5d0bc50973963b8dddc8a4af05202873117c
5
5
  SHA512:
6
- metadata.gz: 0fa06b09a78feda8ac0ce48db2ad23bb82af4ed152640bd57a03955c47e8d7df2036f627e8f263e07c67ac6af5772c457ac40ef5770311ff76292ef27219ccf6
7
- data.tar.gz: 73202cc721a6308127baa564e4e9fd6f9a51c2ea03d155df0370264f51cf13d84050a00743d9a0fdd1609595810f60a89c3f05a1507974b6b5a00a0f82ca592a
6
+ metadata.gz: 2b72e1fdbb1b9faee966a402b26cce9b18c5281c5ead51a2e3f76ddbbb2450072b8b4cc0b6866693e552a168150fa68862eb7da29137f0beae52809337bba2af
7
+ data.tar.gz: 043672908da94e59879c9f905dc8d8c2a22e292afd4d95a2a1c2910d78656b83651b7ff17f2ae8acd5a4948e1426e94b3b1c9277f1c849c86a15b541b371a612
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.228
1
+ 1.0.229
@@ -125,6 +125,33 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 服务删除
129
+ # - 停止当前运行服务
130
+ # - 删除服务相关资源
131
+ # - 删除服务
132
+
133
+ # @param request: Request instance for DeleteApplication.
134
+ # @type request: :class:`Tencentcloud::tem::V20210701::DeleteApplicationRequest`
135
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DeleteApplicationResponse`
136
+ def DeleteApplication(request)
137
+ body = send_request('DeleteApplication', request.serialize)
138
+ response = JSON.parse(body)
139
+ if response['Response'].key?('Error') == false
140
+ model = DeleteApplicationResponse.new
141
+ model.deserialize(response['Response'])
142
+ model
143
+ else
144
+ code = response['Response']['Error']['Code']
145
+ message = response['Response']['Error']['Message']
146
+ reqid = response['Response']['RequestId']
147
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
148
+ end
149
+ rescue TencentCloud::Common::TencentCloudSDKException => e
150
+ raise e
151
+ rescue StandardError => e
152
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
153
+ end
154
+
128
155
  # 删除 Ingress 规则
129
156
 
130
157
  # @param request: Request instance for DeleteIngress.
@@ -383,6 +383,54 @@ module TencentCloud
383
383
  end
384
384
  end
385
385
 
386
+ # DeleteApplication请求参数结构体
387
+ class DeleteApplicationRequest < TencentCloud::Common::AbstractModel
388
+ # @param ApplicationId: 服务Id
389
+ # @type ApplicationId: String
390
+ # @param EnvironmentId: 环境ID
391
+ # @type EnvironmentId: String
392
+ # @param SourceChannel: 来源渠道
393
+ # @type SourceChannel: Integer
394
+ # @param DeleteApplicationIfNoRunningVersion: 当服务没有任何运行版本时,是否删除此服务
395
+ # @type DeleteApplicationIfNoRunningVersion: Boolean
396
+
397
+ attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :DeleteApplicationIfNoRunningVersion
398
+
399
+ def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, deleteapplicationifnorunningversion=nil)
400
+ @ApplicationId = applicationid
401
+ @EnvironmentId = environmentid
402
+ @SourceChannel = sourcechannel
403
+ @DeleteApplicationIfNoRunningVersion = deleteapplicationifnorunningversion
404
+ end
405
+
406
+ def deserialize(params)
407
+ @ApplicationId = params['ApplicationId']
408
+ @EnvironmentId = params['EnvironmentId']
409
+ @SourceChannel = params['SourceChannel']
410
+ @DeleteApplicationIfNoRunningVersion = params['DeleteApplicationIfNoRunningVersion']
411
+ end
412
+ end
413
+
414
+ # DeleteApplication返回参数结构体
415
+ class DeleteApplicationResponse < TencentCloud::Common::AbstractModel
416
+ # @param Result: 返回结果
417
+ # @type Result: Boolean
418
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
419
+ # @type RequestId: String
420
+
421
+ attr_accessor :Result, :RequestId
422
+
423
+ def initialize(result=nil, requestid=nil)
424
+ @Result = result
425
+ @RequestId = requestid
426
+ end
427
+
428
+ def deserialize(params)
429
+ @Result = params['Result']
430
+ @RequestId = params['RequestId']
431
+ end
432
+ end
433
+
386
434
  # DeleteIngress请求参数结构体
387
435
  class DeleteIngressRequest < TencentCloud::Common::AbstractModel
388
436
  # @param EnvironmentId: 环境ID
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.228
4
+ version: 1.0.229
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-21 00:00:00.000000000 Z
11
+ date: 2021-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common