tencentcloud-sdk-tsf 3.0.553 → 3.0.554

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: f7116924cf0f222937a14f1eb36f661c5ba03535
4
- data.tar.gz: 884333cb71d3890c84aaf5345c9d6b2a440c6609
3
+ metadata.gz: d3b5573d5b4776a5a6381b18153b33e7402828ea
4
+ data.tar.gz: 00d4015888463357c9fd4220eb7ec0a90534a4ac
5
5
  SHA512:
6
- metadata.gz: 84f3b31c019654ffa0111d1bfd8dc3c1c88a9440abeb31261232de5797ecd4f72603ac50f392bbfb51ecaa1d325f6a0a74702f4fd0ce6160375ad12927c71b19
7
- data.tar.gz: 86963ace14367e403efbe81cf667c275537335f79af20b495402d6e4b6ffca525f281b7d65686bee15a81397589799ffe9815ce58b6d52352e451e33105b2f30
6
+ metadata.gz: 021deece04a7b88c8aa8a65ebe7c317cd2e38abe25cdf820a6dcb8205aa2fe58fdd37b9a37a225cadb36b08aea4dec56e73e314c8c1b15c543ed255ab9428e73
7
+ data.tar.gz: 2b667e88de54a252c8baedd6598b7a3c281fa84c449c3a4506f18b1f2cabc6762385473bd7e6ab7ec1e8ad6337d731c18a4fa8dc9976a1920eb4f39baaed46b5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.553
1
+ 3.0.554
@@ -437,6 +437,30 @@ module TencentCloud
437
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
438
  end
439
439
 
