tencentcloud-sdk-nodejs-fwm 4.1.328 → 4.1.330
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.
|
@@ -3,6 +3,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("fwm.tencentcloudapi.com", "2025-06-11", clientConfig);
|
|
5
5
|
}
|
|
6
|
+
async CreateAccountGroup(req, cb) {
|
|
7
|
+
return this.request("CreateAccountGroup", req, cb);
|
|
8
|
+
}
|
|
6
9
|
async ModifyRuleGroup(req, cb) {
|
|
7
10
|
return this.request("ModifyRuleGroup", req, cb);
|
|
8
11
|
}
|
|
@@ -33,6 +36,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
33
36
|
async DeleteNatAclRule(req, cb) {
|
|
34
37
|
return this.request("DeleteNatAclRule", req, cb);
|
|
35
38
|
}
|
|
39
|
+
async ModifyAccountGroup(req, cb) {
|
|
40
|
+
return this.request("ModifyAccountGroup", req, cb);
|
|
41
|
+
}
|
|
36
42
|
async DescribeRiskList(req, cb) {
|
|
37
43
|
return this.request("DescribeRiskList", req, cb);
|
|
38
44
|
}
|
|
@@ -42,8 +48,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
42
48
|
async CreateAnalyzePolicyTask(req, cb) {
|
|
43
49
|
return this.request("CreateAnalyzePolicyTask", req, cb);
|
|
44
50
|
}
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
51
|
+
async DeleteAccountGroup(req, cb) {
|
|
52
|
+
return this.request("DeleteAccountGroup", req, cb);
|
|
47
53
|
}
|
|
48
54
|
async CreateStrategy(req, cb) {
|
|
49
55
|
return this.request("CreateStrategy", req, cb);
|
|
@@ -54,6 +60,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
54
60
|
async DescribeSecurityGroupRules(req, cb) {
|
|
55
61
|
return this.request("DescribeSecurityGroupRules", req, cb);
|
|
56
62
|
}
|
|
63
|
+
async ModifyStrategy(req, cb) {
|
|
64
|
+
return this.request("ModifyStrategy", req, cb);
|
|
65
|
+
}
|
|
57
66
|
async DeleteStrategy(req, cb) {
|
|
58
67
|
return this.request("DeleteStrategy", req, cb);
|
|
59
68
|
}
|
|
@@ -66,6 +75,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
66
75
|
async DescribeOrganMembers(req, cb) {
|
|
67
76
|
return this.request("DescribeOrganMembers", req, cb);
|
|
68
77
|
}
|
|
78
|
+
async ModifyMemberGroup(req, cb) {
|
|
79
|
+
return this.request("ModifyMemberGroup", req, cb);
|
|
80
|
+
}
|
|
69
81
|
async ModifyStrategySequence(req, cb) {
|
|
70
82
|
return this.request("ModifyStrategySequence", req, cb);
|
|
71
83
|
}
|
|
@@ -78,6 +90,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
78
90
|
async DeleteEdgeAclRule(req, cb) {
|
|
79
91
|
return this.request("DeleteEdgeAclRule", req, cb);
|
|
80
92
|
}
|
|
93
|
+
async DescribeRuleGroups(req, cb) {
|
|
94
|
+
return this.request("DescribeRuleGroups", req, cb);
|
|
95
|
+
}
|
|
81
96
|
async ModifyVpcAclRuleSequence(req, cb) {
|
|
82
97
|
return this.request("ModifyVpcAclRuleSequence", req, cb);
|
|
83
98
|
}
|
|
@@ -96,6 +111,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
96
111
|
async DescribeNatAclRules(req, cb) {
|
|
97
112
|
return this.request("DescribeNatAclRules", req, cb);
|
|
98
113
|
}
|
|
114
|
+
async DescribeAccountGroups(req, cb) {
|
|
115
|
+
return this.request("DescribeAccountGroups", req, cb);
|
|
116
|
+
}
|
|
99
117
|
async CreateRuleGroup(req, cb) {
|
|
100
118
|
return this.request("CreateRuleGroup", req, cb);
|
|
101
119
|
}
|
|
@@ -117,11 +135,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
117
135
|
async DescribeEdgeAclRules(req, cb) {
|
|
118
136
|
return this.request("DescribeEdgeAclRules", req, cb);
|
|
119
137
|
}
|
|
138
|
+
async ModifyCfwManaged(req, cb) {
|
|
139
|
+
return this.request("ModifyCfwManaged", req, cb);
|
|
140
|
+
}
|
|
120
141
|
async CreateSecurityGroupRuleGroup(req, cb) {
|
|
121
142
|
return this.request("CreateSecurityGroupRuleGroup", req, cb);
|
|
122
143
|
}
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
144
|
+
async ModifyCfwShareRole(req, cb) {
|
|
145
|
+
return this.request("ModifyCfwShareRole", req, cb);
|
|
125
146
|
}
|
|
126
147
|
async CreateEdgeAclRuleGroup(req, cb) {
|
|
127
148
|
return this.request("CreateEdgeAclRuleGroup", req, cb);
|
|
@@ -135,6 +156,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
135
156
|
async ModifyVpcAclRule(req, cb) {
|
|
136
157
|
return this.request("ModifyVpcAclRule", req, cb);
|
|
137
158
|
}
|
|
159
|
+
async DispatchStrategy(req, cb) {
|
|
160
|
+
return this.request("DispatchStrategy", req, cb);
|
|
161
|
+
}
|
|
138
162
|
async ModifyNatAclRule(req, cb) {
|
|
139
163
|
return this.request("ModifyNatAclRule", req, cb);
|
|
140
164
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeSecurityGroupRulesRequest, CreateNatAclRuleGroupResponse, ModifyStrategySequenceRequest, DispatchStrategyRequest, DescribeStrategiesRequest, IgnorePolicyRiskResponse, DescribeRiskListResponse, DescribeNatAclRulesRequest, ModifyStrategyRequest, DeleteStrategyRequest, ModifyRuleGroupRequest, ModifyEdgeAclRuleSequenceResponse, ModifySecurityGroupRuleRequest, DescribeVpcAclRulesRequest, DescribePolicyRiskAccountProductStatsResponse, DescribeVpcAclRulesResponse, DescribeStrategyResponse, DescribeEdgeAclRulesRequest, DescribeStrategiesResponse, DescribeStrategyAccountsRequest, DescribeStrategyDispatchStatusRequest,
|
|
2
|
+
import { DescribeSecurityGroupRulesRequest, CreateNatAclRuleGroupResponse, ModifyStrategySequenceRequest, DispatchStrategyRequest, DescribeStrategiesRequest, IgnorePolicyRiskResponse, DescribeRiskListResponse, DeleteAccountGroupRequest, DescribeNatAclRulesRequest, ModifyStrategyRequest, DeleteStrategyRequest, ModifyRuleGroupRequest, ModifyEdgeAclRuleSequenceResponse, DescribeAccountGroupsRequest, ModifySecurityGroupRuleRequest, DescribeVpcAclRulesRequest, DescribePolicyRiskAccountProductStatsResponse, DescribeVpcAclRulesResponse, DescribeStrategyResponse, DescribeEdgeAclRulesRequest, DescribeStrategiesResponse, DeleteAccountGroupResponse, DescribeStrategyAccountsRequest, DescribeStrategyDispatchStatusRequest, DeleteStrategyResponse, DeleteSecurityGroupRuleResponse, CreateRuleGroupRequest, DescribeNatAclRulesResponse, CreateAccountGroupRequest, DescribeSecurityGroupRuleRequest, DescribeStrategyRequest, DeleteNatAclRuleResponse, ModifyStrategySequenceResponse, ModifyCfwShareRoleResponse, DescribeOrganSummaryResponse, DeleteVpcAclRuleRequest, ModifyEdgeAclRuleSequenceRequest, ModifyAccountGroupRequest, DescribeOrganMembersResponse, ModifyEdgeAclRuleRequest, ModifyNatAclRuleSequenceResponse, DeleteEdgeAclRuleRequest, DeleteEdgeAclRuleResponse, DescribeRiskCategoryStatsRequest, ModifyVpcAclRuleResponse, CreateStrategyRequest, ModifyMemberGroupResponse, ModifyVpcAclRuleSequenceResponse, DeleteRuleGroupResponse, ModifyCfwManagedRequest, CancelIgnorePolicyRiskRequest, DeleteVpcAclRuleResponse, CreateSecurityGroupRuleGroupResponse, ModifyMemberGroupRequest, ModifyVpcAclRuleSequenceRequest, ModifyNatAclRuleRequest, CreateVpcAclRuleGroupResponse, CreateSecurityGroupRuleResponse, DispatchStrategyResponse, DescribeRiskListRequest, DescribeSecurityGroupRuleResponse, ModifyCfwShareRoleRequest, DescribeRiskCategoryStatsResponse, ModifyAccountGroupResponse, DescribePolicyRiskAccountProductStatsRequest, CreateEdgeAclRuleResponse, CreateStrategyResponse, DescribeStrategyDispatchStatusResponse, ModifyNatAclRuleResponse, ModifyStrategyResponse, CreateVpcAclRuleResponse, DescribeRuleGroupsResponse, ModifySecurityGroupRuleResponse, DescribeOrganMembersRequest, CreateVpcAclRuleGroupRequest, ModifyVpcAclRuleRequest, DescribeEdgeAclRulesResponse, DescribeAccountGroupsResponse, ModifyCfwManagedResponse, ModifyNatAclRuleSequenceRequest, DescribeStrategyAccountsResponse, DescribeSecurityGroupRulesResponse, DescribeRiskAnalysisDetailsRequest, CreateNatAclRuleGroupRequest, DescribeOrganSummaryRequest, DeleteNatAclRuleRequest, CreateRuleGroupResponse, ModifyEdgeAclRuleResponse, DescribeRiskAnalysisDetailsResponse, ModifyRuleGroupResponse, CreateEdgeAclRuleRequest, CreateVpcAclRuleRequest, DescribeRuleGroupsRequest, CreateSecurityGroupRuleGroupRequest, CreateNatAclRuleResponse, IgnorePolicyRiskRequest, CreateAnalyzePolicyTaskResponse, DeleteSecurityGroupRuleRequest, CreateEdgeAclRuleGroupResponse, CreateAnalyzePolicyTaskRequest, CreateSecurityGroupRuleRequest, CreateAccountGroupResponse, CancelIgnorePolicyRiskResponse, DeleteRuleGroupRequest, CreateEdgeAclRuleGroupRequest, CreateNatAclRuleRequest } from "./fwm_models";
|
|
3
3
|
/**
|
|
4
4
|
* fwm client
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* 创建账户组
|
|
11
|
+
*/
|
|
12
|
+
CreateAccountGroup(req: CreateAccountGroupRequest, cb?: (error: string, rep: CreateAccountGroupResponse) => void): Promise<CreateAccountGroupResponse>;
|
|
9
13
|
/**
|
|
10
14
|
* 修改规则组信息(规则组管理)
|
|
11
15
|
*/
|
|
@@ -46,6 +50,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
50
|
* 删除NAT ACL规则
|
|
47
51
|
*/
|
|
48
52
|
DeleteNatAclRule(req: DeleteNatAclRuleRequest, cb?: (error: string, rep: DeleteNatAclRuleResponse) => void): Promise<DeleteNatAclRuleResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* 修改账户组名称
|
|
55
|
+
*/
|
|
56
|
+
ModifyAccountGroup(req: ModifyAccountGroupRequest, cb?: (error: string, rep: ModifyAccountGroupResponse) => void): Promise<ModifyAccountGroupResponse>;
|
|
49
57
|
/**
|
|
50
58
|
* 查询用户所有规则的策略问题
|
|
51
59
|
*/
|
|
@@ -59,9 +67,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
59
67
|
*/
|
|
60
68
|
CreateAnalyzePolicyTask(req: CreateAnalyzePolicyTaskRequest, cb?: (error: string, rep: CreateAnalyzePolicyTaskResponse) => void): Promise<CreateAnalyzePolicyTaskResponse>;
|
|
61
69
|
/**
|
|
62
|
-
*
|
|
70
|
+
* 删除账户组,账户组下有成员时不可删除
|
|
63
71
|
*/
|
|
64
|
-
|
|
72
|
+
DeleteAccountGroup(req: DeleteAccountGroupRequest, cb?: (error: string, rep: DeleteAccountGroupResponse) => void): Promise<DeleteAccountGroupResponse>;
|
|
65
73
|
/**
|
|
66
74
|
* 创建策略
|
|
67
75
|
*/
|
|
@@ -74,6 +82,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
74
82
|
* 查询规则组中规则列表接口
|
|
75
83
|
*/
|
|
76
84
|
DescribeSecurityGroupRules(req: DescribeSecurityGroupRulesRequest, cb?: (error: string, rep: DescribeSecurityGroupRulesResponse) => void): Promise<DescribeSecurityGroupRulesResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* 修改策略信息
|
|
87
|
+
*/
|
|
88
|
+
ModifyStrategy(req: ModifyStrategyRequest, cb?: (error: string, rep: ModifyStrategyResponse) => void): Promise<ModifyStrategyResponse>;
|
|
77
89
|
/**
|
|
78
90
|
* 删除策略
|
|
79
91
|
*/
|
|
@@ -90,6 +102,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
90
102
|
* 查询集团下所有纳管成员账号列表,支持分页、排序和多条件筛选,仅管理员可调用
|
|
91
103
|
*/
|
|
92
104
|
DescribeOrganMembers(req: DescribeOrganMembersRequest, cb?: (error: string, rep: DescribeOrganMembersResponse) => void): Promise<DescribeOrganMembersResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* 设置成员所属账户组,GroupId为空字符串表示移出账户组
|
|
107
|
+
*/
|
|
108
|
+
ModifyMemberGroup(req: ModifyMemberGroupRequest, cb?: (error: string, rep: ModifyMemberGroupResponse) => void): Promise<ModifyMemberGroupResponse>;
|
|
93
109
|
/**
|
|
94
110
|
* 快速排序修改策略优先级
|
|
95
111
|
*/
|
|
@@ -106,6 +122,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
106
122
|
* 批量删除互联网边界ACL规则。支持一次删除多条规则。
|
|
107
123
|
*/
|
|
108
124
|
DeleteEdgeAclRule(req: DeleteEdgeAclRuleRequest, cb?: (error: string, rep: DeleteEdgeAclRuleResponse) => void): Promise<DeleteEdgeAclRuleResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* 查询规则组列表
|
|
127
|
+
*/
|
|
128
|
+
DescribeRuleGroups(req: DescribeRuleGroupsRequest, cb?: (error: string, rep: DescribeRuleGroupsResponse) => void): Promise<DescribeRuleGroupsResponse>;
|
|
109
129
|
/**
|
|
110
130
|
* 调整VPC ACL规则优先级顺序
|
|
111
131
|
*/
|
|
@@ -130,6 +150,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
130
150
|
* 查询NAT ACL规则列表
|
|
131
151
|
*/
|
|
132
152
|
DescribeNatAclRules(req: DescribeNatAclRulesRequest, cb?: (error: string, rep: DescribeNatAclRulesResponse) => void): Promise<DescribeNatAclRulesResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* 获取账户组列表,支持分页和关键词搜索
|
|
155
|
+
*/
|
|
156
|
+
DescribeAccountGroups(req: DescribeAccountGroupsRequest, cb?: (error: string, rep: DescribeAccountGroupsResponse) => void): Promise<DescribeAccountGroupsResponse>;
|
|
133
157
|
/**
|
|
134
158
|
* 创建一个不含规则的规则组,归属产品由 Product 指定。规则组是四类防火墙产品共用的资源,落库于 fwm_rule_group 并以 product 字段区分归属;规则需另行通过 CreateSecurityGroupRule / CreateVpcAclRule / CreateNatAclRule / CreateEdgeAclRule 追加。规则组的查询/修改/删除已由 DescribeRuleGroup / DescribeRuleGroups / ModifyRuleGroup / DeleteRuleGroup 统一承载,本接口补齐创建侧,供 Terraform 等需要「建组」与「建规则」分离的资源模型使用。返回新规则组 ID(fwmrg- 前缀),初始 RuleCount 为 0。注意:创建空规则组同样计入规则组配额,且三墙(VPC/NAT/Edge)受预付费写门禁约束,企业安全组不受该门禁约束。
|
|
135
159
|
*/
|
|
@@ -158,14 +182,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
158
182
|
* 查询指定规则组下的互联网边界ACL规则列表。支持分页和多种过滤条件。
|
|
159
183
|
*/
|
|
160
184
|
DescribeEdgeAclRules(req: DescribeEdgeAclRulesRequest, cb?: (error: string, rep: DescribeEdgeAclRulesResponse) => void): Promise<DescribeEdgeAclRulesResponse>;
|
|
185
|
+
/**
|
|
186
|
+
* 设置成员账号的云防火墙纳管状态
|
|
187
|
+
*/
|
|
188
|
+
ModifyCfwManaged(req: ModifyCfwManagedRequest, cb?: (error: string, rep: ModifyCfwManagedResponse) => void): Promise<ModifyCfwManagedResponse>;
|
|
161
189
|
/**
|
|
162
190
|
* 创建规则组(规则组管理)
|
|
163
191
|
*/
|
|
164
192
|
CreateSecurityGroupRuleGroup(req: CreateSecurityGroupRuleGroupRequest, cb?: (error: string, rep: CreateSecurityGroupRuleGroupResponse) => void): Promise<CreateSecurityGroupRuleGroupResponse>;
|
|
165
193
|
/**
|
|
166
|
-
*
|
|
194
|
+
* 设置集团成员的云防火墙共享角色(sharer/user/none)。共享者全集团唯一;共享者→使用者禁止直接变更,需先将角色改为 none;设为使用者时必须指定共享者 SharerAppId。仅管理员可操作。
|
|
167
195
|
*/
|
|
168
|
-
|
|
196
|
+
ModifyCfwShareRole(req: ModifyCfwShareRoleRequest, cb?: (error: string, rep: ModifyCfwShareRoleResponse) => void): Promise<ModifyCfwShareRoleResponse>;
|
|
169
197
|
/**
|
|
170
198
|
* 创建互联网边界ACL规则组,支持同时创建多条规则。Product 必须为 cfw_edge_acl。规则支持 IP、域名、参数模板、实例、标签等多种源/目标类型。
|
|
171
199
|
*/
|
|
@@ -182,6 +210,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
182
210
|
* 修改VPC ACL规则
|
|
183
211
|
*/
|
|
184
212
|
ModifyVpcAclRule(req: ModifyVpcAclRuleRequest, cb?: (error: string, rep: ModifyVpcAclRuleResponse) => void): Promise<ModifyVpcAclRuleResponse>;
|
|
213
|
+
/**
|
|
214
|
+
* 下发策略
|
|
215
|
+
*/
|
|
216
|
+
DispatchStrategy(req: DispatchStrategyRequest, cb?: (error: string, rep: DispatchStrategyResponse) => void): Promise<DispatchStrategyResponse>;
|
|
185
217
|
/**
|
|
186
218
|
* 修改NAT ACL规则
|
|
187
219
|
*/
|
|
@@ -28,6 +28,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
constructor(clientConfig) {
|
|
29
29
|
super("fwm.tencentcloudapi.com", "2025-06-11", clientConfig);
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* 创建账户组
|
|
33
|
+
*/
|
|
34
|
+
async CreateAccountGroup(req, cb) {
|
|
35
|
+
return this.request("CreateAccountGroup", req, cb);
|
|
36
|
+
}
|
|
31
37
|
/**
|
|
32
38
|
* 修改规则组信息(规则组管理)
|
|
33
39
|
*/
|
|
@@ -88,6 +94,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
88
94
|
async DeleteNatAclRule(req, cb) {
|
|
89
95
|
return this.request("DeleteNatAclRule", req, cb);
|
|
90
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* 修改账户组名称
|
|
99
|
+
*/
|
|
100
|
+
async ModifyAccountGroup(req, cb) {
|
|
101
|
+
return this.request("ModifyAccountGroup", req, cb);
|
|
102
|
+
}
|
|
91
103
|
/**
|
|
92
104
|
* 查询用户所有规则的策略问题
|
|
93
105
|
*/
|
|
@@ -107,10 +119,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
107
119
|
return this.request("CreateAnalyzePolicyTask", req, cb);
|
|
108
120
|
}
|
|
109
121
|
/**
|
|
110
|
-
*
|
|
122
|
+
* 删除账户组,账户组下有成员时不可删除
|
|
111
123
|
*/
|
|
112
|
-
async
|
|
113
|
-
return this.request("
|
|
124
|
+
async DeleteAccountGroup(req, cb) {
|
|
125
|
+
return this.request("DeleteAccountGroup", req, cb);
|
|
114
126
|
}
|
|
115
127
|
/**
|
|
116
128
|
* 创建策略
|
|
@@ -130,6 +142,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
130
142
|
async DescribeSecurityGroupRules(req, cb) {
|
|
131
143
|
return this.request("DescribeSecurityGroupRules", req, cb);
|
|
132
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* 修改策略信息
|
|
147
|
+
*/
|
|
148
|
+
async ModifyStrategy(req, cb) {
|
|
149
|
+
return this.request("ModifyStrategy", req, cb);
|
|
150
|
+
}
|
|
133
151
|
/**
|
|
134
152
|
* 删除策略
|
|
135
153
|
*/
|
|
@@ -154,6 +172,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
154
172
|
async DescribeOrganMembers(req, cb) {
|
|
155
173
|
return this.request("DescribeOrganMembers", req, cb);
|
|
156
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* 设置成员所属账户组,GroupId为空字符串表示移出账户组
|
|
177
|
+
*/
|
|
178
|
+
async ModifyMemberGroup(req, cb) {
|
|
179
|
+
return this.request("ModifyMemberGroup", req, cb);
|
|
180
|
+
}
|
|
157
181
|
/**
|
|
158
182
|
* 快速排序修改策略优先级
|
|
159
183
|
*/
|
|
@@ -178,6 +202,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
178
202
|
async DeleteEdgeAclRule(req, cb) {
|
|
179
203
|
return this.request("DeleteEdgeAclRule", req, cb);
|
|
180
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* 查询规则组列表
|
|
207
|
+
*/
|
|
208
|
+
async DescribeRuleGroups(req, cb) {
|
|
209
|
+
return this.request("DescribeRuleGroups", req, cb);
|
|
210
|
+
}
|
|
181
211
|
/**
|
|
182
212
|
* 调整VPC ACL规则优先级顺序
|
|
183
213
|
*/
|
|
@@ -214,6 +244,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
214
244
|
async DescribeNatAclRules(req, cb) {
|
|
215
245
|
return this.request("DescribeNatAclRules", req, cb);
|
|
216
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* 获取账户组列表,支持分页和关键词搜索
|
|
249
|
+
*/
|
|
250
|
+
async DescribeAccountGroups(req, cb) {
|
|
251
|
+
return this.request("DescribeAccountGroups", req, cb);
|
|
252
|
+
}
|
|
217
253
|
/**
|
|
218
254
|
* 创建一个不含规则的规则组,归属产品由 Product 指定。规则组是四类防火墙产品共用的资源,落库于 fwm_rule_group 并以 product 字段区分归属;规则需另行通过 CreateSecurityGroupRule / CreateVpcAclRule / CreateNatAclRule / CreateEdgeAclRule 追加。规则组的查询/修改/删除已由 DescribeRuleGroup / DescribeRuleGroups / ModifyRuleGroup / DeleteRuleGroup 统一承载,本接口补齐创建侧,供 Terraform 等需要「建组」与「建规则」分离的资源模型使用。返回新规则组 ID(fwmrg- 前缀),初始 RuleCount 为 0。注意:创建空规则组同样计入规则组配额,且三墙(VPC/NAT/Edge)受预付费写门禁约束,企业安全组不受该门禁约束。
|
|
219
255
|
*/
|
|
@@ -256,6 +292,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
256
292
|
async DescribeEdgeAclRules(req, cb) {
|
|
257
293
|
return this.request("DescribeEdgeAclRules", req, cb);
|
|
258
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* 设置成员账号的云防火墙纳管状态
|
|
297
|
+
*/
|
|
298
|
+
async ModifyCfwManaged(req, cb) {
|
|
299
|
+
return this.request("ModifyCfwManaged", req, cb);
|
|
300
|
+
}
|
|
259
301
|
/**
|
|
260
302
|
* 创建规则组(规则组管理)
|
|
261
303
|
*/
|
|
@@ -263,10 +305,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
263
305
|
return this.request("CreateSecurityGroupRuleGroup", req, cb);
|
|
264
306
|
}
|
|
265
307
|
/**
|
|
266
|
-
*
|
|
308
|
+
* 设置集团成员的云防火墙共享角色(sharer/user/none)。共享者全集团唯一;共享者→使用者禁止直接变更,需先将角色改为 none;设为使用者时必须指定共享者 SharerAppId。仅管理员可操作。
|
|
267
309
|
*/
|
|
268
|
-
async
|
|
269
|
-
return this.request("
|
|
310
|
+
async ModifyCfwShareRole(req, cb) {
|
|
311
|
+
return this.request("ModifyCfwShareRole", req, cb);
|
|
270
312
|
}
|
|
271
313
|
/**
|
|
272
314
|
* 创建互联网边界ACL规则组,支持同时创建多条规则。Product 必须为 cfw_edge_acl。规则支持 IP、域名、参数模板、实例、标签等多种源/目标类型。
|
|
@@ -292,6 +334,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
292
334
|
async ModifyVpcAclRule(req, cb) {
|
|
293
335
|
return this.request("ModifyVpcAclRule", req, cb);
|
|
294
336
|
}
|
|
337
|
+
/**
|
|
338
|
+
* 下发策略
|
|
339
|
+
*/
|
|
340
|
+
async DispatchStrategy(req, cb) {
|
|
341
|
+
return this.request("DispatchStrategy", req, cb);
|
|
342
|
+
}
|
|
295
343
|
/**
|
|
296
344
|
* 修改NAT ACL规则
|
|
297
345
|
*/
|
|
@@ -113,6 +113,15 @@ export interface DescribeRiskListResponse {
|
|
|
113
113
|
*/
|
|
114
114
|
RequestId?: string;
|
|
115
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* DeleteAccountGroup请求参数结构体
|
|
118
|
+
*/
|
|
119
|
+
export interface DeleteAccountGroupRequest {
|
|
120
|
+
/**
|
|
121
|
+
* 账户组ID
|
|
122
|
+
*/
|
|
123
|
+
GroupId: string;
|
|
124
|
+
}
|
|
116
125
|
/**
|
|
117
126
|
* DescribeNatAclRules请求参数结构体
|
|
118
127
|
*/
|
|
@@ -202,6 +211,31 @@ export interface ModifyEdgeAclRuleSequenceResponse {
|
|
|
202
211
|
*/
|
|
203
212
|
RequestId?: string;
|
|
204
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* DescribeAccountGroups请求参数结构体
|
|
216
|
+
*/
|
|
217
|
+
export interface DescribeAccountGroupsRequest {
|
|
218
|
+
/**
|
|
219
|
+
* 关键词搜索(可选)
|
|
220
|
+
*/
|
|
221
|
+
Filters?: Array<CommonFilter>;
|
|
222
|
+
/**
|
|
223
|
+
* 分页大小,默认20
|
|
224
|
+
*/
|
|
225
|
+
Limit?: number;
|
|
226
|
+
/**
|
|
227
|
+
* 分页偏移,默认0
|
|
228
|
+
*/
|
|
229
|
+
Offset?: number;
|
|
230
|
+
/**
|
|
231
|
+
* 顺序
|
|
232
|
+
*/
|
|
233
|
+
Order?: string;
|
|
234
|
+
/**
|
|
235
|
+
* 排序字段
|
|
236
|
+
*/
|
|
237
|
+
By?: string;
|
|
238
|
+
}
|
|
205
239
|
/**
|
|
206
240
|
* ModifySecurityGroupRule请求参数结构体
|
|
207
241
|
*/
|
|
@@ -450,6 +484,15 @@ export interface DescribeStrategiesResponse {
|
|
|
450
484
|
*/
|
|
451
485
|
RequestId?: string;
|
|
452
486
|
}
|
|
487
|
+
/**
|
|
488
|
+
* DeleteAccountGroup返回参数结构体
|
|
489
|
+
*/
|
|
490
|
+
export interface DeleteAccountGroupResponse {
|
|
491
|
+
/**
|
|
492
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
493
|
+
*/
|
|
494
|
+
RequestId?: string;
|
|
495
|
+
}
|
|
453
496
|
/**
|
|
454
497
|
* DescribeStrategyAccounts请求参数结构体
|
|
455
498
|
*/
|
|
@@ -473,21 +516,13 @@ export interface DescribeStrategyDispatchStatusRequest {
|
|
|
473
516
|
Product?: string;
|
|
474
517
|
}
|
|
475
518
|
/**
|
|
476
|
-
*
|
|
519
|
+
* DeleteStrategy返回参数结构体
|
|
477
520
|
*/
|
|
478
|
-
export interface
|
|
479
|
-
/**
|
|
480
|
-
* 出入站方向 0=出向,1=入向
|
|
481
|
-
*/
|
|
482
|
-
Direction: number;
|
|
483
|
-
/**
|
|
484
|
-
* 规则组ID
|
|
485
|
-
*/
|
|
486
|
-
GroupId?: string;
|
|
521
|
+
export interface DeleteStrategyResponse {
|
|
487
522
|
/**
|
|
488
|
-
*
|
|
523
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
489
524
|
*/
|
|
490
|
-
|
|
525
|
+
RequestId?: string;
|
|
491
526
|
}
|
|
492
527
|
/**
|
|
493
528
|
* 规则数据结构描述
|
|
@@ -588,6 +623,21 @@ export interface CreateRuleGroupRequest {
|
|
|
588
623
|
*/
|
|
589
624
|
Product?: string;
|
|
590
625
|
}
|
|
626
|
+
/**
|
|
627
|
+
* 规则序号调整结构
|
|
628
|
+
*/
|
|
629
|
+
export interface SequenceIndex {
|
|
630
|
+
/**
|
|
631
|
+
* 原规则序号
|
|
632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
633
|
+
*/
|
|
634
|
+
OrderIndex?: number;
|
|
635
|
+
/**
|
|
636
|
+
* 新规则序号
|
|
637
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
638
|
+
*/
|
|
639
|
+
NewOrderIndex?: number;
|
|
640
|
+
}
|
|
591
641
|
/**
|
|
592
642
|
* DescribeNatAclRules返回参数结构体
|
|
593
643
|
*/
|
|
@@ -609,6 +659,19 @@ export interface DescribeNatAclRulesResponse {
|
|
|
609
659
|
*/
|
|
610
660
|
RequestId?: string;
|
|
611
661
|
}
|
|
662
|
+
/**
|
|
663
|
+
* CreateAccountGroup请求参数结构体
|
|
664
|
+
*/
|
|
665
|
+
export interface CreateAccountGroupRequest {
|
|
666
|
+
/**
|
|
667
|
+
* 账户组名称
|
|
668
|
+
*/
|
|
669
|
+
GroupName: string;
|
|
670
|
+
/**
|
|
671
|
+
* 描述(可选)
|
|
672
|
+
*/
|
|
673
|
+
Description?: string;
|
|
674
|
+
}
|
|
612
675
|
/**
|
|
613
676
|
* DescribeSecurityGroupRule请求参数结构体
|
|
614
677
|
*/
|
|
@@ -662,6 +725,15 @@ export interface ModifyStrategySequenceResponse {
|
|
|
662
725
|
*/
|
|
663
726
|
RequestId?: string;
|
|
664
727
|
}
|
|
728
|
+
/**
|
|
729
|
+
* ModifyCfwShareRole返回参数结构体
|
|
730
|
+
*/
|
|
731
|
+
export interface ModifyCfwShareRoleResponse {
|
|
732
|
+
/**
|
|
733
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
734
|
+
*/
|
|
735
|
+
RequestId?: string;
|
|
736
|
+
}
|
|
665
737
|
/**
|
|
666
738
|
* DescribeOrganSummary返回参数结构体
|
|
667
739
|
*/
|
|
@@ -689,13 +761,21 @@ export interface DeleteVpcAclRuleRequest {
|
|
|
689
761
|
RuleIds: Array<string>;
|
|
690
762
|
}
|
|
691
763
|
/**
|
|
692
|
-
*
|
|
764
|
+
* ModifyEdgeAclRuleSequence请求参数结构体
|
|
693
765
|
*/
|
|
694
|
-
export interface
|
|
766
|
+
export interface ModifyEdgeAclRuleSequenceRequest {
|
|
695
767
|
/**
|
|
696
|
-
*
|
|
768
|
+
* 出入站方向 0=出向,1=入向
|
|
697
769
|
*/
|
|
698
|
-
|
|
770
|
+
Direction: number;
|
|
771
|
+
/**
|
|
772
|
+
* 规则组ID
|
|
773
|
+
*/
|
|
774
|
+
GroupId?: string;
|
|
775
|
+
/**
|
|
776
|
+
* 规则序号调整列表,必须包含所有受影响的规则
|
|
777
|
+
*/
|
|
778
|
+
Sequences?: Array<SequenceIndex>;
|
|
699
779
|
}
|
|
700
780
|
/**
|
|
701
781
|
* 查询策略时策略列表参数
|
|
@@ -766,6 +846,80 @@ export interface StrategyResp {
|
|
|
766
846
|
*/
|
|
767
847
|
CreateTime?: string;
|
|
768
848
|
}
|
|
849
|
+
/**
|
|
850
|
+
* 规则组详情数据
|
|
851
|
+
*/
|
|
852
|
+
export interface RuleGroupResp {
|
|
853
|
+
/**
|
|
854
|
+
* 租户Id
|
|
855
|
+
*/
|
|
856
|
+
AppId?: string;
|
|
857
|
+
/**
|
|
858
|
+
* 规则组Id
|
|
859
|
+
*/
|
|
860
|
+
GroupId?: string;
|
|
861
|
+
/**
|
|
862
|
+
* 规则组名称
|
|
863
|
+
*/
|
|
864
|
+
GroupName?: string;
|
|
865
|
+
/**
|
|
866
|
+
* 规则数量
|
|
867
|
+
*/
|
|
868
|
+
RuleCount?: number;
|
|
869
|
+
/**
|
|
870
|
+
* 产品类型
|
|
871
|
+
*/
|
|
872
|
+
Product?: string;
|
|
873
|
+
/**
|
|
874
|
+
* 创建时间
|
|
875
|
+
*/
|
|
876
|
+
CreateTime?: string;
|
|
877
|
+
/**
|
|
878
|
+
* 更新时间
|
|
879
|
+
*/
|
|
880
|
+
UpdateTime?: string;
|
|
881
|
+
/**
|
|
882
|
+
* 创建人SubUin
|
|
883
|
+
*/
|
|
884
|
+
CreateBy?: string;
|
|
885
|
+
/**
|
|
886
|
+
* 创建人名称
|
|
887
|
+
*/
|
|
888
|
+
CreateName?: string;
|
|
889
|
+
/**
|
|
890
|
+
* 更新人SubUin
|
|
891
|
+
*/
|
|
892
|
+
UpdateBy?: string;
|
|
893
|
+
/**
|
|
894
|
+
* 更新人名称
|
|
895
|
+
*/
|
|
896
|
+
UpdateName?: string;
|
|
897
|
+
/**
|
|
898
|
+
* 下发关联账号
|
|
899
|
+
*/
|
|
900
|
+
ReceiveAccount?: Array<ReceiveAccount>;
|
|
901
|
+
/**
|
|
902
|
+
* 所属阶段
|
|
903
|
+
*/
|
|
904
|
+
ExecAreas?: Array<string>;
|
|
905
|
+
/**
|
|
906
|
+
* 规则方向:1-入站规则,0-出站规则,-1 表示无方向
|
|
907
|
+
*/
|
|
908
|
+
Direction?: number;
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* ModifyAccountGroup请求参数结构体
|
|
912
|
+
*/
|
|
913
|
+
export interface ModifyAccountGroupRequest {
|
|
914
|
+
/**
|
|
915
|
+
* 账户组ID
|
|
916
|
+
*/
|
|
917
|
+
GroupId: string;
|
|
918
|
+
/**
|
|
919
|
+
* 账户组名称
|
|
920
|
+
*/
|
|
921
|
+
GroupName: string;
|
|
922
|
+
}
|
|
769
923
|
/**
|
|
770
924
|
* DescribeOrganMembers返回参数结构体
|
|
771
925
|
*/
|
|
@@ -884,6 +1038,39 @@ export interface DeleteEdgeAclRuleResponse {
|
|
|
884
1038
|
*/
|
|
885
1039
|
RequestId?: string;
|
|
886
1040
|
}
|
|
1041
|
+
/**
|
|
1042
|
+
* DescribeRiskCategoryStats请求参数结构体
|
|
1043
|
+
*/
|
|
1044
|
+
export interface DescribeRiskCategoryStatsRequest {
|
|
1045
|
+
/**
|
|
1046
|
+
* 分页大小,默认20
|
|
1047
|
+
*/
|
|
1048
|
+
Limit?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* 分页偏移量,默认0
|
|
1051
|
+
*/
|
|
1052
|
+
Offset?: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* 产品类型
|
|
1055
|
+
*/
|
|
1056
|
+
Product?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* 筛选器
|
|
1059
|
+
*/
|
|
1060
|
+
Filters?: Array<CommonFilter>;
|
|
1061
|
+
/**
|
|
1062
|
+
* 排序字段:"RuleCount", "TreatedCount", "IgnoredCount", "UntreatedCount", "DisposalRate"
|
|
1063
|
+
*/
|
|
1064
|
+
By?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* 顺序
|
|
1067
|
+
*/
|
|
1068
|
+
Order?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* 成员Id
|
|
1071
|
+
*/
|
|
1072
|
+
MemberId?: string;
|
|
1073
|
+
}
|
|
887
1074
|
/**
|
|
888
1075
|
* ModifyVpcAclRule返回参数结构体
|
|
889
1076
|
*/
|
|
@@ -1080,6 +1267,15 @@ export interface CreateStrategyRequest {
|
|
|
1080
1267
|
*/
|
|
1081
1268
|
ReceiveGroup?: Array<string>;
|
|
1082
1269
|
}
|
|
1270
|
+
/**
|
|
1271
|
+
* ModifyMemberGroup返回参数结构体
|
|
1272
|
+
*/
|
|
1273
|
+
export interface ModifyMemberGroupResponse {
|
|
1274
|
+
/**
|
|
1275
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1276
|
+
*/
|
|
1277
|
+
RequestId?: string;
|
|
1278
|
+
}
|
|
1083
1279
|
/**
|
|
1084
1280
|
* VPC边界规则
|
|
1085
1281
|
*/
|
|
@@ -1179,6 +1375,19 @@ export interface DeleteRuleGroupResponse {
|
|
|
1179
1375
|
*/
|
|
1180
1376
|
RequestId?: string;
|
|
1181
1377
|
}
|
|
1378
|
+
/**
|
|
1379
|
+
* ModifyCfwManaged请求参数结构体
|
|
1380
|
+
*/
|
|
1381
|
+
export interface ModifyCfwManagedRequest {
|
|
1382
|
+
/**
|
|
1383
|
+
* 目标成员 Id
|
|
1384
|
+
*/
|
|
1385
|
+
MemberId: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* 云防火墙纳管:0-关闭,1-开启
|
|
1388
|
+
*/
|
|
1389
|
+
CfwManaged: number;
|
|
1390
|
+
}
|
|
1182
1391
|
/**
|
|
1183
1392
|
* CancelIgnorePolicyRisk请求参数结构体
|
|
1184
1393
|
*/
|
|
@@ -1214,6 +1423,19 @@ export interface CreateSecurityGroupRuleGroupResponse {
|
|
|
1214
1423
|
*/
|
|
1215
1424
|
RequestId?: string;
|
|
1216
1425
|
}
|
|
1426
|
+
/**
|
|
1427
|
+
* ModifyMemberGroup请求参数结构体
|
|
1428
|
+
*/
|
|
1429
|
+
export interface ModifyMemberGroupRequest {
|
|
1430
|
+
/**
|
|
1431
|
+
* 目标成员 AppId
|
|
1432
|
+
*/
|
|
1433
|
+
UserMemberId: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* 账户组ID(空字符串表示移出账户组)
|
|
1436
|
+
*/
|
|
1437
|
+
GroupId?: string;
|
|
1438
|
+
}
|
|
1217
1439
|
/**
|
|
1218
1440
|
* 安全组服务模板
|
|
1219
1441
|
*/
|
|
@@ -1351,6 +1573,23 @@ export interface DescribeSecurityGroupRuleResponse {
|
|
|
1351
1573
|
*/
|
|
1352
1574
|
RequestId?: string;
|
|
1353
1575
|
}
|
|
1576
|
+
/**
|
|
1577
|
+
* ModifyCfwShareRole请求参数结构体
|
|
1578
|
+
*/
|
|
1579
|
+
export interface ModifyCfwShareRoleRequest {
|
|
1580
|
+
/**
|
|
1581
|
+
* 云防火墙共享角色,取值:sharer(共享者)、user(使用者)、none(无共享角色)。共享者→使用者禁止直接变更,需先设为 none
|
|
1582
|
+
*/
|
|
1583
|
+
CfwShareRole: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* 使用者Id
|
|
1586
|
+
*/
|
|
1587
|
+
UserMemberId: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* 共享者账号ID,CfwShareRole 为 user 时必填
|
|
1590
|
+
*/
|
|
1591
|
+
SharerMemberId?: string;
|
|
1592
|
+
}
|
|
1354
1593
|
/**
|
|
1355
1594
|
* DescribeRiskCategoryStats返回参数结构体
|
|
1356
1595
|
*/
|
|
@@ -1393,6 +1632,15 @@ export interface MemberInfo {
|
|
|
1393
1632
|
*/
|
|
1394
1633
|
NodeName?: string;
|
|
1395
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* ModifyAccountGroup返回参数结构体
|
|
1637
|
+
*/
|
|
1638
|
+
export interface ModifyAccountGroupResponse {
|
|
1639
|
+
/**
|
|
1640
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1641
|
+
*/
|
|
1642
|
+
RequestId?: string;
|
|
1643
|
+
}
|
|
1396
1644
|
/**
|
|
1397
1645
|
* DescribePolicyRiskAccountProductStats请求参数结构体
|
|
1398
1646
|
*/
|
|
@@ -1486,6 +1734,15 @@ export interface DescribeStrategyDispatchStatusResponse {
|
|
|
1486
1734
|
*/
|
|
1487
1735
|
RequestId?: string;
|
|
1488
1736
|
}
|
|
1737
|
+
/**
|
|
1738
|
+
* ModifyNatAclRule返回参数结构体
|
|
1739
|
+
*/
|
|
1740
|
+
export interface ModifyNatAclRuleResponse {
|
|
1741
|
+
/**
|
|
1742
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1743
|
+
*/
|
|
1744
|
+
RequestId?: string;
|
|
1745
|
+
}
|
|
1489
1746
|
/**
|
|
1490
1747
|
* ModifyStrategy返回参数结构体
|
|
1491
1748
|
*/
|
|
@@ -1509,37 +1766,21 @@ export interface CreateVpcAclRuleResponse {
|
|
|
1509
1766
|
RequestId?: string;
|
|
1510
1767
|
}
|
|
1511
1768
|
/**
|
|
1512
|
-
*
|
|
1769
|
+
* DescribeRuleGroups返回参数结构体
|
|
1513
1770
|
*/
|
|
1514
|
-
export interface
|
|
1515
|
-
/**
|
|
1516
|
-
* 分页大小,默认20
|
|
1517
|
-
*/
|
|
1518
|
-
Limit?: number;
|
|
1519
|
-
/**
|
|
1520
|
-
* 分页偏移量,默认0
|
|
1521
|
-
*/
|
|
1522
|
-
Offset?: number;
|
|
1523
|
-
/**
|
|
1524
|
-
* 产品类型
|
|
1525
|
-
*/
|
|
1526
|
-
Product?: string;
|
|
1771
|
+
export interface DescribeRuleGroupsResponse {
|
|
1527
1772
|
/**
|
|
1528
|
-
*
|
|
1529
|
-
*/
|
|
1530
|
-
Filters?: Array<CommonFilter>;
|
|
1531
|
-
/**
|
|
1532
|
-
* 排序字段:"RuleCount", "TreatedCount", "IgnoredCount", "UntreatedCount", "DisposalRate"
|
|
1773
|
+
* 总记录数
|
|
1533
1774
|
*/
|
|
1534
|
-
|
|
1775
|
+
TotalCount?: number;
|
|
1535
1776
|
/**
|
|
1536
|
-
*
|
|
1777
|
+
* 规则组列表
|
|
1537
1778
|
*/
|
|
1538
|
-
|
|
1779
|
+
RuleGroups?: Array<RuleGroupResp>;
|
|
1539
1780
|
/**
|
|
1540
|
-
*
|
|
1781
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1541
1782
|
*/
|
|
1542
|
-
|
|
1783
|
+
RequestId?: string;
|
|
1543
1784
|
}
|
|
1544
1785
|
/**
|
|
1545
1786
|
* 企业安全组规则列表信息
|
|
@@ -1834,6 +2075,32 @@ export interface DescribeEdgeAclRulesResponse {
|
|
|
1834
2075
|
*/
|
|
1835
2076
|
RequestId?: string;
|
|
1836
2077
|
}
|
|
2078
|
+
/**
|
|
2079
|
+
* DescribeAccountGroups返回参数结构体
|
|
2080
|
+
*/
|
|
2081
|
+
export interface DescribeAccountGroupsResponse {
|
|
2082
|
+
/**
|
|
2083
|
+
* 总数量
|
|
2084
|
+
*/
|
|
2085
|
+
TotalCount?: number;
|
|
2086
|
+
/**
|
|
2087
|
+
* 账户组列表
|
|
2088
|
+
*/
|
|
2089
|
+
AccountGroups?: Array<AccountGroup>;
|
|
2090
|
+
/**
|
|
2091
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2092
|
+
*/
|
|
2093
|
+
RequestId?: string;
|
|
2094
|
+
}
|
|
2095
|
+
/**
|
|
2096
|
+
* ModifyCfwManaged返回参数结构体
|
|
2097
|
+
*/
|
|
2098
|
+
export interface ModifyCfwManagedResponse {
|
|
2099
|
+
/**
|
|
2100
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2101
|
+
*/
|
|
2102
|
+
RequestId?: string;
|
|
2103
|
+
}
|
|
1837
2104
|
/**
|
|
1838
2105
|
* ModifyNatAclRuleSequence请求参数结构体
|
|
1839
2106
|
*/
|
|
@@ -2086,13 +2353,37 @@ export interface ModifyEdgeAclRuleResponse {
|
|
|
2086
2353
|
RequestId?: string;
|
|
2087
2354
|
}
|
|
2088
2355
|
/**
|
|
2089
|
-
*
|
|
2356
|
+
* 账号基本信息,主要有 Uin 和 AppId
|
|
2090
2357
|
*/
|
|
2091
|
-
export interface
|
|
2358
|
+
export interface Account {
|
|
2092
2359
|
/**
|
|
2093
|
-
*
|
|
2360
|
+
* 租户appid
|
|
2094
2361
|
*/
|
|
2095
|
-
|
|
2362
|
+
AppId?: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* 租户uin
|
|
2365
|
+
*/
|
|
2366
|
+
Uin?: string;
|
|
2367
|
+
/**
|
|
2368
|
+
* 剩余可用额度
|
|
2369
|
+
*/
|
|
2370
|
+
RemainQuota?: number;
|
|
2371
|
+
/**
|
|
2372
|
+
* 租户名称
|
|
2373
|
+
*/
|
|
2374
|
+
Nickname?: string;
|
|
2375
|
+
/**
|
|
2376
|
+
* 下发规则数
|
|
2377
|
+
*/
|
|
2378
|
+
DispatchRuleNum?: number;
|
|
2379
|
+
/**
|
|
2380
|
+
* 产品已有规则数
|
|
2381
|
+
*/
|
|
2382
|
+
OriginRuleNum?: number;
|
|
2383
|
+
/**
|
|
2384
|
+
* 总额度
|
|
2385
|
+
*/
|
|
2386
|
+
TotalQuota?: number;
|
|
2096
2387
|
/**
|
|
2097
2388
|
* 成员Id
|
|
2098
2389
|
*/
|
|
@@ -2600,19 +2891,33 @@ export interface CreateVpcAclRuleRequest {
|
|
|
2600
2891
|
Rules: Array<VpcAclRule>;
|
|
2601
2892
|
}
|
|
2602
2893
|
/**
|
|
2603
|
-
*
|
|
2894
|
+
* DescribeRuleGroups请求参数结构体
|
|
2604
2895
|
*/
|
|
2605
|
-
export interface
|
|
2896
|
+
export interface DescribeRuleGroupsRequest {
|
|
2606
2897
|
/**
|
|
2607
|
-
*
|
|
2608
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2898
|
+
* 产品类型
|
|
2609
2899
|
*/
|
|
2610
|
-
|
|
2900
|
+
Product?: string;
|
|
2611
2901
|
/**
|
|
2612
|
-
*
|
|
2613
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2902
|
+
* 产品类型
|
|
2614
2903
|
*/
|
|
2615
|
-
|
|
2904
|
+
Filters?: Array<CommonFilter>;
|
|
2905
|
+
/**
|
|
2906
|
+
* 排序
|
|
2907
|
+
*/
|
|
2908
|
+
Order?: string;
|
|
2909
|
+
/**
|
|
2910
|
+
* 排序字段
|
|
2911
|
+
*/
|
|
2912
|
+
By?: string;
|
|
2913
|
+
/**
|
|
2914
|
+
* 起始位置
|
|
2915
|
+
*/
|
|
2916
|
+
Offset?: number;
|
|
2917
|
+
/**
|
|
2918
|
+
* 查询数量
|
|
2919
|
+
*/
|
|
2920
|
+
Limit?: number;
|
|
2616
2921
|
}
|
|
2617
2922
|
/**
|
|
2618
2923
|
* CreateSecurityGroupRuleGroup请求参数结构体
|
|
@@ -2644,6 +2949,19 @@ export interface CreateNatAclRuleResponse {
|
|
|
2644
2949
|
*/
|
|
2645
2950
|
RequestId?: string;
|
|
2646
2951
|
}
|
|
2952
|
+
/**
|
|
2953
|
+
* IgnorePolicyRisk请求参数结构体
|
|
2954
|
+
*/
|
|
2955
|
+
export interface IgnorePolicyRiskRequest {
|
|
2956
|
+
/**
|
|
2957
|
+
* 策略问题ID
|
|
2958
|
+
*/
|
|
2959
|
+
RiskId: string;
|
|
2960
|
+
/**
|
|
2961
|
+
* 成员Id
|
|
2962
|
+
*/
|
|
2963
|
+
MemberId?: string;
|
|
2964
|
+
}
|
|
2647
2965
|
/**
|
|
2648
2966
|
* CreateAnalyzePolicyTask返回参数结构体
|
|
2649
2967
|
*/
|
|
@@ -2867,9 +3185,13 @@ export interface CreateSecurityGroupRuleRequest {
|
|
|
2867
3185
|
Rules?: Array<SecurityGroupRule>;
|
|
2868
3186
|
}
|
|
2869
3187
|
/**
|
|
2870
|
-
*
|
|
3188
|
+
* CreateAccountGroup返回参数结构体
|
|
2871
3189
|
*/
|
|
2872
|
-
export interface
|
|
3190
|
+
export interface CreateAccountGroupResponse {
|
|
3191
|
+
/**
|
|
3192
|
+
* 新建账户组ID
|
|
3193
|
+
*/
|
|
3194
|
+
GroupId?: string;
|
|
2873
3195
|
/**
|
|
2874
3196
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2875
3197
|
*/
|
|
@@ -2946,43 +3268,6 @@ export interface RiskCategoryItem {
|
|
|
2946
3268
|
*/
|
|
2947
3269
|
RemediationStatus?: string;
|
|
2948
3270
|
}
|
|
2949
|
-
/**
|
|
2950
|
-
* 账号基本信息,主要有 Uin 和 AppId
|
|
2951
|
-
*/
|
|
2952
|
-
export interface Account {
|
|
2953
|
-
/**
|
|
2954
|
-
* 租户appid
|
|
2955
|
-
*/
|
|
2956
|
-
AppId?: string;
|
|
2957
|
-
/**
|
|
2958
|
-
* 租户uin
|
|
2959
|
-
*/
|
|
2960
|
-
Uin?: string;
|
|
2961
|
-
/**
|
|
2962
|
-
* 剩余可用额度
|
|
2963
|
-
*/
|
|
2964
|
-
RemainQuota?: number;
|
|
2965
|
-
/**
|
|
2966
|
-
* 租户名称
|
|
2967
|
-
*/
|
|
2968
|
-
Nickname?: string;
|
|
2969
|
-
/**
|
|
2970
|
-
* 下发规则数
|
|
2971
|
-
*/
|
|
2972
|
-
DispatchRuleNum?: number;
|
|
2973
|
-
/**
|
|
2974
|
-
* 产品已有规则数
|
|
2975
|
-
*/
|
|
2976
|
-
OriginRuleNum?: number;
|
|
2977
|
-
/**
|
|
2978
|
-
* 总额度
|
|
2979
|
-
*/
|
|
2980
|
-
TotalQuota?: number;
|
|
2981
|
-
/**
|
|
2982
|
-
* 成员Id
|
|
2983
|
-
*/
|
|
2984
|
-
MemberId?: string;
|
|
2985
|
-
}
|
|
2986
3271
|
/**
|
|
2987
3272
|
* CancelIgnorePolicyRisk返回参数结构体
|
|
2988
3273
|
*/
|
|
@@ -3013,6 +3298,36 @@ export interface ReceiveAccount {
|
|
|
3013
3298
|
*/
|
|
3014
3299
|
Members?: Array<MemberInfo>;
|
|
3015
3300
|
}
|
|
3301
|
+
/**
|
|
3302
|
+
* 账户组信息
|
|
3303
|
+
*/
|
|
3304
|
+
export interface AccountGroup {
|
|
3305
|
+
/**
|
|
3306
|
+
* 账户组ID
|
|
3307
|
+
*/
|
|
3308
|
+
GroupId?: string;
|
|
3309
|
+
/**
|
|
3310
|
+
* 账户组名称
|
|
3311
|
+
*/
|
|
3312
|
+
GroupName?: string;
|
|
3313
|
+
/**
|
|
3314
|
+
* 描述
|
|
3315
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3316
|
+
*/
|
|
3317
|
+
Description?: string;
|
|
3318
|
+
/**
|
|
3319
|
+
* 成员数量
|
|
3320
|
+
*/
|
|
3321
|
+
MemberCount?: number;
|
|
3322
|
+
/**
|
|
3323
|
+
* 创建时间
|
|
3324
|
+
*/
|
|
3325
|
+
CreateTime?: string;
|
|
3326
|
+
/**
|
|
3327
|
+
* 是否可删除
|
|
3328
|
+
*/
|
|
3329
|
+
CanDelete?: boolean;
|
|
3330
|
+
}
|
|
3016
3331
|
/**
|
|
3017
3332
|
* 互联网边界规则
|
|
3018
3333
|
*/
|