tencentcloud-sdk-oceanus 3.0.681 → 3.0.682

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: f9ca3a5d0efc9aa6aad530a9af8557971a374136
4
- data.tar.gz: 0a5f24bd6afed2012aebb7356050c2af260e2d59
3
+ metadata.gz: 6c3afa8a152e85520bd1573e28660733eab49b37
4
+ data.tar.gz: 3ab7e1a6d308dde55555cd80dbfa4b3162b2154f
5
5
  SHA512:
6
- metadata.gz: 3058fe316671bc924daee3e7ae9425128c0c2ce59d3d933741edd2d151e172ac41470b2623fbd8dc8e80d33135c40c0677189fa42b3f52b76423fa30d2039343
7
- data.tar.gz: ea1f7ca8092ab27b69551da8a1f2e52b8074973fb6883e04d6a143a725cf3a42aaa22ef6bf3d62309d6ca1c63a5a5f266a9b9672788ab30b9244391976495a37
6
+ metadata.gz: 90750c0f1563aa70684f2cf1783fe7a066081c294310a84ba004c844650ff7a2d822edea614133aad8ed22c2bb123b5362fcabeb7d43a38daf92091d35005bf0
7
+ data.tar.gz: 15af5c8d13b991ace748620df0eff70a1d3579a3c6b9ab9b19475f1acde9aadc7333a363779d3f84c2738a83f6f91008764cbb23ce35a7ebc18c809c4b3e565f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.681
1
+ 3.0.682
@@ -365,6 +365,30 @@ module TencentCloud
365
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
366
  end
367
367
 
