@alicloud/ddosbgp20180720 3.0.0 → 3.1.0
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 +89 -53
- package/dist/client.js +147 -53
- package/dist/client.js.map +1 -1
- package/dist/models/AddIpRequest.d.ts +11 -10
- package/dist/models/AddIpRequest.js.map +1 -1
- package/dist/models/AddIpResponseBody.d.ts +1 -1
- package/dist/models/AttachAssetGroupToInstanceRequest.d.ts +2 -2
- package/dist/models/AttachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/AttachToPolicyRequest.d.ts +27 -10
- package/dist/models/AttachToPolicyRequest.js.map +1 -1
- package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
- package/dist/models/AttachToPolicyShrinkRequest.d.ts +12 -1
- package/dist/models/AttachToPolicyShrinkRequest.js.map +1 -1
- package/dist/models/CheckGrantRequest.d.ts +4 -3
- package/dist/models/CheckGrantRequest.js.map +1 -1
- package/dist/models/CheckGrantResponseBody.d.ts +3 -2
- package/dist/models/CheckGrantResponseBody.js.map +1 -1
- package/dist/models/CreatePolicyRequest.d.ts +15 -5
- package/dist/models/CreatePolicyRequest.js.map +1 -1
- package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
- package/dist/models/DeleteIpRequest.d.ts +8 -10
- package/dist/models/DeleteIpRequest.js.map +1 -1
- package/dist/models/DeleteIpResponseBody.d.ts +1 -1
- package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
- package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
- package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
- package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceListRequest.d.ts +13 -9
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +28 -18
- package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
- package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
- package/dist/models/DescribePackIpListRequest.d.ts +14 -11
- package/dist/models/DescribePackIpListRequest.js.map +1 -1
- package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
- package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
- package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
- package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
- package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
- package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +4 -4
- package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeTrafficRequest.d.ts +16 -21
- package/dist/models/DescribeTrafficRequest.js.map +1 -1
- package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
- package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
- package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
- package/dist/models/DetachFromPolicyRequest.js.map +1 -1
- package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
- package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
- package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
- package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
- package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
- package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
- package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
- package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
- package/dist/models/ListPolicyRequest.d.ts +5 -16
- package/dist/models/ListPolicyRequest.js.map +1 -1
- package/dist/models/ListPolicyResponseBody.d.ts +182 -94
- package/dist/models/ListPolicyResponseBody.js +41 -1
- package/dist/models/ListPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
- package/dist/models/ModifyPolicyContentRequest.js +41 -1
- package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
- package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
- package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPolicyRequest.d.ts +181 -118
- package/dist/models/ModifyPolicyRequest.js +41 -1
- package/dist/models/ModifyPolicyRequest.js.map +1 -1
- package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
- package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
- package/dist/models/ModifyRemarkRequest.d.ts +5 -7
- package/dist/models/ModifyRemarkRequest.js.map +1 -1
- package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +34 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +160 -53
- package/src/models/AddIpRequest.ts +11 -10
- package/src/models/AddIpResponseBody.ts +1 -1
- package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
- package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/AttachToPolicyRequest.ts +27 -10
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
- package/src/models/CheckGrantRequest.ts +4 -3
- package/src/models/CheckGrantResponseBody.ts +3 -2
- package/src/models/CreatePolicyRequest.ts +15 -5
- package/src/models/CreatePolicyResponseBody.ts +2 -2
- package/src/models/DeleteIpRequest.ts +8 -10
- package/src/models/DeleteIpResponseBody.ts +1 -1
- package/src/models/DescribeAssetGroupRequest.ts +4 -3
- package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
- package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
- package/src/models/DescribeInstanceListRequest.ts +13 -9
- package/src/models/DescribeInstanceListResponseBody.ts +28 -18
- package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
- package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
- package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
- package/src/models/DescribePackIpListRequest.ts +14 -11
- package/src/models/DescribePackIpListResponseBody.ts +28 -22
- package/src/models/DescribeRdMemberListRequest.ts +1 -1
- package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
- package/src/models/DescribeRdStatusResponseBody.ts +5 -3
- package/src/models/DescribeRegionsRequest.ts +4 -4
- package/src/models/DescribeRegionsResponseBody.ts +5 -6
- package/src/models/DescribeTrafficRequest.ts +16 -21
- package/src/models/DescribeTrafficResponseBody.ts +11 -12
- package/src/models/DetachFromPolicyRequest.ts +26 -8
- package/src/models/DetachFromPolicyResponseBody.ts +1 -1
- package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
- package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/ListPolicyAttachmentRequest.ts +27 -11
- package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
- package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
- package/src/models/ListPolicyRequest.ts +5 -16
- package/src/models/ListPolicyResponseBody.ts +213 -94
- package/src/models/ModifyPolicyContentRequest.ts +207 -90
- package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
- package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
- package/src/models/ModifyPolicyRequest.ts +212 -118
- package/src/models/ModifyPolicyResponseBody.ts +1 -1
- package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
- package/src/models/ModifyRemarkRequest.ts +5 -7
- package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
- package/src/models/model.ts +7 -0
|
@@ -13,7 +13,7 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
|
|
|
13
13
|
ip?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The UID of the member to which the IP address of the protected object belongs.
|
|
16
|
+
* The UID of the member accounts to which the IP address of the protected object belongs.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 177699790631****
|
|
@@ -21,7 +21,7 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
|
|
|
21
21
|
memberUid?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID
|
|
24
|
+
* The policy ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 1b43f44e-65e1-411a-b0c0-d6c1********
|
|
@@ -29,7 +29,7 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
|
|
|
29
29
|
policyId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The name
|
|
32
|
+
* The policy name.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* test**
|
|
@@ -37,7 +37,7 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
|
|
|
37
37
|
policyName?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The remarks of the policy.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* test
|
|
@@ -45,10 +45,9 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
|
|
|
45
45
|
policyRemark?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The type
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* * **l4**: port-specific mitigation policies.
|
|
48
|
+
* The policy type. Valid values:
|
|
49
|
+
* - **l3**: IP-specific mitigation policy.
|
|
50
|
+
* - **l4**: port-specific mitigation policy.
|
|
52
51
|
*
|
|
53
52
|
* @example
|
|
54
53
|
* l3
|
|
@@ -62,13 +61,20 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
|
|
|
62
61
|
* 8*
|
|
63
62
|
*/
|
|
64
63
|
port?: number;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The port number range of the protected object.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 8*-9*
|
|
70
|
+
*/
|
|
65
71
|
portRange?: string;
|
|
66
72
|
/**
|
|
67
73
|
* @remarks
|
|
68
74
|
* The protocol type of the protected object. Valid values:
|
|
69
75
|
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
76
|
+
* - **tcp**: Transmission Control Protocol.
|
|
77
|
+
* - **udp**: User Datagram Protocol.
|
|
72
78
|
*
|
|
73
79
|
* @example
|
|
74
80
|
* udp
|
|
@@ -124,12 +130,12 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
|
|
|
124
130
|
export class ListPolicyAttachmentResponseBody extends $dara.Model {
|
|
125
131
|
/**
|
|
126
132
|
* @remarks
|
|
127
|
-
* The
|
|
133
|
+
* The list of mitigation policy associations.
|
|
128
134
|
*/
|
|
129
135
|
attachmentList?: ListPolicyAttachmentResponseBodyAttachmentList[];
|
|
130
136
|
/**
|
|
131
137
|
* @remarks
|
|
132
|
-
* The request ID.
|
|
138
|
+
* The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.
|
|
133
139
|
*
|
|
134
140
|
* @example
|
|
135
141
|
* B4B379C2-9319-4C6B-B579-FE36831B09F4
|
|
@@ -137,7 +143,7 @@ export class ListPolicyAttachmentResponseBody extends $dara.Model {
|
|
|
137
143
|
requestId?: string;
|
|
138
144
|
/**
|
|
139
145
|
* @remarks
|
|
140
|
-
* The total number of
|
|
146
|
+
* The total number of mitigation policy associations.
|
|
141
147
|
*
|
|
142
148
|
* @example
|
|
143
149
|
* 28
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListPolicyAttachmentShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The protected objects.
|
|
8
|
+
* The list of protected objects.
|
|
9
9
|
*/
|
|
10
10
|
ipPortProtocolListShrink?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The page number.
|
|
13
|
+
* The page number of the current page in a paging query.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 1
|
|
@@ -18,7 +18,7 @@ export class ListPolicyAttachmentShrinkRequest extends $dara.Model {
|
|
|
18
18
|
pageNo?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The number of
|
|
21
|
+
* The number of rows per page in a paging query. Default value: **10**.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 10
|
|
@@ -26,7 +26,7 @@ export class ListPolicyAttachmentShrinkRequest extends $dara.Model {
|
|
|
26
26
|
pageSize?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The ID
|
|
29
|
+
* The policy ID.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* f38f6520-92b7-451e-b520-9ab3********
|
|
@@ -34,16 +34,25 @@ export class ListPolicyAttachmentShrinkRequest extends $dara.Model {
|
|
|
34
34
|
policyId?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The type
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* * **l4**: port-specific mitigation policies.
|
|
37
|
+
* The policy type. Valid values:
|
|
38
|
+
* - **default**: default mitigation policy.
|
|
39
|
+
* - **l3**: IP-specific mitigation policy.
|
|
40
|
+
* - **l4**: port-specific mitigation policy.
|
|
42
41
|
*
|
|
43
42
|
* @example
|
|
44
43
|
* l3
|
|
45
44
|
*/
|
|
46
45
|
policyType?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The version of the port-specific mitigation policy. Valid values:
|
|
49
|
+
*
|
|
50
|
+
* - **Not specified**: queries the policy associations that attach to the default surf DPI engine.
|
|
51
|
+
* - **2**: queries the policy associations that attach to the new stream DPI engine.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* 2
|
|
55
|
+
*/
|
|
47
56
|
portVersion?: string;
|
|
48
57
|
static names(): { [key: string]: string } {
|
|
49
58
|
return {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListPolicyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name
|
|
8
|
+
* The policy name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* test**
|
|
@@ -13,7 +13,7 @@ export class ListPolicyRequest extends $dara.Model {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Settings the page number of the current page in a paged query.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1
|
|
@@ -21,7 +21,7 @@ export class ListPolicyRequest extends $dara.Model {
|
|
|
21
21
|
pageNo?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The number of entries per page. Default value: **10**.
|
|
24
|
+
* The number of entries per page in a paged query. Default value: **10**.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 10
|
|
@@ -29,14 +29,7 @@ export class ListPolicyRequest extends $dara.Model {
|
|
|
29
29
|
pageSize?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
33
|
-
*
|
|
34
|
-
* * **ecs**: Elastic Compute Service (ECS).
|
|
35
|
-
* * **slb**: Server Load Balancer (SLB).
|
|
36
|
-
* * **eip**: Elastic IP Address (EIP).
|
|
37
|
-
* * **gf-eip**: EIP with Anti-DDoS (Enhanced) enabled.
|
|
38
|
-
*
|
|
39
|
-
* > This parameter is available only if Type is set to `default`.
|
|
32
|
+
* The applicable product type. Valid values:
|
|
40
33
|
*
|
|
41
34
|
* @example
|
|
42
35
|
* ecs
|
|
@@ -44,11 +37,7 @@ export class ListPolicyRequest extends $dara.Model {
|
|
|
44
37
|
productType?: string;
|
|
45
38
|
/**
|
|
46
39
|
* @remarks
|
|
47
|
-
* The type
|
|
48
|
-
*
|
|
49
|
-
* * **default**: the default mitigation policy.
|
|
50
|
-
* * **l3**: IP-specific mitigation policies.
|
|
51
|
-
* * **l4**: port-specific mitigation policies.
|
|
40
|
+
* The policy type. Valid values:
|
|
52
41
|
*
|
|
53
42
|
* @example
|
|
54
43
|
* l3
|