Skip to content

Commit 24b5218

Browse files
committed
Support API ListGatewayFeatures.
1 parent 43c9c8d commit 24b5218

File tree

96 files changed

+1229
-142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1229
-142
lines changed

apig-20240327/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-11-20 Version: 5.1.0
2+
- Support API ListGatewayFeatures.
3+
4+
15
2025-11-06 Version: 5.0.3
26
- Update API CreateMcpServer: add request parameters body.createFromType.
37
- Update API UpdateMcpServer: add request parameters body.createFromType.

apig-20240327/include/alibabacloud/APIG20240327.hpp

Lines changed: 84 additions & 56 deletions
Large diffs are not rendered by default.

apig-20240327/include/alibabacloud/APIG20240327Model.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@
198198
#include <alibabacloud/models/ListEnvironmentsRequest.hpp>
199199
#include <alibabacloud/models/ListEnvironmentsResponseBody.hpp>
200200
#include <alibabacloud/models/ListEnvironmentsResponse.hpp>
201+
#include <alibabacloud/models/ListGatewayFeaturesResponseBody.hpp>
202+
#include <alibabacloud/models/ListGatewayFeaturesResponse.hpp>
201203
#include <alibabacloud/models/ListGatewaysRequest.hpp>
202204
#include <alibabacloud/models/ListGatewaysShrinkRequest.hpp>
203205
#include <alibabacloud/models/ListGatewaysResponseBody.hpp>
@@ -426,6 +428,10 @@
426428
#include <alibabacloud/models/ListConsumersResponseBodyData.hpp>
427429
#include <alibabacloud/models/ListDomainsResponseBodyData.hpp>
428430
#include <alibabacloud/models/ListEnvironmentsResponseBodyData.hpp>
431+
#include <alibabacloud/models/ListGatewayFeaturesResponseBodyDataItemsDefinitionValueOptions.hpp>
432+
#include <alibabacloud/models/ListGatewayFeaturesResponseBodyDataItemsDefinition.hpp>
433+
#include <alibabacloud/models/ListGatewayFeaturesResponseBodyDataItems.hpp>
434+
#include <alibabacloud/models/ListGatewayFeaturesResponseBodyData.hpp>
429435
#include <alibabacloud/models/ListGatewaysRequestTag.hpp>
430436
#include <alibabacloud/models/ListGatewaysResponseBodyDataItemsLoadBalancersPorts.hpp>
431437
#include <alibabacloud/models/ListGatewaysResponseBodyDataItemsLoadBalancers.hpp>

apig-20240327/include/alibabacloud/models/CreateAndAttachPolicyRequest.hpp

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,58 @@ namespace Models
106106

107107

108108
protected:
109+
// The IDs of the resources to be associated with the policy.
110+
//
109111
// This parameter is required.
110112
std::shared_ptr<vector<string>> attachResourceIds_ = nullptr;
113+
// The supported resource type. Valid values:
114+
//
115+
// * HttpApi: an HTTP API
116+
// * Operation: an operation in an HTTP API
117+
// * GatewayRoute: a route
118+
// * GatewayService: a service
119+
// * GatewayServicePort: a service port
120+
// * Domain: a domain name
121+
// * Gateway: an instance
122+
//
111123
// This parameter is required.
112124
std::shared_ptr<string> attachResourceType_ = nullptr;
125+
// The class name supported by the policy. Different policies support different resources. This parameter is used in combination with AttachResourceType.
126+
//
127+
// * RateLimit: throttles traffic. Supported: HttpApi, Operation, and GatewayRoute.
128+
// * ConcurrencyLimit: controls concurrency. Supported: HttpApi, Operation, and GatewayRoute.
129+
// * CircuitBreaker: breaks circuits and downgrades traffic. Supported: HttpApi, Operation, and GatewayRoute.
130+
// * HttpRewrite: rewrites HTTP traffic. Supported: HttpApi, Operation, and GatewayRoute.
131+
// * HeaderModify: modifies headers. Supported: HttpApi, Operation, and GatewayRoute.
132+
// * Cors: supports CORS. Supported: HttpApi, Operation, and GatewayRoute.
133+
// * FlowCopy: replicates traffic. Supported: HttpApi, Operation, and GatewayRoute.
134+
// * Timeout: times out requests. Supported: HttpApi, Operation, and GatewayRoute.
135+
// * Retry: retries requests. Supported: HttpApi, Operation, and GatewayRoute.
136+
// * IpAccessControl: implements IP address-based access control. Supported: HttpApi, Operation, GatewayRoute, Domain, and Gateway.
137+
// * DirectResponse: mocks responses. Supported: Operation and GatewayRoute.
138+
// * Redirect: redirects traffic. Supported: GatewayRoute.
139+
// * Fallback: implements fallback. Supported: Operation and GatewayRoute.
140+
// * ServiceTls: implements TLS authentication. Supported: GatewayService.
141+
// * ServiceLb: balances loads. Supported: GatewayService.
142+
// * ServicePortTls: implements service port TLS authentication. Supported: GatewayServicePort.
143+
// * Waf: implements WAF protection. Supported: GatewayRoute and Gateway.
144+
// * JWTAuth: implements global JWT authentication. Supported: Gateway.
145+
// * OIDCAuth: implements global OIDC authentication. Supported: Gateway.
146+
// * ExternalZAuth: implements custom authentication. Supported: Gateway.
147+
//
113148
// This parameter is required.
114149
std::shared_ptr<string> className_ = nullptr;
150+
// The policy configurations.
151+
//
115152
// This parameter is required.
116153
std::shared_ptr<string> config_ = nullptr;
154+
// The policy description.
117155
std::shared_ptr<string> description_ = nullptr;
156+
// The environment ID.
118157
std::shared_ptr<string> environmentId_ = nullptr;
158+
// The instance ID.
119159
std::shared_ptr<string> gatewayId_ = nullptr;
160+
// The policy name.
120161
std::shared_ptr<string> name_ = nullptr;
121162
};
122163

