@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,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 ACK cluster
|
|
8
|
+
* The key of the label for pods 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 ACK cluster
|
|
16
|
+
* The value of the label for pods in the ACK cluster.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* storage-operator
|
|
@@ -85,49 +85,48 @@ export class ModifyAddressBookShrinkRequestTagList extends $dara.Model {
|
|
|
85
85
|
export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The list of labels for ACK cluster
|
|
89
|
-
*
|
|
90
|
-
* > A maximum of 10 labels are supported.
|
|
88
|
+
* The list of labels for pods in the ACK cluster.
|
|
91
89
|
*/
|
|
92
90
|
ackLabels?: ModifyAddressBookShrinkRequestAckLabels[];
|
|
93
91
|
/**
|
|
94
92
|
* @remarks
|
|
95
|
-
* The list of namespaces for ACK cluster
|
|
96
|
-
* > A maximum of 10 namespaces are supported.
|
|
93
|
+
* The list of namespaces for pods in the ACK cluster.
|
|
97
94
|
*/
|
|
98
95
|
ackNamespaces?: string[];
|
|
99
96
|
/**
|
|
100
97
|
* @remarks
|
|
101
98
|
* The addresses in the address book. Separate multiple addresses with commas (,). Use a space to separate an address from its description. This parameter is required when GroupType is set to **ip**, **port**, or **domain**.
|
|
102
99
|
*
|
|
103
|
-
* - When GroupType is set to **ip**, specify IP addresses. Example: 1.2.XX.XX/32 Development CIDR block,10.0.0.X/24,1.2.XX.XX/24 Test CIDR block.
|
|
104
|
-
*
|
|
105
|
-
* - When GroupType is set to **port**, specify ports or port ranges. Example: 80/80 HTTP port,100/200,3306 Database port.
|
|
106
|
-
*
|
|
107
|
-
* - When GroupType is set to **domain**, specify domain names. Example: demo1.aliyun.com Test domain name,demo2.aliyun.com,www.aliyun.com Alibaba Cloud official website.
|
|
108
|
-
*
|
|
109
100
|
* @example
|
|
110
101
|
* 192.0.XX.XX/32 ,192.0.XX.XX/24
|
|
111
102
|
*/
|
|
112
103
|
addressList?: string;
|
|
113
104
|
/**
|
|
114
105
|
* @remarks
|
|
115
|
-
* The list of member accounts
|
|
106
|
+
* The list of member accounts in the asset address book.
|
|
116
107
|
*/
|
|
117
108
|
assetMemberUidsShrink?: string;
|
|
118
109
|
/**
|
|
119
110
|
* @remarks
|
|
120
|
-
* The list of regions and resource types
|
|
111
|
+
* The cloud address book, including the list of regions and resource types.
|
|
121
112
|
*/
|
|
122
113
|
assetRegionResourceTypesShrink?: string;
|
|
123
114
|
/**
|
|
124
115
|
* @remarks
|
|
125
|
-
*
|
|
116
|
+
* Indicates whether the public IP addresses of Elastic Compute Service (ECS) instances that match the specified tags are automatically added to the address book.
|
|
126
117
|
*
|
|
127
118
|
* @example
|
|
128
119
|
* 1
|
|
129
120
|
*/
|
|
130
121
|
autoAddTagEcs?: string;
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The idempotency token.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ddadxefexxxx
|
|
128
|
+
*/
|
|
129
|
+
clientToken?: string;
|
|
131
130
|
/**
|
|
132
131
|
* @remarks
|
|
133
132
|
* The description of the address book.
|
|
@@ -138,6 +137,11 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
138
137
|
* bj-001
|
|
139
138
|
*/
|
|
140
139
|
description?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Specifies whether to perform a dry run.
|
|
143
|
+
*/
|
|
144
|
+
dryRun?: boolean;
|
|
141
145
|
/**
|
|
142
146
|
* @remarks
|
|
143
147
|
* The name of the address book.
|
|
@@ -152,8 +156,6 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
152
156
|
* @remarks
|
|
153
157
|
* The unique ID of the address book.
|
|
154
158
|
*
|
|
155
|
-
* > You can obtain the value by calling the [DescribeAddressBook](~~DescribeAddressBook~~) operation.
|
|
156
|
-
*
|
|
157
159
|
* This parameter is required.
|
|
158
160
|
*
|
|
159
161
|
* @example
|
|
@@ -162,9 +164,7 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
162
164
|
groupUuid?: string;
|
|
163
165
|
/**
|
|
164
166
|
* @remarks
|
|
165
|
-
* The language type.
|
|
166
|
-
* - **en**: English.
|
|
167
|
-
* - **zh**: Chinese (default).
|
|
167
|
+
* The language type.
|
|
168
168
|
*
|
|
169
169
|
* @example
|
|
170
170
|
* zh
|
|
@@ -174,9 +174,6 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
174
174
|
* @remarks
|
|
175
175
|
* The modification mode.
|
|
176
176
|
*
|
|
177
|
-
* > When GroupType is set to **ip**, **ipv6**, **port**, or **domain**, the default value is **Cover** if this parameter is not specified.
|
|
178
|
-
* >Notice: When GroupType is set to **tag**, this parameter must be left empty.</notice>
|
|
179
|
-
*
|
|
180
177
|
* @example
|
|
181
178
|
* Cover
|
|
182
179
|
*/
|
|
@@ -193,14 +190,12 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
193
190
|
sourceIp?: string;
|
|
194
191
|
/**
|
|
195
192
|
* @remarks
|
|
196
|
-
* The ECS
|
|
193
|
+
* The list of ECS tags.
|
|
197
194
|
*/
|
|
198
195
|
tagList?: ModifyAddressBookShrinkRequestTagList[];
|
|
199
196
|
/**
|
|
200
197
|
* @remarks
|
|
201
|
-
* The logical relationship among multiple ECS tags.
|
|
202
|
-
* - **or**: The public IP address of an ECS instance is added to the address book if the instance matches any of the specified tags.
|
|
203
|
-
* - **and**: The public IP address of an ECS instance is added to the address book only if the instance matches all of the specified tags.
|
|
198
|
+
* The logical relationship among multiple ECS tags.
|
|
204
199
|
*
|
|
205
200
|
* @example
|
|
206
201
|
* and
|
|
@@ -214,7 +209,9 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
214
209
|
assetMemberUidsShrink: 'AssetMemberUids',
|
|
215
210
|
assetRegionResourceTypesShrink: 'AssetRegionResourceTypes',
|
|
216
211
|
autoAddTagEcs: 'AutoAddTagEcs',
|
|
212
|
+
clientToken: 'ClientToken',
|
|
217
213
|
description: 'Description',
|
|
214
|
+
dryRun: 'DryRun',
|
|
218
215
|
groupName: 'GroupName',
|
|
219
216
|
groupUuid: 'GroupUuid',
|
|
220
217
|
lang: 'Lang',
|
|
@@ -233,7 +230,9 @@ export class ModifyAddressBookShrinkRequest extends $dara.Model {
|
|
|
233
230
|
assetMemberUidsShrink: 'string',
|
|
234
231
|
assetRegionResourceTypesShrink: 'string',
|
|
235
232
|
autoAddTagEcs: 'string',
|
|
233
|
+
clientToken: 'string',
|
|
236
234
|
description: 'string',
|
|
235
|
+
dryRun: 'boolean',
|
|
237
236
|
groupName: 'string',
|
|
238
237
|
groupUuid: 'string',
|
|
239
238
|
lang: 'string',
|
|
@@ -5,12 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyControlPolicyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The action that
|
|
9
|
-
*
|
|
10
|
-
* - **
|
|
11
|
-
*
|
|
12
|
-
* - **drop**: denies the traffic.
|
|
13
|
-
*
|
|
8
|
+
* The action that the access control policy performs on the traffic that passes through the firewall. Valid values:
|
|
9
|
+
* - **accept**: allows access.
|
|
10
|
+
* - **drop**: deny access.
|
|
14
11
|
* - **log**: monitors the traffic.
|
|
15
12
|
*
|
|
16
13
|
* @example
|
|
@@ -21,7 +18,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
21
18
|
* @remarks
|
|
22
19
|
* The unique ID of the access control policy.
|
|
23
20
|
*
|
|
24
|
-
* > To modify an access control policy, provide the unique ID of the policy.
|
|
21
|
+
* > To modify an access control policy, you must provide the unique ID of the policy. You can call the [DescribeControlPolicy](https://help.aliyun.com/document_detail/138866.html) operation to obtain the ID.
|
|
25
22
|
*
|
|
26
23
|
* This parameter is required.
|
|
27
24
|
*
|
|
@@ -31,39 +28,26 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
31
28
|
aclUuid?: string;
|
|
32
29
|
/**
|
|
33
30
|
* @remarks
|
|
34
|
-
* The application type supported by the access control policy.
|
|
31
|
+
* The application type supported by the access control policy. Valid values:
|
|
35
32
|
*
|
|
36
33
|
* - **ANY**
|
|
37
|
-
*
|
|
38
34
|
* - **HTTP**
|
|
39
|
-
*
|
|
40
35
|
* - **HTTPS**
|
|
41
|
-
*
|
|
42
36
|
* - **MySQL**
|
|
43
|
-
*
|
|
44
37
|
* - **SMTP**
|
|
45
|
-
*
|
|
46
38
|
* - **SMTPS**
|
|
47
|
-
*
|
|
48
39
|
* - **RDP**
|
|
49
|
-
*
|
|
50
40
|
* - **VNC**
|
|
51
|
-
*
|
|
52
41
|
* - **SSH**
|
|
53
|
-
*
|
|
54
42
|
* - **Redis**
|
|
55
|
-
*
|
|
56
43
|
* - **MQTT**
|
|
57
|
-
*
|
|
58
44
|
* - **MongoDB**
|
|
59
|
-
*
|
|
60
45
|
* - **Memcache**
|
|
61
|
-
*
|
|
62
46
|
* - **SSL**
|
|
63
47
|
*
|
|
64
|
-
* > **ANY** indicates that the policy applies to all
|
|
48
|
+
* > **ANY** indicates that the policy applies to all types of applications.
|
|
65
49
|
*
|
|
66
|
-
* >
|
|
50
|
+
* > You must specify either ApplicationNameList or ApplicationName. You cannot leave both parameters empty. If you specify both parameters, the value of ApplicationNameList takes precedence.
|
|
67
51
|
*
|
|
68
52
|
* @example
|
|
69
53
|
* HTTP
|
|
@@ -73,11 +57,19 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
73
57
|
applicationName?: string;
|
|
74
58
|
/**
|
|
75
59
|
* @remarks
|
|
76
|
-
* The
|
|
60
|
+
* The application name list.
|
|
77
61
|
*
|
|
78
|
-
* >
|
|
62
|
+
* > You must specify either ApplicationNameList or ApplicationName. You cannot leave both parameters empty. If you specify both parameters, the value of ApplicationNameList takes precedence.
|
|
79
63
|
*/
|
|
80
64
|
applicationNameList?: string[];
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The idempotence token.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ddadxefexxxx
|
|
71
|
+
*/
|
|
72
|
+
clientToken?: string;
|
|
81
73
|
/**
|
|
82
74
|
* @remarks
|
|
83
75
|
* The description of the access control policy.
|
|
@@ -107,7 +99,6 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
107
99
|
* The type of the destination port in the access control policy. Valid values:
|
|
108
100
|
*
|
|
109
101
|
* - **port**: port
|
|
110
|
-
*
|
|
111
102
|
* - **group**: port address book
|
|
112
103
|
*
|
|
113
104
|
* @example
|
|
@@ -118,13 +109,10 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
118
109
|
* @remarks
|
|
119
110
|
* The destination address in the access control policy.
|
|
120
111
|
*
|
|
121
|
-
* - If **DestinationType** is set to net,
|
|
122
|
-
*
|
|
123
|
-
* - If **DestinationType** is set to
|
|
124
|
-
*
|
|
125
|
-
* - If **DestinationType** is set to domain, set **Destination** to a destination domain name. Example: \\*.aliyuncs.com
|
|
126
|
-
*
|
|
127
|
-
* - If **DestinationType** is set to location, set **Destination** to a destination location code. Example: ["BJ11", "ZB"]
|
|
112
|
+
* - If **DestinationType** is set to net, **Destination** is a destination CIDR block. Example: 1.2.XX.XX/24.
|
|
113
|
+
* - If **DestinationType** is set to group, **Destination** is a destination address book name. Example: db_group.
|
|
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 specific area positional encoding, see the subsequent sections. Example: ["BJ11", "ZB"\\].
|
|
128
116
|
*
|
|
129
117
|
* @example
|
|
130
118
|
* 192.0.XX.XX/24
|
|
@@ -135,11 +123,8 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
135
123
|
* The type of the destination address in the access control policy. Valid values:
|
|
136
124
|
*
|
|
137
125
|
* - **net**: destination CIDR block
|
|
138
|
-
*
|
|
139
126
|
* - **group**: destination address book
|
|
140
|
-
*
|
|
141
127
|
* - **domain**: destination domain name
|
|
142
|
-
*
|
|
143
128
|
* - **location**: destination region
|
|
144
129
|
*
|
|
145
130
|
* @example
|
|
@@ -148,11 +133,10 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
148
133
|
destinationType?: string;
|
|
149
134
|
/**
|
|
150
135
|
* @remarks
|
|
151
|
-
* The direction of the
|
|
152
|
-
*
|
|
153
|
-
* - **in**: inbound traffic
|
|
136
|
+
* The traffic direction of the access control policy. Valid values:
|
|
154
137
|
*
|
|
155
|
-
* - **
|
|
138
|
+
* - **in**: inbound traffic access control
|
|
139
|
+
* - **out**: outbound traffic access control
|
|
156
140
|
*
|
|
157
141
|
* @example
|
|
158
142
|
* in
|
|
@@ -160,13 +144,11 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
160
144
|
direction?: string;
|
|
161
145
|
/**
|
|
162
146
|
* @remarks
|
|
163
|
-
* The domain name resolution method
|
|
147
|
+
* The domain name resolution method of the access control policy. Valid values:
|
|
164
148
|
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* - **FQDN_AND_DNS**: FQDN-based and DNS-based dynamic resolution
|
|
149
|
+
* * **FQDN**: FQDN-based
|
|
150
|
+
* * **DNS**: DNS-based dynamic resolution
|
|
151
|
+
* * **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution
|
|
170
152
|
*
|
|
171
153
|
* @example
|
|
172
154
|
* FQDN
|
|
@@ -174,9 +156,13 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
174
156
|
domainResolveType?: string;
|
|
175
157
|
/**
|
|
176
158
|
* @remarks
|
|
177
|
-
*
|
|
178
|
-
|
|
179
|
-
|
|
159
|
+
* Specifies whether to perform a dry run.
|
|
160
|
+
*/
|
|
161
|
+
dryRun?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* @remarks
|
|
164
|
+
* The end time of the Policy Validity Period for 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 access control policy validity period.
|
|
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.
|
|
180
166
|
*
|
|
181
167
|
* @example
|
|
182
168
|
* 1694764800
|
|
@@ -185,9 +171,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
185
171
|
/**
|
|
186
172
|
* @remarks
|
|
187
173
|
* The language of the request and response. Valid values:
|
|
188
|
-
*
|
|
189
174
|
* - **zh** (default): Chinese
|
|
190
|
-
*
|
|
191
175
|
* - **en**: English
|
|
192
176
|
*
|
|
193
177
|
* @example
|
|
@@ -196,19 +180,16 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
196
180
|
lang?: string;
|
|
197
181
|
/**
|
|
198
182
|
* @remarks
|
|
199
|
-
* The protocol type
|
|
183
|
+
* The security protocol type in the access control policy. Valid values:
|
|
200
184
|
*
|
|
201
185
|
* - **ANY**
|
|
202
|
-
*
|
|
203
186
|
* - **TCP**
|
|
204
|
-
*
|
|
205
187
|
* - **UDP**
|
|
206
|
-
*
|
|
207
188
|
* - **ICMP**
|
|
208
189
|
*
|
|
209
190
|
* > **ANY** indicates that the policy applies to all protocol types.
|
|
210
191
|
*
|
|
211
|
-
* > If the traffic direction is outbound and the destination is a
|
|
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 configure only the TCP or ANY protocol. If you select TCP, the application can be HTTP, HTTPS, SMTP, SMTPS, or SSL. If you select ANY, the application can only be ANY.
|
|
212
193
|
*
|
|
213
194
|
* @example
|
|
214
195
|
* TCP
|
|
@@ -216,11 +197,10 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
216
197
|
proto?: string;
|
|
217
198
|
/**
|
|
218
199
|
* @remarks
|
|
219
|
-
* The status of the access control policy. Valid values:
|
|
200
|
+
* The enabling status of the access control policy. Valid values:
|
|
220
201
|
*
|
|
221
202
|
* - true: The policy is enabled.
|
|
222
|
-
*
|
|
223
|
-
* - false: The policy is disabled.
|
|
203
|
+
* - false: The policy is in shutdown state.
|
|
224
204
|
*
|
|
225
205
|
* @example
|
|
226
206
|
* true
|
|
@@ -228,27 +208,21 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
228
208
|
release?: string;
|
|
229
209
|
/**
|
|
230
210
|
* @remarks
|
|
231
|
-
* The days of
|
|
232
|
-
*
|
|
233
|
-
* - If RepeatType is set to `Permanent`, `None`, or `Daily`, leave this parameter 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 recurrence days.
|
|
212
|
+
* - If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty collection.
|
|
234
213
|
* Example: []
|
|
235
|
-
*
|
|
236
|
-
* - If RepeatType is set to Weekly, you must specify this parameter.
|
|
214
|
+
* - If RepeatType is set to Weekly, RepeatDays cannot be empty.
|
|
237
215
|
* Example: [0, 6]
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
* - If RepeatType is set to `Monthly`, you must specify this parameter.
|
|
216
|
+
* > If RepeatType is set to Weekly, the values in RepeatDays cannot be repeated.
|
|
217
|
+
* - If RepeatType is set to `Monthly`, RepeatDays cannot be empty.
|
|
242
218
|
* Example: [1, 31]
|
|
243
|
-
*
|
|
244
|
-
* > If RepeatType is set to Monthly, the values in the array cannot be repeated.
|
|
219
|
+
* > If RepeatType is set to Monthly, the values in RepeatDays cannot be repeated.
|
|
245
220
|
*/
|
|
246
221
|
repeatDays?: number[];
|
|
247
222
|
/**
|
|
248
223
|
* @remarks
|
|
249
|
-
* The end time of the
|
|
250
|
-
*
|
|
251
|
-
* > If RepeatType is set to Permanent or None, leave this parameter empty. If RepeatType is set to Daily, Weekly, or Monthly, you must specify this parameter.
|
|
224
|
+
* The recurrence end time of the policy validity period. The time is in the HH:mm format and uses a 24-hour clock. Example: 23:00.
|
|
225
|
+
* > If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter is required.
|
|
252
226
|
*
|
|
253
227
|
* @example
|
|
254
228
|
* 23:30
|
|
@@ -256,9 +230,8 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
256
230
|
repeatEndTime?: string;
|
|
257
231
|
/**
|
|
258
232
|
* @remarks
|
|
259
|
-
* The start time of the
|
|
260
|
-
*
|
|
261
|
-
* > If RepeatType is set to Permanent or None, leave this parameter empty. If RepeatType is set to Daily, Weekly, or Monthly, you must specify this parameter.
|
|
233
|
+
* The recurrence start time of the policy validity period. The time is in the HH:mm format and uses a 24-hour clock. Example: 08:00.
|
|
234
|
+
* > If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter is required.
|
|
262
235
|
*
|
|
263
236
|
* @example
|
|
264
237
|
* 08:00
|
|
@@ -266,17 +239,12 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
266
239
|
repeatStartTime?: string;
|
|
267
240
|
/**
|
|
268
241
|
* @remarks
|
|
269
|
-
* The recurrence type for the policy validity period. Valid values:
|
|
270
|
-
*
|
|
271
|
-
* - **
|
|
272
|
-
*
|
|
273
|
-
* - **
|
|
274
|
-
*
|
|
275
|
-
* - **Daily**: The policy is valid daily.
|
|
276
|
-
*
|
|
277
|
-
* - **Weekly**: The policy is valid weekly.
|
|
278
|
-
*
|
|
279
|
-
* - **Monthly**: The policy is valid monthly.
|
|
242
|
+
* The recurrence type for the policy validity period of the access control policy. Valid values:
|
|
243
|
+
* - **Permanent** (default): always
|
|
244
|
+
* - **None**: one-time
|
|
245
|
+
* - **Daily**: daily
|
|
246
|
+
* - **Weekly**: weekly
|
|
247
|
+
* - **Monthly**: monthly
|
|
280
248
|
*
|
|
281
249
|
* @example
|
|
282
250
|
* Permanent
|
|
@@ -286,11 +254,9 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
286
254
|
* @remarks
|
|
287
255
|
* The source address in the access control policy.
|
|
288
256
|
*
|
|
289
|
-
* - If **SourceType** is set to net,
|
|
290
|
-
*
|
|
291
|
-
* - If **SourceType** is set to
|
|
292
|
-
*
|
|
293
|
-
* - If **SourceType** is set to location, set **Source** to a source location code. Example: ["BJ11", "ZB"]
|
|
257
|
+
* - If **SourceType** is set to net, **Source** is a source CIDR block. Example: 1.2.XX.XX/24.
|
|
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 specific area positional encoding, see the subsequent sections. Example: ["BJ11", "ZB"\\].
|
|
294
260
|
*
|
|
295
261
|
* @example
|
|
296
262
|
* 192.0.XX.XX/24
|
|
@@ -301,9 +267,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
301
267
|
* The type of the source address in the access control policy. Valid values:
|
|
302
268
|
*
|
|
303
269
|
* - **net**: source CIDR block
|
|
304
|
-
*
|
|
305
270
|
* - **group**: source address book
|
|
306
|
-
*
|
|
307
271
|
* - **location**: source region
|
|
308
272
|
*
|
|
309
273
|
* @example
|
|
@@ -312,9 +276,8 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
312
276
|
sourceType?: string;
|
|
313
277
|
/**
|
|
314
278
|
* @remarks
|
|
315
|
-
* The start time of the
|
|
316
|
-
*
|
|
317
|
-
* > If RepeatType is set to Permanent, leave this parameter empty. If RepeatType is set to None, Daily, Weekly, or Monthly, you must specify this parameter.
|
|
279
|
+
* The start time of the Policy Validity Period for 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 access control policy validity period.
|
|
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.
|
|
318
281
|
*
|
|
319
282
|
* @example
|
|
320
283
|
* 1694761200
|
|
@@ -326,6 +289,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
326
289
|
aclUuid: 'AclUuid',
|
|
327
290
|
applicationName: 'ApplicationName',
|
|
328
291
|
applicationNameList: 'ApplicationNameList',
|
|
292
|
+
clientToken: 'ClientToken',
|
|
329
293
|
description: 'Description',
|
|
330
294
|
destPort: 'DestPort',
|
|
331
295
|
destPortGroup: 'DestPortGroup',
|
|
@@ -334,6 +298,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
334
298
|
destinationType: 'DestinationType',
|
|
335
299
|
direction: 'Direction',
|
|
336
300
|
domainResolveType: 'DomainResolveType',
|
|
301
|
+
dryRun: 'DryRun',
|
|
337
302
|
endTime: 'EndTime',
|
|
338
303
|
lang: 'Lang',
|
|
339
304
|
proto: 'Proto',
|
|
@@ -354,6 +319,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
354
319
|
aclUuid: 'string',
|
|
355
320
|
applicationName: 'string',
|
|
356
321
|
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
322
|
+
clientToken: 'string',
|
|
357
323
|
description: 'string',
|
|
358
324
|
destPort: 'string',
|
|
359
325
|
destPortGroup: 'string',
|
|
@@ -362,6 +328,7 @@ export class ModifyControlPolicyRequest extends $dara.Model {
|
|
|
362
328
|
destinationType: 'string',
|
|
363
329
|
direction: 'string',
|
|
364
330
|
domainResolveType: 'string',
|
|
331
|
+
dryRun: 'boolean',
|
|
365
332
|
endTime: 'number',
|
|
366
333
|
lang: 'string',
|
|
367
334
|
proto: 'string',
|
|
@@ -5,7 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyControlPolicyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Indicates whether this is a successful dry run response. A value of true indicates that only the dry run was completed and no actual modification was performed.
|
|
9
|
+
*/
|
|
10
|
+
dryRun?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The request ID.
|
|
9
14
|
*
|
|
10
15
|
* @example
|
|
11
16
|
* CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D
|
|
@@ -13,12 +18,14 @@ export class ModifyControlPolicyResponseBody extends $dara.Model {
|
|
|
13
18
|
requestId?: string;
|
|
14
19
|
static names(): { [key: string]: string } {
|
|
15
20
|
return {
|
|
21
|
+
dryRun: 'DryRun',
|
|
16
22
|
requestId: 'RequestId',
|
|
17
23
|
};
|
|
18
24
|
}
|
|
19
25
|
|
|
20
26
|
static types(): { [key: string]: any } {
|
|
21
27
|
return {
|
|
28
|
+
dryRun: 'boolean',
|
|
22
29
|
requestId: 'string',
|
|
23
30
|
};
|
|
24
31
|
}
|
|
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Specifies whether to enable Basic Policies. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - **1**: Enable.
|
|
11
11
|
*
|
|
12
|
-
* - **0**:
|
|
12
|
+
* - **0**: shutdown.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* 1
|
|
@@ -17,7 +17,7 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
17
17
|
basicRules?: number;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
*
|
|
20
|
+
* Specifies whether to enable threat intelligence. Valid values:
|
|
21
21
|
*
|
|
22
22
|
* - **1**: Enable.
|
|
23
23
|
*
|
|
@@ -29,7 +29,7 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
29
29
|
ctiRules?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The language of the request and response. Valid values:
|
|
32
|
+
* The language type of the request and response. Valid values:
|
|
33
33
|
*
|
|
34
34
|
* - **zh** (default): Chinese.
|
|
35
35
|
*
|
|
@@ -49,7 +49,7 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
49
49
|
maxSdl?: number;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* Specifies whether to enable virtual patches. Valid values:
|
|
53
53
|
*
|
|
54
54
|
* - **1**: Enable.
|
|
55
55
|
*
|
|
@@ -61,7 +61,7 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
61
61
|
patchRules?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The IPS
|
|
64
|
+
* The IPS rules group. Valid values:
|
|
65
65
|
*
|
|
66
66
|
* - **1**: Loose rule group.
|
|
67
67
|
*
|
|
@@ -75,11 +75,11 @@ export class ModifyDefaultIPSConfigRequest extends $dara.Model {
|
|
|
75
75
|
ruleClass?: number;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The
|
|
78
|
+
* The IPS defense mode. Valid values:
|
|
79
79
|
*
|
|
80
80
|
* - **1**: Block Mode.
|
|
81
81
|
*
|
|
82
|
-
* - **0**:
|
|
82
|
+
* - **0**: monitor mode.
|
|
83
83
|
*
|
|
84
84
|
* This parameter is required.
|
|
85
85
|
*
|