tencentcloud-sdk-teo 3.0.711 → 3.0.713

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: 39baa7bbfb8abd043ee13a7bb02b51883418ef1f
4
- data.tar.gz: 1415201d6aa489b4bb1d6c157a426ab81bcdaa06
3
+ metadata.gz: 30b1e8a215a4adb33716e4742ba0bb13418d6e65
4
+ data.tar.gz: aa3de31be9baf0ac6858b07b2bf6faa86b79c77a
5
5
  SHA512:
6
- metadata.gz: e45d3f9e76d63d2ffdbba039551391e953bd431a15605fd543caa1658f9f986efa1b76546e9cc49eafe197f5801a11edd21f6df0ed2edd670111ac8076eee3df
7
- data.tar.gz: 42d8b898200f97cfa5fdb679a58b884c554e58e96f99e8197f70f1a5746af8269675dd9973688a284743c3d2474754127faebe2bd7613d800869a9ad34eb0def
6
+ metadata.gz: 9d735179a4ee3816390f75e0fc9483c55f86f4a83bd0865ec52425c6c744e7350fdc0c15e4c2320468325e661d607107b179b86b16ab18f99cb5e40cb81d7bb7
7
+ data.tar.gz: ecdc7da0c27a9ca2206996f364d8a6f0646e248317dad92c0a36b725b885b7c6d5dcb7c935b18a5472385e35937ad3274569135a778934675194c07d71c19950
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.711
1
+ 3.0.713
@@ -223,6 +223,30 @@ module TencentCloud
223
223
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
224
224
  end
225
225
 
226
+ # 在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
227
+
228
+ # @param request: Request instance for CreateConfigGroupVersion.
229
+ # @type request: :class:`Tencentcloud::teo::V20220901::CreateConfigGroupVersionRequest`
230
+ # @rtype: :class:`Tencentcloud::teo::V20220901::CreateConfigGroupVersionResponse`
231
+ def CreateConfigGroupVersion(request)
232
+ body = send_request('CreateConfigGroupVersion', request.serialize)
233
+ response = JSON.parse(body)
234
+ if response['Response'].key?('Error') == false
235
+ model = CreateConfigGroupVersionResponse.new
236
+ model.deserialize(response['Response'])
237
+ model
238
+ else
239
+ code = response['Response']['Error']['Code']
240
+ message = response['Response']['Error']['Message']
241
+ reqid = response['Response']['RequestId']
242
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
243
+ end
244
+ rescue TencentCloud::Common::TencentCloudSDKException => e
245
+ raise e
246
+ rescue StandardError => e
247
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
248
+ end
249
+
226
250
  # 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
227
251
 
228
252
  # @param request: Request instance for CreateOriginGroup.
@@ -635,6 +659,30 @@ module TencentCloud
635
659
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
636
660
  end
637
661
 
