Skip to content

Commit 097220c

Browse files
committed
Update API AddAddressBook: update param AddressList.
1 parent 9f79a50 commit 097220c

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

ChangeLog.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
2025-01-16 Version: v7.0.4
2+
- Update API AddAddressBook: update param AddressList.
3+
- Update API AddAddressBook: update param Description.
4+
- Update API AddAddressBook: update param GroupName.
5+
- Update API AddControlPolicy: update param ApplicationName.
6+
- Update API CreateVpcFirewallControlPolicy: update param ApplicationName.
7+
- Update API DescribeControlPolicy: add param Direction.
8+
- Update API DescribeControlPolicy: update param Direction.
9+
- Update API ModifyAddressBook: update param Description.
10+
- Update API ModifyAddressBook: update param GroupName.
11+
- Update API ModifyControlPolicy: update param AclAction.
12+
- Update API ModifyControlPolicy: update param ApplicationName.
13+
- Update API ModifyControlPolicy: update param Description.
14+
- Update API ModifyControlPolicy: update param Destination.
15+
- Update API ModifyControlPolicy: update param DestinationType.
16+
- Update API ModifyControlPolicy: update param Direction.
17+
- Update API ModifyControlPolicy: update param Proto.
18+
- Update API ModifyControlPolicy: update param Source.
19+
- Update API ModifyControlPolicy: update param SourceType.
20+
- Update API ModifyNatFirewallControlPolicy: update param AclAction.
21+
- Update API ModifyNatFirewallControlPolicy: update param Description.
22+
- Update API ModifyNatFirewallControlPolicy: update param Destination.
23+
- Update API ModifyNatFirewallControlPolicy: update param DestinationType.
24+
- Update API ModifyNatFirewallControlPolicy: update param Proto.
25+
- Update API ModifyNatFirewallControlPolicy: update param Source.
26+
- Update API ModifyNatFirewallControlPolicy: update param SourceType.
27+
- Update API ModifyVpcFirewallControlPolicy: update param AclAction.
28+
- Update API ModifyVpcFirewallControlPolicy: update param ApplicationName.
29+
- Update API ModifyVpcFirewallControlPolicy: update param Description.
30+
- Update API ModifyVpcFirewallControlPolicy: update param Destination.
31+
- Update API ModifyVpcFirewallControlPolicy: update param DestinationType.
32+
- Update API ModifyVpcFirewallControlPolicy: update param Proto.
33+
- Update API ModifyVpcFirewallControlPolicy: update param Source.
34+
- Update API ModifyVpcFirewallControlPolicy: update param SourceType.
35+
36+
137
2025-01-16 Version: v7.0.3
238
- Generated golang 2017-12-07 for Cloudfw.
339

client/client.go

