@alicloud/cloudfw20171207 8.4.1 → 8.4.2
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 +148 -122
- package/dist/client.js +204 -139
- package/dist/client.js.map +1 -1
- package/dist/models/AddControlPolicyRequest.d.ts +44 -31
- package/dist/models/AddControlPolicyRequest.js +4 -0
- package/dist/models/AddControlPolicyRequest.js.map +1 -1
- package/dist/models/AddDnsFirewallPolicyRequest.d.ts +17 -22
- package/dist/models/AddDnsFirewallPolicyRequest.js.map +1 -1
- package/dist/models/AddInstanceMembersRequest.d.ts +5 -2
- package/dist/models/AddInstanceMembersRequest.js.map +1 -1
- package/dist/models/CreateAckClusterConnectorRequest.d.ts +5 -5
- package/dist/models/CreateAckClusterConnectorResponseBody.d.ts +16 -11
- package/dist/models/CreateAckClusterConnectorResponseBody.js.map +1 -1
- package/dist/models/CreateIpsPrivateAssocRequest.d.ts +4 -4
- package/dist/models/CreatePrivateDnsEndpointRequest.d.ts +5 -2
- package/dist/models/CreatePrivateDnsEndpointRequest.js.map +1 -1
- package/dist/models/CreateSecurityProxyRequest.d.ts +20 -4
- package/dist/models/CreateSecurityProxyRequest.js +7 -0
- package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
- package/dist/models/CreateSecurityProxyResponseBody.d.ts +1 -1
- package/dist/models/CreateTrFirewallV2request.d.ts +44 -13
- package/dist/models/CreateTrFirewallV2request.js +14 -0
- package/dist/models/CreateTrFirewallV2request.js.map +1 -1
- package/dist/models/CreateTrFirewallV2responseBody.d.ts +1 -1
- package/dist/models/CreateTrFirewallV2routePolicyRequest.d.ts +10 -7
- package/dist/models/CreateTrFirewallV2routePolicyRequest.js.map +1 -1
- package/dist/models/CreateTrFirewallV2routePolicyShrinkRequest.d.ts +10 -7
- package/dist/models/CreateTrFirewallV2routePolicyShrinkRequest.js.map +1 -1
- package/dist/models/CreateVpcFirewallCenConfigureRequest.d.ts +32 -17
- package/dist/models/CreateVpcFirewallCenConfigureRequest.js +2 -0
- package/dist/models/CreateVpcFirewallCenConfigureRequest.js.map +1 -1
- package/dist/models/DeleteSecurityProxyRequest.d.ts +0 -2
- package/dist/models/DeleteSecurityProxyRequest.js.map +1 -1
- package/dist/models/DeleteSecurityProxyResponseBody.d.ts +1 -1
- package/dist/models/DeleteTrFirewallV2request.d.ts +2 -3
- package/dist/models/DeleteTrFirewallV2request.js.map +1 -1
- package/dist/models/DeleteTrFirewallV2responseBody.d.ts +1 -1
- package/dist/models/DeleteVpcFirewallCenConfigureRequest.d.ts +3 -3
- package/dist/models/DescribeAccessInstanceRegionListRequest.d.ts +6 -4
- package/dist/models/DescribeAccessInstanceRegionListRequest.js.map +1 -1
- package/dist/models/DescribeAccessInstanceRegionListResponseBody.d.ts +1 -1
- package/dist/models/DescribeAccessInstanceTaskRequest.d.ts +2 -2
- package/dist/models/DescribeAccessInstanceTaskResponseBody.d.ts +2 -2
- package/dist/models/DescribeAclAppsResponseBody.d.ts +1 -1
- package/dist/models/DescribeAssetRiskListRequest.d.ts +2 -2
- package/dist/models/DescribeAssetRiskListResponseBody.d.ts +6 -6
- package/dist/models/DescribeControlPolicyDomainResolveRequest.d.ts +5 -3
- package/dist/models/DescribeControlPolicyDomainResolveRequest.js.map +1 -1
- package/dist/models/DescribeControlPolicyRequest.d.ts +12 -78
- package/dist/models/DescribeControlPolicyRequest.js.map +1 -1
- package/dist/models/DescribeControlPolicyResponseBody.d.ts +29 -179
- package/dist/models/DescribeControlPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeFirewallTaskRequest.d.ts +2 -2
- package/dist/models/DescribeFirewallTaskResponseBody.d.ts +1 -1
- package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +6 -2
- package/dist/models/DescribeFirewallTrafficTrendRequest.js.map +1 -1
- package/dist/models/DescribeInternetOpenDetailResponseBody.d.ts +2 -2
- package/dist/models/DescribeInternetOpenPortResponseBody.d.ts +2 -2
- package/dist/models/DescribeInternetOpenServiceResponseBody.d.ts +1 -1
- package/dist/models/DescribeInvadeEventListRequest.d.ts +15 -27
- package/dist/models/DescribeInvadeEventListRequest.js.map +1 -1
- package/dist/models/DescribeInvadeEventListResponseBody.d.ts +18 -80
- package/dist/models/DescribeInvadeEventListResponseBody.js.map +1 -1
- package/dist/models/DescribeNatFirewallListRequest.d.ts +18 -25
- package/dist/models/DescribeNatFirewallListRequest.js.map +1 -1
- package/dist/models/DescribeNatFirewallListResponseBody.d.ts +39 -34
- package/dist/models/DescribeNatFirewallListResponseBody.js +7 -0
- package/dist/models/DescribeNatFirewallListResponseBody.js.map +1 -1
- package/dist/models/DescribeOutgoingAssetListResponseBody.d.ts +1 -1
- package/dist/models/DescribeOutgoingDestinationCategoryRequest.d.ts +6 -6
- package/dist/models/DescribeOutgoingDestinationIpdetailResponseBody.d.ts +2 -2
- package/dist/models/DescribeOutgoingDestinationRequest.d.ts +8 -4
- package/dist/models/DescribeOutgoingDestinationRequest.js.map +1 -1
- package/dist/models/DescribeOutgoingDestinationResponseBody.d.ts +5 -5
- package/dist/models/DescribeOutgoingDomainDetailRequest.d.ts +5 -5
- package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +6 -6
- package/dist/models/DescribeOutgoingDomainRequest.d.ts +6 -69
- package/dist/models/DescribeOutgoingDomainRequest.js.map +1 -1
- package/dist/models/DescribeOutgoingDomainResponseBody.d.ts +33 -52
- package/dist/models/DescribeOutgoingDomainResponseBody.js.map +1 -1
- package/dist/models/DescribePrepayBillTotalRequest.d.ts +8 -5
- package/dist/models/DescribePrepayBillTotalRequest.js.map +1 -1
- package/dist/models/DescribePrepayBillTotalResponseBody.d.ts +5 -5
- package/dist/models/DescribeTrFirewallsV2detailRequest.d.ts +3 -2
- package/dist/models/DescribeTrFirewallsV2detailRequest.js.map +1 -1
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +84 -21
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.js +36 -1
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.js.map +1 -1
- package/dist/models/DescribeUserBuyVersionRequest.d.ts +1 -1
- package/dist/models/DescribeUserBuyVersionResponseBody.d.ts +37 -50
- package/dist/models/DescribeUserBuyVersionResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcFirewallAccessDetailRequest.d.ts +3 -3
- package/dist/models/DescribeVpcFirewallAccessDetailResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpcFirewallAssetListRequest.d.ts +1 -1
- package/dist/models/DescribeVpcFirewallAssetListResponseBody.d.ts +3 -3
- package/dist/models/DescribeVpcFirewallCenDetailRequest.d.ts +3 -3
- package/dist/models/DescribeVpcFirewallCenDetailResponseBody.d.ts +62 -40
- package/dist/models/DescribeVpcFirewallCenDetailResponseBody.js +9 -0
- package/dist/models/DescribeVpcFirewallCenDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcFirewallControlPolicyRequest.d.ts +13 -63
- package/dist/models/DescribeVpcFirewallControlPolicyRequest.js.map +1 -1
- package/dist/models/DescribeVpcFirewallControlPolicyResponseBody.d.ts +35 -143
- package/dist/models/DescribeVpcFirewallControlPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcFirewallPrecheckDetailResponseBody.d.ts +1 -1
- package/dist/models/DescribeVpcFirewallSummaryInfoRequest.d.ts +4 -4
- package/dist/models/DescribeVpcFirewallSummaryInfoResponseBody.d.ts +31 -31
- package/dist/models/DescribeVpcFirewallZoneRequest.d.ts +4 -4
- package/dist/models/DescribeVpcFirewallZoneResponseBody.d.ts +13 -2
- package/dist/models/DescribeVpcFirewallZoneResponseBody.js +2 -0
- package/dist/models/DescribeVpcFirewallZoneResponseBody.js.map +1 -1
- package/dist/models/ModifyAddressBookRequest.d.ts +24 -29
- package/dist/models/ModifyAddressBookRequest.js +4 -0
- package/dist/models/ModifyAddressBookRequest.js.map +1 -1
- package/dist/models/ModifyAddressBookResponseBody.d.ts +6 -1
- package/dist/models/ModifyAddressBookResponseBody.js +2 -0
- package/dist/models/ModifyAddressBookResponseBody.js.map +1 -1
- package/dist/models/ModifyAddressBookShrinkRequest.d.ts +23 -28
- package/dist/models/ModifyAddressBookShrinkRequest.js +4 -0
- package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -1
- package/dist/models/ModifyControlPolicyRequest.d.ts +60 -97
- package/dist/models/ModifyControlPolicyRequest.js +4 -0
- package/dist/models/ModifyControlPolicyRequest.js.map +1 -1
- package/dist/models/ModifyControlPolicyResponseBody.d.ts +6 -1
- package/dist/models/ModifyControlPolicyResponseBody.js +2 -0
- package/dist/models/ModifyControlPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyDefaultIpsconfigRequest.d.ts +8 -8
- package/dist/models/ModifyDefaultIpsconfigResponseBody.d.ts +1 -1
- package/dist/models/ModifyDnsFirewallPolicyRequest.d.ts +14 -14
- package/dist/models/ModifyPrivateDnsEndpointRequest.d.ts +4 -6
- package/dist/models/ModifyPrivateDnsEndpointRequest.js.map +1 -1
- package/dist/models/ModifyPrivateDnsEndpointResponseBody.d.ts +1 -1
- package/dist/models/ModifyTrFirewallV2configurationRequest.d.ts +2 -2
- package/dist/models/ModifyTrFirewallV2routePolicyScopeRequest.d.ts +11 -12
- package/dist/models/ModifyTrFirewallV2routePolicyScopeRequest.js.map +1 -1
- package/dist/models/ModifyTrFirewallV2routePolicyScopeResponseBody.d.ts +2 -2
- package/dist/models/ModifyTrFirewallV2routePolicyScopeShrinkRequest.d.ts +7 -8
- package/dist/models/ModifyTrFirewallV2routePolicyScopeShrinkRequest.js.map +1 -1
- package/dist/models/ModifyVpcFirewallConfigureRequest.d.ts +13 -13
- package/dist/models/ModifyVpcFirewallConfigureResponseBody.d.ts +1 -1
- package/dist/models/ModifyVpcFirewallSwitchStatusRequest.d.ts +5 -5
- package/dist/models/ModifyVpcFirewallSwitchStatusResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +24 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +217 -139
- package/src/models/AddControlPolicyRequest.ts +48 -31
- package/src/models/AddDnsFirewallPolicyRequest.ts +17 -22
- package/src/models/AddInstanceMembersRequest.ts +5 -2
- package/src/models/CreateAckClusterConnectorRequest.ts +5 -5
- package/src/models/CreateAckClusterConnectorResponseBody.ts +16 -11
- package/src/models/CreateIpsPrivateAssocRequest.ts +4 -4
- package/src/models/CreatePrivateDnsEndpointRequest.ts +5 -2
- package/src/models/CreateSecurityProxyRequest.ts +27 -4
- package/src/models/CreateSecurityProxyResponseBody.ts +1 -1
- package/src/models/CreateTrFirewallV2request.ts +58 -13
- package/src/models/CreateTrFirewallV2responseBody.ts +1 -1
- package/src/models/CreateTrFirewallV2routePolicyRequest.ts +10 -7
- package/src/models/CreateTrFirewallV2routePolicyShrinkRequest.ts +10 -7
- package/src/models/CreateVpcFirewallCenConfigureRequest.ts +34 -17
- package/src/models/DeleteSecurityProxyRequest.ts +0 -2
- package/src/models/DeleteSecurityProxyResponseBody.ts +1 -1
- package/src/models/DeleteTrFirewallV2request.ts +2 -3
- package/src/models/DeleteTrFirewallV2responseBody.ts +1 -1
- package/src/models/DeleteVpcFirewallCenConfigureRequest.ts +3 -3
- package/src/models/DescribeAccessInstanceRegionListRequest.ts +6 -4
- package/src/models/DescribeAccessInstanceRegionListResponseBody.ts +1 -1
- package/src/models/DescribeAccessInstanceTaskRequest.ts +2 -2
- package/src/models/DescribeAccessInstanceTaskResponseBody.ts +2 -2
- package/src/models/DescribeAclAppsResponseBody.ts +1 -1
- package/src/models/DescribeAssetRiskListRequest.ts +2 -2
- package/src/models/DescribeAssetRiskListResponseBody.ts +6 -6
- package/src/models/DescribeControlPolicyDomainResolveRequest.ts +5 -3
- package/src/models/DescribeControlPolicyRequest.ts +12 -78
- package/src/models/DescribeControlPolicyResponseBody.ts +29 -179
- package/src/models/DescribeFirewallTaskRequest.ts +2 -2
- package/src/models/DescribeFirewallTaskResponseBody.ts +1 -1
- package/src/models/DescribeFirewallTrafficTrendRequest.ts +6 -2
- package/src/models/DescribeInternetOpenDetailResponseBody.ts +2 -2
- package/src/models/DescribeInternetOpenPortResponseBody.ts +2 -2
- package/src/models/DescribeInternetOpenServiceResponseBody.ts +1 -1
- package/src/models/DescribeInvadeEventListRequest.ts +15 -27
- package/src/models/DescribeInvadeEventListResponseBody.ts +18 -80
- package/src/models/DescribeNatFirewallListRequest.ts +18 -25
- package/src/models/DescribeNatFirewallListResponseBody.ts +47 -35
- package/src/models/DescribeOutgoingAssetListResponseBody.ts +1 -1
- package/src/models/DescribeOutgoingDestinationCategoryRequest.ts +6 -6
- package/src/models/DescribeOutgoingDestinationIpdetailResponseBody.ts +2 -2
- package/src/models/DescribeOutgoingDestinationRequest.ts +8 -4
- package/src/models/DescribeOutgoingDestinationResponseBody.ts +5 -5
- package/src/models/DescribeOutgoingDomainDetailRequest.ts +5 -5
- package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +6 -6
- package/src/models/DescribeOutgoingDomainRequest.ts +6 -69
- package/src/models/DescribeOutgoingDomainResponseBody.ts +33 -52
- package/src/models/DescribePrepayBillTotalRequest.ts +8 -5
- package/src/models/DescribePrepayBillTotalResponseBody.ts +5 -5
- package/src/models/DescribeTrFirewallsV2detailRequest.ts +3 -2
- package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +110 -21
- package/src/models/DescribeUserBuyVersionRequest.ts +1 -1
- package/src/models/DescribeUserBuyVersionResponseBody.ts +38 -51
- package/src/models/DescribeVpcFirewallAccessDetailRequest.ts +3 -3
- package/src/models/DescribeVpcFirewallAccessDetailResponseBody.ts +1 -1
- package/src/models/DescribeVpcFirewallAssetListRequest.ts +1 -1
- package/src/models/DescribeVpcFirewallAssetListResponseBody.ts +3 -3
- package/src/models/DescribeVpcFirewallCenDetailRequest.ts +3 -3
- package/src/models/DescribeVpcFirewallCenDetailResponseBody.ts +71 -40
- package/src/models/DescribeVpcFirewallControlPolicyRequest.ts +13 -63
- package/src/models/DescribeVpcFirewallControlPolicyResponseBody.ts +35 -143
- package/src/models/DescribeVpcFirewallPrecheckDetailResponseBody.ts +1 -1
- package/src/models/DescribeVpcFirewallSummaryInfoRequest.ts +4 -4
- package/src/models/DescribeVpcFirewallSummaryInfoResponseBody.ts +31 -31
- package/src/models/DescribeVpcFirewallZoneRequest.ts +4 -4
- package/src/models/DescribeVpcFirewallZoneResponseBody.ts +15 -2
- package/src/models/ModifyAddressBookRequest.ts +28 -29
- package/src/models/ModifyAddressBookResponseBody.ts +8 -1
- package/src/models/ModifyAddressBookShrinkRequest.ts +27 -28
- package/src/models/ModifyControlPolicyRequest.ts +64 -97
- package/src/models/ModifyControlPolicyResponseBody.ts +8 -1
- package/src/models/ModifyDefaultIpsconfigRequest.ts +8 -8
- package/src/models/ModifyDefaultIpsconfigResponseBody.ts +1 -1
- package/src/models/ModifyDnsFirewallPolicyRequest.ts +14 -14
- package/src/models/ModifyPrivateDnsEndpointRequest.ts +4 -6
- package/src/models/ModifyPrivateDnsEndpointResponseBody.ts +1 -1
- package/src/models/ModifyTrFirewallV2configurationRequest.ts +2 -2
- package/src/models/ModifyTrFirewallV2routePolicyScopeRequest.ts +11 -12
- package/src/models/ModifyTrFirewallV2routePolicyScopeResponseBody.ts +2 -2
- package/src/models/ModifyTrFirewallV2routePolicyScopeShrinkRequest.ts +7 -8
- package/src/models/ModifyVpcFirewallConfigureRequest.ts +13 -13
- package/src/models/ModifyVpcFirewallConfigureResponseBody.ts +1 -1
- package/src/models/ModifyVpcFirewallSwitchStatusRequest.ts +5 -5
- package/src/models/ModifyVpcFirewallSwitchStatusResponseBody.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddControlPolicyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The action
|
|
8
|
+
* The action configured in the access control policy for the traffic that passes through Cloud Firewall. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - **accept**: allows the
|
|
11
|
-
* - **drop**:
|
|
10
|
+
* - **accept**: allows the traffic.
|
|
11
|
+
* - **drop**: denies the traffic.
|
|
12
12
|
* - **log**: monitors the traffic.
|
|
13
13
|
*
|
|
14
14
|
* This parameter is required.
|
|
@@ -35,9 +35,9 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
35
35
|
* - **SSL_No_Cert**
|
|
36
36
|
* - **SSL**
|
|
37
37
|
* - **VNC**
|
|
38
|
-
* - **ANY
|
|
38
|
+
* - **ANY** (all application types)
|
|
39
39
|
*
|
|
40
|
-
* > The
|
|
40
|
+
* > The supported application types depend on the value of the protocol type (Proto). If Proto is set to TCP, ApplicationName can be set to any of the preceding application types. If Proto is set to UDP, ICMP, or ANY, ApplicationName can be set only to ANY. You must specify either ApplicationNameList or ApplicationName. You cannot leave both of them empty.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* ANY
|
|
@@ -47,9 +47,17 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
47
47
|
applicationName?: string;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The application types supported by the access control policy.
|
|
50
|
+
* The list of application types supported by the access control policy.
|
|
51
51
|
*/
|
|
52
52
|
applicationNameList?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* The idempotence token.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ddadxefexxxx
|
|
59
|
+
*/
|
|
60
|
+
clientToken?: string;
|
|
53
61
|
/**
|
|
54
62
|
* @remarks
|
|
55
63
|
* The description of the access control policy.
|
|
@@ -96,7 +104,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
96
104
|
* Valid values:
|
|
97
105
|
*
|
|
98
106
|
* - **port**: port
|
|
99
|
-
* - **group**: port address book
|
|
107
|
+
* - **group**: port address book
|
|
100
108
|
*
|
|
101
109
|
* @example
|
|
102
110
|
* port
|
|
@@ -138,7 +146,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
138
146
|
* - **net**: destination CIDR block
|
|
139
147
|
* - **group**: destination address book
|
|
140
148
|
* - **domain**: destination domain name
|
|
141
|
-
* - **location**: destination region
|
|
149
|
+
* - **location**: destination region
|
|
142
150
|
*
|
|
143
151
|
* This parameter is required.
|
|
144
152
|
*
|
|
@@ -150,8 +158,8 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
150
158
|
* @remarks
|
|
151
159
|
* The traffic direction of the access control policy. Valid values:
|
|
152
160
|
*
|
|
153
|
-
* - **in**: inbound traffic
|
|
154
|
-
* - **out**: outbound traffic
|
|
161
|
+
* - **in**: inbound traffic access control
|
|
162
|
+
* - **out**: outbound traffic access control
|
|
155
163
|
*
|
|
156
164
|
* This parameter is required.
|
|
157
165
|
*
|
|
@@ -163,9 +171,9 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
163
171
|
* @remarks
|
|
164
172
|
* The domain name resolution method of the access control policy. Valid values:
|
|
165
173
|
*
|
|
166
|
-
* * **FQDN**: FQDN-based
|
|
174
|
+
* * **FQDN**: FQDN-based
|
|
167
175
|
* * **DNS**: DNS-based dynamic resolution
|
|
168
|
-
* * **FQDN_AND_DNS**: FQDN
|
|
176
|
+
* * **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution
|
|
169
177
|
*
|
|
170
178
|
* @example
|
|
171
179
|
* FQDN
|
|
@@ -173,8 +181,13 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
173
181
|
domainResolveType?: string;
|
|
174
182
|
/**
|
|
175
183
|
* @remarks
|
|
176
|
-
*
|
|
177
|
-
|
|
184
|
+
* Specifies whether to perform a dry run.
|
|
185
|
+
*/
|
|
186
|
+
dryRun?: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* @remarks
|
|
189
|
+
* The end time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or half hour and must be at least 30 minutes later than the start time.
|
|
190
|
+
* > If RepeatType is set to Permanent, EndTime is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, EndTime must have a value.
|
|
178
191
|
*
|
|
179
192
|
* @example
|
|
180
193
|
* 1694764800
|
|
@@ -188,7 +201,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
188
201
|
*
|
|
189
202
|
* - **4**: IPv4
|
|
190
203
|
*
|
|
191
|
-
* - **6**: IPv6
|
|
204
|
+
* - **6**: IPv6
|
|
192
205
|
*
|
|
193
206
|
* @example
|
|
194
207
|
* 6
|
|
@@ -199,7 +212,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
199
212
|
* The language of the request and response. Valid values:
|
|
200
213
|
*
|
|
201
214
|
* - **zh** (default): Chinese
|
|
202
|
-
* - **en**: English
|
|
215
|
+
* - **en**: English
|
|
203
216
|
*
|
|
204
217
|
* @example
|
|
205
218
|
* zh
|
|
@@ -207,7 +220,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
207
220
|
lang?: string;
|
|
208
221
|
/**
|
|
209
222
|
* @remarks
|
|
210
|
-
* The priority of the access control policy. The priority value starts from 1. A smaller value indicates a higher priority.
|
|
223
|
+
* The priority of the access control policy. The priority value starts from 1. A smaller priority value indicates a higher priority.
|
|
211
224
|
*
|
|
212
225
|
* This parameter is required.
|
|
213
226
|
*
|
|
@@ -219,12 +232,12 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
219
232
|
* @remarks
|
|
220
233
|
* The protocol type in the access control policy. Valid values:
|
|
221
234
|
*
|
|
222
|
-
* - **ANY
|
|
235
|
+
* - **ANY**
|
|
223
236
|
* - **TCP**
|
|
224
237
|
* - **UDP**
|
|
225
238
|
* - **ICMP**
|
|
226
239
|
*
|
|
227
|
-
* > If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain
|
|
240
|
+
* > 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, only TCP is supported. The application type can be set to HTTP, HTTPS, SMTP, SMTPS, or SSL.
|
|
228
241
|
*
|
|
229
242
|
* This parameter is required.
|
|
230
243
|
*
|
|
@@ -246,20 +259,20 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
246
259
|
/**
|
|
247
260
|
* @remarks
|
|
248
261
|
* The days of the recurrence for the policy validity period of the access control policy.
|
|
249
|
-
* - If RepeatType is set to `Permanent`, `None`, or `Daily`,
|
|
262
|
+
* - If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty collection.
|
|
250
263
|
* Example: []
|
|
251
|
-
* - If RepeatType is set to Weekly,
|
|
264
|
+
* - If RepeatType is set to Weekly, RepeatDays cannot be empty.
|
|
252
265
|
* Example: [0, 6]
|
|
253
|
-
* > If RepeatType is set to Weekly,
|
|
254
|
-
* - If RepeatType is set to `Monthly`,
|
|
266
|
+
* > If RepeatType is set to Weekly, values in RepeatDays cannot be repeated.
|
|
267
|
+
* - If RepeatType is set to `Monthly`, RepeatDays cannot be empty.
|
|
255
268
|
* Example: [1, 31]
|
|
256
|
-
* > If RepeatType is set to Monthly,
|
|
269
|
+
* > If RepeatType is set to Monthly, values in RepeatDays cannot be repeated.
|
|
257
270
|
*/
|
|
258
271
|
repeatDays?: number[];
|
|
259
272
|
/**
|
|
260
273
|
* @remarks
|
|
261
|
-
* The recurrence end time of the policy validity period for the access control policy. Example: 23:30. The value must be on the hour or
|
|
262
|
-
* > If RepeatType is set to Permanent or None,
|
|
274
|
+
* The recurrence end time of the policy validity period for the access control policy. Example: 23:30. The value must be on the hour or half hour and must be at least 30 minutes later than the recurrence start time.
|
|
275
|
+
* > If RepeatType is set to Permanent or None, RepeatEndTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime must have a value.
|
|
263
276
|
* > The time is in the HH:mm format (24-hour clock). Example: 08:00 or 23:30.
|
|
264
277
|
*
|
|
265
278
|
* @example
|
|
@@ -268,8 +281,8 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
268
281
|
repeatEndTime?: string;
|
|
269
282
|
/**
|
|
270
283
|
* @remarks
|
|
271
|
-
* The recurrence start time of the policy validity period for the access control policy. Example: 08:00. The value must be on the hour or
|
|
272
|
-
* > If RepeatType is set to Permanent or None,
|
|
284
|
+
* The recurrence start time of the policy validity period for the access control policy. Example: 08:00. The value must be on the hour or half hour and must be at least 30 minutes earlier than the recurrence end time.
|
|
285
|
+
* > If RepeatType is set to Permanent or None, RepeatStartTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatStartTime must have a value.
|
|
273
286
|
* > The time is in the HH:mm format (24-hour clock). Example: 08:00 or 23:30.
|
|
274
287
|
*
|
|
275
288
|
* @example
|
|
@@ -328,7 +341,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
328
341
|
* The type of the source address in the access control policy. Valid values:
|
|
329
342
|
* - **net**: source CIDR block
|
|
330
343
|
* - **group**: source address book
|
|
331
|
-
* - **location**: source region
|
|
344
|
+
* - **location**: source region
|
|
332
345
|
*
|
|
333
346
|
* This parameter is required.
|
|
334
347
|
*
|
|
@@ -338,8 +351,8 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
338
351
|
sourceType?: string;
|
|
339
352
|
/**
|
|
340
353
|
* @remarks
|
|
341
|
-
* The start time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or
|
|
342
|
-
* > If RepeatType is set to Permanent,
|
|
354
|
+
* The start time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or half hour and must be at least 30 minutes earlier than the end time.
|
|
355
|
+
* > If RepeatType is set to Permanent, StartTime is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, StartTime must have a value.
|
|
343
356
|
*
|
|
344
357
|
* @example
|
|
345
358
|
* 1694761200
|
|
@@ -350,6 +363,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
350
363
|
aclAction: 'AclAction',
|
|
351
364
|
applicationName: 'ApplicationName',
|
|
352
365
|
applicationNameList: 'ApplicationNameList',
|
|
366
|
+
clientToken: 'ClientToken',
|
|
353
367
|
description: 'Description',
|
|
354
368
|
destPort: 'DestPort',
|
|
355
369
|
destPortGroup: 'DestPortGroup',
|
|
@@ -358,6 +372,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
358
372
|
destinationType: 'DestinationType',
|
|
359
373
|
direction: 'Direction',
|
|
360
374
|
domainResolveType: 'DomainResolveType',
|
|
375
|
+
dryRun: 'DryRun',
|
|
361
376
|
endTime: 'EndTime',
|
|
362
377
|
ipVersion: 'IpVersion',
|
|
363
378
|
lang: 'Lang',
|
|
@@ -380,6 +395,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
380
395
|
aclAction: 'string',
|
|
381
396
|
applicationName: 'string',
|
|
382
397
|
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
398
|
+
clientToken: 'string',
|
|
383
399
|
description: 'string',
|
|
384
400
|
destPort: 'string',
|
|
385
401
|
destPortGroup: 'string',
|
|
@@ -388,6 +404,7 @@ export class AddControlPolicyRequest extends $dara.Model {
|
|
|
388
404
|
destinationType: 'string',
|
|
389
405
|
direction: 'string',
|
|
390
406
|
domainResolveType: 'string',
|
|
407
|
+
dryRun: 'boolean',
|
|
391
408
|
endTime: 'number',
|
|
392
409
|
ipVersion: 'string',
|
|
393
410
|
lang: 'string',
|
|
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
-
* - **accept**:
|
|
10
|
-
* - **drop**:
|
|
11
|
-
* - **log**:
|
|
8
|
+
* The action that Cloud Firewall performs on the traffic in the access control policy. Valid values:
|
|
9
|
+
* - **accept**: Allow.
|
|
10
|
+
* - **drop**: Deny.
|
|
11
|
+
* - **log**: Monitor.
|
|
12
12
|
*
|
|
13
13
|
* This parameter is required.
|
|
14
14
|
*
|
|
@@ -23,7 +23,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
23
23
|
* This parameter is required.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
*
|
|
26
|
+
* Allow specified domain names
|
|
27
27
|
*/
|
|
28
28
|
description?: string;
|
|
29
29
|
/**
|
|
@@ -31,9 +31,9 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
31
31
|
* The destination address in the access control policy.
|
|
32
32
|
*
|
|
33
33
|
* - If **DestinationType** is set to net, **Destination** is a destination CIDR block. Example: 1.2.3.4/24.
|
|
34
|
-
* - If **DestinationType** is set to group, **Destination** is
|
|
34
|
+
* - If **DestinationType** is set to group, **Destination** is a destination address book name. Example: db_group.
|
|
35
35
|
* - If **DestinationType** is set to domain, **Destination** is a destination domain name. Example: *.aliyuncs.com.
|
|
36
|
-
* - If **DestinationType** is set to location, **Destination** is a destination area (
|
|
36
|
+
* - If **DestinationType** is set to location, **Destination** is a destination area (see the area positional encoding below). Example: ["BJ11", "ZB"\\].
|
|
37
37
|
*
|
|
38
38
|
* This parameter is required.
|
|
39
39
|
*
|
|
@@ -43,12 +43,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
43
43
|
destination?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The type of the destination address in the access control policy.
|
|
47
|
-
*
|
|
48
|
-
* Valid values:
|
|
49
|
-
*
|
|
50
|
-
* - **group**: destination address book
|
|
51
|
-
* - **domain**: destination domain name
|
|
46
|
+
* The type of the destination address in the DNS firewall access control policy. Only group (destination address book) and domain (destination domain name) are supported. net and CIDR addresses are not applicable to this operation.
|
|
52
47
|
*
|
|
53
48
|
* This parameter is required.
|
|
54
49
|
*
|
|
@@ -58,7 +53,9 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
58
53
|
destinationType?: string;
|
|
59
54
|
/**
|
|
60
55
|
* @remarks
|
|
61
|
-
* The direction of the DNS firewall
|
|
56
|
+
* The traffic direction of the DNS firewall access control policy.
|
|
57
|
+
*
|
|
58
|
+
* > This parameter is not validated on the backend. When you create or modify a DNS firewall policy, the direction is always stored as **out** (outbound). Passing **in** does not cause an error or take effect. The DNS firewall supports only outbound policies.
|
|
62
59
|
*
|
|
63
60
|
* @example
|
|
64
61
|
* out
|
|
@@ -66,9 +63,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
66
63
|
direction?: string;
|
|
67
64
|
/**
|
|
68
65
|
* @remarks
|
|
69
|
-
* The IP address version
|
|
70
|
-
*
|
|
71
|
-
* Valid values:
|
|
66
|
+
* The IP address version. Valid values:
|
|
72
67
|
*
|
|
73
68
|
* - **4**: IPv4
|
|
74
69
|
*
|
|
@@ -92,7 +87,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
92
87
|
lang?: string;
|
|
93
88
|
/**
|
|
94
89
|
* @remarks
|
|
95
|
-
* The priority of the policy. A smaller value indicates a higher priority.
|
|
90
|
+
* The policy priority of the DNS firewall policy. Valid values: 1 to 20000. A smaller value indicates a higher policy priority.
|
|
96
91
|
*
|
|
97
92
|
* This parameter is required.
|
|
98
93
|
*
|
|
@@ -102,10 +97,10 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
102
97
|
priority?: string;
|
|
103
98
|
/**
|
|
104
99
|
* @remarks
|
|
105
|
-
*
|
|
100
|
+
* The enabled status of the access control policy. The policy is enabled by default after creation. Valid values:
|
|
106
101
|
*
|
|
107
|
-
* - **true**:
|
|
108
|
-
* - **false**:
|
|
102
|
+
* - **true**: Enable the access control policy.
|
|
103
|
+
* - **false**: Disable the access control policy.
|
|
109
104
|
*
|
|
110
105
|
* This parameter is required.
|
|
111
106
|
*
|
|
@@ -119,7 +114,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
|
|
|
119
114
|
*
|
|
120
115
|
* - If **SourceType** is set to `net`, Source is a source CIDR block. Example: 10.2.XX.XX/24.
|
|
121
116
|
*
|
|
122
|
-
* - If **SourceType** is set to `group`, Source is
|
|
117
|
+
* - If **SourceType** is set to `group`, Source is a source address book name. Example: db_group.
|
|
123
118
|
*
|
|
124
119
|
* This parameter is required.
|
|
125
120
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddInstanceMembersRequestMembers extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The description of the Cloud Firewall member account. The description must be 1 to 256 characters in length. You can add up to 20 member accounts.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* renewal
|
|
@@ -47,9 +47,12 @@ export class AddInstanceMembersRequestMembers extends $dara.Model {
|
|
|
47
47
|
export class AddInstanceMembersRequest extends $dara.Model {
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The Cloud Firewall member accounts. Call DescribeInstanceRdAccounts to obtain
|
|
50
|
+
* The list of Cloud Firewall member accounts to add. Call DescribeInstanceRdAccounts to obtain the available MemberUid values. You can add up to 20 members at a time, subject to the instance member quota.
|
|
51
51
|
*
|
|
52
52
|
* This parameter is required.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* AddInstanceMembers
|
|
53
56
|
*/
|
|
54
57
|
members?: AddInstanceMembersRequestMembers[];
|
|
55
58
|
static names(): { [key: string]: string } {
|
|
@@ -6,7 +6,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The ACK cluster ID. You can call the following operation to obtain the value:
|
|
9
|
-
* - [DescribeAckClusters](~~DescribeAckClusters~~):
|
|
9
|
+
* - [DescribeAckClusters](~~DescribeAckClusters~~): Queries the list of ACK clusters.
|
|
10
10
|
*
|
|
11
11
|
* This parameter is required.
|
|
12
12
|
*
|
|
@@ -16,7 +16,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
|
|
|
16
16
|
clusterId?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain letters, digits,
|
|
19
|
+
* The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-).
|
|
20
20
|
*
|
|
21
21
|
* This parameter is required.
|
|
22
22
|
*
|
|
@@ -35,7 +35,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
|
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
37
|
* The primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
38
|
-
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):
|
|
38
|
+
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
|
|
39
39
|
*
|
|
40
40
|
* This parameter is required.
|
|
41
41
|
*
|
|
@@ -54,7 +54,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
|
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
56
|
* The region ID of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
57
|
-
* - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):
|
|
57
|
+
* - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of synchronization node regions.
|
|
58
58
|
*
|
|
59
59
|
* > For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](https://help.aliyun.com/document_detail/2865120.html).
|
|
60
60
|
*
|
|
@@ -67,7 +67,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
|
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
69
|
* The standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
70
|
-
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):
|
|
70
|
+
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* vsw-2ze2gtlfozrab01cfo****
|
|
@@ -14,7 +14,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
16
|
* The ACK cluster ID. You can call the following operation to obtain the value:
|
|
17
|
-
* - [DescribeAckClusters](~~DescribeAckClusters~~):
|
|
17
|
+
* - [DescribeAckClusters](~~DescribeAckClusters~~): Queries the list of ACK clusters.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* cb0f5640b1b2d404cad6ba21509d7847b
|
|
@@ -30,7 +30,9 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
30
30
|
clusterName?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The health check status of the ACK cluster connector.
|
|
33
|
+
* The health check status of the ACK cluster connector. Valid values:
|
|
34
|
+
* - healthy: Healthy.
|
|
35
|
+
* - unhealthy: Unhealthy.
|
|
34
36
|
*
|
|
35
37
|
* @example
|
|
36
38
|
* healthy
|
|
@@ -46,7 +48,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
46
48
|
connectorId?: string;
|
|
47
49
|
/**
|
|
48
50
|
* @remarks
|
|
49
|
-
* The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain letters, digits,
|
|
51
|
+
* The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-).
|
|
50
52
|
*
|
|
51
53
|
* @example
|
|
52
54
|
* ack-cluster-connector-name
|
|
@@ -54,7 +56,10 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
54
56
|
connectorName?: string;
|
|
55
57
|
/**
|
|
56
58
|
* @remarks
|
|
57
|
-
* The instance status of the ACK cluster connector.
|
|
59
|
+
* The instance status of the ACK cluster connector. Valid values:
|
|
60
|
+
* - init: Initializing.
|
|
61
|
+
* - deleting: Deleting.
|
|
62
|
+
* - ready: Normal.
|
|
58
63
|
*
|
|
59
64
|
* @example
|
|
60
65
|
* ready
|
|
@@ -79,7 +84,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
79
84
|
/**
|
|
80
85
|
* @remarks
|
|
81
86
|
* The primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
82
|
-
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):
|
|
87
|
+
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
|
|
83
88
|
*
|
|
84
89
|
* @example
|
|
85
90
|
* vsw-2zerfbbje7dvnbii2****
|
|
@@ -96,7 +101,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
96
101
|
/**
|
|
97
102
|
* @remarks
|
|
98
103
|
* The zone of the primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
99
|
-
* - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):
|
|
104
|
+
* - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Queries the list of synchronization node vSwitch zones.
|
|
100
105
|
*
|
|
101
106
|
* @example
|
|
102
107
|
* cn-hangzhou-g
|
|
@@ -105,7 +110,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
105
110
|
/**
|
|
106
111
|
* @remarks
|
|
107
112
|
* The region ID of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
108
|
-
* - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):
|
|
113
|
+
* - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of synchronization node regions.
|
|
109
114
|
*
|
|
110
115
|
* > For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](https://help.aliyun.com/document_detail/2865120.html).
|
|
111
116
|
*
|
|
@@ -116,7 +121,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
116
121
|
/**
|
|
117
122
|
* @remarks
|
|
118
123
|
* The standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
119
|
-
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):
|
|
124
|
+
* - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
|
|
120
125
|
*
|
|
121
126
|
* @example
|
|
122
127
|
* vsw-2ze2gtlfozrab01cfo****
|
|
@@ -133,7 +138,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
133
138
|
/**
|
|
134
139
|
* @remarks
|
|
135
140
|
* The zone of the standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
|
|
136
|
-
* - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):
|
|
141
|
+
* - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Queries the list of synchronization node vSwitch zones.
|
|
137
142
|
*
|
|
138
143
|
* @example
|
|
139
144
|
* cn-hangzhou-h
|
|
@@ -141,7 +146,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
141
146
|
standbyVswitchZoneId?: string;
|
|
142
147
|
/**
|
|
143
148
|
* @remarks
|
|
144
|
-
* The unique ID
|
|
149
|
+
* The unique task ID for creating the ACK cluster connector.
|
|
145
150
|
*
|
|
146
151
|
* @example
|
|
147
152
|
* task-c92d4544ef7b6a42
|
|
@@ -223,7 +228,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
|
|
|
223
228
|
export class CreateAckClusterConnectorResponseBody extends $dara.Model {
|
|
224
229
|
/**
|
|
225
230
|
* @remarks
|
|
226
|
-
* The ACK cluster connector
|
|
231
|
+
* The response body of the ACK cluster connector.
|
|
227
232
|
*/
|
|
228
233
|
ackClusterConnector?: CreateAckClusterConnectorResponseBodyAckClusterConnector;
|
|
229
234
|
/**
|
|
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateIpsPrivateAssocRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The language
|
|
9
|
-
* - en: English.
|
|
10
|
-
* - zh: Chinese.
|
|
8
|
+
* The language of the request and response messages.
|
|
11
9
|
*
|
|
12
10
|
* @example
|
|
13
11
|
* zh
|
|
@@ -15,7 +13,9 @@ export class CreateIpsPrivateAssocRequest extends $dara.Model {
|
|
|
15
13
|
lang?: string;
|
|
16
14
|
/**
|
|
17
15
|
* @remarks
|
|
18
|
-
* The instance
|
|
16
|
+
* The ID of the Internet NAT gateway instance to associate. This parameter is required. If this parameter is not specified, ErrorParamsNotEnough is returned (HTTP 400, Parameters are insufficient.).
|
|
17
|
+
*
|
|
18
|
+
* > The backend does not validate the ID format. Instead, it queries the instance in the Cloud Firewall private network asset table for the current account. If the instance is not found, ErrorParamsInvalid is returned (HTTP 400, Invalid Params). Common scenarios include the resource type not being a NAT gateway, the resource not being managed by Cloud Firewall, or a newly created NAT gateway for which asynchronous asset synchronization has not yet completed.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ngw-c5vhmjdfp5t****
|
|
@@ -35,7 +35,7 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
|
|
|
35
35
|
ipProtocol?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The UID of the Alibaba Cloud member
|
|
38
|
+
* The UID of the Alibaba Cloud member accounts.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 258039427902****
|
|
@@ -52,6 +52,7 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
|
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
54
|
* The primary DNS server.
|
|
55
|
+
* > When PrivateDnsType is set to Custom, you must specify PrimaryDns and StandbyDns.
|
|
55
56
|
*
|
|
56
57
|
* @example
|
|
57
58
|
* 1.1.1.1
|
|
@@ -75,7 +76,7 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
|
|
|
75
76
|
primaryVSwitchIp?: string;
|
|
76
77
|
/**
|
|
77
78
|
* @remarks
|
|
78
|
-
* The private DNS
|
|
79
|
+
* The type of private DNS. When PrivateDnsType is set to Custom, Port and IpProtocol are required. When PrivateDnsType is set to PrivateZone, the backend automatically sets the port to 53 and uses the default protocol. Valid values:
|
|
79
80
|
* - **PrivateZone**
|
|
80
81
|
* - **Custom** (default)
|
|
81
82
|
*
|
|
@@ -99,6 +100,8 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
|
|
|
99
100
|
* @remarks
|
|
100
101
|
* The secondary DNS server.
|
|
101
102
|
*
|
|
103
|
+
* > When PrivateDnsType is set to Custom, you must specify PrimaryDns and StandbyDns.
|
|
104
|
+
*
|
|
102
105
|
* @example
|
|
103
106
|
* 1.1.1.2
|
|
104
107
|
*/
|
|
@@ -71,11 +71,27 @@ export class CreateSecurityProxyRequestNatRouteEntryList extends $dara.Model {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export class CreateSecurityProxyRequest extends $dara.Model {
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The deployment mode of the firewall service. Valid values:
|
|
77
|
+
*
|
|
78
|
+
* - PrimaryStandby: active/standby mode
|
|
79
|
+
* - MultiPrimary: active-active mode
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* PrimaryStandby
|
|
83
|
+
*/
|
|
84
|
+
firewallServiceMode?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The list of zone IDs used by the firewall service.
|
|
88
|
+
*/
|
|
89
|
+
firewallServiceZones?: string[];
|
|
74
90
|
/**
|
|
75
91
|
* @remarks
|
|
76
92
|
* The security protection switch. Valid values:
|
|
77
|
-
* - **open**:
|
|
78
|
-
* - **close**:
|
|
93
|
+
* - **open**: enabled
|
|
94
|
+
* - **close**: disabled
|
|
79
95
|
*
|
|
80
96
|
* @example
|
|
81
97
|
* close
|
|
@@ -163,8 +179,8 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
163
179
|
/**
|
|
164
180
|
* @remarks
|
|
165
181
|
* Specifies whether to use the automatic vSwitch mode. Valid values:
|
|
166
|
-
* - **true**:
|
|
167
|
-
* - **false**:
|
|
182
|
+
* - **true**: automatic mode
|
|
183
|
+
* - **false**: manual mode
|
|
168
184
|
* > The default value of VswitchAuto is true. If VswitchAuto is set to true, VswitchCidr is required and must be a valid CIDR block. If VswitchAuto is set to false, VswitchId is required.
|
|
169
185
|
*
|
|
170
186
|
* @example
|
|
@@ -189,6 +205,8 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
189
205
|
vswitchId?: string;
|
|
190
206
|
static names(): { [key: string]: string } {
|
|
191
207
|
return {
|
|
208
|
+
firewallServiceMode: 'FirewallServiceMode',
|
|
209
|
+
firewallServiceZones: 'FirewallServiceZones',
|
|
192
210
|
firewallSwitch: 'FirewallSwitch',
|
|
193
211
|
fwVswitchZoneId: 'FwVswitchZoneId',
|
|
194
212
|
lang: 'Lang',
|
|
@@ -206,6 +224,8 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
206
224
|
|
|
207
225
|
static types(): { [key: string]: any } {
|
|
208
226
|
return {
|
|
227
|
+
firewallServiceMode: 'string',
|
|
228
|
+
firewallServiceZones: { 'type': 'array', 'itemType': 'string' },
|
|
209
229
|
firewallSwitch: 'string',
|
|
210
230
|
fwVswitchZoneId: 'string',
|
|
211
231
|
lang: 'string',
|
|
@@ -222,6 +242,9 @@ export class CreateSecurityProxyRequest extends $dara.Model {
|
|
|
222
242
|
}
|
|
223
243
|
|
|
224
244
|
validate() {
|
|
245
|
+
if(Array.isArray(this.firewallServiceZones)) {
|
|
246
|
+
$dara.Model.validateArray(this.firewallServiceZones);
|
|
247
|
+
}
|
|
225
248
|
if(Array.isArray(this.natRouteEntryList)) {
|
|
226
249
|
$dara.Model.validateArray(this.natRouteEntryList);
|
|
227
250
|
}
|