@alicloud/apig20240327 10.1.2 → 10.1.3
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 +4 -4
- package/dist/client.js +4 -4
- package/dist/models/ApiKeyIdentityConfig.d.ts +32 -11
- package/dist/models/ApiKeyIdentityConfig.js +27 -1
- package/dist/models/ApiKeyIdentityConfig.js.map +1 -1
- package/dist/models/CreateDomainRequest.d.ts +24 -13
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/CreateGatewayRequest.d.ts +2 -2
- package/dist/models/CreateHttpApiRequest.d.ts +10 -16
- package/dist/models/CreateHttpApiRequest.js.map +1 -1
- package/dist/models/GetConsumerResponseBody.d.ts +5 -5
- package/dist/models/ListGatewaysResponseBody.d.ts +6 -6
- package/dist/models/ListHttpApisRequest.d.ts +11 -9
- package/dist/models/ListHttpApisRequest.js.map +1 -1
- package/dist/models/ListHttpApisResponseBody.d.ts +1 -1
- package/dist/models/SubDomainInfo.d.ts +2 -12
- package/dist/models/SubDomainInfo.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +1 -1
- package/dist/models/TlsCipherSuitesConfig.d.ts +1 -1
- package/dist/models/UpdateConsumerRequest.d.ts +2 -2
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +22 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -4
- package/src/models/ApiKeyIdentityConfig.ts +49 -11
- package/src/models/CreateDomainRequest.ts +24 -13
- package/src/models/CreateGatewayRequest.ts +2 -2
- package/src/models/CreateHttpApiRequest.ts +10 -16
- package/src/models/GetConsumerResponseBody.ts +5 -5
- package/src/models/ListGatewaysResponseBody.ts +6 -6
- package/src/models/ListHttpApisRequest.ts +11 -9
- package/src/models/ListHttpApisResponseBody.ts +1 -1
- package/src/models/SubDomainInfo.ts +2 -12
- package/src/models/TagResourcesRequest.ts +1 -1
- package/src/models/TlsCipherSuitesConfig.ts +1 -1
- package/src/models/UpdateConsumerRequest.ts +2 -2
- package/src/models/model.ts +1 -0
|
@@ -5,13 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ApiKeyIdentityConfigApikeySource extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
* Valid values:
|
|
11
|
-
*
|
|
12
|
-
* * Header
|
|
13
|
-
* * QueryString
|
|
14
|
-
* * Default
|
|
8
|
+
* The API key source.
|
|
15
9
|
*
|
|
16
10
|
* @example
|
|
17
11
|
* Default
|
|
@@ -19,7 +13,7 @@ export class ApiKeyIdentityConfigApikeySource extends $dara.Model {
|
|
|
19
13
|
source?: string;
|
|
20
14
|
/**
|
|
21
15
|
* @remarks
|
|
22
|
-
* The
|
|
16
|
+
* The API key value.
|
|
23
17
|
*
|
|
24
18
|
* @example
|
|
25
19
|
* xxxx
|
|
@@ -48,6 +42,40 @@ export class ApiKeyIdentityConfigApikeySource extends $dara.Model {
|
|
|
48
42
|
}
|
|
49
43
|
}
|
|
50
44
|
|
|
45
|
+
export class ApiKeyIdentityConfigApikeySources extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The credential source type.
|
|
49
|
+
*/
|
|
50
|
+
source?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The field name of the HTTP header or query string.
|
|
54
|
+
*/
|
|
55
|
+
value?: string;
|
|
56
|
+
static names(): { [key: string]: string } {
|
|
57
|
+
return {
|
|
58
|
+
source: 'source',
|
|
59
|
+
value: 'value',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
static types(): { [key: string]: any } {
|
|
64
|
+
return {
|
|
65
|
+
source: 'string',
|
|
66
|
+
value: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
51
79
|
export class ApiKeyIdentityConfigCredentials extends $dara.Model {
|
|
52
80
|
/**
|
|
53
81
|
* @remarks
|
|
@@ -59,7 +87,7 @@ export class ApiKeyIdentityConfigCredentials extends $dara.Model {
|
|
|
59
87
|
apikey?: string;
|
|
60
88
|
/**
|
|
61
89
|
* @remarks
|
|
62
|
-
* The
|
|
90
|
+
* The generation mode.
|
|
63
91
|
*
|
|
64
92
|
* @example
|
|
65
93
|
* System
|
|
@@ -91,12 +119,17 @@ export class ApiKeyIdentityConfigCredentials extends $dara.Model {
|
|
|
91
119
|
export class ApiKeyIdentityConfig extends $dara.Model {
|
|
92
120
|
/**
|
|
93
121
|
* @remarks
|
|
94
|
-
* The source configuration
|
|
122
|
+
* The API key source configuration.
|
|
95
123
|
*/
|
|
96
124
|
apikeySource?: ApiKeyIdentityConfigApikeySource;
|
|
97
125
|
/**
|
|
98
126
|
* @remarks
|
|
99
|
-
* The
|
|
127
|
+
* The complete set of API key credential sources. The set contains one to three items. Multiple sources are applicable only to the AI gateway Header mode. Query String and non-AI gateway scenarios allow only a single source. If submitted together with apikeySource, the latter must be consistent with the compatible projection.
|
|
128
|
+
*/
|
|
129
|
+
apikeySources?: ApiKeyIdentityConfigApikeySources[];
|
|
130
|
+
/**
|
|
131
|
+
* @remarks
|
|
132
|
+
* The list of credentials.
|
|
100
133
|
*/
|
|
101
134
|
credentials?: ApiKeyIdentityConfigCredentials[];
|
|
102
135
|
/**
|
|
@@ -110,6 +143,7 @@ export class ApiKeyIdentityConfig extends $dara.Model {
|
|
|
110
143
|
static names(): { [key: string]: string } {
|
|
111
144
|
return {
|
|
112
145
|
apikeySource: 'apikeySource',
|
|
146
|
+
apikeySources: 'apikeySources',
|
|
113
147
|
credentials: 'credentials',
|
|
114
148
|
type: 'type',
|
|
115
149
|
};
|
|
@@ -118,6 +152,7 @@ export class ApiKeyIdentityConfig extends $dara.Model {
|
|
|
118
152
|
static types(): { [key: string]: any } {
|
|
119
153
|
return {
|
|
120
154
|
apikeySource: ApiKeyIdentityConfigApikeySource,
|
|
155
|
+
apikeySources: { 'type': 'array', 'itemType': ApiKeyIdentityConfigApikeySources },
|
|
121
156
|
credentials: { 'type': 'array', 'itemType': ApiKeyIdentityConfigCredentials },
|
|
122
157
|
type: 'string',
|
|
123
158
|
};
|
|
@@ -127,6 +162,9 @@ export class ApiKeyIdentityConfig extends $dara.Model {
|
|
|
127
162
|
if(this.apikeySource && typeof (this.apikeySource as any).validate === 'function') {
|
|
128
163
|
(this.apikeySource as any).validate();
|
|
129
164
|
}
|
|
165
|
+
if(Array.isArray(this.apikeySources)) {
|
|
166
|
+
$dara.Model.validateArray(this.apikeySources);
|
|
167
|
+
}
|
|
130
168
|
if(Array.isArray(this.credentials)) {
|
|
131
169
|
$dara.Model.validateArray(this.credentials);
|
|
132
170
|
}
|
|
@@ -6,7 +6,7 @@ import { TlsCipherSuitesConfig } from "./TlsCipherSuitesConfig";
|
|
|
6
6
|
export class CreateDomainRequest extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The CA certificate identifier.
|
|
9
|
+
* The CA certificate identifier. This parameter is optional for Dedicated with HTTPS. This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
@@ -14,7 +14,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
14
14
|
caCertIdentifier?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The certificate identifier.
|
|
17
|
+
* The certificate identifier. This parameter is required for Dedicated with HTTPS and must pass validation. This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
@@ -22,7 +22,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
22
22
|
certIdentifier?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The client CA certificate.
|
|
25
|
+
* The client CA certificate. This parameter is conditionally required for Dedicated with HTTPS (when MTLSEnabled is set to true). This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -34,7 +34,12 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
34
34
|
clientCACert?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The domain name scope.
|
|
37
|
+
* The domain name scope. Valid values:
|
|
38
|
+
*
|
|
39
|
+
* - Dedicated: dedicated gateway domain name.
|
|
40
|
+
* - Serverless: Serverless gateway domain name.
|
|
41
|
+
*
|
|
42
|
+
* Default value: Dedicated.
|
|
38
43
|
*
|
|
39
44
|
* @example
|
|
40
45
|
* Dedicated
|
|
@@ -42,7 +47,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
42
47
|
domainScope?: string;
|
|
43
48
|
/**
|
|
44
49
|
* @remarks
|
|
45
|
-
* Specifies whether to enable forced HTTPS redirect for the HTTPS protocol type. This parameter is required for Serverless and for Dedicated
|
|
50
|
+
* Specifies whether to enable forced HTTPS redirect for the HTTPS protocol type. This parameter is required for Serverless and for Dedicated with HTTPS. This parameter is not validated for Dedicated with HTTP.
|
|
46
51
|
*
|
|
47
52
|
* @example
|
|
48
53
|
* false
|
|
@@ -50,7 +55,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
50
55
|
forceHttps?: boolean;
|
|
51
56
|
/**
|
|
52
57
|
* @remarks
|
|
53
|
-
* The gateway type.
|
|
58
|
+
* The gateway type. If not specified, the default value is API.
|
|
54
59
|
*
|
|
55
60
|
* @example
|
|
56
61
|
* API
|
|
@@ -58,7 +63,13 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
58
63
|
gatewayType?: string;
|
|
59
64
|
/**
|
|
60
65
|
* @remarks
|
|
61
|
-
* The HTTP/2 setting.
|
|
66
|
+
* The HTTP/2 setting. Valid values:
|
|
67
|
+
*
|
|
68
|
+
* - GlobalConfig: follows the global configuration.
|
|
69
|
+
* - Open: enabled.
|
|
70
|
+
* - Close: disabled.
|
|
71
|
+
*
|
|
72
|
+
* Default value: GlobalConfig. This setting is supported only for HTTPS domain names in the Dedicated scope.
|
|
62
73
|
*
|
|
63
74
|
* @example
|
|
64
75
|
* Open
|
|
@@ -66,12 +77,12 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
66
77
|
http2Option?: string;
|
|
67
78
|
/**
|
|
68
79
|
* @remarks
|
|
69
|
-
* Specifies whether to enable mTLS mutual authentication.
|
|
80
|
+
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated with HTTPS. When set to true, ClientCACert is required. This parameter is not allowed for Serverless.
|
|
70
81
|
*/
|
|
71
82
|
mTLSEnabled?: boolean;
|
|
72
83
|
/**
|
|
73
84
|
* @remarks
|
|
74
|
-
* The domain name.
|
|
85
|
+
* The domain name. The name must be 1 to 128 characters in length, such as abc.com.
|
|
75
86
|
*
|
|
76
87
|
* This parameter is required.
|
|
77
88
|
*
|
|
@@ -81,7 +92,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
81
92
|
name?: string;
|
|
82
93
|
/**
|
|
83
94
|
* @remarks
|
|
84
|
-
* The protocol type
|
|
95
|
+
* The protocol type used by the domain name. Valid values: HTTP and HTTPS. This parameter is required for the Dedicated scope and is not allowed for the Serverless scope.
|
|
85
96
|
*
|
|
86
97
|
* @example
|
|
87
98
|
* HTTP
|
|
@@ -97,12 +108,12 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
97
108
|
resourceGroupId?: string;
|
|
98
109
|
/**
|
|
99
110
|
* @remarks
|
|
100
|
-
* The cipher suite configuration
|
|
111
|
+
* The TLS cipher suite configuration, including the configuration type, cipher suite names, and supported TLS versions. This configuration is supported only for HTTPS domain names in the Dedicated scope.
|
|
101
112
|
*/
|
|
102
113
|
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
103
114
|
/**
|
|
104
115
|
* @remarks
|
|
105
|
-
* The maximum TLS protocol version.
|
|
116
|
+
* The maximum TLS protocol version. This parameter is optional for Dedicated with HTTPS. If not specified, the value is derived from TlsMin. The value must be greater than or equal to TlsMin. This parameter is not allowed for Serverless.
|
|
106
117
|
*
|
|
107
118
|
* @example
|
|
108
119
|
* TLS1.3
|
|
@@ -110,7 +121,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
110
121
|
tlsMax?: string;
|
|
111
122
|
/**
|
|
112
123
|
* @remarks
|
|
113
|
-
* The minimum TLS protocol version.
|
|
124
|
+
* The minimum TLS protocol version. This parameter is optional for Dedicated with HTTPS. If not specified, the default value is TLS 1.0. Valid values: TLS 1.0 to TLS 1.3, compatible with TLSv1.x. This parameter is not allowed for Serverless.
|
|
114
125
|
*
|
|
115
126
|
* @example
|
|
116
127
|
* TLS1.0
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to enable SLS
|
|
8
|
+
* Specifies whether to enable SLS log collection.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -35,7 +35,7 @@ export class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
|
35
35
|
export class CreateGatewayRequestLogConfig extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The Simple Log Service (SLS) log
|
|
38
|
+
* The Simple Log Service (SLS) configuration, which controls gateway log collection.
|
|
39
39
|
*/
|
|
40
40
|
sls?: CreateGatewayRequestLogConfigSls;
|
|
41
41
|
static names(): { [key: string]: string } {
|
|
@@ -90,22 +90,22 @@ export class CreateHttpApiRequestIngressConfig extends $dara.Model {
|
|
|
90
90
|
export class CreateHttpApiRequest extends $dara.Model {
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The list of protocols supported by the agent.
|
|
93
|
+
* The list of protocols supported by the agent. Required when type is Agent. Not required for other types.
|
|
94
94
|
*/
|
|
95
95
|
agentProtocols?: string[];
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The AI API protocols.
|
|
98
|
+
* The list of AI API protocols. Required when type is LLM, and only one protocol can be specified. Required when type is Ai, and multiple protocols can be specified. Not required for other types. Example protocol entry: OpenAI/v1.
|
|
99
99
|
*/
|
|
100
100
|
aiProtocols?: string[];
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The authentication configuration.
|
|
103
|
+
* The authentication configuration. Required when enableAuth=true.
|
|
104
104
|
*/
|
|
105
105
|
authConfig?: AuthConfig;
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* The API base path.
|
|
108
|
+
* The API base path. Must start with a forward slash (/), cannot exceed 256 bytes in length, and cannot contain spaces. Required when type=Rest. Optional when type=LLM, Ai, or Agent. Default value: /
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
111
|
* /v1
|
|
@@ -121,7 +121,7 @@ export class CreateHttpApiRequest extends $dara.Model {
|
|
|
121
121
|
belongGatewayId?: string;
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* The
|
|
124
|
+
* The list of deployment configurations for the HTTP API. Required when type is LLM or Ai, and only one deployment configuration can be specified. Not validated at the request level for other types.
|
|
125
125
|
*/
|
|
126
126
|
deployConfigs?: HttpApiDeployConfig[];
|
|
127
127
|
/**
|
|
@@ -144,7 +144,7 @@ export class CreateHttpApiRequest extends $dara.Model {
|
|
|
144
144
|
dryRun?: boolean;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* Specifies whether to enable authentication.
|
|
147
|
+
* Specifies whether to enable authentication. Validated when type is LLM, Ai, or Agent. Not validated at the request level when type is Rest.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
150
|
* true
|
|
@@ -160,12 +160,12 @@ export class CreateHttpApiRequest extends $dara.Model {
|
|
|
160
160
|
firstByteTimeout?: number;
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The HTTP Ingress API configuration.
|
|
163
|
+
* The HTTP Ingress API configuration. Required when type is HttpIngress and cannot be nil. Not required for other types.
|
|
164
164
|
*/
|
|
165
165
|
ingressConfig?: CreateHttpApiRequestIngressConfig;
|
|
166
166
|
/**
|
|
167
167
|
* @remarks
|
|
168
|
-
* The model category.
|
|
168
|
+
* The AI model category. Optional when type is LLM or Ai. Not required for other types. Valid values: Text (text generation), Image (image generation), Audio (audio processing), Video (AI video generation), MultiModal (multi-modal), Embedding (text embedding), Rerank (reranking), Others (other).
|
|
169
169
|
*
|
|
170
170
|
* @example
|
|
171
171
|
* Text
|
|
@@ -173,7 +173,7 @@ export class CreateHttpApiRequest extends $dara.Model {
|
|
|
173
173
|
modelCategory?: string;
|
|
174
174
|
/**
|
|
175
175
|
* @remarks
|
|
176
|
-
* The API
|
|
176
|
+
* The name of the HTTP API, used to identify the current API resource. Example: test-api.
|
|
177
177
|
*
|
|
178
178
|
* This parameter is required.
|
|
179
179
|
*
|
|
@@ -212,13 +212,7 @@ export class CreateHttpApiRequest extends $dara.Model {
|
|
|
212
212
|
strategy?: string;
|
|
213
213
|
/**
|
|
214
214
|
* @remarks
|
|
215
|
-
* The type
|
|
216
|
-
* - Http
|
|
217
|
-
* - Rest
|
|
218
|
-
* - WebSocket
|
|
219
|
-
* - HttpIngress
|
|
220
|
-
* - LLM
|
|
221
|
-
* - Agent
|
|
215
|
+
* The HTTP API type. Valid values: Http (standard HTTP API), Rest (RESTful API), WebSocket (WebSocket API), HttpIngress (HTTP API accessed through Ingress), LLM (large language model API), Agent (Agent proxy API).
|
|
222
216
|
*
|
|
223
217
|
* This parameter is required.
|
|
224
218
|
*
|
|
@@ -19,12 +19,12 @@ export class GetConsumerResponseBodyDataConsumerGroups extends $dara.Model {
|
|
|
19
19
|
* The consumer group description.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
|
-
*
|
|
22
|
+
* Used for grouping online API callers
|
|
23
23
|
*/
|
|
24
24
|
description?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The time when the API consumer joined the consumer group
|
|
27
|
+
* The time when the API consumer joined the consumer group, in Unix milliseconds timestamp.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* 1715769600000
|
|
@@ -68,7 +68,7 @@ export class GetConsumerResponseBodyDataConsumerGroups extends $dara.Model {
|
|
|
68
68
|
export class GetConsumerResponseBodyData extends $dara.Model {
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* The
|
|
71
|
+
* The AK/SK identity authentication configuration.
|
|
72
72
|
*/
|
|
73
73
|
akSkIdentityConfigs?: AkSkIdentityConfig[];
|
|
74
74
|
/**
|
|
@@ -99,7 +99,7 @@ export class GetConsumerResponseBodyData extends $dara.Model {
|
|
|
99
99
|
createTimestamp?: number;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The
|
|
102
|
+
* The publish status of the API in the current environment.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* ""
|
|
@@ -110,7 +110,7 @@ export class GetConsumerResponseBodyData extends $dara.Model {
|
|
|
110
110
|
* The description.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
|
-
*
|
|
113
|
+
* Test-dedicated consumer
|
|
114
114
|
*/
|
|
115
115
|
description?: string;
|
|
116
116
|
/**
|
|
@@ -70,7 +70,7 @@ export class ListGatewaysResponseBodyDataItemsLoadBalancers extends $dara.Model
|
|
|
70
70
|
addressType?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* Indicates whether this is the default
|
|
73
|
+
* Indicates whether this is the default entry address of the gateway.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* true
|
|
@@ -392,7 +392,7 @@ export class ListGatewaysResponseBodyDataItems extends $dara.Model {
|
|
|
392
392
|
createFrom?: string;
|
|
393
393
|
/**
|
|
394
394
|
* @remarks
|
|
395
|
-
* The creation timestamp
|
|
395
|
+
* The creation timestamp. Unit: milliseconds.
|
|
396
396
|
*
|
|
397
397
|
* @example
|
|
398
398
|
* 1719386834548
|
|
@@ -400,7 +400,7 @@ export class ListGatewaysResponseBodyDataItems extends $dara.Model {
|
|
|
400
400
|
createTimestamp?: number;
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
* The expiration timestamp for subscription instances
|
|
403
|
+
* The expiration timestamp for subscription instances. Unit: milliseconds.
|
|
404
404
|
*
|
|
405
405
|
* @example
|
|
406
406
|
* 172086834548
|
|
@@ -437,7 +437,7 @@ export class ListGatewaysResponseBodyDataItems extends $dara.Model {
|
|
|
437
437
|
gatewayType?: string;
|
|
438
438
|
/**
|
|
439
439
|
* @remarks
|
|
440
|
-
* Indicates whether the gateway instance was created before
|
|
440
|
+
* Indicates whether the gateway instance was created before AI gateway was released.
|
|
441
441
|
*
|
|
442
442
|
* @example
|
|
443
443
|
* true
|
|
@@ -445,7 +445,7 @@ export class ListGatewaysResponseBodyDataItems extends $dara.Model {
|
|
|
445
445
|
legacy?: boolean;
|
|
446
446
|
/**
|
|
447
447
|
* @remarks
|
|
448
|
-
* The list of gateway
|
|
448
|
+
* The list of gateway entry addresses.
|
|
449
449
|
*/
|
|
450
450
|
loadBalancers?: ListGatewaysResponseBodyDataItemsLoadBalancers[];
|
|
451
451
|
/**
|
|
@@ -513,7 +513,7 @@ export class ListGatewaysResponseBodyDataItems extends $dara.Model {
|
|
|
513
513
|
targetVersion?: string;
|
|
514
514
|
/**
|
|
515
515
|
* @remarks
|
|
516
|
-
* The update timestamp
|
|
516
|
+
* The update timestamp. Unit: milliseconds.
|
|
517
517
|
*
|
|
518
518
|
* @example
|
|
519
519
|
* 1719386834548
|
|
@@ -13,7 +13,9 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
13
13
|
gatewayId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The gateway type
|
|
16
|
+
* The gateway type associated with the HTTP API. Valid values:
|
|
17
|
+
* - API: cloud-native API gateway.
|
|
18
|
+
* - AI: AI gateway.
|
|
17
19
|
*
|
|
18
20
|
* @example
|
|
19
21
|
* API
|
|
@@ -29,7 +31,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
29
31
|
keyword?: string;
|
|
30
32
|
/**
|
|
31
33
|
* @remarks
|
|
32
|
-
*
|
|
34
|
+
* Searches by exact name match.
|
|
33
35
|
*
|
|
34
36
|
* @example
|
|
35
37
|
* login
|
|
@@ -45,7 +47,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
45
47
|
pageNumber?: number;
|
|
46
48
|
/**
|
|
47
49
|
* @remarks
|
|
48
|
-
* The
|
|
50
|
+
* The page size. Valid range: [1, 100]. Default value: 10.
|
|
49
51
|
*
|
|
50
52
|
* @example
|
|
51
53
|
* 10
|
|
@@ -53,7 +55,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
53
55
|
pageSize?: number;
|
|
54
56
|
/**
|
|
55
57
|
* @remarks
|
|
56
|
-
* The
|
|
58
|
+
* The resource group ID.
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
59
61
|
* rg-ahr5uil8raz0rq3b
|
|
@@ -73,7 +75,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
73
75
|
types?: string;
|
|
74
76
|
/**
|
|
75
77
|
* @remarks
|
|
76
|
-
* Specifies whether to return information
|
|
78
|
+
* Specifies whether to return API information that has been published to the specified environment.
|
|
77
79
|
*
|
|
78
80
|
* @example
|
|
79
81
|
* true
|
|
@@ -81,7 +83,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
81
83
|
withAPIsPublishedToEnvironment?: boolean;
|
|
82
84
|
/**
|
|
83
85
|
* @remarks
|
|
84
|
-
*
|
|
86
|
+
* Specifies the environment ID. The response includes consumer authentication policy information for each API in the specified environment.
|
|
85
87
|
*
|
|
86
88
|
* @example
|
|
87
89
|
* env-xxx
|
|
@@ -89,7 +91,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
89
91
|
withAuthPolicyInEnvironmentId?: string;
|
|
90
92
|
/**
|
|
91
93
|
* @remarks
|
|
92
|
-
* Specifies whether authentication policies are enabled.
|
|
94
|
+
* Specifies whether permission authentication policies are enabled.
|
|
93
95
|
*
|
|
94
96
|
* @example
|
|
95
97
|
* true
|
|
@@ -97,7 +99,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
97
99
|
withAuthPolicyList?: boolean;
|
|
98
100
|
/**
|
|
99
101
|
* @remarks
|
|
100
|
-
*
|
|
102
|
+
* Specifies the consumer ID. The response includes the authorization rule list for the specified consumer for each API.
|
|
101
103
|
*
|
|
102
104
|
* @example
|
|
103
105
|
* cs-xxx
|
|
@@ -129,7 +131,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
129
131
|
withIngressInfo?: boolean;
|
|
130
132
|
/**
|
|
131
133
|
* @remarks
|
|
132
|
-
* The plug-in ID.
|
|
134
|
+
* The plug-in ID. Used to retrieve plug-in publishing information based on this plug-in ID.
|
|
133
135
|
*
|
|
134
136
|
* @example
|
|
135
137
|
* pl-ct9qn3um1hktue8dqol0
|
|
@@ -21,12 +21,7 @@ export class SubDomainInfo extends $dara.Model {
|
|
|
21
21
|
name?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The network type.
|
|
25
|
-
*
|
|
26
|
-
* Valid values:
|
|
27
|
-
*
|
|
28
|
-
* * Intranet
|
|
29
|
-
* * Internet
|
|
24
|
+
* The network type.
|
|
30
25
|
*
|
|
31
26
|
* @example
|
|
32
27
|
* Intranet
|
|
@@ -34,12 +29,7 @@ export class SubDomainInfo extends $dara.Model {
|
|
|
34
29
|
networkType?: string;
|
|
35
30
|
/**
|
|
36
31
|
* @remarks
|
|
37
|
-
* The protocol.
|
|
38
|
-
*
|
|
39
|
-
* Valid values:
|
|
40
|
-
*
|
|
41
|
-
* * HTTPS
|
|
42
|
-
* * HTTP
|
|
32
|
+
* The protocol type supported by the subdomain. Valid values: HTTP, HTTPS.
|
|
43
33
|
*
|
|
44
34
|
* @example
|
|
45
35
|
* HTTP
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class TlsCipherSuitesConfigTlsCipherSuite extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The suite name.
|
|
8
|
+
* The TLS cipher suite name, such as ECDHE-ECDSA-AES256-GCM-SHA384.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ECDHE-ECDSA-AES256-GCM-SHA384
|
|
@@ -21,12 +21,12 @@ export class UpdateConsumerRequest extends $dara.Model {
|
|
|
21
21
|
* The description.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* Test consumer
|
|
25
25
|
*/
|
|
26
26
|
description?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* Specifies whether to enable the
|
|
29
|
+
* Specifies whether to enable the consumer.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* false
|
package/src/models/model.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { AiToolSelectionConfigQueryRewriting } from './AiToolSelectionConfig';
|
|
|
27
27
|
export { AiToolSelectionConfigToolRerankingModelService } from './AiToolSelectionConfig';
|
|
28
28
|
export { AiToolSelectionConfigToolReranking } from './AiToolSelectionConfig';
|
|
29
29
|
export { ApiKeyIdentityConfigApikeySource } from './ApiKeyIdentityConfig';
|
|
30
|
+
export { ApiKeyIdentityConfigApikeySources } from './ApiKeyIdentityConfig';
|
|
30
31
|
export { ApiKeyIdentityConfigCredentials } from './ApiKeyIdentityConfig';
|
|
31
32
|
export { ApiRouteConflictInfoConflictsDetailsConflictingMatchOperationInfo } from './ApiRouteConflictInfo';
|
|
32
33
|
export { ApiRouteConflictInfoConflictsDetailsConflictingMatch } from './ApiRouteConflictInfo';
|