@alicloud/apig20240327 10.1.1 → 10.1.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 +2 -2
- package/dist/client.js +5 -2
- package/dist/client.js.map +1 -1
- package/dist/models/AgentAccessConfig.d.ts +48 -0
- package/dist/models/AgentAccessConfig.js +101 -0
- package/dist/models/AgentAccessConfig.js.map +1 -0
- package/dist/models/AgentAuthorizationPrincipal.d.ts +23 -0
- package/dist/models/AgentAuthorizationPrincipal.js +60 -0
- package/dist/models/AgentAuthorizationPrincipal.js.map +1 -0
- package/dist/models/AgentInfo.d.ts +60 -0
- package/dist/models/AgentInfo.js +132 -0
- package/dist/models/AgentInfo.js.map +1 -0
- package/dist/models/AgentModelAccessConfig.d.ts +23 -0
- package/dist/models/AgentModelAccessConfig.js +63 -0
- package/dist/models/AgentModelAccessConfig.js.map +1 -0
- package/dist/models/AgentServiceConfig.d.ts +0 -2
- package/dist/models/AgentServiceConfig.js +0 -2
- package/dist/models/AgentServiceConfig.js.map +1 -1
- package/dist/models/CreateGatewayRequest.d.ts +5 -13
- package/dist/models/CreateGatewayRequest.js +2 -0
- package/dist/models/CreateGatewayRequest.js.map +1 -1
- package/dist/models/GetGatewayResponseBody.d.ts +13 -41
- package/dist/models/GetGatewayResponseBody.js +4 -0
- package/dist/models/GetGatewayResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysRequest.d.ts +2 -2
- package/dist/models/ListGatewaysResponseBody.d.ts +14 -9
- package/dist/models/ListGatewaysResponseBody.js +2 -0
- package/dist/models/ListGatewaysResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysShrinkRequest.d.ts +2 -2
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +31 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -2
- package/src/models/AgentAccessConfig.ts +92 -0
- package/src/models/AgentAuthorizationPrincipal.ts +38 -0
- package/src/models/AgentInfo.ts +129 -0
- package/src/models/AgentModelAccessConfig.ts +41 -0
- package/src/models/AgentServiceConfig.ts +0 -2
- package/src/models/CreateGatewayRequest.ts +7 -13
- package/src/models/GetGatewayResponseBody.ts +17 -41
- package/src/models/ListGatewaysRequest.ts +2 -2
- package/src/models/ListGatewaysResponseBody.ts +16 -9
- package/src/models/ListGatewaysShrinkRequest.ts +2 -2
- package/src/models/model.ts +7 -0
package/dist/client.d.ts
CHANGED
|
@@ -1144,7 +1144,7 @@ export default class Client extends OpenApi {
|
|
|
1144
1144
|
*/
|
|
1145
1145
|
getEnvironment(environmentId: string, request: $_model.GetEnvironmentRequest): Promise<$_model.GetEnvironmentResponse>;
|
|
1146
1146
|
/**
|
|
1147
|
-
* Retrieves basic information about a gateway, including the
|
|
1147
|
+
* Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
|
|
1148
1148
|
*
|
|
1149
1149
|
* @param headers - map
|
|
1150
1150
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1154,7 +1154,7 @@ export default class Client extends OpenApi {
|
|
|
1154
1154
|
[key: string]: string;
|
|
1155
1155
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGatewayResponse>;
|
|
1156
1156
|
/**
|
|
1157
|
-
* Retrieves basic information about a gateway, including the
|
|
1157
|
+
* Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
|
|
1158
1158
|
* @returns GetGatewayResponse
|
|
1159
1159
|
*/
|
|
1160
1160
|
getGateway(gatewayId: string): Promise<$_model.GetGatewayResponse>;
|
package/dist/client.js
CHANGED
|
@@ -977,6 +977,9 @@ class Client extends openapi_core_1.default {
|
|
|
977
977
|
if (!$dara.isNull(request.gatewayEdition)) {
|
|
978
978
|
body["gatewayEdition"] = request.gatewayEdition;
|
|
979
979
|
}
|
|
980
|
+
if (!$dara.isNull(request.gatewayMode)) {
|
|
981
|
+
body["gatewayMode"] = request.gatewayMode;
|
|
982
|
+
}
|
|
980
983
|
if (!$dara.isNull(request.gatewayType)) {
|
|
981
984
|
body["gatewayType"] = request.gatewayType;
|
|
982
985
|
}
|
|
@@ -3053,7 +3056,7 @@ class Client extends openapi_core_1.default {
|
|
|
3053
3056
|
return await this.getEnvironmentWithOptions(environmentId, request, headers, runtime);
|
|
3054
3057
|
}
|
|
3055
3058
|
/**
|
|
3056
|
-
* Retrieves basic information about a gateway, including the
|
|
3059
|
+
* Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
|
|
3057
3060
|
*
|
|
3058
3061
|
* @param headers - map
|
|
3059
3062
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3077,7 +3080,7 @@ class Client extends openapi_core_1.default {
|
|
|
3077
3080
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayResponse({}));
|
|
3078
3081
|
}
|
|
3079
3082
|
/**
|
|
3080
|
-
* Retrieves basic information about a gateway, including the
|
|
3083
|
+
* Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
|
|
3081
3084
|
* @returns GetGatewayResponse
|
|
3082
3085
|
*/
|
|
3083
3086
|
async getGateway(gatewayId) {
|