@alicloud/cloudfw20171207 8.4.2 → 8.4.4
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.
- package/dist/client.d.ts +36 -32
- package/dist/client.js +42 -55
- package/dist/client.js.map +1 -1
- package/dist/models/AddInstanceMembersRequest.d.ts +1 -1
- package/dist/models/CreateSecurityProxyRequest.d.ts +22 -19
- package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
- package/dist/models/CreateSecurityProxyResponseBody.d.ts +1 -1
- package/dist/models/CreateTrFirewallV2request.d.ts +14 -6
- package/dist/models/CreateTrFirewallV2request.js.map +1 -1
- package/dist/models/DeleteControlPolicyRequest.d.ts +19 -3
- package/dist/models/DeleteControlPolicyRequest.js +4 -0
- package/dist/models/DeleteControlPolicyRequest.js.map +1 -1
- package/dist/models/DeleteControlPolicyResponseBody.d.ts +5 -0
- package/dist/models/DeleteControlPolicyResponseBody.js +2 -0
- package/dist/models/DeleteControlPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeFirewallDropTrendRequest.d.ts +3 -3
- package/dist/models/DescribeFirewallDropTrendResponseBody.d.ts +1 -1
- package/dist/models/DescribeTrFirewallsV2detailRequest.d.ts +1 -1
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +21 -21
- package/dist/models/DescribeVpcFirewallCenDetailRequest.d.ts +2 -2
- package/dist/models/DescribeVpcFirewallCenDetailResponseBody.d.ts +19 -19
- package/dist/models/ListTlsInspectCacertificatesRequest.d.ts +3 -3
- package/dist/models/ListTlsInspectCacertificatesResponseBody.d.ts +21 -19
- package/dist/models/ListTlsInspectCacertificatesResponseBody.js +2 -0
- package/dist/models/ListTlsInspectCacertificatesResponseBody.js.map +1 -1
- package/dist/models/ModifyAddressBookRequest.d.ts +25 -11
- package/dist/models/ModifyAddressBookRequest.js.map +1 -1
- package/dist/models/ModifyAddressBookResponseBody.d.ts +1 -1
- package/dist/models/ModifyAddressBookShrinkRequest.d.ts +25 -11
- package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -1
- package/dist/models/ModifyControlPolicyRequest.d.ts +15 -15
- package/dist/models/ModifyControlPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyTrFirewallV2configurationRequest.d.ts +5 -4
- package/dist/models/ModifyTrFirewallV2configurationRequest.js.map +1 -1
- package/dist/models/ModifyVpcFirewallSwitchStatusRequest.d.ts +2 -2
- package/dist/models/PutEnableFwSwitchRequest.d.ts +5 -5
- package/dist/models/PutEnableFwSwitchResponseBody.d.ts +5 -5
- package/package.json +1 -1
- package/src/client.ts +44 -55
- package/src/models/AddInstanceMembersRequest.ts +1 -1
- package/src/models/CreateSecurityProxyRequest.ts +22 -19
- package/src/models/CreateSecurityProxyResponseBody.ts +1 -1
- package/src/models/CreateTrFirewallV2request.ts +14 -6
- package/src/models/DeleteControlPolicyRequest.ts +23 -3
- package/src/models/DeleteControlPolicyResponseBody.ts +7 -0
- package/src/models/DescribeFirewallDropTrendRequest.ts +3 -3
- package/src/models/DescribeFirewallDropTrendResponseBody.ts +1 -1
- package/src/models/DescribeTrFirewallsV2detailRequest.ts +1 -1
- package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +21 -21
- package/src/models/DescribeVpcFirewallCenDetailRequest.ts +2 -2
- package/src/models/DescribeVpcFirewallCenDetailResponseBody.ts +19 -19
- package/src/models/ListTlsInspectCacertificatesRequest.ts +3 -3
- package/src/models/ListTlsInspectCacertificatesResponseBody.ts +23 -19
- package/src/models/ModifyAddressBookRequest.ts +25 -11
- package/src/models/ModifyAddressBookResponseBody.ts +1 -1
- package/src/models/ModifyAddressBookShrinkRequest.ts +25 -11
- package/src/models/ModifyControlPolicyRequest.ts +15 -15
- package/src/models/ModifyControlPolicyResponseBody.ts +1 -1
- package/src/models/ModifyTrFirewallV2configurationRequest.ts +5 -4
- package/src/models/ModifyVpcFirewallSwitchStatusRequest.ts +2 -2
- package/src/models/PutEnableFwSwitchRequest.ts +5 -5
- package/src/models/PutEnableFwSwitchResponseBody.ts +5 -5
|
@@ -5,13 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The encryption algorithm of the CA certificate. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* - **
|
|
11
|
-
*
|
|
12
|
-
* - **ECC**: the ECC algorithm.
|
|
13
|
-
*
|
|
14
|
-
* - **SM2**: the SM2 algorithm.
|
|
8
|
+
* The encryption algorithm type of the CA certificate. Valid values:
|
|
9
|
+
* - **RSA**: RSA algorithm.
|
|
10
|
+
* - **ECC**: ECC algorithm.
|
|
11
|
+
* - **SM2**: SM2 (Chinese national cryptographic) algorithm.
|
|
15
12
|
*
|
|
16
13
|
* @example
|
|
17
14
|
* RSA
|
|
@@ -19,7 +16,7 @@ export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.
|
|
|
19
16
|
algorithm?: string;
|
|
20
17
|
/**
|
|
21
18
|
* @remarks
|
|
22
|
-
* The alias
|
|
19
|
+
* The certificate alias.
|
|
23
20
|
*
|
|
24
21
|
* @example
|
|
25
22
|
* rsa_ml_***_root
|
|
@@ -27,7 +24,7 @@ export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.
|
|
|
27
24
|
aliasName?: string;
|
|
28
25
|
/**
|
|
29
26
|
* @remarks
|
|
30
|
-
* The
|
|
27
|
+
* The CA certificate ID.
|
|
31
28
|
*
|
|
32
29
|
* @example
|
|
33
30
|
* 2732BB48-2969-5716-B5D9-******CA85
|
|
@@ -37,14 +34,21 @@ export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.
|
|
|
37
34
|
* @remarks
|
|
38
35
|
* The type of the CA certificate. Valid values:
|
|
39
36
|
*
|
|
40
|
-
* - **ROOT**:
|
|
41
|
-
*
|
|
42
|
-
* - **SUB_ROOT**: a subordinate CA certificate.
|
|
37
|
+
* - **ROOT**: Root CA certificate.
|
|
38
|
+
* - **SUB_ROOT**: Subordinate CA certificate.
|
|
43
39
|
*
|
|
44
40
|
* @example
|
|
45
41
|
* ROOT
|
|
46
42
|
*/
|
|
47
43
|
caCertType?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The certificate chain expiration timestamp.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 1934***149
|
|
50
|
+
*/
|
|
51
|
+
certChainExpirationTime?: number;
|
|
48
52
|
/**
|
|
49
53
|
* @remarks
|
|
50
54
|
* The expiration timestamp.
|
|
@@ -63,7 +67,7 @@ export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.
|
|
|
63
67
|
keySize?: number;
|
|
64
68
|
/**
|
|
65
69
|
* @remarks
|
|
66
|
-
* The
|
|
70
|
+
* The parent CA certificate ID.
|
|
67
71
|
*
|
|
68
72
|
* @example
|
|
69
73
|
* 340BB48-2969-5716-B5D9-****ACA85
|
|
@@ -79,11 +83,9 @@ export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.
|
|
|
79
83
|
signAlgorithm?: string;
|
|
80
84
|
/**
|
|
81
85
|
* @remarks
|
|
82
|
-
* The status
|
|
83
|
-
*
|
|
84
|
-
* - **
|
|
85
|
-
*
|
|
86
|
-
* - **REVOKE**: revoked.
|
|
86
|
+
* The certificate status. Valid values:
|
|
87
|
+
* - **ISSUE**: Enabled.
|
|
88
|
+
* - **REVOKE**: Revoked.
|
|
87
89
|
*
|
|
88
90
|
* @example
|
|
89
91
|
* ISSUE
|
|
@@ -95,6 +97,7 @@ export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.
|
|
|
95
97
|
aliasName: 'AliasName',
|
|
96
98
|
caCertId: 'CaCertId',
|
|
97
99
|
caCertType: 'CaCertType',
|
|
100
|
+
certChainExpirationTime: 'CertChainExpirationTime',
|
|
98
101
|
expirationTime: 'ExpirationTime',
|
|
99
102
|
keySize: 'KeySize',
|
|
100
103
|
parentCaCertId: 'ParentCaCertId',
|
|
@@ -109,6 +112,7 @@ export class ListTlsInspectCACertificatesResponseBodyCertificates extends $dara.
|
|
|
109
112
|
aliasName: 'string',
|
|
110
113
|
caCertId: 'string',
|
|
111
114
|
caCertType: 'string',
|
|
115
|
+
certChainExpirationTime: 'number',
|
|
112
116
|
expirationTime: 'number',
|
|
113
117
|
keySize: 'number',
|
|
114
118
|
parentCaCertId: 'string',
|
|
@@ -134,7 +138,7 @@ export class ListTlsInspectCACertificatesResponseBody extends $dara.Model {
|
|
|
134
138
|
certificates?: ListTlsInspectCACertificatesResponseBodyCertificates[];
|
|
135
139
|
/**
|
|
136
140
|
* @remarks
|
|
137
|
-
* The ID
|
|
141
|
+
* The request ID.
|
|
138
142
|
*
|
|
139
143
|
* @example
|
|
140
144
|
* CBF1E9B7-D6A0-4E9E-AD3E-******837D
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAddressBookRequestAckLabels extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the label
|
|
8
|
+
* The key of the pod label in the ACK cluster.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* app
|
|
@@ -13,7 +13,7 @@ export class ModifyAddressBookRequestAckLabels extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The value of the label
|
|
16
|
+
* The value of the pod label in the ACK cluster.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* storage-operator
|
|
@@ -455,17 +455,26 @@ export class ModifyAddressBookRequestTagList extends $dara.Model {
|
|
|
455
455
|
export class ModifyAddressBookRequest extends $dara.Model {
|
|
456
456
|
/**
|
|
457
457
|
* @remarks
|
|
458
|
-
* The list of labels
|
|
458
|
+
* The list of pod labels in the ACK cluster.
|
|
459
|
+
*
|
|
460
|
+
* > A maximum of 10 labels are supported.
|
|
459
461
|
*/
|
|
460
462
|
ackLabels?: ModifyAddressBookRequestAckLabels[];
|
|
461
463
|
/**
|
|
462
464
|
* @remarks
|
|
463
|
-
* The list of namespaces
|
|
465
|
+
* The list of pod namespaces in the ACK cluster.
|
|
466
|
+
* > A maximum of 10 namespaces are supported.
|
|
464
467
|
*/
|
|
465
468
|
ackNamespaces?: string[];
|
|
466
469
|
/**
|
|
467
470
|
* @remarks
|
|
468
|
-
* The addresses in the address book. Separate multiple addresses with commas (,).
|
|
471
|
+
* The list of addresses in the address book. Separate multiple addresses with commas (,). For each address element, separate the address and the description with a space. You must specify this parameter when GroupType is set to **ip**, **port**, or **domain**.
|
|
472
|
+
*
|
|
473
|
+
* - If GroupType is set to **ip**, enter IP addresses in the address list. Example: 1.2.XX.XX/32 Development CIDR block,10.0.0.X/24,1.2.XX.XX/24 Test CIDR block.
|
|
474
|
+
*
|
|
475
|
+
* - If GroupType is set to **port**, enter ports or port ranges in the address list. Example: 80/80 HTTP port,100/200,3306 Database port.
|
|
476
|
+
*
|
|
477
|
+
* - If GroupType is set to **domain**, enter domain names in the address list. Example: demo1.aliyun.com Test domain name,demo2.aliyun.com,www.aliyun.com Alibaba Cloud official website.
|
|
469
478
|
*
|
|
470
479
|
* @example
|
|
471
480
|
* 192.0.XX.XX/32 ,192.0.XX.XX/24
|
|
@@ -478,12 +487,12 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
478
487
|
assetMemberUids?: number[];
|
|
479
488
|
/**
|
|
480
489
|
* @remarks
|
|
481
|
-
* The
|
|
490
|
+
* The asset address book, region, and resource type list.
|
|
482
491
|
*/
|
|
483
492
|
assetRegionResourceTypes?: ModifyAddressBookRequestAssetRegionResourceTypes[];
|
|
484
493
|
/**
|
|
485
494
|
* @remarks
|
|
486
|
-
*
|
|
495
|
+
* Specifies if the automatic addition of the public IP addresses of Elastic Compute Service (ECS) instances that match the new labels to the address book is enabled.
|
|
487
496
|
*
|
|
488
497
|
* @example
|
|
489
498
|
* 1
|
|
@@ -509,7 +518,7 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
509
518
|
description?: string;
|
|
510
519
|
/**
|
|
511
520
|
* @remarks
|
|
512
|
-
*
|
|
521
|
+
* The dry run mode.
|
|
513
522
|
*/
|
|
514
523
|
dryRun?: boolean;
|
|
515
524
|
/**
|
|
@@ -524,7 +533,9 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
524
533
|
groupName?: string;
|
|
525
534
|
/**
|
|
526
535
|
* @remarks
|
|
527
|
-
* The
|
|
536
|
+
* The UUID of the address book.
|
|
537
|
+
*
|
|
538
|
+
* > To obtain the value, call the [DescribeAddressBook](~~DescribeAddressBook~~) operation.
|
|
528
539
|
*
|
|
529
540
|
* This parameter is required.
|
|
530
541
|
*
|
|
@@ -544,13 +555,16 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
544
555
|
* @remarks
|
|
545
556
|
* The modification mode.
|
|
546
557
|
*
|
|
558
|
+
* > If GroupType is set to **ip**, **ipv6**, **port**, or **domain** and this parameter is not specified, the **Cover** mode is used by default to modify the address book.
|
|
559
|
+
* >Notice: If GroupType is set to **tag**, this parameter must be left empty.</notice>
|
|
560
|
+
*
|
|
547
561
|
* @example
|
|
548
562
|
* Cover
|
|
549
563
|
*/
|
|
550
564
|
modifyMode?: string;
|
|
551
565
|
/**
|
|
552
566
|
* @remarks
|
|
553
|
-
* The source IP address of the
|
|
567
|
+
* The source IP address of the requester.
|
|
554
568
|
*
|
|
555
569
|
* @example
|
|
556
570
|
* 192.0.XX.XX
|
|
@@ -565,7 +579,7 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
565
579
|
tagList?: ModifyAddressBookRequestTagList[];
|
|
566
580
|
/**
|
|
567
581
|
* @remarks
|
|
568
|
-
* The
|
|
582
|
+
* The relationship between multiple ECS tags.
|
|
569
583
|
*
|
|
570
584
|
* @example
|
|
571
585
|
* and
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAddressBookResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates
|
|
8
|
+
* Indicates whether the request is a successful dry run. A value of true indicates that only the dry run is performed and no actual modifications are made.
|
|
9
9
|
*/
|
|
10
10
|
dryRun?: boolean;
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAddressBookShrinkRequestAckLabels extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the label
|
|
8
|
+
* The key of the pod label in the ACK cluster.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* app
|
|
@@ -13,7 +13,7 @@ export class ModifyAddressBookShrinkRequestAckLabels extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The value of the label
|
|
16
|
+
* The value of the pod label in the ACK cluster.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* storage-operator
|
|
@@ -85,17 +85,26 @@ export class ModifyAddressBookShrinkRequestTagList extends $dara.Model {
|
|
|
85
85
|
export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The list of labels
|
|
88
|
+
* The list of pod labels in the ACK cluster.
|
|
89
|
+
*
|
|
90
|
+
* > A maximum of 10 labels are supported.
|
|
89
91
|
*/
|
|
90
92
|
ackLabels?: ModifyAddressBookShrinkRequestAckLabels[];
|
|
91
93
|
/**
|
|
92
94
|
* @remarks
|
|
93
|
-
* The list of namespaces
|
|
95
|
+
* The list of pod namespaces in the ACK cluster.
|
|
96
|
+
* > A maximum of 10 namespaces are supported.
|
|
94
97
|
*/
|
|
95
98
|
ackNamespaces?: string[];
|
|
96
99
|
/**
|
|
97
100
|
* @remarks
|
|
98
|
-
* The addresses in the address book. Separate multiple addresses with commas (,).
|
|
101
|
+
* The list of addresses in the address book. Separate multiple addresses with commas (,). For each address element, separate the address and the description with a space. You must specify this parameter when GroupType is set to **ip**, **port**, or **domain**.
|
|
102
|
+
*
|
|
103
|
+
* - If GroupType is set to **ip**, enter IP addresses in the address list. Example: 1.2.XX.XX/32 Development CIDR block,10.0.0.X/24,1.2.XX.XX/24 Test CIDR block.
|
|
104
|
+
*
|
|
105
|
+
* - If GroupType is set to **port**, enter ports or port ranges in the address list. Example: 80/80 HTTP port,100/200,3306 Database port.
|
|
106
|
+
*
|
|
107
|
+
* - If GroupType is set to **domain**, enter domain names in the address list. Example: demo1.aliyun.com Test domain name,demo2.aliyun.com,www.aliyun.com Alibaba Cloud official website.
|
|
99
108
|
*
|
|
100
109
|
* @example
|
|
101
110
|
* 192.0.XX.XX/32 ,192.0.XX.XX/24
|
|
@@ -108,12 +117,12 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
108
117
|
assetMemberUidsShrink?: string;
|
|
109
118
|
/**
|
|
110
119
|
* @remarks
|
|
111
|
-
* The
|
|
120
|
+
* The asset address book, region, and resource type list.
|
|
112
121
|
*/
|
|
113
122
|
assetRegionResourceTypesShrink?: string;
|
|
114
123
|
/**
|
|
115
124
|
* @remarks
|
|
116
|
-
*
|
|
125
|
+
* Specifies if the automatic addition of the public IP addresses of Elastic Compute Service (ECS) instances that match the new labels to the address book is enabled.
|
|
117
126
|
*
|
|
118
127
|
* @example
|
|
119
128
|
* 1
|
|
@@ -139,7 +148,7 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
139
148
|
description?: string;
|
|
140
149
|
/**
|
|
141
150
|
* @remarks
|
|
142
|
-
*
|
|
151
|
+
* The dry run mode.
|
|
143
152
|
*/
|
|
144
153
|
dryRun?: boolean;
|
|
145
154
|
/**
|
|
@@ -154,7 +163,9 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
154
163
|
groupName?: string;
|
|
155
164
|
/**
|
|
156
165
|
* @remarks
|
|
157
|
-
* The
|
|
166
|
+
* The UUID of the address book.
|
|
167
|
+
*
|
|
168
|
+
* > To obtain the value, call the [DescribeAddressBook](~~DescribeAddressBook~~) operation.
|
|
158
169
|
*
|
|
159
170
|
* This parameter is required.
|
|
160
171
|
*
|
|
@@ -174,13 +185,16 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
174
185
|
* @remarks
|
|
175
186
|
* The modification mode.
|
|
176
187
|
*
|
|
188
|
+
* > If GroupType is set to **ip**, **ipv6**, **port**, or **domain** and this parameter is not specified, the **Cover** mode is used by default to modify the address book.
|
|
189
|
+
* >Notice: If GroupType is set to **tag**, this parameter must be left empty.</notice>
|
|
190
|
+
*
|
|
177
191
|
* @example
|
|
178
192
|
* Cover
|
|
179
193
|
*/
|
|
180
194
|
modifyMode?: string;
|
|
181
195
|
/**
|
|
182
196
|
* @remarks
|
|
183
|
-
* The source IP address of the
|
|
197
|
+
* The source IP address of the requester.
|
|
184
198
|
*
|
|
185
199
|
* @example
|
|
186
200
|
* 192.0.XX.XX
|
|
@@ -195,7 +209,7 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
195
209
|
tagList?: ModifyAddressBookShrinkRequestTagList[];
|
|
196
210
|
/**
|
|
197
211
|
* @remarks
|
|
198
|
-
* The
|
|
212
|
+
* The relationship between multiple ECS tags.
|
|
199
213
|
*
|
|
200
214
|
* @example
|
|
201
215
|
* and
|
|
@@ -7,7 +7,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The action that the access control policy performs on the traffic that passes through the firewall. Valid values:
|
|
9
9
|
* - **accept**: allows access.
|
|
10
|
-
* - **drop**: deny
|
|
10
|
+
* - **drop**: deny.
|
|
11
11
|
* - **log**: monitors the traffic.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
@@ -28,7 +28,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
28
28
|
aclUuid?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The application type supported by the access control policy.
|
|
31
|
+
* The application type supported by the access control policy. The following application types are supported:
|
|
32
32
|
*
|
|
33
33
|
* - **ANY**
|
|
34
34
|
* - **HTTP**
|
|
@@ -112,7 +112,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
112
112
|
* - If **DestinationType** is set to net, **Destination** is a destination CIDR block. Example: 1.2.XX.XX/24.
|
|
113
113
|
* - If **DestinationType** is set to group, **Destination** is a destination address book name. Example: db_group.
|
|
114
114
|
* - If **DestinationType** is set to domain, **Destination** is a destination domain name. Example: *.aliyuncs.com.
|
|
115
|
-
* - If **DestinationType** is set to location, **Destination** is a destination area. For
|
|
115
|
+
* - If **DestinationType** is set to location, **Destination** is a destination area. For more information about area positional encoding, see the following sections. Example: ["BJ11", "ZB"\\].
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* 192.0.XX.XX/24
|
|
@@ -135,8 +135,8 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
135
135
|
* @remarks
|
|
136
136
|
* The traffic direction of the access control policy. Valid values:
|
|
137
137
|
*
|
|
138
|
-
* - **in**: inbound traffic
|
|
139
|
-
* - **out**: outbound traffic
|
|
138
|
+
* - **in**: inbound traffic
|
|
139
|
+
* - **out**: outbound traffic
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* in
|
|
@@ -161,7 +161,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
161
161
|
dryRun?: boolean;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The end time of the Policy Validity Period
|
|
164
|
+
* The end time of the Policy Validity Period of the access control policy. The value is a UNIX timestamp in seconds format. The time must be on the hour or half hour and must be at least 30 minutes later than the start time. Settings for the end time.
|
|
165
165
|
* > If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.
|
|
166
166
|
*
|
|
167
167
|
* @example
|
|
@@ -180,7 +180,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
180
180
|
lang?: string;
|
|
181
181
|
/**
|
|
182
182
|
* @remarks
|
|
183
|
-
* The security protocol type in the access control policy.
|
|
183
|
+
* The security protocol type in the access control policy. The following protocol types are supported:
|
|
184
184
|
*
|
|
185
185
|
* - **ANY**
|
|
186
186
|
* - **TCP**
|
|
@@ -189,7 +189,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
189
189
|
*
|
|
190
190
|
* > **ANY** indicates that the policy applies to all protocol types.
|
|
191
191
|
*
|
|
192
|
-
* > If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain type, you can
|
|
192
|
+
* > If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain type, you can set the protocol to TCP or ANY. If you select TCP, the application can be set to HTTP, HTTPS, SMTP, SMTPS, or SSL. If you select ANY, the application can only be set to ANY.
|
|
193
193
|
*
|
|
194
194
|
* @example
|
|
195
195
|
* TCP
|
|
@@ -200,7 +200,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
200
200
|
* The enabling status of the access control policy. Valid values:
|
|
201
201
|
*
|
|
202
202
|
* - true: The policy is enabled.
|
|
203
|
-
* - false: The policy is
|
|
203
|
+
* - false: The policy is disabled.
|
|
204
204
|
*
|
|
205
205
|
* @example
|
|
206
206
|
* true
|
|
@@ -208,13 +208,13 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
208
208
|
release?: string;
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* The days of a week or of a month on which the access control policy takes effect. Settings for the Policy Validity Period
|
|
212
|
-
* - If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty
|
|
211
|
+
* The days of a week or of a month on which the access control policy takes effect. Settings for the Policy Validity Period.
|
|
212
|
+
* - If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty array.
|
|
213
213
|
* Example: []
|
|
214
|
-
* - If RepeatType is set to Weekly, RepeatDays
|
|
214
|
+
* - If RepeatType is set to Weekly, RepeatDays must not be empty.
|
|
215
215
|
* Example: [0, 6]
|
|
216
216
|
* > If RepeatType is set to Weekly, the values in RepeatDays cannot be repeated.
|
|
217
|
-
* - If RepeatType is set to `Monthly`, RepeatDays
|
|
217
|
+
* - If RepeatType is set to `Monthly`, RepeatDays must not be empty.
|
|
218
218
|
* Example: [1, 31]
|
|
219
219
|
* > If RepeatType is set to Monthly, the values in RepeatDays cannot be repeated.
|
|
220
220
|
*/
|
|
@@ -256,7 +256,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
256
256
|
*
|
|
257
257
|
* - If **SourceType** is set to net, **Source** is a source CIDR block. Example: 1.2.XX.XX/24.
|
|
258
258
|
* - If **SourceType** is set to group, **Source** is a source address book name. Example: db_group.
|
|
259
|
-
* - If **SourceType** is set to location, **Source** is a source area. For
|
|
259
|
+
* - If **SourceType** is set to location, **Source** is a source area. For more information about area positional encoding, see the following sections. Example: ["BJ11", "ZB"\\].
|
|
260
260
|
*
|
|
261
261
|
* @example
|
|
262
262
|
* 192.0.XX.XX/24
|
|
@@ -276,7 +276,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
276
276
|
sourceType?: string;
|
|
277
277
|
/**
|
|
278
278
|
* @remarks
|
|
279
|
-
* The start time of the Policy Validity Period
|
|
279
|
+
* The start time of the Policy Validity Period of the access control policy. The value is a UNIX timestamp in seconds format. The time must be on the hour or half hour and must be at least 30 minutes earlier than the end time. Settings for the start time.
|
|
280
280
|
* > If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.
|
|
281
281
|
*
|
|
282
282
|
* @example
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyControlPolicyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether
|
|
8
|
+
* Indicates whether the request is a dry run. A value of true indicates that only a dry run was performed and no actual modification was made.
|
|
9
9
|
*/
|
|
10
10
|
dryRun?: boolean;
|
|
11
11
|
/**
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyTrFirewallV2ConfigurationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The instance ID of the
|
|
8
|
+
* The instance ID of the VPC firewall. You can call DescribeTrFirewallsV2List to obtain the ID.
|
|
9
9
|
*
|
|
10
|
-
* > FirewallId and FirewallName are
|
|
10
|
+
* > Note: FirewallId and FirewallName are jointly required. Both parameters must be provided at the same time. If either parameter is missing, the operation returns a 400 error.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* vfw-tr-bcdf89d405ce4bd2****
|
|
@@ -15,8 +15,9 @@ export class ModifyTrFirewallV2ConfigurationRequest extends $dara.Model {
|
|
|
15
15
|
firewallId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The instance name of the
|
|
19
|
-
*
|
|
18
|
+
* The instance name of the VPC firewall.
|
|
19
|
+
*
|
|
20
|
+
* > Note: FirewallId and FirewallName are jointly required. Both parameters must be provided at the same time. If either parameter is missing, the operation returns a 400 error.
|
|
20
21
|
*
|
|
21
22
|
* @example
|
|
22
23
|
* vpc-firewall
|
|
@@ -7,9 +7,9 @@ export class ModifyVpcFirewallSwitchStatusRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The status of the virtual private cloud (VPC) firewall. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - **open**:
|
|
10
|
+
* - **open**: Enable.
|
|
11
11
|
*
|
|
12
|
-
* - **close**:
|
|
12
|
+
* - **close**: Disable.
|
|
13
13
|
*
|
|
14
14
|
* This parameter is required.
|
|
15
15
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class PutEnableFwSwitchRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The client token that ensures the idempotency of the request. Generated by the client, the token must be unique across different requests. The value is a
|
|
8
|
+
* The client token that ensures the idempotency of the request. Generated by the client, the token must be unique across different requests. The value is a case-sensitive string in the format of [0-9a-zA-Z-_]{1,64}. We recommend that you use a UUID. The server guarantees idempotency within the validity period (600 seconds): repeated requests with the same ClientToken and the same business parameters return the same result as the first request. If the ClientToken is the same but the business parameters are different, an HTTP 400 error with the IdempotentParameterMismatch error code is returned.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ddadxefexxxx
|
|
@@ -13,7 +13,7 @@ export class PutEnableFwSwitchRequest extends $dara.Model {
|
|
|
13
13
|
clientToken?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to perform only a dry run of the request. If set to true, the system performs pre-checks such as parameter
|
|
16
|
+
* Specifies whether to perform only a dry run of the request. If you set this parameter to true, the system performs pre-checks such as parameter validation, identity and permission verification, resource existence, and quota limits without creating, updating, or deleting actual resources, triggering asynchronous traffic diversion tasks, or generating downstream side effects such as billing, notifications, or callbacks. If the dry run succeeds, the response contains DryRun=true, which distinguishes it from an actual call response. If the dry run fails, a machine-readable error code is returned, such as ErrorParamsInvalid for invalid parameters, ErrorAuthentication for insufficient permissions, or ErrorInstanceOpenIpNumExceed for insufficient quota. If you set this parameter to false (default), the request is sent and the enable operation is performed.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* true
|
|
@@ -39,7 +39,7 @@ export class PutEnableFwSwitchRequest extends $dara.Model {
|
|
|
39
39
|
ipaddrList?: string[];
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The language type of the received message.
|
|
42
|
+
* The language type of the received message. Valid values:
|
|
43
43
|
*
|
|
44
44
|
* - **zh**: Chinese
|
|
45
45
|
* - **en**: English
|
|
@@ -50,7 +50,7 @@ export class PutEnableFwSwitchRequest extends $dara.Model {
|
|
|
50
50
|
lang?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The unique identifier of the member.
|
|
53
|
+
* The unique identifier of the member account.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 1234
|
|
@@ -91,7 +91,7 @@ export class PutEnableFwSwitchRequest extends $dara.Model {
|
|
|
91
91
|
* - **EcdEIP**: Elastic Desktop Service public IP address.
|
|
92
92
|
* - **BastionHostIP**: bastion host IP address.
|
|
93
93
|
*
|
|
94
|
-
* > The IpaddrList, RegionList, and ResourceTypeList parameters cannot all be empty. You must set a value for at least one of these parameters. Settings
|
|
94
|
+
* > The IpaddrList, RegionList, and ResourceTypeList parameters cannot all be empty. You must set a value for at least one of these parameters. Settings for at least one parameter are required.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* ["EcsPublicIp","NatEip"]
|
|
@@ -6,7 +6,7 @@ export class PutEnableFwSwitchResponseBodyAbnormalResourceStatusList extends $da
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The message when the asset is not synchronized. Valid values:
|
|
9
|
-
* - cloudfirewall do not sync this ip address: Cloud Firewall
|
|
9
|
+
* - cloudfirewall do not sync this ip address: Cloud Firewall did not synchronize this asset IP address.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* cloudfirewall do not sync this ip address
|
|
@@ -22,8 +22,8 @@ export class PutEnableFwSwitchResponseBodyAbnormalResourceStatusList extends $da
|
|
|
22
22
|
resource?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The status
|
|
26
|
-
* - ip_not_sync:
|
|
25
|
+
* The status when the asset is not synchronized. Valid values:
|
|
26
|
+
* - ip_not_sync: the asset is not synchronized.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* ip_not_sync
|
|
@@ -57,12 +57,12 @@ export class PutEnableFwSwitchResponseBodyAbnormalResourceStatusList extends $da
|
|
|
57
57
|
export class PutEnableFwSwitchResponseBody extends $dara.Model {
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The status information list
|
|
60
|
+
* The status information list for assets that are not synchronized.
|
|
61
61
|
*/
|
|
62
62
|
abnormalResourceStatusList?: PutEnableFwSwitchResponseBodyAbnormalResourceStatusList[];
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* Indicates
|
|
65
|
+
* Indicates whether this response is a dry run success response. A value of true indicates that only the dry run was completed and no actual changes were made. This field is not returned or is set to false for actual calls.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* true
|