@alicloud/ecd20200930 4.13.1 → 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 +42 -0
- package/dist/client.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/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 +46 -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/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
|
@@ -9134,6 +9134,48 @@ class Client extends openapi_core_1.default {
|
|
|
9134
9134
|
let runtime = new $dara.RuntimeOptions({});
|
|
9135
9135
|
return await this.describeRouteTableListWithOptions(request, runtime);
|
|
9136
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
|
+
}
|
|
9137
9179
|
/**
|
|
9138
9180
|
* Queries the session statistics of a region.
|
|
9139
9181
|
*
|