tencentcloud-sdk-cfw 3.0.612 → 3.0.614

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: 0706264026cb6a4c75bc861d0c814a95e6a1573e
4
- data.tar.gz: f375ab3ede7429a4af84091ee721c33aba689478
3
+ metadata.gz: 9341e7c29f0dd6b4aa323ac81a473379662e1089
4
+ data.tar.gz: 62f3574c08b6c5546ca43fcc7918eb80feb598e8
5
5
  SHA512:
6
- metadata.gz: 44b763b4ca1456ba54b40041daa5ad902d76cc3f0a5a6a0d8c5951b53ff4cdbaf5a918dbd97d557a8d69b62fed6f9e8358605ab2d01d031f1f46b29cf5e60600
7
- data.tar.gz: 14231316422ff497a0a3dc87dbef54d7f36976b0f20a4fb2f89a2980e89d5e4dce4dac87624fa225ed594da7d30bbfd43ae0e871a3a1a1633d3a5c916e816ab5
6
+ metadata.gz: a1931221d0849d272329eba76bf3727bbd4cb818f6f271bd221a2d10cb2a405c5f9c0063c1cc8034ccf417483e665d87d528e69577c3acf94e4e4ddaba47b5f7
7
+ data.tar.gz: 96cb860533c7662c0ae952b1f3a4880b717366e602d4e3afcd4a8c13967525e024741235253b2c5e37938920fa106938a6d14d3feea9edbb47f92629250ca9ae
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.612
1
+ 3.0.614
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 创建地址模板规则
129
+
130
+ # @param request: Request instance for CreateAddressTemplate.
131
+ # @type request: :class:`Tencentcloud::cfw::V20190904::CreateAddressTemplateRequest`
132
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::CreateAddressTemplateResponse`
133
+ def CreateAddressTemplate(request)
134
+ body = send_request('CreateAddressTemplate', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateAddressTemplateResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
  # 创建、选择vpc
129
153
 
130
154
  # @param request: Request instance for CreateChooseVpcs.
@@ -269,6 +293,30 @@ module TencentCloud
269
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
294
  end
271
295
 
296
+ # 删除地址模板规则
297
+
298
+ # @param request: Request instance for DeleteAddressTemplate.
299
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DeleteAddressTemplateRequest`
300
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DeleteAddressTemplateResponse`
301
+ def DeleteAddressTemplate(request)
302
+ body = send_request('DeleteAddressTemplate', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = DeleteAddressTemplateResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
272
320
  # 全部删除规则
273
321
 
274
322
  # @param request: Request instance for DeleteAllAccessControlRule.
@@ -683,6 +683,56 @@ module TencentCloud
683
683
  end
684
684
  end
685
685
 
686
+ # CreateAddressTemplate请求参数结构体
687
+ class CreateAddressTemplateRequest < TencentCloud::Common::AbstractModel
688
+ # @param Name: 模板名称
689
+ # @type Name: String
690
+ # @param Detail: 模板描述
691
+ # @type Detail: String
692
+ # @param IpString: Type为1,ip模板eg:1.1.1.1,2.2.2.2;
693
+ # Type为5,域名模板eg:www.qq.com,www.tencent.com
694
+ # @type IpString: String
695
+ # @param Type: 1 ip模板
696
+ # 5 域名模板
697
+ # @type Type: Integer
698
+
699
+ attr_accessor :Name, :Detail, :IpString, :Type
700
+
701
+ def initialize(name=nil, detail=nil, ipstring=nil, type=nil)
702
+ @Name = name
703
+ @Detail = detail
704
+ @IpString = ipstring
705
+ @Type = type
706
+ end
707
+
708
+ def deserialize(params)
709
+ @Name = params['Name']
710
+ @Detail = params['Detail']
711
+ @IpString = params['IpString']
712
+ @Type = params['Type']
713
+ end
714
+ end
715
+
716
+ # CreateAddressTemplate返回参数结构体
717
+ class CreateAddressTemplateResponse < TencentCloud::Common::AbstractModel
718
+ # @param Status: 创建结果,0成功
719
+ # @type Status: Integer
720
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
721
+ # @type RequestId: String
722
+
723
+ attr_accessor :Status, :RequestId
724
+
725
+ def initialize(status=nil, requestid=nil)
726
+ @Status = status
727
+ @RequestId = requestid
728
+ end
729
+
730
+ def deserialize(params)
731
+ @Status = params['Status']
732
+ @RequestId = params['RequestId']
733
+ end
734
+ end
735
+
686
736
  # CreateChooseVpcs请求参数结构体
687
737
  class CreateChooseVpcsRequest < TencentCloud::Common::AbstractModel
688
738
  # @param VpcList: vpc列表
@@ -1158,6 +1208,42 @@ module TencentCloud
1158
1208
  end
1159
1209
  end
1160
1210
 
1211
+ # DeleteAddressTemplate请求参数结构体
1212
+ class DeleteAddressTemplateRequest < TencentCloud::Common::AbstractModel
1213
+ # @param Uuid: 模板id
1214
+ # @type Uuid: String
1215
+
1216
+ attr_accessor :Uuid
1217
+
1218
+ def initialize(uuid=nil)
1219
+ @Uuid = uuid
1220
+ end
1221
+
1222
+ def deserialize(params)
1223
+ @Uuid = params['Uuid']
1224
+ end
1225
+ end
1226
+
1227
+ # DeleteAddressTemplate返回参数结构体
1228
+ class DeleteAddressTemplateResponse < TencentCloud::Common::AbstractModel
1229
+ # @param Status: 删除结果,0成功
1230
+ # @type Status: Integer
1231
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1232
+ # @type RequestId: String
1233
+
1234
+ attr_accessor :Status, :RequestId
1235
+
1236
+ def initialize(status=nil, requestid=nil)
1237
+ @Status = status
1238
+ @RequestId = requestid
1239
+ end
1240
+
1241
+ def deserialize(params)
1242
+ @Status = params['Status']
1243
+ @RequestId = params['RequestId']
1244
+ end
1245
+ end
1246
+
1161
1247
  # DeleteAllAccessControlRule请求参数结构体
1162
1248
  class DeleteAllAccessControlRuleRequest < TencentCloud::Common::AbstractModel
1163
1249
  # @param Direction: 方向,0:出站,1:入站 默认值是 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfw
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.612
4
+ version: 3.0.614
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-07-13 00:00:00.000000000 Z
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common