apig-20240327/include/alibabacloud/models/CreateAndAttachPolicyResponseBody.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@ namespace Models
6969

7070

7171
protected:
72+
// The status code returned.
7273
std::shared_ptr<string> code_ = nullptr;
74+
// The returned data.
7375
std::shared_ptr<CreateAndAttachPolicyResponseBodyData> data_ = nullptr;
76+
// The response message returned.
7477
std::shared_ptr<string> message_ = nullptr;
78+
// The request ID, which is used to trace the call link.
7579
std::shared_ptr<string> requestId_ = nullptr;
7680
};
7781

apig-20240327/include/alibabacloud/models/CreateAndAttachPolicyResponseBodyData.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ namespace Models
5151

5252

5353
protected:
54+
// The association information of the policy.
5455
std::shared_ptr<Models::Attachment> attachment_ = nullptr;
56+
// The policy ID.
5557
std::shared_ptr<string> policyId_ = nullptr;
5658
};
5759

apig-20240327/include/alibabacloud/models/CreateConsumerAuthorizationRuleRequest.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,15 @@ namespace Models
7979

8080

8181
protected:
82+
// The list of resource authorization information.
8283
std::shared_ptr<vector<AuthorizationResourceInfo>> authorizationResourceInfos_ = nullptr;
84+
// The expiry mode. Valid values: LongTerm and ShortTerm.
8385
std::shared_ptr<string> expireMode_ = nullptr;
86+
// The expiration time.
8487
std::shared_ptr<int64_t> expireTimestamp_ = nullptr;
88+
// The type of the parent resource.
8589
std::shared_ptr<string> parentResourceType_ = nullptr;
90+
// The resource type,
8691
std::shared_ptr<string> resourceType_ = nullptr;
8792
};
8893

apig-20240327/include/alibabacloud/models/CreateConsumerAuthorizationRuleResponseBody.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@ namespace Models
6969

7070

7171
protected:
72+
// The status code.
7273
std::shared_ptr<string> code_ = nullptr;
74+
// The response payload.
7375
std::shared_ptr<CreateConsumerAuthorizationRuleResponseBodyData> data_ = nullptr;
76+
// The status message.
7477
std::shared_ptr<string> message_ = nullptr;
78+
// The request ID.
7579
std::shared_ptr<string> requestId_ = nullptr;
7680
};
7781

apig-20240327/include/alibabacloud/models/CreateConsumerAuthorizationRuleResponseBodyData.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ namespace Models
3838

3939

4040
protected:
41+
// Filters the list of operations based on a specific consumer authorization rule ID. Only authorized operations are returned in the response.
4142
std::shared_ptr<string> consumerAuthorizationRuleId_ = nullptr;
4243
};
4344

apig-20240327/include/alibabacloud/models/CreateConsumerRequest.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,19 @@ namespace Models
104104

105105

106106
protected:
107+
// The list of AK/SK identity configurations.
107108
std::shared_ptr<vector<AkSkIdentityConfig>> akSkIdentityConfigs_ = nullptr;
109+
// The configuration for the API key authentication method.
108110
std::shared_ptr<ApiKeyIdentityConfig> apikeyIdentityConfig_ = nullptr;
111+
// The description of the consumer.
109112
std::shared_ptr<string> description_ = nullptr;
113+
// Indicates if enabled.
110114
std::shared_ptr<bool> enable_ = nullptr;
115+
// The type of the gateway.
111116
std::shared_ptr<string> gatewayType_ = nullptr;
117+
// The configuration of the JWT identity.
112118
std::shared_ptr<JwtIdentityConfig> jwtIdentityConfig_ = nullptr;
119+
// The name of the consumer.
113120
std::shared_ptr<string> name_ = nullptr;
114121
};
115122

0 commit comments

Comments
 (0)