Lines changed: 8 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ type AddControlPolicyRequest struct {
261261
//
262262
// accept
263263
AclAction *string `json:"AclAction,omitempty" xml:"AclAction,omitempty"`
264+
// Deprecated
265+
//
264266
// The application type supported by the access control policy. Valid values:
265267
//
266268
// - **FTP**
@@ -3093,6 +3095,8 @@ type CreateVpcFirewallControlPolicyRequest struct {
30933095
//
30943096
// accept
30953097
AclAction *string `json:"AclAction,omitempty" xml:"AclAction,omitempty"`
3098+
// Deprecated
3099+
//
30963100
// The type of the applications that the access control policy supports. Valid values:
30973101
//
30983102
// - **FTP**
@@ -23176,8 +23180,6 @@ type ModifyControlPolicyRequest struct {
2317623180
//
2317723181
// - **log**: monitors the traffic.
2317823182
//
23179-
// This parameter is required.
23180-
//
2318123183
// example:
2318223184
//
2318323185
// accept
@@ -23192,6 +23194,8 @@ type ModifyControlPolicyRequest struct {
2319223194
//
2319323195
// 00281255-d220-4db1-8f4f-c4df221ad84c
2319423196
AclUuid *string `json:"AclUuid,omitempty" xml:"AclUuid,omitempty"`
23197+
// Deprecated
23198+
//
2319523199
// The type of the application that the access control policy supports. Valid values:
2319623200
//
2319723201
// - **ANY**
@@ -23236,8 +23240,6 @@ type ModifyControlPolicyRequest struct {
2323623240
ApplicationNameList []*string `json:"ApplicationNameList,omitempty" xml:"ApplicationNameList,omitempty" type:"Repeated"`
2323723241
// The description of the access control policy.
2323823242
//
23239-
// This parameter is required.
23240-
//
2324123243
// example:
2324223244
//
2324323245
// test
@@ -23274,8 +23276,6 @@ type ModifyControlPolicyRequest struct {
2327423276
//
2327523277
// - If **DestinationType* - is set to location, the value of **Destination* - is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"].
2327623278
//
23277-
// This parameter is required.
23278-
//
2327923279
// example:
2328023280
//
2328123281
// 192.0.XX.XX/24
@@ -23290,8 +23290,6 @@ type ModifyControlPolicyRequest struct {
2329023290
//
2329123291
// - **location**: location
2329223292
//
23293-
// This parameter is required.
23294-
//
2329523293
// example:
2329623294
//
2329723295
// net
@@ -23302,8 +23300,6 @@ type ModifyControlPolicyRequest struct {
2330223300
//
2330323301
// - **out**: outbound traffic
2330423302
//
23305-
// This parameter is required.
23306-
//
2330723303
// example:
2330823304
//
2330923305
// in
@@ -23352,8 +23348,6 @@ type ModifyControlPolicyRequest struct {
2335223348
//
2335323349
// > If the traffic direction is outbound and the destination address is a threat intelligence address book of the domain name type or a cloud service address book, you can set Proto to TCP or ANY. If you set Proto to TCP, you can set ApplicationName to HTTP, HTTPS, SMTP, SMTPS, and SSL. If you set Proto to ANY, you can set ApplicationName to ANY.
2335423350
//
23355-
// This parameter is required.
23356-
//
2335723351
// example:
2335823352
//
2335923353
// TCP
@@ -23420,8 +23414,6 @@ type ModifyControlPolicyRequest struct {
2342023414
//
2342123415
// - If **SourceType* - is set to location, the value of **Source* - is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"]
2342223416
//
23423-
// This parameter is required.
23424-
//
2342523417
// example:
2342623418
//
2342723419
// 192.0.XX.XX/24
@@ -23434,8 +23426,6 @@ type ModifyControlPolicyRequest struct {
2343423426
//
2343523427
// - **location**: location
2343623428
//
23437-
// This parameter is required.
23438-
//
2343923429
// example:
2344023430
//
2344123431
// net
@@ -24171,8 +24161,6 @@ type ModifyNatFirewallControlPolicyRequest struct {
2417124161
//
2417224162
// - **log**: monitors the traffic.
2417324163
//
24174-
// This parameter is required.
24175-
//
2417624164
// example:
2417724165
//
2417824166
// log
@@ -24193,8 +24181,6 @@ type ModifyNatFirewallControlPolicyRequest struct {
2419324181
//
2419424182
// > If you do not specify this parameter, the descriptions of all policies are queried.
2419524183
//
24196-
// This parameter is required.
24197-
//
2419824184
// example:
2419924185
//
2420024186
// test
@@ -24233,8 +24219,6 @@ type ModifyNatFirewallControlPolicyRequest struct {
2423324219
//
2423424220
// - If **DestinationType* - is set to location, the value of **Destination* - is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: ["BJ11", "ZB"]
2423524221
//
24236-
// This parameter is required.
24237-
//
2423824222
// example:
2423924223
//
2424024224
// x.x.x.x/32
@@ -24249,8 +24233,6 @@ type ModifyNatFirewallControlPolicyRequest struct {
2424924233
//
2425024234
// - **location**: destination location
2425124235
//
24252-
// This parameter is required.
24253-
//
2425424236
// example:
2425524237
//
2425624238
// net
@@ -24315,8 +24297,6 @@ type ModifyNatFirewallControlPolicyRequest struct {
2431524297
//
2431624298
// > If the destination address type is a threat intelligence address book of the domain name type or a cloud service address book, you can set Proto to TCP. If you set Proto to TCP, you can set application types to HTTP, HTTPS, SMTP, SMTPS, and SSL.
2431724299
//
24318-
// This parameter is required.
24319-
//
2432024300
// example:
2432124301
//
2432224302
// TCP
@@ -24381,8 +24361,6 @@ type ModifyNatFirewallControlPolicyRequest struct {
2438124361
//
2438224362
// - If **SourceType* - is set to `group`, the value of this parameter is an address book name. Example: db_group.
2438324363
//
24384-
// This parameter is required.
24385-
//
2438624364
// example:
2438724365
//
2438824366
// 192.168.0.25/32
@@ -24393,8 +24371,6 @@ type ModifyNatFirewallControlPolicyRequest struct {
2439324371
//
2439424372
// - **group**: address book
2439524373
//
24396-
// This parameter is required.
24397-
//
2439824374
// example:
2439924375
//
2440024376
// net
@@ -25883,8 +25859,6 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2588325859
//
2588425860
// - **log**: monitors the traffic.
2588525861
//
25886-
// This parameter is required.
25887-
//
2588825862
// example:
2588925863
//
2589025864
// accept
@@ -25899,6 +25873,8 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2589925873
//
2590025874
// 00281255-d220-4db1-8f4f-c4df221a****
2590125875
AclUuid *string `json:"AclUuid,omitempty" xml:"AclUuid,omitempty"`
25876+
// Deprecated
25877+
//
2590225878
// The type of the application that the access control policy supports.
2590325879
//
2590425880
// Valid values:
@@ -25941,8 +25917,6 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2594125917
ApplicationNameList []*string `json:"ApplicationNameList,omitempty" xml:"ApplicationNameList,omitempty" type:"Repeated"`
2594225918
// The description of the access control policy.
2594325919
//
25944-
// This parameter is required.
25945-
//
2594625920
// example:
2594725921
//
2594825922
// test
@@ -25983,8 +25957,6 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2598325957
//
2598425958
// Example: \\*.aliyuncs.com
2598525959
//
25986-
// This parameter is required.
25987-
//
2598825960
// example:
2598925961
//
2599025962
// 10.2.X.X/XX
@@ -25999,8 +25971,6 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2599925971
//
2600025972
// - **domain**: domain name
2600125973
//
26002-
// This parameter is required.
26003-
//
2600425974
// example:
2600525975
//
2600625976
// net
@@ -26049,8 +26019,6 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2604926019
//
2605026020
// - ICMP
2605126021
//
26052-
// This parameter is required.
26053-
//
2605426022
// example:
2605526023
//
2605626024
// TCP
@@ -26121,8 +26089,6 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2612126089
//
2612226090
// Example: db_group
2612326091
//
26124-
// This parameter is required.
26125-
//
2612626092
// example:
2612726093
//
2612826094
// 10.2.X.X/XX
@@ -26135,8 +26101,6 @@ type ModifyVpcFirewallControlPolicyRequest struct {
2613526101
//
2613626102
// - **group**: address book
2613726103
//
26138-
// This parameter is required.
26139-
//
2614026104
// example:
2614126105
//
2614226106
// net

0 commit comments

Comments
 (0)