@alicloud/ecd20200930 4.13.0 → 4.14.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 +15 -0
- package/dist/client.js +48 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCenterPolicyRequest.d.ts +1 -0
- package/dist/models/CreateCenterPolicyRequest.js +2 -0
- package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
- package/dist/models/DescribePolicyGroupsResponseBody.d.ts +1 -0
- package/dist/models/DescribePolicyGroupsResponseBody.js +2 -0
- package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +23 -0
- package/dist/models/DescribeSecurityGroupAttributeRequest.js +60 -0
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -0
- package/dist/models/DescribeSecurityGroupAttributeResponse.d.ts +19 -0
- package/dist/models/DescribeSecurityGroupAttributeResponse.js +69 -0
- package/dist/models/DescribeSecurityGroupAttributeResponse.js.map +1 -0
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +17 -0
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js +69 -0
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -0
- package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -0
- package/dist/models/ModifyCenterPolicyRequest.js +2 -0
- package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +14 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -0
- package/src/models/CreateCenterPolicyRequest.ts +3 -0
- package/src/models/DescribePolicyGroupsResponseBody.ts +3 -0
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +38 -0
- package/src/models/DescribeSecurityGroupAttributeResponse.ts +40 -0
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +40 -0
- package/src/models/ModifyCenterPolicyRequest.ts +3 -0
- package/src/models/model.ts +3 -0
package/dist/client.d.ts
CHANGED
|
@@ -2454,6 +2454,21 @@ export default class Client extends OpenApi {
|
|
|
2454
2454
|
* @returns DescribeRouteTableListResponse
|
|
2455
2455
|
*/
|
|
2456
2456
|
describeRouteTableList(request: $_model.DescribeRouteTableListRequest): Promise<$_model.DescribeRouteTableListResponse>;
|
|
2457
|
+
/**
|
|
2458
|
+
* 查询办公网络维度安全组策略
|
|
2459
|
+
*
|
|
2460
|
+
* @param request - DescribeSecurityGroupAttributeRequest
|
|
2461
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2462
|
+
* @returns DescribeSecurityGroupAttributeResponse
|
|
2463
|
+
*/
|
|
2464
|
+
describeSecurityGroupAttributeWithOptions(request: $_model.DescribeSecurityGroupAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSecurityGroupAttributeResponse>;
|
|
2465
|
+
/**
|
|
2466
|
+
* 查询办公网络维度安全组策略
|
|
2467
|
+
*
|
|
2468
|
+
* @param request - DescribeSecurityGroupAttributeRequest
|
|
2469
|
+
* @returns DescribeSecurityGroupAttributeResponse
|
|
2470
|
+
*/
|
|
2471
|
+
describeSecurityGroupAttribute(request: $_model.DescribeSecurityGroupAttributeRequest): Promise<$_model.DescribeSecurityGroupAttributeResponse>;
|
|
2457
2472
|
/**
|
|
2458
2473
|
* Queries the session statistics of a region.
|
|
2459
2474
|
*
|
package/dist/client.js
CHANGED
|
@@ -2183,6 +2183,9 @@ class Client extends openapi_core_1.default {
|
|
|
2183
2183
|
if (!$dara.isNull(request.endUserGroupCoordinate)) {
|
|
2184
2184
|
query["EndUserGroupCoordinate"] = request.endUserGroupCoordinate;
|
|
2185
2185
|
}
|
|
2186
|
+
if (!$dara.isNull(request.externalDrive)) {
|
|
2187
|
+
query["ExternalDrive"] = request.externalDrive;
|
|
2188
|
+
}
|
|
2186
2189
|
if (!$dara.isNull(request.fileMigrate)) {
|
|
2187
2190
|
query["FileMigrate"] = request.fileMigrate;
|
|
2188
2191
|
}
|
|
@@ -9131,6 +9134,48 @@ class Client extends openapi_core_1.default {
|
|
|
9131
9134
|
let runtime = new $dara.RuntimeOptions({});
|
|
9132
9135
|
return await this.describeRouteTableListWithOptions(request, runtime);
|
|
9133
9136
|
}
|
|
9137
|
+
/**
|
|
9138
|
+
* 查询办公网络维度安全组策略
|
|
9139
|
+
*
|
|
9140
|
+
* @param request - DescribeSecurityGroupAttributeRequest
|
|
9141
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9142
|
+
* @returns DescribeSecurityGroupAttributeResponse
|
|
9143
|
+
*/
|
|
9144
|
+
async describeSecurityGroupAttributeWithOptions(request, runtime) {
|
|
9145
|
+
request.validate();
|
|
9146
|
+
let query = {};
|
|
9147
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
9148
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
9149
|
+
}
|
|
9150
|
+
if (!$dara.isNull(request.regionId)) {
|
|
9151
|
+
query["RegionId"] = request.regionId;
|
|
9152
|
+
}
|
|
9153
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9154
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9155
|
+
});
|
|
9156
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9157
|
+
action: "DescribeSecurityGroupAttribute",
|
|
9158
|
+
version: "2020-09-30",
|
|
9159
|
+
protocol: "HTTPS",
|
|
9160
|
+
pathname: "/",
|
|
9161
|
+
method: "POST",
|
|
9162
|
+
authType: "AK",
|
|
9163
|
+
style: "RPC",
|
|
9164
|
+
reqBodyType: "formData",
|
|
9165
|
+
bodyType: "json",
|
|
9166
|
+
});
|
|
9167
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSecurityGroupAttributeResponse({}));
|
|
9168
|
+
}
|
|
9169
|
+
/**
|
|
9170
|
+
* 查询办公网络维度安全组策略
|
|
9171
|
+
*
|
|
9172
|
+
* @param request - DescribeSecurityGroupAttributeRequest
|
|
9173
|
+
* @returns DescribeSecurityGroupAttributeResponse
|
|
9174
|
+
*/
|
|
9175
|
+
async describeSecurityGroupAttribute(request) {
|
|
9176
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9177
|
+
return await this.describeSecurityGroupAttributeWithOptions(request, runtime);
|
|
9178
|
+
}
|
|
9134
9179
|
/**
|
|
9135
9180
|
* Queries the session statistics of a region.
|
|
9136
9181
|
*
|
|
@@ -11980,6 +12025,9 @@ class Client extends openapi_core_1.default {
|
|
|
11980
12025
|
if (!$dara.isNull(request.endUserGroupCoordinate)) {
|
|
11981
12026
|
query["EndUserGroupCoordinate"] = request.endUserGroupCoordinate;
|
|
11982
12027
|
}
|
|
12028
|
+
if (!$dara.isNull(request.externalDrive)) {
|
|
12029
|
+
query["ExternalDrive"] = request.externalDrive;
|
|
12030
|
+
}
|
|
11983
12031
|
if (!$dara.isNull(request.fileMigrate)) {
|
|
11984
12032
|
query["FileMigrate"] = request.fileMigrate;
|
|
11985
12033
|
}
|