662
+ # 在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
663
+
664
+ # @param request: Request instance for DeployConfigGroupVersion.
665
+ # @type request: :class:`Tencentcloud::teo::V20220901::DeployConfigGroupVersionRequest`
666
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DeployConfigGroupVersionResponse`
667
+ def DeployConfigGroupVersion(request)
668
+ body = send_request('DeployConfigGroupVersion', request.serialize)
669
+ response = JSON.parse(body)
670
+ if response['Response'].key?('Error') == false
671
+ model = DeployConfigGroupVersionResponse.new
672
+ model.deserialize(response['Response'])
673
+ model
674
+ else
675
+ code = response['Response']['Error']['Code']
676
+ message = response['Response']['Error']['Message']
677
+ reqid = response['Response']['RequestId']
678
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
679
+ end
680
+ rescue TencentCloud::Common::TencentCloudSDKException => e
681
+ raise e
682
+ rescue StandardError => e
683
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
684
+ end
685
+
638
686
  # 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
639
687
 
640
688
  # @param request: Request instance for DescribeAccelerationDomains.
@@ -731,6 +779,54 @@ module TencentCloud
731
779
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
732
780
  end
733
781
 
782
+ # 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
783
+
784
+ # @param request: Request instance for DescribeConfigGroupVersionDetail.
785
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeConfigGroupVersionDetailRequest`
786
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeConfigGroupVersionDetailResponse`
787
+ def DescribeConfigGroupVersionDetail(request)
788
+ body = send_request('DescribeConfigGroupVersionDetail', request.serialize)
789
+ response = JSON.parse(body)
790
+ if response['Response'].key?('Error') == false
791
+ model = DescribeConfigGroupVersionDetailResponse.new
792
+ model.deserialize(response['Response'])
793
+ model
794
+ else
795
+ code = response['Response']['Error']['Code']
796
+ message = response['Response']['Error']['Message']
797
+ reqid = response['Response']['RequestId']
798
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
799
+ end
800
+ rescue TencentCloud::Common::TencentCloudSDKException => e
801
+ raise e
802
+ rescue StandardError => e
803
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
804
+ end
805
+
806
+ # 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
807
+
808
+ # @param request: Request instance for DescribeConfigGroupVersions.
809
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeConfigGroupVersionsRequest`
810
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeConfigGroupVersionsResponse`
811
+ def DescribeConfigGroupVersions(request)
812
+ body = send_request('DescribeConfigGroupVersions', request.serialize)
813
+ response = JSON.parse(body)
814
+ if response['Response'].key?('Error') == false
815
+ model = DescribeConfigGroupVersionsResponse.new
816
+ model.deserialize(response['Response'])
817
+ model
818
+ else
819
+ code = response['Response']['Error']['Code']
820
+ message = response['Response']['Error']['Message']
821
+ reqid = response['Response']['RequestId']
822
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
823
+ end
824
+ rescue TencentCloud::Common::TencentCloudSDKException => e
825
+ raise e
826
+ rescue StandardError => e
827
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
828
+ end
829
+
734
830
  # 查询内容管理接口配额
735
831
 
736
832
  # @param request: Request instance for DescribeContentQuota.
@@ -851,6 +947,54 @@ module TencentCloud
851
947
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
852
948
  end
853
949
 
950
+ # 在版本管理模式下,用于查询生产/测试环境的版本发布历史。版本管理功能内测中,当前仅白名单开放。
951
+
952
+ # @param request: Request instance for DescribeDeployHistory.
953
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDeployHistoryRequest`
954
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDeployHistoryResponse`
955
+ def DescribeDeployHistory(request)
956
+ body = send_request('DescribeDeployHistory', request.serialize)
957
+ response = JSON.parse(body)
958
+ if response['Response'].key?('Error') == false
959
+ model = DescribeDeployHistoryResponse.new
960
+ model.deserialize(response['Response'])
961
+ model
962
+ else
963
+ code = response['Response']['Error']['Code']
964
+ message = response['Response']['Error']['Message']
965
+ reqid = response['Response']['RequestId']
966
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
967
+ end
968
+ rescue TencentCloud::Common::TencentCloudSDKException => e
969
+ raise e
970
+ rescue StandardError => e
971
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
972
+ end
973
+
974
+ # 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
975
+
976
+ # @param request: Request instance for DescribeEnvironments.
977
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeEnvironmentsRequest`
978
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeEnvironmentsResponse`
979
+ def DescribeEnvironments(request)
980
+ body = send_request('DescribeEnvironments', request.serialize)
981
+ response = JSON.parse(body)
982
+ if response['Response'].key?('Error') == false
983
+ model = DescribeEnvironmentsResponse.new
984
+ model.deserialize(response['Response'])
985
+ model
986
+ else
987
+ code = response['Response']['Error']['Code']
988
+ message = response['Response']['Error']['Message']
989
+ reqid = response['Response']['RequestId']
990
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
991
+ end
992
+ rescue TencentCloud::Common::TencentCloudSDKException => e
993
+ raise e
994
+ rescue StandardError => e
995
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
996
+ end
997
+
854
998
  # 用于查询域名配置信息
855
999
 
856
1000
  # @param request: Request instance for DescribeHostsSetting.
@@ -1765,6 +1765,51 @@ module TencentCloud
1765
1765
  end
1766
1766
  end
1767
1767
 
1768
+ # 配置组版本信息。
1769
+ class ConfigGroupVersionInfo < TencentCloud::Common::AbstractModel
1770
+ # @param VersionId: 版本 ID。
1771
+ # @type VersionId: String
1772
+ # @param VersionNumber: 版本号。
1773
+ # @type VersionNumber: String
1774
+ # @param GroupId: 配置组 ID。
1775
+ # @type GroupId: String
1776
+ # @param GroupType: 配置组类型。取值有:
1777
+ # <li>l7_acceleration :七层加速配置组。</li>
1778
+ # <li>edge_functions :边缘函数配置组。</li>
1779
+ # @type GroupType: String
1780
+ # @param Description: 版本描述。
1781
+ # @type Description: String
1782
+ # @param Status: 版本状态,取值有:
1783
+ # <li>creating:创建中;</li>
1784
+ # <li>inactive:未生效;</li>
1785
+ # <li>active:已生效。</li>
1786
+ # @type Status: String
1787
+ # @param CreateTime: 版本创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
1788
+ # @type CreateTime: String
1789
+
1790
+ attr_accessor :VersionId, :VersionNumber, :GroupId, :GroupType, :Description, :Status, :CreateTime
1791
+
1792
+ def initialize(versionid=nil, versionnumber=nil, groupid=nil, grouptype=nil, description=nil, status=nil, createtime=nil)
1793
+ @VersionId = versionid
1794
+ @VersionNumber = versionnumber
1795
+ @GroupId = groupid
1796
+ @GroupType = grouptype
1797
+ @Description = description
1798
+ @Status = status
1799
+ @CreateTime = createtime
1800
+ end
1801
+
1802
+ def deserialize(params)
1803
+ @VersionId = params['VersionId']
1804
+ @VersionNumber = params['VersionNumber']
1805
+ @GroupId = params['GroupId']
1806
+ @GroupType = params['GroupType']
1807
+ @Description = params['Description']
1808
+ @Status = params['Status']
1809
+ @CreateTime = params['CreateTime']
1810
+ end
1811
+ end
1812
+
1768
1813
  # CreateAccelerationDomain请求参数结构体
1769
1814
  class CreateAccelerationDomainRequest < TencentCloud::Common::AbstractModel
1770
1815
  # @param ZoneId: 加速域名所属站点 ID。
@@ -2079,6 +2124,54 @@ module TencentCloud
2079
2124
  end
2080
2125
  end
2081
2126
 
2127
+ # CreateConfigGroupVersion请求参数结构体
2128
+ class CreateConfigGroupVersionRequest < TencentCloud::Common::AbstractModel
2129
+ # @param ZoneId: 站点 ID。
2130
+ # @type ZoneId: String
2131
+ # @param GroupId: 待新建版本的配置组 ID。
2132
+ # @type GroupId: String
2133
+ # @param Content: 待导入的配置内容。要求采用 JSON 格式,按照 UTF-8 方式进行编码。配置文件内容可参考下方示例。
2134
+ # @type Content: String
2135
+ # @param Description: 版本描述,可输入最大长度为 50 个字符,可以通过本字段填写该版本的使用场景等。
2136
+ # @type Description: String
2137
+
2138
+ attr_accessor :ZoneId, :GroupId, :Content, :Description
2139
+
2140
+ def initialize(zoneid=nil, groupid=nil, content=nil, description=nil)
2141
+ @ZoneId = zoneid
2142
+ @GroupId = groupid
2143
+ @Content = content
2144
+ @Description = description
2145
+ end
2146
+
2147
+ def deserialize(params)
2148
+ @ZoneId = params['ZoneId']
2149
+ @GroupId = params['GroupId']
2150
+ @Content = params['Content']
2151
+ @Description = params['Description']
2152
+ end
2153
+ end
2154
+
2155
+ # CreateConfigGroupVersion返回参数结构体
2156
+ class CreateConfigGroupVersionResponse < TencentCloud::Common::AbstractModel
2157
+ # @param VersionId: 版本 ID。
2158
+ # @type VersionId: String
2159
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2160
+ # @type RequestId: String
2161
+
2162
+ attr_accessor :VersionId, :RequestId
2163
+
2164
+ def initialize(versionid=nil, requestid=nil)
2165
+ @VersionId = versionid
2166
+ @RequestId = requestid
2167
+ end
2168
+
2169
+ def deserialize(params)
2170
+ @VersionId = params['VersionId']
2171
+ @RequestId = params['RequestId']
2172
+ end
2173
+ end
2174
+
2082
2175
  # CreateOriginGroup请求参数结构体
2083
2176
  class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
2084
2177
  # @param ZoneId: 站点 ID
@@ -3097,6 +3190,108 @@ module TencentCloud
3097
3190
  end
3098
3191
  end
3099
3192
 
3193
+ # DeployConfigGroupVersion请求参数结构体
3194
+ class DeployConfigGroupVersionRequest < TencentCloud::Common::AbstractModel
3195
+ # @param ZoneId: 站点 ID。
3196
+ # @type ZoneId: String
3197
+ # @param EnvId: 环境 ID。请填写版本需要发布到的环境 ID。
3198
+ # @type EnvId: String
3199
+ # @param ConfigGroupVersionInfos: 需要发布的版本信息。可以同时变更多个不同配置组的版本,每个配置组一次仅支持变更一个版本。
3200
+ # @type ConfigGroupVersionInfos: Array
3201
+ # @param Description: 变更说明。用于描述此次变更的内容、原因,最大支持 100 个字符。
3202
+ # @type Description: String
3203
+
3204
+ attr_accessor :ZoneId, :EnvId, :ConfigGroupVersionInfos, :Description
3205
+
3206
+ def initialize(zoneid=nil, envid=nil, configgroupversioninfos=nil, description=nil)
3207
+ @ZoneId = zoneid
3208
+ @EnvId = envid
3209
+ @ConfigGroupVersionInfos = configgroupversioninfos
3210
+ @Description = description
3211
+ end
3212
+
3213
+ def deserialize(params)
3214
+ @ZoneId = params['ZoneId']
3215
+ @EnvId = params['EnvId']
3216
+ unless params['ConfigGroupVersionInfos'].nil?
3217
+ @ConfigGroupVersionInfos = []
3218
+ params['ConfigGroupVersionInfos'].each do |i|
3219
+ configgroupversioninfo_tmp = ConfigGroupVersionInfo.new
3220
+ configgroupversioninfo_tmp.deserialize(i)
3221
+ @ConfigGroupVersionInfos << configgroupversioninfo_tmp
3222
+ end
3223
+ end
3224
+ @Description = params['Description']
3225
+ end
3226
+ end
3227
+
3228
+ # DeployConfigGroupVersion返回参数结构体
3229
+ class DeployConfigGroupVersionResponse < TencentCloud::Common::AbstractModel
3230
+ # @param RecordId: 发布记录 ID。
3231
+ # @type RecordId: String
3232
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3233
+ # @type RequestId: String
3234
+
3235
+ attr_accessor :RecordId, :RequestId
3236
+
3237
+ def initialize(recordid=nil, requestid=nil)
3238
+ @RecordId = recordid
3239
+ @RequestId = requestid
3240
+ end
3241
+
3242
+ def deserialize(params)
3243
+ @RecordId = params['RecordId']
3244
+ @RequestId = params['RequestId']
3245
+ end
3246
+ end
3247
+
3248
+ # 配置组版本发布记录详情。
3249
+ class DeployRecord < TencentCloud::Common::AbstractModel
3250
+ # @param ConfigGroupVersionInfos: 发布版本的详细信息。
3251
+ # @type ConfigGroupVersionInfos: Array
3252
+ # @param DeployTime: 发布时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
3253
+ # @type DeployTime: String
3254
+ # @param Status: 发布状态,取值有:
3255
+ # <li> deploying :发布中;</li>
3256
+ # <li>failure :发布失败;</li>
3257
+ # <li>success: 发布成功。</li>
3258
+ # @type Status: String
3259
+ # @param Message: 发布结果信息。
3260
+ # @type Message: String
3261
+ # @param RecordId: 发布记录 ID。
3262
+ # 注意:此字段可能返回 null,表示取不到有效值。
3263
+ # @type RecordId: String
3264
+ # @param Description: 变更说明。
3265
+ # @type Description: String
3266
+
3267
+ attr_accessor :ConfigGroupVersionInfos, :DeployTime, :Status, :Message, :RecordId, :Description
3268
+
3269
+ def initialize(configgroupversioninfos=nil, deploytime=nil, status=nil, message=nil, recordid=nil, description=nil)
3270
+ @ConfigGroupVersionInfos = configgroupversioninfos
3271
+ @DeployTime = deploytime
3272
+ @Status = status
3273
+ @Message = message
3274
+ @RecordId = recordid
3275
+ @Description = description
3276
+ end
3277
+
3278
+ def deserialize(params)
3279
+ unless params['ConfigGroupVersionInfos'].nil?
3280
+ @ConfigGroupVersionInfos = []
3281
+ params['ConfigGroupVersionInfos'].each do |i|
3282
+ configgroupversioninfo_tmp = ConfigGroupVersionInfo.new
3283
+ configgroupversioninfo_tmp.deserialize(i)
3284
+ @ConfigGroupVersionInfos << configgroupversioninfo_tmp
3285
+ end
3286
+ end
3287
+ @DeployTime = params['DeployTime']
3288
+ @Status = params['Status']
3289
+ @Message = params['Message']
3290
+ @RecordId = params['RecordId']
3291
+ @Description = params['Description']
3292
+ end
3293
+ end
3294
+
3100
3295
  # DescribeAccelerationDomains请求参数结构体
3101
3296
  class DescribeAccelerationDomainsRequest < TencentCloud::Common::AbstractModel
3102
3297
  # @param ZoneId: 加速域名所属站点 ID。
@@ -3355,6 +3550,124 @@ module TencentCloud
3355
3550
  end
3356
3551
  end
3357
3552
 
3553
+ # DescribeConfigGroupVersionDetail请求参数结构体
3554
+ class DescribeConfigGroupVersionDetailRequest < TencentCloud::Common::AbstractModel
3555
+ # @param ZoneId: 站点 ID。
3556
+ # @type ZoneId: String
3557
+ # @param VersionId: 版本 ID。
3558
+ # @type VersionId: String
3559
+
3560
+ attr_accessor :ZoneId, :VersionId
3561
+
3562
+ def initialize(zoneid=nil, versionid=nil)
3563
+ @ZoneId = zoneid
3564
+ @VersionId = versionid
3565
+ end
3566
+
3567
+ def deserialize(params)
3568
+ @ZoneId = params['ZoneId']
3569
+ @VersionId = params['VersionId']
3570
+ end
3571
+ end
3572
+
3573
+ # DescribeConfigGroupVersionDetail返回参数结构体
3574
+ class DescribeConfigGroupVersionDetailResponse < TencentCloud::Common::AbstractModel
3575
+ # @param ConfigGroupVersionInfo: 版本信息。
3576
+ # @type ConfigGroupVersionInfo: :class:`Tencentcloud::Teo.v20220901.models.ConfigGroupVersionInfo`
3577
+ # @param Content: 版本文件的内容。以 JSON 格式返回。
3578
+ # @type Content: String
3579
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3580
+ # @type RequestId: String
3581
+
3582
+ attr_accessor :ConfigGroupVersionInfo, :Content, :RequestId
3583
+
3584
+ def initialize(configgroupversioninfo=nil, content=nil, requestid=nil)
3585
+ @ConfigGroupVersionInfo = configgroupversioninfo
3586
+ @Content = content
3587
+ @RequestId = requestid
3588
+ end
3589
+
3590
+ def deserialize(params)
3591
+ unless params['ConfigGroupVersionInfo'].nil?
3592
+ @ConfigGroupVersionInfo = ConfigGroupVersionInfo.new
3593
+ @ConfigGroupVersionInfo.deserialize(params['ConfigGroupVersionInfo'])
3594
+ end
3595
+ @Content = params['Content']
3596
+ @RequestId = params['RequestId']
3597
+ end
3598
+ end
3599
+
3600
+ # DescribeConfigGroupVersions请求参数结构体
3601
+ class DescribeConfigGroupVersionsRequest < TencentCloud::Common::AbstractModel
3602
+ # @param ZoneId: 站点 ID。
3603
+ # @type ZoneId: String
3604
+ # @param GroupId: 配置组 ID。
3605
+ # @type GroupId: String
3606
+ # @param Filters: 过滤条件,Filters.Values 的上限为 20,该参数不填写时,返回所选配置组下的所有版本信息。详细的过滤条件如下:
3607
+ # <li>version-id:按照版本 ID 进行过滤;</li>
3608
+ # @type Filters: Array
3609
+ # @param Offset: 分页查询偏移量。默认值为 0。
3610
+ # @type Offset: Integer
3611
+ # @param Limit: 分页查询限制数目。默认值为 20,最大值为 100。
3612
+ # @type Limit: Integer
3613
+
3614
+ attr_accessor :ZoneId, :GroupId, :Filters, :Offset, :Limit
3615
+
3616
+ def initialize(zoneid=nil, groupid=nil, filters=nil, offset=nil, limit=nil)
3617
+ @ZoneId = zoneid
3618
+ @GroupId = groupid
3619
+ @Filters = filters
3620
+ @Offset = offset
3621
+ @Limit = limit
3622
+ end
3623
+
3624
+ def deserialize(params)
3625
+ @ZoneId = params['ZoneId']
3626
+ @GroupId = params['GroupId']
3627
+ unless params['Filters'].nil?
3628
+ @Filters = []
3629
+ params['Filters'].each do |i|
3630
+ advancedfilter_tmp = AdvancedFilter.new
3631
+ advancedfilter_tmp.deserialize(i)
3632
+ @Filters << advancedfilter_tmp
3633
+ end
3634
+ end
3635
+ @Offset = params['Offset']
3636
+ @Limit = params['Limit']
3637
+ end
3638
+ end
3639
+
3640
+ # DescribeConfigGroupVersions返回参数结构体
3641
+ class DescribeConfigGroupVersionsResponse < TencentCloud::Common::AbstractModel
3642
+ # @param TotalCount: 版本总数。
3643
+ # @type TotalCount: Integer
3644
+ # @param ConfigGroupVersionInfos: 版本信息列表。
3645
+ # @type ConfigGroupVersionInfos: Array
3646
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3647
+ # @type RequestId: String
3648
+
3649
+ attr_accessor :TotalCount, :ConfigGroupVersionInfos, :RequestId
3650
+
3651
+ def initialize(totalcount=nil, configgroupversioninfos=nil, requestid=nil)
3652
+ @TotalCount = totalcount
3653
+ @ConfigGroupVersionInfos = configgroupversioninfos
3654
+ @RequestId = requestid
3655
+ end
3656
+
3657
+ def deserialize(params)
3658
+ @TotalCount = params['TotalCount']
3659
+ unless params['ConfigGroupVersionInfos'].nil?
3660
+ @ConfigGroupVersionInfos = []
3661
+ params['ConfigGroupVersionInfos'].each do |i|
3662
+ configgroupversioninfo_tmp = ConfigGroupVersionInfo.new
3663
+ configgroupversioninfo_tmp.deserialize(i)
3664
+ @ConfigGroupVersionInfos << configgroupversioninfo_tmp
3665
+ end
3666
+ end
3667
+ @RequestId = params['RequestId']
3668
+ end
3669
+ end
3670
+
3358
3671
  # DescribeContentQuota请求参数结构体
3359
3672
  class DescribeContentQuotaRequest < TencentCloud::Common::AbstractModel
3360
3673
  # @param ZoneId: 站点 ID。
@@ -3746,6 +4059,116 @@ module TencentCloud
3746
4059
  end
3747
4060
  end
3748
4061
 
4062
+ # DescribeDeployHistory请求参数结构体
4063
+ class DescribeDeployHistoryRequest < TencentCloud::Common::AbstractModel
4064
+ # @param ZoneId: 站点 ID。
4065
+ # @type ZoneId: String
4066
+ # @param EnvId: 环境 ID。
4067
+ # @type EnvId: String
4068
+ # @param Filters: 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下:
4069
+ # <li>record-id:按照发布记录 ID 进行过滤进行过滤。</li>
4070
+ # @type Filters: Array
4071
+
4072
+ attr_accessor :ZoneId, :EnvId, :Filters
4073
+
4074
+ def initialize(zoneid=nil, envid=nil, filters=nil)
4075
+ @ZoneId = zoneid
4076
+ @EnvId = envid
4077
+ @Filters = filters
4078
+ end
4079
+
4080
+ def deserialize(params)
4081
+ @ZoneId = params['ZoneId']
4082
+ @EnvId = params['EnvId']
4083
+ unless params['Filters'].nil?
4084
+ @Filters = []
4085
+ params['Filters'].each do |i|
4086
+ advancedfilter_tmp = AdvancedFilter.new
4087
+ advancedfilter_tmp.deserialize(i)
4088
+ @Filters << advancedfilter_tmp
4089
+ end
4090
+ end
4091
+ end
4092
+ end
4093
+
4094
+ # DescribeDeployHistory返回参数结构体
4095
+ class DescribeDeployHistoryResponse < TencentCloud::Common::AbstractModel
4096
+ # @param TotalCount: 发布记录总数。
4097
+ # @type TotalCount: Integer
4098
+ # @param Records: 发布记录详情。
4099
+ # @type Records: Array
4100
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4101
+ # @type RequestId: String
4102
+
4103
+ attr_accessor :TotalCount, :Records, :RequestId
4104
+
4105
+ def initialize(totalcount=nil, records=nil, requestid=nil)
4106
+ @TotalCount = totalcount
4107
+ @Records = records
4108
+ @RequestId = requestid
4109
+ end
4110
+
4111
+ def deserialize(params)
4112
+ @TotalCount = params['TotalCount']
4113
+ unless params['Records'].nil?
4114
+ @Records = []
4115
+ params['Records'].each do |i|
4116
+ deployrecord_tmp = DeployRecord.new
4117
+ deployrecord_tmp.deserialize(i)
4118
+ @Records << deployrecord_tmp
4119
+ end
4120
+ end
4121
+ @RequestId = params['RequestId']
4122
+ end
4123
+ end
4124
+
4125
+ # DescribeEnvironments请求参数结构体
4126
+ class DescribeEnvironmentsRequest < TencentCloud::Common::AbstractModel
4127
+ # @param ZoneId: 站点 ID。
4128
+ # @type ZoneId: String
4129
+
4130
+ attr_accessor :ZoneId
4131
+
4132
+ def initialize(zoneid=nil)
4133
+ @ZoneId = zoneid
4134
+ end
4135
+
4136
+ def deserialize(params)
4137
+ @ZoneId = params['ZoneId']
4138
+ end
4139
+ end
4140
+
4141
+ # DescribeEnvironments返回参数结构体
4142
+ class DescribeEnvironmentsResponse < TencentCloud::Common::AbstractModel
4143
+ # @param TotalCount: 环境总数。
4144
+ # @type TotalCount: Integer
4145
+ # @param EnvInfos: 环境列表。
4146
+ # @type EnvInfos: Array
4147
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4148
+ # @type RequestId: String
4149
+
4150
+ attr_accessor :TotalCount, :EnvInfos, :RequestId
4151
+
4152
+ def initialize(totalcount=nil, envinfos=nil, requestid=nil)
4153
+ @TotalCount = totalcount
4154
+ @EnvInfos = envinfos
4155
+ @RequestId = requestid
4156
+ end
4157
+
4158
+ def deserialize(params)
4159
+ @TotalCount = params['TotalCount']
4160
+ unless params['EnvInfos'].nil?
4161
+ @EnvInfos = []
4162
+ params['EnvInfos'].each do |i|
4163
+ envinfo_tmp = EnvInfo.new
4164
+ envinfo_tmp.deserialize(i)
4165
+ @EnvInfos << envinfo_tmp
4166
+ end
4167
+ end
4168
+ @RequestId = params['RequestId']
4169
+ end
4170
+ end
4171
+
3749
4172
  # DescribeHostsSetting请求参数结构体
3750
4173
  class DescribeHostsSettingRequest < TencentCloud::Common::AbstractModel
3751
4174
  # @param ZoneId: 站点ID。
@@ -5520,6 +5943,61 @@ module TencentCloud
5520
5943
  end
5521
5944
  end
5522
5945
 
5946
+ # 环境信息。
5947
+ class EnvInfo < TencentCloud::Common::AbstractModel
5948
+ # @param EnvId: 环境 ID。
5949
+ # @type EnvId: String
5950
+ # @param EnvType: 环境类型,取值有:
5951
+ # <li>production: 生产环境;</li><li>staging: 测试环境。</li>
5952
+ # @type EnvType: String
5953
+ # @param Status: 环境状态,取值有:
5954
+ # <li>creating:创建中;</li>
5955
+ # <li>running:稳定运行中,可进行版本变更;</li>
5956
+ # <li>version_deploying:版本部署中,不能进行新的变更。</li>
5957
+ # @type Status: String
5958
+ # @param Scope: 当前环境的配置生效范围:
5959
+ # <li>当 EnvType 取值为 production 时,该参数值为 ["ALL"],代表全网生效;</li>
5960
+ # <li>当 EnvType 取值为 staging 时,会返回测试节点 IP,可用于绑定 host 测试。</li>
5961
+ # @type Scope: Array
5962
+ # @param CurrentConfigGroupVersionInfos: 当前环境中各配置组实际生效的版本,根据 Status 的取值有以下两种情况:
5963
+ # <li>当 Status 取值为 version_deploying 时,本字段返回的值为执行变更动作之前生效的版本,即新版本部署期间,实际生效的版本为执行变更动作之前的版本;</li>
5964
+ # <li>当 Status 取值为 running 时,本字段返回的值即为当前实际生效的版本。</li>
5965
+ # @type CurrentConfigGroupVersionInfos: Array
5966
+ # @param CreateTime: 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
5967
+ # @type CreateTime: String
5968
+ # @param UpdateTime: 更新时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
5969
+ # @type UpdateTime: String
5970
+
5971
+ attr_accessor :EnvId, :EnvType, :Status, :Scope, :CurrentConfigGroupVersionInfos, :CreateTime, :UpdateTime
5972
+
5973
+ def initialize(envid=nil, envtype=nil, status=nil, scope=nil, currentconfiggroupversioninfos=nil, createtime=nil, updatetime=nil)
5974
+ @EnvId = envid
5975
+ @EnvType = envtype
5976
+ @Status = status
5977
+ @Scope = scope
5978
+ @CurrentConfigGroupVersionInfos = currentconfiggroupversioninfos
5979
+ @CreateTime = createtime
5980
+ @UpdateTime = updatetime
5981
+ end
5982
+
5983
+ def deserialize(params)
5984
+ @EnvId = params['EnvId']
5985
+ @EnvType = params['EnvType']
5986
+ @Status = params['Status']
5987
+ @Scope = params['Scope']
5988
+ unless params['CurrentConfigGroupVersionInfos'].nil?
5989
+ @CurrentConfigGroupVersionInfos = []
5990
+ params['CurrentConfigGroupVersionInfos'].each do |i|
5991
+ configgroupversioninfo_tmp = ConfigGroupVersionInfo.new
5992
+ configgroupversioninfo_tmp.deserialize(i)
5993
+ @CurrentConfigGroupVersionInfos << configgroupversioninfo_tmp
5994
+ end
5995
+ end
5996
+ @CreateTime = params['CreateTime']
5997
+ @UpdateTime = params['UpdateTime']
5998
+ end
5999
+ end
6000
+
5523
6001
  # 例外规则,用于配置需要跳过特定场景的规则
5524
6002
  class ExceptConfig < TencentCloud::Common::AbstractModel
5525
6003
  # @param Switch: 配置开关,取值有:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.711
4
+ version: 3.0.713
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-11-23 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common