368
+ # 删除工作空间
369
+
370
+ # @param request: Request instance for DeleteWorkSpace.
371
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::DeleteWorkSpaceRequest`
372
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::DeleteWorkSpaceResponse`
373
+ def DeleteWorkSpace(request)
374
+ body = send_request('DeleteWorkSpace', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DeleteWorkSpaceResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
368
392
  # 查询集群
369
393
 
370
394
  # @param request: Request instance for DescribeClusters.
@@ -452,12 +452,85 @@ module TencentCloud
452
452
 
453
453
  # session集群信息
454
454
  class ClusterSession < TencentCloud::Common::AbstractModel
455
+ # @param ClusterGroupSerialId: 集群SerialId
456
+ # @type ClusterGroupSerialId: String
457
+ # @param AppId: 创建者appId
458
+ # @type AppId: Integer
459
+ # @param OwnerUin: 创建者主账号
460
+ # @type OwnerUin: String
461
+ # @param CreatorUin: 创建者账号
462
+ # @type CreatorUin: String
463
+ # @param Region: 区域
464
+ # @type Region: String
465
+ # @param Zone: zone
466
+ # @type Zone: String
467
+ # @param Status: Session集群状态
468
+ # @type Status: Integer
469
+ # @param CuNum: Session集群消耗的cu数量
470
+ # @type CuNum: Float
471
+ # @param FlinkVersion: Session集群的Flink版本
472
+ # @type FlinkVersion: String
473
+ # @param WebUIUrl: session集群FlinkUi地址
474
+ # @type WebUIUrl: String
475
+ # @param Properties: session集群高级参数
476
+ # 注意:此字段可能返回 null,表示取不到有效值。
477
+ # @type Properties: Array
478
+ # @param JobManagerCuSpec: JobManager的规格
479
+ # @type JobManagerCuSpec: Float
480
+ # @param TaskManagerCuSpec: TaskManager的规格
481
+ # @type TaskManagerCuSpec: Float
482
+ # @param TaskManagerNum: TaskManager启动的数量
483
+ # @type TaskManagerNum: Integer
484
+ # @param CreateTime: 创建时间
485
+ # @type CreateTime: String
486
+ # @param UpdateTime: 更新时间
487
+ # @type UpdateTime: String
455
488
 
489
+ attr_accessor :ClusterGroupSerialId, :AppId, :OwnerUin, :CreatorUin, :Region, :Zone, :Status, :CuNum, :FlinkVersion, :WebUIUrl, :Properties, :JobManagerCuSpec, :TaskManagerCuSpec, :TaskManagerNum, :CreateTime, :UpdateTime
456
490
 
457
- def initialize()
491
+ def initialize(clustergroupserialid=nil, appid=nil, owneruin=nil, creatoruin=nil, region=nil, zone=nil, status=nil, cunum=nil, flinkversion=nil, webuiurl=nil, properties=nil, jobmanagercuspec=nil, taskmanagercuspec=nil, taskmanagernum=nil, createtime=nil, updatetime=nil)
492
+ @ClusterGroupSerialId = clustergroupserialid
493
+ @AppId = appid
494
+ @OwnerUin = owneruin
495
+ @CreatorUin = creatoruin
496
+ @Region = region
497
+ @Zone = zone
498
+ @Status = status
499
+ @CuNum = cunum
500
+ @FlinkVersion = flinkversion
501
+ @WebUIUrl = webuiurl
502
+ @Properties = properties
503
+ @JobManagerCuSpec = jobmanagercuspec
504
+ @TaskManagerCuSpec = taskmanagercuspec
505
+ @TaskManagerNum = taskmanagernum
506
+ @CreateTime = createtime
507
+ @UpdateTime = updatetime
458
508
  end
459
509
 
460
510
  def deserialize(params)
511
+ @ClusterGroupSerialId = params['ClusterGroupSerialId']
512
+ @AppId = params['AppId']
513
+ @OwnerUin = params['OwnerUin']
514
+ @CreatorUin = params['CreatorUin']
515
+ @Region = params['Region']
516
+ @Zone = params['Zone']
517
+ @Status = params['Status']
518
+ @CuNum = params['CuNum']
519
+ @FlinkVersion = params['FlinkVersion']
520
+ @WebUIUrl = params['WebUIUrl']
521
+ unless params['Properties'].nil?
522
+ @Properties = []
523
+ params['Properties'].each do |i|
524
+ property_tmp = Property.new
525
+ property_tmp.deserialize(i)
526
+ @Properties << property_tmp
527
+ end
528
+ end
529
+ @JobManagerCuSpec = params['JobManagerCuSpec']
530
+ @TaskManagerCuSpec = params['TaskManagerCuSpec']
531
+ @TaskManagerNum = params['TaskManagerNum']
532
+ @CreateTime = params['CreateTime']
533
+ @UpdateTime = params['UpdateTime']
461
534
  end
462
535
  end
463
536
 
@@ -1310,6 +1383,42 @@ module TencentCloud
1310
1383
  end
1311
1384
  end
1312
1385
 
1386
+ # DeleteWorkSpace请求参数结构体
1387
+ class DeleteWorkSpaceRequest < TencentCloud::Common::AbstractModel
1388
+ # @param WorkSpaceId: 工作空间 SerialId
1389
+ # @type WorkSpaceId: String
1390
+
1391
+ attr_accessor :WorkSpaceId
1392
+
1393
+ def initialize(workspaceid=nil)
1394
+ @WorkSpaceId = workspaceid
1395
+ end
1396
+
1397
+ def deserialize(params)
1398
+ @WorkSpaceId = params['WorkSpaceId']
1399
+ end
1400
+ end
1401
+
1402
+ # DeleteWorkSpace返回参数结构体
1403
+ class DeleteWorkSpaceResponse < TencentCloud::Common::AbstractModel
1404
+ # @param Delete: 是否删除
1405
+ # @type Delete: Boolean
1406
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1407
+ # @type RequestId: String
1408
+
1409
+ attr_accessor :Delete, :RequestId
1410
+
1411
+ def initialize(delete=nil, requestid=nil)
1412
+ @Delete = delete
1413
+ @RequestId = requestid
1414
+ end
1415
+
1416
+ def deserialize(params)
1417
+ @Delete = params['Delete']
1418
+ @RequestId = params['RequestId']
1419
+ end
1420
+ end
1421
+
1313
1422
  # DescribeClusters请求参数结构体
1314
1423
  class DescribeClustersRequest < TencentCloud::Common::AbstractModel
1315
1424
  # @param ClusterIds: 按照一个或者多个集群 ID 查询,每次请求的集群上限为 100
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-oceanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.681
4
+ version: 3.0.682
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-10-20 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-oceanus.rb
36
37
  - lib/v20190422/client.rb
37
38
  - lib/v20190422/models.rb
38
- - lib/tencentcloud-sdk-oceanus.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: