@alicloud/apig20240327 7.2.1 → 7.2.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 +24 -30
- package/dist/client.js +61 -31
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDomainRequest.d.ts +14 -22
- package/dist/models/CreateDomainRequest.js +2 -0
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/CreateDomainResponseBody.d.ts +4 -4
- package/dist/models/DomainInfo.d.ts +8 -17
- package/dist/models/DomainInfo.js +2 -0
- package/dist/models/DomainInfo.js.map +1 -1
- package/dist/models/GatewayInfo.d.ts +9 -4
- package/dist/models/GatewayInfo.js +2 -0
- package/dist/models/GatewayInfo.js.map +1 -1
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +8 -6
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetDomainResponseBody.d.ts +28 -39
- package/dist/models/GetDomainResponseBody.js +2 -0
- package/dist/models/GetDomainResponseBody.js.map +1 -1
- package/dist/models/GetEnvironmentRequest.d.ts +2 -2
- package/dist/models/GetEnvironmentResponseBody.d.ts +16 -16
- package/dist/models/GetHttpApiRouteResponseBody.d.ts +2 -2
- package/dist/models/GetPluginAttachmentResponseBody.d.ts +12 -12
- package/dist/models/GetSourceResponseBody.d.ts +27 -17
- package/dist/models/GetSourceResponseBody.js +4 -0
- package/dist/models/GetSourceResponseBody.js.map +1 -1
- package/dist/models/HttpApiApiInfo.d.ts +5 -0
- package/dist/models/HttpApiApiInfo.js +2 -0
- package/dist/models/HttpApiApiInfo.js.map +1 -1
- package/dist/models/HttpRoute.d.ts +5 -0
- package/dist/models/HttpRoute.js +2 -0
- package/dist/models/HttpRoute.js.map +1 -1
- package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +2 -2
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +17 -17
- package/dist/models/ListDomainsRequest.d.ts +10 -5
- package/dist/models/ListDomainsRequest.js +2 -0
- package/dist/models/ListDomainsRequest.js.map +1 -1
- package/dist/models/ListDomainsResponseBody.d.ts +7 -7
- package/dist/models/ListEnvironmentsRequest.d.ts +8 -8
- package/dist/models/ListEnvironmentsResponseBody.d.ts +8 -8
- package/dist/models/ListHttpApiRoutesRequest.d.ts +11 -11
- package/dist/models/ListHttpApiRoutesResponseBody.d.ts +4 -4
- package/dist/models/ListSslCertsRequest.d.ts +2 -2
- package/dist/models/ListSslCertsResponseBody.d.ts +7 -7
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +4 -4
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +25 -25
- package/dist/models/TransportCertificateInfo.d.ts +24 -0
- package/dist/models/TransportCertificateInfo.js +84 -0
- package/dist/models/TransportCertificateInfo.js.map +1 -0
- package/dist/models/TransportEncryptionInfo.d.ts +19 -0
- package/dist/models/TransportEncryptionInfo.js +70 -0
- package/dist/models/TransportEncryptionInfo.js.map +1 -0
- package/dist/models/UpdateDomainRequest.d.ts +15 -18
- package/dist/models/UpdateDomainRequest.js +2 -0
- package/dist/models/UpdateDomainRequest.js.map +1 -1
- package/dist/models/UpdateDomainResponseBody.d.ts +5 -5
- package/dist/models/UpdateHttpApiOperationRequest.d.ts +1 -1
- package/dist/models/UpdateHttpApiOperationResponseBody.d.ts +2 -2
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +11 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +64 -31
- package/src/models/CreateDomainRequest.ts +16 -22
- package/src/models/CreateDomainResponseBody.ts +4 -4
- package/src/models/DomainInfo.ts +10 -17
- package/src/models/GatewayInfo.ts +11 -4
- package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +8 -6
- package/src/models/GetDomainResponseBody.ts +30 -39
- package/src/models/GetEnvironmentRequest.ts +2 -2
- package/src/models/GetEnvironmentResponseBody.ts +16 -16
- package/src/models/GetHttpApiRouteResponseBody.ts +2 -2
- package/src/models/GetPluginAttachmentResponseBody.ts +12 -12
- package/src/models/GetSourceResponseBody.ts +31 -17
- package/src/models/HttpApiApiInfo.ts +7 -0
- package/src/models/HttpRoute.ts +7 -0
- package/src/models/ListConsumerAuthorizationRulesRequest.ts +2 -2
- package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +17 -17
- package/src/models/ListDomainsRequest.ts +12 -5
- package/src/models/ListDomainsResponseBody.ts +7 -7
- package/src/models/ListEnvironmentsRequest.ts +8 -8
- package/src/models/ListEnvironmentsResponseBody.ts +8 -8
- package/src/models/ListHttpApiRoutesRequest.ts +11 -11
- package/src/models/ListHttpApiRoutesResponseBody.ts +4 -4
- package/src/models/ListSslCertsRequest.ts +2 -2
- package/src/models/ListSslCertsResponseBody.ts +7 -7
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +4 -4
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +25 -25
- package/src/models/TransportCertificateInfo.ts +63 -0
- package/src/models/TransportEncryptionInfo.ts +43 -0
- package/src/models/UpdateDomainRequest.ts +17 -18
- package/src/models/UpdateDomainResponseBody.ts +5 -5
- package/src/models/UpdateHttpApiOperationRequest.ts +1 -1
- package/src/models/UpdateHttpApiOperationResponseBody.ts +2 -2
- package/src/models/model.ts +2 -0
|
@@ -10,7 +10,7 @@ import { ResourceInfo } from "./ResourceInfo";
|
|
|
10
10
|
export class GetPluginAttachmentResponseBodyData extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Indicates whether the
|
|
13
|
+
* Indicates whether the plugin attachment is enabled.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* true
|
|
@@ -18,22 +18,22 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
|
|
|
18
18
|
enable?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The environment
|
|
21
|
+
* The environment context.
|
|
22
22
|
*/
|
|
23
23
|
environmentInfo?: EnvironmentInfo;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The gateway information.
|
|
27
27
|
*/
|
|
28
28
|
gatewayInfo?: GatewayInfo;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The
|
|
31
|
+
* The parent attachment resource information.
|
|
32
32
|
*/
|
|
33
33
|
parentResourceInfo?: ParentResourceInfo;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The attachment ID.
|
|
36
|
+
* The plugin attachment ID.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* pa-d05f1tmm1hku195dd8j0
|
|
@@ -41,12 +41,12 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
|
|
|
41
41
|
pluginAttachmentId?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The
|
|
44
|
+
* The plugin type information.
|
|
45
45
|
*/
|
|
46
46
|
pluginClassInfo?: PluginClassInfo;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The Base64-encoded
|
|
49
|
+
* The Base64-encoded content of the original plugin configuration.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* cHJlcGVuZDoKLSByb2xlOiBzeXN0ZW0KICBjb250ZW50OiDor7fkvb/nlKjoi7Hor63lm57nrZTpl67popgKYXBwZW5kOgotIHJvbGU6IHVzZXIKICBjb250ZW50OiDmr4/mrKHlm57nrZTlrozpl67popjvvIzlsJ3or5Xov5vooYzlj43pl64K
|
|
@@ -54,7 +54,7 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
|
|
|
54
54
|
pluginConfig?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The
|
|
57
|
+
* The plugin ID.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* pl-cvo8ub6m1hkvgv03r3k0
|
|
@@ -62,7 +62,7 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
|
|
|
62
62
|
pluginId?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The resource information.
|
|
65
|
+
* The list of attachment resource information.
|
|
66
66
|
*/
|
|
67
67
|
resourceInfos?: ResourceInfo[];
|
|
68
68
|
static names(): { [key: string]: string } {
|
|
@@ -120,7 +120,7 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
|
|
|
120
120
|
export class GetPluginAttachmentResponseBody extends $dara.Model {
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The status code.
|
|
123
|
+
* The response status code.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* Ok
|
|
@@ -128,12 +128,12 @@ export class GetPluginAttachmentResponseBody extends $dara.Model {
|
|
|
128
128
|
code?: string;
|
|
129
129
|
/**
|
|
130
130
|
* @remarks
|
|
131
|
-
* The response
|
|
131
|
+
* The response data.
|
|
132
132
|
*/
|
|
133
133
|
data?: GetPluginAttachmentResponseBodyData;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The
|
|
136
|
+
* The response message.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* success
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetSourceResponseBodyDataK8SSourceInfo extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Container Service cluster ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* c2d290b2d8b5d4935864cace5f0173f31
|
|
@@ -35,7 +35,7 @@ export class GetSourceResponseBodyDataK8SSourceInfo extends $dara.Model {
|
|
|
35
35
|
export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
*
|
|
38
|
+
* Nacos instance access address.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* mse
|
|
@@ -43,7 +43,7 @@ export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
|
|
|
43
43
|
address?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
*
|
|
46
|
+
* Cluster ID.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* fluss-cn-w7k4hann601
|
|
@@ -51,7 +51,7 @@ export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
|
|
|
51
51
|
clusterId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
*
|
|
54
|
+
* Nacos instance ID.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* hgprecn-cn-cfn47q7oh001
|
|
@@ -83,9 +83,19 @@ export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export class GetSourceResponseBodyData extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* Association completed
|
|
89
|
+
*/
|
|
90
|
+
associationReason?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* ASSOCIATED
|
|
94
|
+
*/
|
|
95
|
+
associationStatus?: string;
|
|
86
96
|
/**
|
|
87
97
|
* @remarks
|
|
88
|
-
*
|
|
98
|
+
* Creation timestamp.
|
|
89
99
|
*
|
|
90
100
|
* @example
|
|
91
101
|
* 1719386834548
|
|
@@ -93,7 +103,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
93
103
|
createTimestamp?: number;
|
|
94
104
|
/**
|
|
95
105
|
* @remarks
|
|
96
|
-
*
|
|
106
|
+
* Gateway ID.
|
|
97
107
|
*
|
|
98
108
|
* @example
|
|
99
109
|
* gw-cq2vundlhtg***
|
|
@@ -101,17 +111,17 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
101
111
|
gatewayId?: string;
|
|
102
112
|
/**
|
|
103
113
|
* @remarks
|
|
104
|
-
*
|
|
114
|
+
* K8s source information.
|
|
105
115
|
*/
|
|
106
116
|
k8SSourceInfo?: GetSourceResponseBodyDataK8SSourceInfo;
|
|
107
117
|
/**
|
|
108
118
|
* @remarks
|
|
109
|
-
*
|
|
119
|
+
* MSE Nacos source information.
|
|
110
120
|
*/
|
|
111
121
|
nacosSourceInfo?: GetSourceResponseBodyDataNacosSourceInfo;
|
|
112
122
|
/**
|
|
113
123
|
* @remarks
|
|
114
|
-
*
|
|
124
|
+
* Name.
|
|
115
125
|
*
|
|
116
126
|
* @example
|
|
117
127
|
* import-test
|
|
@@ -119,7 +129,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
119
129
|
name?: string;
|
|
120
130
|
/**
|
|
121
131
|
* @remarks
|
|
122
|
-
*
|
|
132
|
+
* Resource group ID.
|
|
123
133
|
*
|
|
124
134
|
* @example
|
|
125
135
|
* rg-aekz4us4iruleja
|
|
@@ -127,7 +137,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
127
137
|
resourceGroupId?: string;
|
|
128
138
|
/**
|
|
129
139
|
* @remarks
|
|
130
|
-
*
|
|
140
|
+
* Source ID.
|
|
131
141
|
*
|
|
132
142
|
* @example
|
|
133
143
|
* src-crdddallhtgt***
|
|
@@ -135,7 +145,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
135
145
|
sourceId?: string;
|
|
136
146
|
/**
|
|
137
147
|
* @remarks
|
|
138
|
-
*
|
|
148
|
+
* Type.
|
|
139
149
|
*
|
|
140
150
|
* @example
|
|
141
151
|
* K8S
|
|
@@ -143,7 +153,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
143
153
|
type?: string;
|
|
144
154
|
/**
|
|
145
155
|
* @remarks
|
|
146
|
-
*
|
|
156
|
+
* Update timestamp.
|
|
147
157
|
*
|
|
148
158
|
* @example
|
|
149
159
|
* 1719386834548
|
|
@@ -151,6 +161,8 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
151
161
|
updateTimestamp?: number;
|
|
152
162
|
static names(): { [key: string]: string } {
|
|
153
163
|
return {
|
|
164
|
+
associationReason: 'associationReason',
|
|
165
|
+
associationStatus: 'associationStatus',
|
|
154
166
|
createTimestamp: 'createTimestamp',
|
|
155
167
|
gatewayId: 'gatewayId',
|
|
156
168
|
k8SSourceInfo: 'k8SSourceInfo',
|
|
@@ -165,6 +177,8 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
165
177
|
|
|
166
178
|
static types(): { [key: string]: any } {
|
|
167
179
|
return {
|
|
180
|
+
associationReason: 'string',
|
|
181
|
+
associationStatus: 'string',
|
|
168
182
|
createTimestamp: 'number',
|
|
169
183
|
gatewayId: 'string',
|
|
170
184
|
k8SSourceInfo: GetSourceResponseBodyDataK8SSourceInfo,
|
|
@@ -195,7 +209,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
|
|
|
195
209
|
export class GetSourceResponseBody extends $dara.Model {
|
|
196
210
|
/**
|
|
197
211
|
* @remarks
|
|
198
|
-
*
|
|
212
|
+
* Response status code.
|
|
199
213
|
*
|
|
200
214
|
* @example
|
|
201
215
|
* Ok
|
|
@@ -203,12 +217,12 @@ export class GetSourceResponseBody extends $dara.Model {
|
|
|
203
217
|
code?: string;
|
|
204
218
|
/**
|
|
205
219
|
* @remarks
|
|
206
|
-
*
|
|
220
|
+
* Response data.
|
|
207
221
|
*/
|
|
208
222
|
data?: GetSourceResponseBodyData;
|
|
209
223
|
/**
|
|
210
224
|
* @remarks
|
|
211
|
-
*
|
|
225
|
+
* Response message.
|
|
212
226
|
*
|
|
213
227
|
* @example
|
|
214
228
|
* success
|
|
@@ -216,7 +230,7 @@ export class GetSourceResponseBody extends $dara.Model {
|
|
|
216
230
|
message?: string;
|
|
217
231
|
/**
|
|
218
232
|
* @remarks
|
|
219
|
-
*
|
|
233
|
+
* ID of the request
|
|
220
234
|
*
|
|
221
235
|
* @example
|
|
222
236
|
* DE10E3C0-A676-5169-812D-6610AACBFAFF
|
|
@@ -9,6 +9,11 @@ import { HttpApiBackendMatchConditions } from "./HttpApiBackendMatchConditions";
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
export class HttpApiApiInfoEnvironmentsGatewayInfo extends $dara.Model {
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* MultiTenantServerless
|
|
15
|
+
*/
|
|
16
|
+
gatewayEdition?: string;
|
|
12
17
|
/**
|
|
13
18
|
* @remarks
|
|
14
19
|
* The instance ID.
|
|
@@ -27,6 +32,7 @@ export class HttpApiApiInfoEnvironmentsGatewayInfo extends $dara.Model {
|
|
|
27
32
|
name?: string;
|
|
28
33
|
static names(): { [key: string]: string } {
|
|
29
34
|
return {
|
|
35
|
+
gatewayEdition: 'gatewayEdition',
|
|
30
36
|
gatewayId: 'gatewayId',
|
|
31
37
|
name: 'name',
|
|
32
38
|
};
|
|
@@ -34,6 +40,7 @@ export class HttpApiApiInfoEnvironmentsGatewayInfo extends $dara.Model {
|
|
|
34
40
|
|
|
35
41
|
static types(): { [key: string]: any } {
|
|
36
42
|
return {
|
|
43
|
+
gatewayEdition: 'string',
|
|
37
44
|
gatewayId: 'string',
|
|
38
45
|
name: 'string',
|
|
39
46
|
};
|
package/src/models/HttpRoute.ts
CHANGED
|
@@ -55,6 +55,11 @@ export class HttpRouteDomainInfos extends $dara.Model {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export class HttpRouteEnvironmentInfoGatewayInfo extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* MultiTenantServerless
|
|
61
|
+
*/
|
|
62
|
+
gatewayEdition?: string;
|
|
58
63
|
/**
|
|
59
64
|
* @remarks
|
|
60
65
|
* The gateway ID
|
|
@@ -73,6 +78,7 @@ export class HttpRouteEnvironmentInfoGatewayInfo extends $dara.Model {
|
|
|
73
78
|
name?: string;
|
|
74
79
|
static names(): { [key: string]: string } {
|
|
75
80
|
return {
|
|
81
|
+
gatewayEdition: 'gatewayEdition',
|
|
76
82
|
gatewayId: 'gatewayId',
|
|
77
83
|
name: 'name',
|
|
78
84
|
};
|
|
@@ -80,6 +86,7 @@ export class HttpRouteEnvironmentInfoGatewayInfo extends $dara.Model {
|
|
|
80
86
|
|
|
81
87
|
static types(): { [key: string]: any } {
|
|
82
88
|
return {
|
|
89
|
+
gatewayEdition: 'string',
|
|
83
90
|
gatewayId: 'string',
|
|
84
91
|
name: 'string',
|
|
85
92
|
};
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The fuzzy match parameter for the API name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* qwen3
|
|
@@ -21,7 +21,7 @@ export class ListConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
|
21
21
|
pageNumber?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The page size. Default value: 10.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 10
|
|
@@ -8,12 +8,12 @@ import { GatewayInfo } from "./GatewayInfo";
|
|
|
8
8
|
export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* API信息。
|
|
12
12
|
*/
|
|
13
13
|
apiInfo?: HttpApiApiInfo;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* 消费者授权规则ID。
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* car-csgeka5lhtggrjcprok0
|
|
@@ -21,7 +21,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
21
21
|
consumerAuthorizationRuleId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* 消费者ID。
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* cs-csheiftlhtgmp0j0hp4g
|
|
@@ -29,7 +29,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
29
29
|
consumerId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
*
|
|
32
|
+
* 创建时间戳。
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 1719386834548
|
|
@@ -37,7 +37,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
37
37
|
createTimestamp?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* API在当前环境的发布状态
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* {}
|
|
@@ -45,12 +45,12 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
45
45
|
deployStatus?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* 环境信息。
|
|
49
49
|
*/
|
|
50
50
|
environmentInfo?: EnvironmentInfo;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* 失效模式。LongTerm、ShortTerm,二选一。
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* ShortTerm
|
|
@@ -58,7 +58,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
58
58
|
expireMode?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
*
|
|
61
|
+
* 失效状态。
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* InEffect
|
|
@@ -66,7 +66,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
66
66
|
expireStatus?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
*
|
|
69
|
+
* 到期时间。
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* 172086834548
|
|
@@ -74,12 +74,12 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
74
74
|
expireTimestamp?: number;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
*
|
|
77
|
+
* 网关信息。
|
|
78
78
|
*/
|
|
79
79
|
gatewayInfo?: GatewayInfo;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
*
|
|
82
|
+
* 资源ID。
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* 2351944
|
|
@@ -87,7 +87,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
87
87
|
resourceId?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
*
|
|
90
|
+
* 资源类型。
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* HttpApiRoute
|
|
@@ -95,7 +95,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
95
95
|
resourceType?: string;
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
*
|
|
98
|
+
* 更新时间戳。单位: 毫秒。
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* 1721116090326
|
|
@@ -158,7 +158,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
|
|
|
158
158
|
export class ListConsumerAuthorizationRulesResponseBodyData extends $dara.Model {
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
*
|
|
161
|
+
* 消费者授权信息列表。
|
|
162
162
|
*/
|
|
163
163
|
items?: ListConsumerAuthorizationRulesResponseBodyDataItems[];
|
|
164
164
|
/**
|
|
@@ -171,7 +171,7 @@ export class ListConsumerAuthorizationRulesResponseBodyData extends $dara.Model
|
|
|
171
171
|
pageNumber?: number;
|
|
172
172
|
/**
|
|
173
173
|
* @remarks
|
|
174
|
-
* The
|
|
174
|
+
* The page size.
|
|
175
175
|
*
|
|
176
176
|
* @example
|
|
177
177
|
* 10
|
|
@@ -179,7 +179,7 @@ export class ListConsumerAuthorizationRulesResponseBodyData extends $dara.Model
|
|
|
179
179
|
pageSize?: number;
|
|
180
180
|
/**
|
|
181
181
|
* @remarks
|
|
182
|
-
* The total number.
|
|
182
|
+
* The total number of entries.
|
|
183
183
|
*
|
|
184
184
|
* @example
|
|
185
185
|
* 9
|
|
@@ -218,7 +218,7 @@ export class ListConsumerAuthorizationRulesResponseBodyData extends $dara.Model
|
|
|
218
218
|
export class ListConsumerAuthorizationRulesResponseBody extends $dara.Model {
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The status code.
|
|
221
|
+
* The response status code.
|
|
222
222
|
*
|
|
223
223
|
* @example
|
|
224
224
|
* Ok
|
|
@@ -3,9 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListDomainsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Serverless
|
|
9
|
+
*/
|
|
10
|
+
domainScope?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
|
-
* The
|
|
13
|
+
* The gateway ID.
|
|
9
14
|
*
|
|
10
15
|
* @example
|
|
11
16
|
* gw-xxxxxx
|
|
@@ -13,7 +18,7 @@ export class ListDomainsRequest extends $dara.Model {
|
|
|
13
18
|
gatewayId?: string;
|
|
14
19
|
/**
|
|
15
20
|
* @remarks
|
|
16
|
-
* The gateway type
|
|
21
|
+
* The gateway type used for filtering. Valid values: **AI** and **API**.
|
|
17
22
|
*
|
|
18
23
|
* @example
|
|
19
24
|
* API
|
|
@@ -21,7 +26,7 @@ export class ListDomainsRequest extends $dara.Model {
|
|
|
21
26
|
gatewayType?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
|
-
* The domain name
|
|
29
|
+
* The domain name. Fuzzy match is supported.
|
|
25
30
|
*
|
|
26
31
|
* @example
|
|
27
32
|
* test
|
|
@@ -29,7 +34,7 @@ export class ListDomainsRequest extends $dara.Model {
|
|
|
29
34
|
nameLike?: string;
|
|
30
35
|
/**
|
|
31
36
|
* @remarks
|
|
32
|
-
* The page number
|
|
37
|
+
* The page number. Default value: 1.
|
|
33
38
|
*
|
|
34
39
|
* @example
|
|
35
40
|
* 1
|
|
@@ -45,7 +50,7 @@ export class ListDomainsRequest extends $dara.Model {
|
|
|
45
50
|
pageSize?: number;
|
|
46
51
|
/**
|
|
47
52
|
* @remarks
|
|
48
|
-
* The
|
|
53
|
+
* The resource group ID.
|
|
49
54
|
*
|
|
50
55
|
* @example
|
|
51
56
|
* rg-aek27lpqyiie6qy
|
|
@@ -53,6 +58,7 @@ export class ListDomainsRequest extends $dara.Model {
|
|
|
53
58
|
resourceGroupId?: string;
|
|
54
59
|
static names(): { [key: string]: string } {
|
|
55
60
|
return {
|
|
61
|
+
domainScope: 'domainScope',
|
|
56
62
|
gatewayId: 'gatewayId',
|
|
57
63
|
gatewayType: 'gatewayType',
|
|
58
64
|
nameLike: 'nameLike',
|
|
@@ -64,6 +70,7 @@ export class ListDomainsRequest extends $dara.Model {
|
|
|
64
70
|
|
|
65
71
|
static types(): { [key: string]: any } {
|
|
66
72
|
return {
|
|
73
|
+
domainScope: 'string',
|
|
67
74
|
gatewayId: 'string',
|
|
68
75
|
gatewayType: 'string',
|
|
69
76
|
nameLike: 'string',
|
|
@@ -6,12 +6,12 @@ import { DomainInfo } from "./DomainInfo";
|
|
|
6
6
|
export class ListDomainsResponseBodyData extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
*
|
|
9
|
+
* 域名信息列表。
|
|
10
10
|
*/
|
|
11
11
|
items?: DomainInfo[];
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The page number
|
|
14
|
+
* The page number.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* 1
|
|
@@ -27,7 +27,7 @@ export class ListDomainsResponseBodyData extends $dara.Model {
|
|
|
27
27
|
pageSize?: number;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The total number of entries
|
|
30
|
+
* The total number of entries.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 9
|
|
@@ -66,7 +66,7 @@ export class ListDomainsResponseBodyData extends $dara.Model {
|
|
|
66
66
|
export class ListDomainsResponseBody extends $dara.Model {
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The
|
|
69
|
+
* The response code.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* Ok
|
|
@@ -74,12 +74,12 @@ export class ListDomainsResponseBody extends $dara.Model {
|
|
|
74
74
|
code?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
*
|
|
77
|
+
* The response data.
|
|
78
78
|
*/
|
|
79
79
|
data?: ListDomainsResponseBodyData;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The
|
|
82
|
+
* The response description.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* success
|
|
@@ -87,7 +87,7 @@ export class ListDomainsResponseBody extends $dara.Model {
|
|
|
87
87
|
message?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The request ID, which is used to trace the API call
|
|
90
|
+
* The request ID, which is used to trace the API call chain.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* C61E30D3-579A-5B43-994E-31E02EDC9129
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListEnvironmentsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The environment alias. Fuzzy match is supported.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 测试
|
|
@@ -13,7 +13,7 @@ export class ListEnvironmentsRequest extends $dara.Model {
|
|
|
13
13
|
aliasLike?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The gateway ID. Exact match is supported.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* gw-cptv6ktlhtgnqr73h8d1
|
|
@@ -21,7 +21,7 @@ export class ListEnvironmentsRequest extends $dara.Model {
|
|
|
21
21
|
gatewayId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The gateway name. Fuzzy match is supported.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* test-gw
|
|
@@ -29,7 +29,7 @@ export class ListEnvironmentsRequest extends $dara.Model {
|
|
|
29
29
|
gatewayNameLike?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The gateway type
|
|
32
|
+
* The gateway type.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* APIGateway
|
|
@@ -37,7 +37,7 @@ export class ListEnvironmentsRequest extends $dara.Model {
|
|
|
37
37
|
gatewayType?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* The environment name. Fuzzy match is supported.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* test
|
|
@@ -45,7 +45,7 @@ export class ListEnvironmentsRequest extends $dara.Model {
|
|
|
45
45
|
nameLike?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* The page number. Default value: 1.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1
|
|
@@ -53,7 +53,7 @@ export class ListEnvironmentsRequest extends $dara.Model {
|
|
|
53
53
|
pageNumber?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* The number of entries per page. Default value: 10.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 10
|
|
@@ -61,7 +61,7 @@ export class ListEnvironmentsRequest extends $dara.Model {
|
|
|
61
61
|
pageSize?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
*
|
|
64
|
+
* The resource group ID.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* rg-aek2nqpppkzplmq
|