@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 DescribeAssetRiskListResponseBodyAssetList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The IP address
|
|
8
|
+
* The server IP address.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 39.108.XX.XX
|
|
@@ -13,13 +13,13 @@ export class DescribeAssetRiskListResponseBodyAssetList extends $dara.Model {
|
|
|
13
13
|
ip?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The IP version of the
|
|
16
|
+
* The IP address version of the assets protected by Cloud Firewall.
|
|
17
17
|
*
|
|
18
18
|
* Valid values:
|
|
19
19
|
*
|
|
20
|
-
* - **4**: IPv4
|
|
20
|
+
* - **4**: IPv4 address.
|
|
21
21
|
*
|
|
22
|
-
* - **6**: IPv6
|
|
22
|
+
* - **6**: IPv6 address.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 4
|
|
@@ -27,7 +27,7 @@ export class DescribeAssetRiskListResponseBodyAssetList extends $dara.Model {
|
|
|
27
27
|
ipVersion?: number;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The reason
|
|
30
|
+
* The risk reason.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* other
|
|
@@ -74,7 +74,7 @@ export class DescribeAssetRiskListResponseBodyAssetList extends $dara.Model {
|
|
|
74
74
|
export class DescribeAssetRiskListResponseBody extends $dara.Model {
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The details
|
|
77
|
+
* The asset details returned.
|
|
78
78
|
*/
|
|
79
79
|
assetList?: DescribeAssetRiskListResponseBodyAssetList[];
|
|
80
80
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeControlPolicyDomainResolveRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The domain name. This parameter is required.
|
|
8
|
+
* The domain name. This parameter is required and must be specified when you call this operation.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* example.com
|
|
@@ -21,7 +21,9 @@ export class DescribeControlPolicyDomainResolveRequest extends $dara.Model {
|
|
|
21
21
|
firewallType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The IP address version. Valid values: **4** (IPv4) and **6** (IPv6).
|
|
25
|
+
*
|
|
26
|
+
* > This parameter is unconditionally required and has no dependency on RegionNo. If this parameter is not specified, the error MissingParameter.IpVersion is returned (-200157). If the value is invalid, the error ErrorParameterIpVersion is returned (-200135).
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* 4
|
|
@@ -37,7 +39,7 @@ export class DescribeControlPolicyDomainResolveRequest extends $dara.Model {
|
|
|
37
39
|
lang?: string;
|
|
38
40
|
/**
|
|
39
41
|
* @remarks
|
|
40
|
-
* The region ID. This parameter is required.
|
|
42
|
+
* The region ID. This parameter is required. If this parameter is not specified, the error MissingParameter.RegionNo is returned (-200155, The required parameter \\"RegionNo\\" is not provided.).
|
|
41
43
|
*
|
|
42
44
|
* @example
|
|
43
45
|
* cn-beijing
|
|
@@ -5,15 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeControlPolicyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The action that Cloud Firewall performs on the traffic. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* - **accept**: Allow
|
|
11
|
-
*
|
|
12
|
-
* - **drop**: Deny
|
|
13
|
-
*
|
|
14
|
-
* - **log**: Monitor
|
|
15
|
-
*
|
|
16
|
-
* > If you do not set this parameter, all action types are queried.
|
|
8
|
+
* The action that Cloud Firewall performs on the traffic in the access control policy. Valid values:
|
|
17
9
|
*
|
|
18
10
|
* @example
|
|
19
11
|
* accept
|
|
@@ -21,7 +13,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
21
13
|
aclAction?: string;
|
|
22
14
|
/**
|
|
23
15
|
* @remarks
|
|
24
|
-
* The unique ID of the access control policy.
|
|
16
|
+
* The unique ID of the access control policy. You must specify at least one of AclUuid and Direction. If AclUuid is specified, you can query the policy by its ID.
|
|
25
17
|
*
|
|
26
18
|
* @example
|
|
27
19
|
* 00281255-d220-4db1-8f4f-c4df221a****
|
|
@@ -29,9 +21,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
29
21
|
aclUuid?: string;
|
|
30
22
|
/**
|
|
31
23
|
* @remarks
|
|
32
|
-
* The number of the page
|
|
33
|
-
*
|
|
34
|
-
* Default value: 1.
|
|
24
|
+
* The page number of the current page displayed in a paging query.
|
|
35
25
|
*
|
|
36
26
|
* This parameter is required.
|
|
37
27
|
*
|
|
@@ -43,25 +33,13 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
43
33
|
* @remarks
|
|
44
34
|
* The description of the access control policy. Fuzzy queries are supported.
|
|
45
35
|
*
|
|
46
|
-
* > If you do not set this parameter, the descriptions of all policies are queried.
|
|
47
|
-
*
|
|
48
36
|
* @example
|
|
49
|
-
*
|
|
37
|
+
* Allow access to office network segment
|
|
50
38
|
*/
|
|
51
39
|
description?: string;
|
|
52
40
|
/**
|
|
53
41
|
* @remarks
|
|
54
|
-
* The destination address in the access control policy. Fuzzy queries are supported. The value
|
|
55
|
-
*
|
|
56
|
-
* - If \\`DestinationType\\` is \\`net\\`, the value of this parameter is a CIDR block. Example: 10.0.3.0/24.
|
|
57
|
-
*
|
|
58
|
-
* - If \\`DestinationType\\` is \\`domain\\`, the value of this parameter is a domain name. Example: aliyun.
|
|
59
|
-
*
|
|
60
|
-
* - If \\`DestinationType\\` is \\`group\\`, the value of this parameter is the name of an address book. Example: db_group.
|
|
61
|
-
*
|
|
62
|
-
* - If \\`DestinationType\\` is \\`location\\`, the value of this parameter is a region name. For more information about region codes, see AddControlPolicy. Example: \\`["BJ11", "ZB"]\\`.
|
|
63
|
-
*
|
|
64
|
-
* > If you do not set this parameter, all types of destination addresses are queried.
|
|
42
|
+
* The destination address in the access control policy. Fuzzy queries are supported. The value varies depending on the DestinationType (destination type).
|
|
65
43
|
*
|
|
66
44
|
* @example
|
|
67
45
|
* 192.0.XX.XX
|
|
@@ -69,11 +47,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
69
47
|
destination?: string;
|
|
70
48
|
/**
|
|
71
49
|
* @remarks
|
|
72
|
-
* The traffic direction
|
|
73
|
-
*
|
|
74
|
-
* - **in**: Inbound traffic from an external source to an internal destination.
|
|
75
|
-
*
|
|
76
|
-
* - **out**: Outbound traffic from an internal source to an external destination.
|
|
50
|
+
* The traffic direction controlled by the access control policy. Valid values: in (inbound) or out (outbound). You must specify at least one of Direction and AclUuid. If AclUuid is not specified, you must specify a non-empty Direction. Otherwise, the ErrorParametersDirection error is returned.
|
|
77
51
|
*
|
|
78
52
|
* @example
|
|
79
53
|
* in
|
|
@@ -81,11 +55,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
81
55
|
direction?: string;
|
|
82
56
|
/**
|
|
83
57
|
* @remarks
|
|
84
|
-
* The IP version
|
|
85
|
-
*
|
|
86
|
-
* - **4** (default): IPv4 address
|
|
87
|
-
*
|
|
88
|
-
* - **6**: IPv6 address
|
|
58
|
+
* The supported IP address version. Valid values:
|
|
89
59
|
*
|
|
90
60
|
* @example
|
|
91
61
|
* 6
|
|
@@ -93,11 +63,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
93
63
|
ipVersion?: string;
|
|
94
64
|
/**
|
|
95
65
|
* @remarks
|
|
96
|
-
* The language
|
|
97
|
-
*
|
|
98
|
-
* - **zh** (default): Chinese
|
|
99
|
-
*
|
|
100
|
-
* - **en**: English
|
|
66
|
+
* The language type for receiving messages. Valid values:
|
|
101
67
|
*
|
|
102
68
|
* @example
|
|
103
69
|
* zh
|
|
@@ -105,7 +71,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
105
71
|
lang?: string;
|
|
106
72
|
/**
|
|
107
73
|
* @remarks
|
|
108
|
-
* The number of entries
|
|
74
|
+
* The maximum number of entries per page displayed in a paging query.
|
|
109
75
|
*
|
|
110
76
|
* This parameter is required.
|
|
111
77
|
*
|
|
@@ -117,27 +83,13 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
117
83
|
* @remarks
|
|
118
84
|
* The protocol type of the traffic in the access control policy. Valid values:
|
|
119
85
|
*
|
|
120
|
-
* - **TCP**
|
|
121
|
-
*
|
|
122
|
-
* - **UDP**
|
|
123
|
-
*
|
|
124
|
-
* - **ICMP**
|
|
125
|
-
*
|
|
126
|
-
* - **ANY** (all protocol types)
|
|
127
|
-
*
|
|
128
|
-
* > If you do not set this parameter, all protocol types are queried.
|
|
129
|
-
*
|
|
130
86
|
* @example
|
|
131
87
|
* TCP
|
|
132
88
|
*/
|
|
133
89
|
proto?: string;
|
|
134
90
|
/**
|
|
135
91
|
* @remarks
|
|
136
|
-
* The status of the access control policy. Valid values:
|
|
137
|
-
*
|
|
138
|
-
* - **true**: The access control policy is enabled.
|
|
139
|
-
*
|
|
140
|
-
* - **false**: The access control policy is disabled.
|
|
92
|
+
* The enabled status of the access control policy. Valid values:
|
|
141
93
|
*
|
|
142
94
|
* @example
|
|
143
95
|
* true
|
|
@@ -145,17 +97,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
145
97
|
release?: string;
|
|
146
98
|
/**
|
|
147
99
|
* @remarks
|
|
148
|
-
* The recurrence type
|
|
149
|
-
*
|
|
150
|
-
* - **Permanent** (default): Always
|
|
151
|
-
*
|
|
152
|
-
* - **None**: One-time
|
|
153
|
-
*
|
|
154
|
-
* - **Daily**: Daily
|
|
155
|
-
*
|
|
156
|
-
* - **Weekly**: Weekly
|
|
157
|
-
*
|
|
158
|
-
* - **Monthly**: Monthly
|
|
100
|
+
* The recurrence type of the policy validity period for the access control policy. Valid values:
|
|
159
101
|
*
|
|
160
102
|
* @example
|
|
161
103
|
* Permanent
|
|
@@ -163,15 +105,7 @@ export class DescribeControlPolicyRequest extends $dara.Model {
|
|
|
163
105
|
repeatType?: string;
|
|
164
106
|
/**
|
|
165
107
|
* @remarks
|
|
166
|
-
* The source address in the access control policy. Fuzzy queries are supported. The value
|
|
167
|
-
*
|
|
168
|
-
* - If \\`SourceType\\` is \\`net\\`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.
|
|
169
|
-
*
|
|
170
|
-
* - If \\`SourceType\\` is \\`group\\`, the value of this parameter is the name of a source address book. Example: \\`db_group\\`. If you leave this parameter empty, all source addresses are queried.
|
|
171
|
-
*
|
|
172
|
-
* - If \\`SourceType\\` is \\`location\\`, the value of this parameter is a source region. Example: \\`Beijing\\` or \\`beijing\\`. You can use either the Chinese name or the English name for the query.
|
|
173
|
-
*
|
|
174
|
-
* > If you do not set this parameter, all types of source addresses are queried.
|
|
108
|
+
* The source address in the access control policy. Fuzzy queries are supported. The value varies depending on the SourceType (source type).
|
|
175
109
|
*
|
|
176
110
|
* @example
|
|
177
111
|
* 192.0.XX.XX
|
|
@@ -5,13 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The action that Cloud Firewall performs on the traffic. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* - **accept**: Allow
|
|
11
|
-
*
|
|
12
|
-
* - **drop**: Deny
|
|
13
|
-
*
|
|
14
|
-
* - **log**: Monitor
|
|
8
|
+
* The action that Cloud Firewall performs on the traffic in the access control policy. Valid values:
|
|
15
9
|
*
|
|
16
10
|
* @example
|
|
17
11
|
* accept
|
|
@@ -27,7 +21,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
27
21
|
aclUuid?: string;
|
|
28
22
|
/**
|
|
29
23
|
* @remarks
|
|
30
|
-
* The application ID
|
|
24
|
+
* The application ID of the traffic in the access control policy.
|
|
31
25
|
*
|
|
32
26
|
* @example
|
|
33
27
|
* 10***
|
|
@@ -35,37 +29,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
35
29
|
applicationId?: string;
|
|
36
30
|
/**
|
|
37
31
|
* @remarks
|
|
38
|
-
* The application type supported by the access control policy.
|
|
39
|
-
*
|
|
40
|
-
* - **FTP**
|
|
41
|
-
*
|
|
42
|
-
* - **HTTP**
|
|
43
|
-
*
|
|
44
|
-
* - **HTTPS**
|
|
45
|
-
*
|
|
46
|
-
* - **Memcache**
|
|
47
|
-
*
|
|
48
|
-
* - **MongoDB**
|
|
49
|
-
*
|
|
50
|
-
* - **MQTT**
|
|
51
|
-
*
|
|
52
|
-
* - **MySQL**
|
|
53
|
-
*
|
|
54
|
-
* - **RDP**
|
|
55
|
-
*
|
|
56
|
-
* - **Redis**
|
|
57
|
-
*
|
|
58
|
-
* - **SMTP**
|
|
59
|
-
*
|
|
60
|
-
* - **SMTPS**
|
|
61
|
-
*
|
|
62
|
-
* - **SSH**
|
|
63
|
-
*
|
|
64
|
-
* - **SSL**
|
|
65
|
-
*
|
|
66
|
-
* - **VNC**
|
|
67
|
-
*
|
|
68
|
-
* - **ANY** (all application types)
|
|
32
|
+
* The application type supported by the access control policy. We recommend that you use ApplicationNameList. Valid values:
|
|
69
33
|
*
|
|
70
34
|
* @example
|
|
71
35
|
* HTTP
|
|
@@ -78,7 +42,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
78
42
|
applicationNameList?: string[];
|
|
79
43
|
/**
|
|
80
44
|
* @remarks
|
|
81
|
-
* The time when the policy was created. The value is a UNIX timestamp
|
|
45
|
+
* The time when the policy was created. The value is a UNIX timestamp in seconds, which is the number of seconds that have elapsed since January 1, 1970 (UTC).
|
|
82
46
|
*
|
|
83
47
|
* @example
|
|
84
48
|
* 1761062400
|
|
@@ -89,12 +53,12 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
89
53
|
* The description of the access control policy.
|
|
90
54
|
*
|
|
91
55
|
* @example
|
|
92
|
-
*
|
|
56
|
+
* Allow access to office network segment
|
|
93
57
|
*/
|
|
94
58
|
description?: string;
|
|
95
59
|
/**
|
|
96
60
|
* @remarks
|
|
97
|
-
* The destination port
|
|
61
|
+
* The destination port of the traffic in the access control policy.
|
|
98
62
|
*
|
|
99
63
|
* @example
|
|
100
64
|
* 80
|
|
@@ -102,7 +66,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
102
66
|
destPort?: string;
|
|
103
67
|
/**
|
|
104
68
|
* @remarks
|
|
105
|
-
* The name of the destination port address book
|
|
69
|
+
* The name of the destination port address book in the access control policy.
|
|
106
70
|
*
|
|
107
71
|
* @example
|
|
108
72
|
* my_port_group
|
|
@@ -115,11 +79,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
115
79
|
destPortGroupPorts?: string[];
|
|
116
80
|
/**
|
|
117
81
|
* @remarks
|
|
118
|
-
* The
|
|
119
|
-
*
|
|
120
|
-
* - **port**: port
|
|
121
|
-
*
|
|
122
|
-
* - **group**: port address book
|
|
82
|
+
* The type of the destination port in the access control policy. Valid values:
|
|
123
83
|
*
|
|
124
84
|
* @example
|
|
125
85
|
* port
|
|
@@ -127,15 +87,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
127
87
|
destPortType?: string;
|
|
128
88
|
/**
|
|
129
89
|
* @remarks
|
|
130
|
-
* The destination address in the access control policy. The value
|
|
131
|
-
*
|
|
132
|
-
* - If **DestinationType** is **net**, the destination address is a CIDR block. Example: 192.0.XX.XX/24.
|
|
133
|
-
*
|
|
134
|
-
* - If **DestinationType** is **domain**, the destination address is a domain name. Example: aliyuncs.com.
|
|
135
|
-
*
|
|
136
|
-
* - If **DestinationType** is **group**, the destination address is the name of an address book. Example: db_group.
|
|
137
|
-
*
|
|
138
|
-
* - If **DestinationType** is **location**, the destination address is a region name. For more information about region codes, see AddControlPolicy. Example: ["BJ11", "ZB"].
|
|
90
|
+
* The destination address in the access control policy. The value varies depending on the DestinationType (destination type). Valid values:
|
|
139
91
|
*
|
|
140
92
|
* @example
|
|
141
93
|
* 192.0.XX.XX/24
|
|
@@ -150,31 +102,13 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
150
102
|
* @remarks
|
|
151
103
|
* The type of the destination address book in the access control policy. Valid values:
|
|
152
104
|
*
|
|
153
|
-
* - **ip**: An IP address book that contains one or more CIDR blocks.
|
|
154
|
-
*
|
|
155
|
-
* - **tag**: An ECS tag-based address book that contains the IP addresses of the ECS instances with one or more tags.
|
|
156
|
-
*
|
|
157
|
-
* - **domain**: A domain name address book that contains one or more domain names.
|
|
158
|
-
*
|
|
159
|
-
* - **threat**: A threat intelligence address book that contains one or more malicious IP addresses or domain names.
|
|
160
|
-
*
|
|
161
|
-
* - **backsrc**: An origin URL address book that contains the origin URLs of one or more Anti-DDoS or WAF instances.
|
|
162
|
-
*
|
|
163
105
|
* @example
|
|
164
106
|
* ip
|
|
165
107
|
*/
|
|
166
108
|
destinationGroupType?: string;
|
|
167
109
|
/**
|
|
168
110
|
* @remarks
|
|
169
|
-
* The destination address
|
|
170
|
-
*
|
|
171
|
-
* - **net**: destination CIDR block
|
|
172
|
-
*
|
|
173
|
-
* - **group**: destination address book
|
|
174
|
-
*
|
|
175
|
-
* - **domain**: destination domain name
|
|
176
|
-
*
|
|
177
|
-
* - **location**: destination region
|
|
111
|
+
* The type of the destination address in the access control policy. Valid values:
|
|
178
112
|
*
|
|
179
113
|
* @example
|
|
180
114
|
* net
|
|
@@ -184,17 +118,13 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
184
118
|
* @remarks
|
|
185
119
|
* The traffic direction of the access control policy. Valid values:
|
|
186
120
|
*
|
|
187
|
-
* - **in**: inbound traffic
|
|
188
|
-
*
|
|
189
|
-
* - **out**: outbound traffic
|
|
190
|
-
*
|
|
191
121
|
* @example
|
|
192
122
|
* in
|
|
193
123
|
*/
|
|
194
124
|
direction?: string;
|
|
195
125
|
/**
|
|
196
126
|
* @remarks
|
|
197
|
-
* The
|
|
127
|
+
* The DNS resolution result.
|
|
198
128
|
*
|
|
199
129
|
* @example
|
|
200
130
|
* 192.0.XX.XX,192.0.XX.XX
|
|
@@ -204,7 +134,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
204
134
|
dnsResult?: string;
|
|
205
135
|
/**
|
|
206
136
|
* @remarks
|
|
207
|
-
* The timestamp of the DNS resolution. The value is a UNIX timestamp
|
|
137
|
+
* The timestamp of the DNS resolution. The value is a UNIX timestamp in seconds.
|
|
208
138
|
*
|
|
209
139
|
* @example
|
|
210
140
|
* 1579261141
|
|
@@ -214,21 +144,13 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
214
144
|
* @remarks
|
|
215
145
|
* The domain name resolution method of the access control policy. Valid values:
|
|
216
146
|
*
|
|
217
|
-
* - **FQDN**: FQDN-based
|
|
218
|
-
*
|
|
219
|
-
* - **DNS**: DNS-based dynamic resolution
|
|
220
|
-
*
|
|
221
|
-
* - **FQDN_AND_DNS**: FQDN- and DNS-based dynamic resolution
|
|
222
|
-
*
|
|
223
147
|
* @example
|
|
224
148
|
* FQDN
|
|
225
149
|
*/
|
|
226
150
|
domainResolveType?: string;
|
|
227
151
|
/**
|
|
228
152
|
* @remarks
|
|
229
|
-
* The end time of the policy validity period for the access control policy. The value is a UNIX timestamp. The
|
|
230
|
-
*
|
|
231
|
-
* > If \\`RepeatType\\` is \\`Permanent\\`, \\`EndTime\\` is empty. If \\`RepeatType\\` is \\`None\\`, \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.
|
|
153
|
+
* 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.
|
|
232
154
|
*
|
|
233
155
|
* @example
|
|
234
156
|
* 1694764800
|
|
@@ -236,7 +158,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
236
158
|
endTime?: number;
|
|
237
159
|
/**
|
|
238
160
|
* @remarks
|
|
239
|
-
* The
|
|
161
|
+
* The most recent time of hits. The value is in the format of a UNIX timestamp in seconds.
|
|
240
162
|
*
|
|
241
163
|
* @example
|
|
242
164
|
* 1579261141
|
|
@@ -252,11 +174,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
252
174
|
hitTimes?: number;
|
|
253
175
|
/**
|
|
254
176
|
* @remarks
|
|
255
|
-
* The IP version
|
|
256
|
-
*
|
|
257
|
-
* - **4**: IPv4 address
|
|
258
|
-
*
|
|
259
|
-
* - **6**: IPv6 address
|
|
177
|
+
* The supported IP address version. Valid values:
|
|
260
178
|
*
|
|
261
179
|
* @example
|
|
262
180
|
* 6
|
|
@@ -264,7 +182,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
264
182
|
ipVersion?: number;
|
|
265
183
|
/**
|
|
266
184
|
* @remarks
|
|
267
|
-
* The time when the policy was last modified. The value is a UNIX timestamp
|
|
185
|
+
* The time when the policy was last modified. The value is a UNIX timestamp in seconds, which is the number of seconds that have elapsed since January 1, 1970 (UTC).
|
|
268
186
|
*
|
|
269
187
|
* @example
|
|
270
188
|
* 1761062400
|
|
@@ -274,23 +192,13 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
274
192
|
* @remarks
|
|
275
193
|
* The priority of the access control policy.
|
|
276
194
|
*
|
|
277
|
-
* The priority value starts from 1 and increases sequentially. A smaller value indicates a higher priority.
|
|
278
|
-
*
|
|
279
195
|
* @example
|
|
280
196
|
* 1
|
|
281
197
|
*/
|
|
282
198
|
order?: number;
|
|
283
199
|
/**
|
|
284
200
|
* @remarks
|
|
285
|
-
* The protocol type of the traffic in the access control policy. Valid values:
|
|
286
|
-
*
|
|
287
|
-
* - **ANY**
|
|
288
|
-
*
|
|
289
|
-
* - **TCP**
|
|
290
|
-
*
|
|
291
|
-
* - **UDP**
|
|
292
|
-
*
|
|
293
|
-
* - **ICMP**
|
|
201
|
+
* The security protocol type of the traffic in the access control policy. Valid values:
|
|
294
202
|
*
|
|
295
203
|
* @example
|
|
296
204
|
* TCP
|
|
@@ -298,11 +206,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
298
206
|
proto?: string;
|
|
299
207
|
/**
|
|
300
208
|
* @remarks
|
|
301
|
-
* The status of the access control policy. The policy is enabled by default after
|
|
302
|
-
*
|
|
303
|
-
* - **true**: The access control policy is enabled.
|
|
304
|
-
*
|
|
305
|
-
* - **false**: The access control policy is disabled.
|
|
209
|
+
* The enabled status of the access control policy. The policy is enabled by default after creation. Valid values:
|
|
306
210
|
*
|
|
307
211
|
* @example
|
|
308
212
|
* true
|
|
@@ -310,28 +214,12 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
310
214
|
release?: string;
|
|
311
215
|
/**
|
|
312
216
|
* @remarks
|
|
313
|
-
* The collection of
|
|
314
|
-
*
|
|
315
|
-
* - If \\`RepeatType\\` is \\`Permanent\\`, \\`None\\`, or \\`Daily\\`, \\`RepeatDays\\` is an empty collection.
|
|
316
|
-
* Example: []
|
|
317
|
-
*
|
|
318
|
-
* - If \\`RepeatType\\` is \\`Weekly\\`, \\`RepeatDays\\` cannot be empty.
|
|
319
|
-
* Example: [0, 6]
|
|
320
|
-
*
|
|
321
|
-
* > If \\`RepeatType\\` is set to \\`Weekly\\`, \\`RepeatDays\\` cannot contain duplicate values.
|
|
322
|
-
*
|
|
323
|
-
* - If \\`RepeatType\\` is \\`Monthly\\`, \\`RepeatDays\\` cannot be empty.
|
|
324
|
-
* Example: [1, 31]
|
|
325
|
-
*
|
|
326
|
-
* > If \\`RepeatType\\` is set to \\`Monthly\\`, \\`RepeatDays\\` cannot contain duplicate values.
|
|
217
|
+
* The collection of recurrence days for the policy validity period of the access control policy.
|
|
327
218
|
*/
|
|
328
219
|
repeatDays?: number[];
|
|
329
220
|
/**
|
|
330
221
|
* @remarks
|
|
331
|
-
* The
|
|
332
|
-
*
|
|
333
|
-
* > If \\`RepeatType\\` is \\`Permanent\\` or \\`None\\`, \\`RepeatEndTime\\` is empty. If \\`RepeatType\\` is \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.
|
|
334
|
-
* > The time is in the HH:mm format (24-hour). Examples: \\`08:00\\` and \\`23:30\\`.
|
|
222
|
+
* 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.
|
|
335
223
|
*
|
|
336
224
|
* @example
|
|
337
225
|
* 23:30
|
|
@@ -339,10 +227,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
339
227
|
repeatEndTime?: string;
|
|
340
228
|
/**
|
|
341
229
|
* @remarks
|
|
342
|
-
* The
|
|
343
|
-
*
|
|
344
|
-
* > If \\`RepeatType\\` is \\`Permanent\\` or \\`None\\`, \\`RepeatStartTime\\` is empty. If \\`RepeatType\\` is \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.
|
|
345
|
-
* > The time is in the HH:mm format (24-hour). Examples: \\`08:00\\` and \\`23:30\\`.
|
|
230
|
+
* 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.
|
|
346
231
|
*
|
|
347
232
|
* @example
|
|
348
233
|
* 08:00
|
|
@@ -350,17 +235,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
350
235
|
repeatStartTime?: string;
|
|
351
236
|
/**
|
|
352
237
|
* @remarks
|
|
353
|
-
* The recurrence type
|
|
354
|
-
*
|
|
355
|
-
* - **Permanent** (default): Always
|
|
356
|
-
*
|
|
357
|
-
* - **None**: One-time
|
|
358
|
-
*
|
|
359
|
-
* - **Daily**: Daily
|
|
360
|
-
*
|
|
361
|
-
* - **Weekly**: Weekly
|
|
362
|
-
*
|
|
363
|
-
* - **Monthly**: Monthly
|
|
238
|
+
* The recurrence type of the policy validity period for the access control policy. Valid values:
|
|
364
239
|
*
|
|
365
240
|
* @example
|
|
366
241
|
* Permanent
|
|
@@ -370,12 +245,6 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
370
245
|
* @remarks
|
|
371
246
|
* The source address in the access control policy. Valid values:
|
|
372
247
|
*
|
|
373
|
-
* - If **SourceType** is `net`, the source address is a CIDR block. Example: 192.0.XX.XX/24.
|
|
374
|
-
*
|
|
375
|
-
* - If **SourceType** is `group`, the source address is the name of a source address book. Example: db_group.
|
|
376
|
-
*
|
|
377
|
-
* - If **SourceType** is `location`, the source address is a region. For more information about region codes, see [AddControlPolicy](https://help.aliyun.com/document_detail/138867.html). Example: ["BJ11", "ZB"].
|
|
378
|
-
*
|
|
379
248
|
* @example
|
|
380
249
|
* 192.0.XX.XX/24
|
|
381
250
|
*/
|
|
@@ -389,29 +258,13 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
389
258
|
* @remarks
|
|
390
259
|
* The type of the source address book in the access control policy. Valid values:
|
|
391
260
|
*
|
|
392
|
-
* - **ip**: An IP address book that contains one or more CIDR blocks.
|
|
393
|
-
*
|
|
394
|
-
* - **tag**: An ECS tag-based address book that contains the IP addresses of the ECS instances with one or more tags.
|
|
395
|
-
*
|
|
396
|
-
* - **domain**: A domain name address book that contains one or more domain names.
|
|
397
|
-
*
|
|
398
|
-
* - **threat**: A threat intelligence address book that contains one or more malicious IP addresses or domain names.
|
|
399
|
-
*
|
|
400
|
-
* - **backsrc**: An origin URL address book that contains the origin URLs of one or more Anti-DDoS or WAF instances.
|
|
401
|
-
*
|
|
402
261
|
* @example
|
|
403
262
|
* ip
|
|
404
263
|
*/
|
|
405
264
|
sourceGroupType?: string;
|
|
406
265
|
/**
|
|
407
266
|
* @remarks
|
|
408
|
-
* The source address
|
|
409
|
-
*
|
|
410
|
-
* - **net**: source CIDR block
|
|
411
|
-
*
|
|
412
|
-
* - **group**: source address book
|
|
413
|
-
*
|
|
414
|
-
* - **location**: source region
|
|
267
|
+
* The type of the source address in the access control policy. Valid values:
|
|
415
268
|
*
|
|
416
269
|
* @example
|
|
417
270
|
* net
|
|
@@ -419,8 +272,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
419
272
|
sourceType?: string;
|
|
420
273
|
/**
|
|
421
274
|
* @remarks
|
|
422
|
-
* The number of
|
|
423
|
-
* The number of entries for a single policy is calculated as: Number of source addresses (CIDR blocks or regions) × Number of destination addresses (CIDR blocks, regions, or domain names) × Number of port ranges × Number of applications.
|
|
275
|
+
* The number of quota units consumed by the access control policy, which is the cumulative number of quota units consumed by each policy.
|
|
424
276
|
*
|
|
425
277
|
* @example
|
|
426
278
|
* 10000
|
|
@@ -428,9 +280,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
428
280
|
spreadCnt?: number;
|
|
429
281
|
/**
|
|
430
282
|
* @remarks
|
|
431
|
-
* The start time of the policy validity period for the access control policy. The value is a UNIX timestamp. The
|
|
432
|
-
*
|
|
433
|
-
* > If \\`RepeatType\\` is \\`Permanent\\`, \\`StartTime\\` is empty. If \\`RepeatType\\` is \\`None\\`, \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.
|
|
283
|
+
* 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.
|
|
434
284
|
*
|
|
435
285
|
* @example
|
|
436
286
|
* 1694761200
|
|
@@ -547,7 +397,7 @@ export class DescribeControlPolicyResponseBodyPolicys extends $dara.Model {
|
|
|
547
397
|
export class DescribeControlPolicyResponseBody extends $dara.Model {
|
|
548
398
|
/**
|
|
549
399
|
* @remarks
|
|
550
|
-
* The page number of the
|
|
400
|
+
* The page number of the current page displayed in a paging query.
|
|
551
401
|
*
|
|
552
402
|
* @example
|
|
553
403
|
* 1
|
|
@@ -555,7 +405,7 @@ export class DescribeControlPolicyResponseBody extends $dara.Model {
|
|
|
555
405
|
pageNo?: string;
|
|
556
406
|
/**
|
|
557
407
|
* @remarks
|
|
558
|
-
* The number of entries
|
|
408
|
+
* The maximum number of entries per page displayed in a paging query.
|
|
559
409
|
*
|
|
560
410
|
* @example
|
|
561
411
|
* 10
|
|
@@ -568,7 +418,7 @@ export class DescribeControlPolicyResponseBody extends $dara.Model {
|
|
|
568
418
|
policys?: DescribeControlPolicyResponseBodyPolicys[];
|
|
569
419
|
/**
|
|
570
420
|
* @remarks
|
|
571
|
-
* The ID
|
|
421
|
+
* The request ID.
|
|
572
422
|
*
|
|
573
423
|
* @example
|
|
574
424
|
* CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****
|
|
@@ -576,7 +426,7 @@ export class DescribeControlPolicyResponseBody extends $dara.Model {
|
|
|
576
426
|
requestId?: string;
|
|
577
427
|
/**
|
|
578
428
|
* @remarks
|
|
579
|
-
* The total number of access control policies.
|
|
429
|
+
* The total number of the access control policies.
|
|
580
430
|
*
|
|
581
431
|
* @example
|
|
582
432
|
* 100
|