440
+ # 创建配置项,返回详细信息
441
+
442
+ # @param request: Request instance for CreateConfigWithDetailResp.
443
+ # @type request: :class:`Tencentcloud::tsf::V20180326::CreateConfigWithDetailRespRequest`
444
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::CreateConfigWithDetailRespResponse`
445
+ def CreateConfigWithDetailResp(request)
446
+ body = send_request('CreateConfigWithDetailResp', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = CreateConfigWithDetailRespResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
440
464
  # (已废弃,请使用 CreateGroup 和 DeployContainerGroup 创建和部署容器部署组)创建容器部署组
441
465
 
442
466
  # @param request: Request instance for CreateContainGroup.
@@ -485,6 +509,30 @@ module TencentCloud
485
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
510
  end
487
511
 
512
+ # 创建文件配置项,返回详细信息
513
+
514
+ # @param request: Request instance for CreateFileConfigWithDetailResp.
515
+ # @type request: :class:`Tencentcloud::tsf::V20180326::CreateFileConfigWithDetailRespRequest`
516
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::CreateFileConfigWithDetailRespResponse`
517
+ def CreateFileConfigWithDetailResp(request)
518
+ body = send_request('CreateFileConfigWithDetailResp', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = CreateFileConfigWithDetailRespResponse.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
+
488
536
  # 批量导入API至api分组(也支持新建API到分组)
489
537
 
490
538
  # @param request: Request instance for CreateGatewayApi.
@@ -3376,6 +3376,74 @@ module TencentCloud
3376
3376
  end
3377
3377
  end
3378
3378
 
3379
+ # CreateConfigWithDetailResp请求参数结构体
3380
+ class CreateConfigWithDetailRespRequest < TencentCloud::Common::AbstractModel
3381
+ # @param ConfigName: 配置项名称
3382
+ # @type ConfigName: String
3383
+ # @param ConfigVersion: 配置项版本
3384
+ # @type ConfigVersion: String
3385
+ # @param ConfigValue: 配置项值
3386
+ # @type ConfigValue: String
3387
+ # @param ApplicationId: 应用ID
3388
+ # @type ApplicationId: String
3389
+ # @param ConfigVersionDesc: 配置项版本描述
3390
+ # @type ConfigVersionDesc: String
3391
+ # @param ConfigType: 配置项值类型
3392
+ # @type ConfigType: String
3393
+ # @param EncodeWithBase64: Base64编码的配置项
3394
+ # @type EncodeWithBase64: Boolean
3395
+ # @param ProgramIdList: 无
3396
+ # @type ProgramIdList: Array
3397
+
3398
+ attr_accessor :ConfigName, :ConfigVersion, :ConfigValue, :ApplicationId, :ConfigVersionDesc, :ConfigType, :EncodeWithBase64, :ProgramIdList
3399
+
3400
+ def initialize(configname=nil, configversion=nil, configvalue=nil, applicationid=nil, configversiondesc=nil, configtype=nil, encodewithbase64=nil, programidlist=nil)
3401
+ @ConfigName = configname
3402
+ @ConfigVersion = configversion
3403
+ @ConfigValue = configvalue
3404
+ @ApplicationId = applicationid
3405
+ @ConfigVersionDesc = configversiondesc
3406
+ @ConfigType = configtype
3407
+ @EncodeWithBase64 = encodewithbase64
3408
+ @ProgramIdList = programidlist
3409
+ end
3410
+
3411
+ def deserialize(params)
3412
+ @ConfigName = params['ConfigName']
3413
+ @ConfigVersion = params['ConfigVersion']
3414
+ @ConfigValue = params['ConfigValue']
3415
+ @ApplicationId = params['ApplicationId']
3416
+ @ConfigVersionDesc = params['ConfigVersionDesc']
3417
+ @ConfigType = params['ConfigType']
3418
+ @EncodeWithBase64 = params['EncodeWithBase64']
3419
+ @ProgramIdList = params['ProgramIdList']
3420
+ end
3421
+ end
3422
+
3423
+ # CreateConfigWithDetailResp返回参数结构体
3424
+ class CreateConfigWithDetailRespResponse < TencentCloud::Common::AbstractModel
3425
+ # @param Result: 配置项
3426
+ # 注意:此字段可能返回 null,表示取不到有效值。
3427
+ # @type Result: :class:`Tencentcloud::Tsf.v20180326.models.Config`
3428
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3429
+ # @type RequestId: String
3430
+
3431
+ attr_accessor :Result, :RequestId
3432
+
3433
+ def initialize(result=nil, requestid=nil)
3434
+ @Result = result
3435
+ @RequestId = requestid
3436
+ end
3437
+
3438
+ def deserialize(params)
3439
+ unless params['Result'].nil?
3440
+ @Result = Config.new
3441
+ @Result.deserialize(params['Result'])
3442
+ end
3443
+ @RequestId = params['RequestId']
3444
+ end
3445
+ end
3446
+
3379
3447
  # CreateContainGroup请求参数结构体
3380
3448
  class CreateContainGroupRequest < TencentCloud::Common::AbstractModel
3381
3449
  # @param ApplicationId: 分组所属应用ID
@@ -3588,6 +3656,86 @@ module TencentCloud
3588
3656
  end
3589
3657
  end
3590
3658
 
3659
+ # CreateFileConfigWithDetailResp请求参数结构体
3660
+ class CreateFileConfigWithDetailRespRequest < TencentCloud::Common::AbstractModel
3661
+ # @param ConfigName: 配置项名称
3662
+ # @type ConfigName: String
3663
+ # @param ConfigVersion: 配置项版本
3664
+ # @type ConfigVersion: String
3665
+ # @param ConfigFileName: 配置项文件名
3666
+ # @type ConfigFileName: String
3667
+ # @param ConfigFileValue: 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)
3668
+ # @type ConfigFileValue: String
3669
+ # @param ApplicationId: 配置项关联应用ID
3670
+ # @type ApplicationId: String
3671
+ # @param ConfigFilePath: 发布路径
3672
+ # @type ConfigFilePath: String
3673
+ # @param ConfigVersionDesc: 配置项版本描述
3674
+ # @type ConfigVersionDesc: String
3675
+ # @param ConfigFileCode: 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持
3676
+ # @type ConfigFileCode: String
3677
+ # @param ConfigPostCmd: 后置命令
3678
+ # @type ConfigPostCmd: String
3679
+ # @param EncodeWithBase64: Base64编码的配置项
3680
+ # @type EncodeWithBase64: Boolean
3681
+ # @param ProgramIdList: 无
3682
+ # @type ProgramIdList: Array
3683
+
3684
+ attr_accessor :ConfigName, :ConfigVersion, :ConfigFileName, :ConfigFileValue, :ApplicationId, :ConfigFilePath, :ConfigVersionDesc, :ConfigFileCode, :ConfigPostCmd, :EncodeWithBase64, :ProgramIdList
3685
+
3686
+ def initialize(configname=nil, configversion=nil, configfilename=nil, configfilevalue=nil, applicationid=nil, configfilepath=nil, configversiondesc=nil, configfilecode=nil, configpostcmd=nil, encodewithbase64=nil, programidlist=nil)
3687
+ @ConfigName = configname
3688
+ @ConfigVersion = configversion
3689
+ @ConfigFileName = configfilename
3690
+ @ConfigFileValue = configfilevalue
3691
+ @ApplicationId = applicationid
3692
+ @ConfigFilePath = configfilepath
3693
+ @ConfigVersionDesc = configversiondesc
3694
+ @ConfigFileCode = configfilecode
3695
+ @ConfigPostCmd = configpostcmd
3696
+ @EncodeWithBase64 = encodewithbase64
3697
+ @ProgramIdList = programidlist
3698
+ end
3699
+
3700
+ def deserialize(params)
3701
+ @ConfigName = params['ConfigName']
3702
+ @ConfigVersion = params['ConfigVersion']
3703
+ @ConfigFileName = params['ConfigFileName']
3704
+ @ConfigFileValue = params['ConfigFileValue']
3705
+ @ApplicationId = params['ApplicationId']
3706
+ @ConfigFilePath = params['ConfigFilePath']
3707
+ @ConfigVersionDesc = params['ConfigVersionDesc']
3708
+ @ConfigFileCode = params['ConfigFileCode']
3709
+ @ConfigPostCmd = params['ConfigPostCmd']
3710
+ @EncodeWithBase64 = params['EncodeWithBase64']
3711
+ @ProgramIdList = params['ProgramIdList']
3712
+ end
3713
+ end
3714
+
3715
+ # CreateFileConfigWithDetailResp返回参数结构体
3716
+ class CreateFileConfigWithDetailRespResponse < TencentCloud::Common::AbstractModel
3717
+ # @param Result: 文件配置项
3718
+ # 注意:此字段可能返回 null,表示取不到有效值。
3719
+ # @type Result: :class:`Tencentcloud::Tsf.v20180326.models.FileConfig`
3720
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3721
+ # @type RequestId: String
3722
+
3723
+ attr_accessor :Result, :RequestId
3724
+
3725
+ def initialize(result=nil, requestid=nil)
3726
+ @Result = result
3727
+ @RequestId = requestid
3728
+ end
3729
+
3730
+ def deserialize(params)
3731
+ unless params['Result'].nil?
3732
+ @Result = FileConfig.new
3733
+ @Result.deserialize(params['Result'])
3734
+ end
3735
+ @RequestId = params['RequestId']
3736
+ end
3737
+ end
3738
+
3591
3739
  # CreateGatewayApi请求参数结构体
3592
3740
  class CreateGatewayApiRequest < TencentCloud::Common::AbstractModel
3593
3741
  # @param GroupId: API 分组ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tsf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.553
4
+ version: 3.0.554
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-04-18 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common