@alicloud/apig20240327 4.0.4 → 4.2.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 +35 -2
- package/dist/client.js +107 -2
- package/dist/client.js.map +1 -1
- package/dist/models/AgentServiceConfig.d.ts +32 -0
- package/dist/models/AgentServiceConfig.js +79 -0
- package/dist/models/AgentServiceConfig.js.map +1 -0
- package/dist/models/AgentServiceConfigDashScopeConfig.d.ts +15 -0
- package/dist/models/AgentServiceConfigDashScopeConfig.js +62 -0
- package/dist/models/AgentServiceConfigDashScopeConfig.js.map +1 -0
- package/dist/models/AgentServiceConfigDashScopeConfigAppCredentials.d.ts +17 -0
- package/dist/models/AgentServiceConfigDashScopeConfigAppCredentials.js +62 -0
- package/dist/models/AgentServiceConfigDashScopeConfigAppCredentials.js.map +1 -0
- package/dist/models/AgentServiceConfigDifyConfig.d.ts +15 -0
- package/dist/models/AgentServiceConfigDifyConfig.js +60 -0
- package/dist/models/AgentServiceConfigDifyConfig.js.map +1 -0
- package/dist/models/ApiKeyIdentityConfigApikeySource.d.ts +0 -2
- package/dist/models/ApiKeyIdentityConfigApikeySource.js +0 -2
- package/dist/models/ApiKeyIdentityConfigApikeySource.js.map +1 -1
- package/dist/models/CreateHttpApiRequest.d.ts +1 -0
- package/dist/models/CreateHttpApiRequest.js +5 -0
- package/dist/models/CreateHttpApiRequest.js.map +1 -1
- package/dist/models/CreateServiceRequestServiceConfigs.d.ts +2 -0
- package/dist/models/CreateServiceRequestServiceConfigs.js +6 -0
- package/dist/models/CreateServiceRequestServiceConfigs.js.map +1 -1
- package/dist/models/DeleteServiceResponse.d.ts +19 -0
- package/dist/models/DeleteServiceResponse.js +69 -0
- package/dist/models/DeleteServiceResponse.js.map +1 -0
- package/dist/models/DeleteServiceResponseBody.d.ts +28 -0
- package/dist/models/DeleteServiceResponseBody.js +62 -0
- package/dist/models/DeleteServiceResponseBody.js.map +1 -0
- package/dist/models/GetGatewayResponseBody.d.ts +4 -4
- package/dist/models/GetGatewayResponseBodyData.d.ts +46 -32
- package/dist/models/GetGatewayResponseBodyData.js +2 -0
- package/dist/models/GetGatewayResponseBodyData.js.map +1 -1
- package/dist/models/GetGatewayResponseBodyDataEnvironments.d.ts +3 -3
- package/dist/models/GetGatewayResponseBodyDataLoadBalancers.d.ts +23 -18
- package/dist/models/GetGatewayResponseBodyDataLoadBalancers.js.map +1 -1
- package/dist/models/GetGatewayResponseBodyDataLoadBalancersPorts.d.ts +5 -4
- package/dist/models/GetGatewayResponseBodyDataLoadBalancersPorts.js.map +1 -1
- package/dist/models/GetGatewayResponseBodyDataSecurityGroup.d.ts +2 -2
- package/dist/models/GetGatewayResponseBodyDataTags.d.ts +2 -2
- package/dist/models/GetGatewayResponseBodyDataVpc.d.ts +3 -3
- package/dist/models/GetGatewayResponseBodyDataVswitch.d.ts +3 -3
- package/dist/models/GetGatewayResponseBodyDataZones.d.ts +4 -4
- package/dist/models/GetGatewayResponseBodyDataZonesVswitch.d.ts +3 -3
- package/dist/models/ListPluginAttachmentsRequest.d.ts +58 -0
- package/dist/models/ListPluginAttachmentsRequest.js +74 -0
- package/dist/models/ListPluginAttachmentsRequest.js.map +1 -0
- package/dist/models/ListPluginAttachmentsResponse.d.ts +19 -0
- package/dist/models/ListPluginAttachmentsResponse.js +69 -0
- package/dist/models/ListPluginAttachmentsResponse.js.map +1 -0
- package/dist/models/ListPluginAttachmentsResponseBody.d.ts +33 -0
- package/dist/models/ListPluginAttachmentsResponseBody.js +68 -0
- package/dist/models/ListPluginAttachmentsResponseBody.js.map +1 -0
- package/dist/models/ListPluginAttachmentsResponseBodyData.d.ts +30 -0
- package/dist/models/ListPluginAttachmentsResponseBodyData.js +68 -0
- package/dist/models/ListPluginAttachmentsResponseBodyData.js.map +1 -0
- package/dist/models/ListPluginAttachmentsResponseBodyDataItems.d.ts +46 -0
- package/dist/models/ListPluginAttachmentsResponseBodyDataItems.js +90 -0
- package/dist/models/ListPluginAttachmentsResponseBodyDataItems.js.map +1 -0
- package/dist/models/Service.d.ts +2 -0
- package/dist/models/Service.js +6 -0
- package/dist/models/Service.js.map +1 -1
- package/dist/models/UpdateHttpApiRequest.d.ts +1 -0
- package/dist/models/UpdateHttpApiRequest.js +5 -0
- package/dist/models/UpdateHttpApiRequest.js.map +1 -1
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +30 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +122 -2
- package/src/models/AgentServiceConfig.ts +64 -0
- package/src/models/AgentServiceConfigDashScopeConfig.ts +31 -0
- package/src/models/AgentServiceConfigDashScopeConfigAppCredentials.ts +32 -0
- package/src/models/AgentServiceConfigDifyConfig.ts +30 -0
- package/src/models/ApiKeyIdentityConfigApikeySource.ts +0 -2
- package/src/models/CreateHttpApiRequest.ts +6 -0
- package/src/models/CreateServiceRequestServiceConfigs.ts +7 -0
- package/src/models/DeleteServiceResponse.ts +40 -0
- package/src/models/DeleteServiceResponseBody.ts +45 -0
- package/src/models/GetGatewayResponseBody.ts +4 -4
- package/src/models/GetGatewayResponseBodyData.ts +48 -32
- package/src/models/GetGatewayResponseBodyDataEnvironments.ts +3 -3
- package/src/models/GetGatewayResponseBodyDataLoadBalancers.ts +23 -18
- package/src/models/GetGatewayResponseBodyDataLoadBalancersPorts.ts +5 -4
- package/src/models/GetGatewayResponseBodyDataSecurityGroup.ts +2 -2
- package/src/models/GetGatewayResponseBodyDataTags.ts +2 -2
- package/src/models/GetGatewayResponseBodyDataVpc.ts +3 -3
- package/src/models/GetGatewayResponseBodyDataVswitch.ts +3 -3
- package/src/models/GetGatewayResponseBodyDataZones.ts +4 -4
- package/src/models/GetGatewayResponseBodyDataZonesVswitch.ts +3 -3
- package/src/models/ListPluginAttachmentsRequest.ts +87 -0
- package/src/models/ListPluginAttachmentsResponse.ts +40 -0
- package/src/models/ListPluginAttachmentsResponseBody.ts +55 -0
- package/src/models/ListPluginAttachmentsResponseBodyData.ts +52 -0
- package/src/models/ListPluginAttachmentsResponseBodyDataItems.ts +87 -0
- package/src/models/Service.ts +7 -0
- package/src/models/UpdateHttpApiRequest.ts +6 -0
- package/src/models/model.ts +11 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AgentServiceConfig } from "./AgentServiceConfig";
|
|
3
4
|
import { AiServiceConfig } from "./AiServiceConfig";
|
|
4
5
|
|
|
5
6
|
|
|
@@ -9,6 +10,7 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
9
10
|
* The list of domain names or fixed addresses.
|
|
10
11
|
*/
|
|
11
12
|
addresses?: string[];
|
|
13
|
+
agentServiceConfig?: AgentServiceConfig;
|
|
12
14
|
/**
|
|
13
15
|
* @remarks
|
|
14
16
|
* The AI service configurations.
|
|
@@ -57,6 +59,7 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
57
59
|
static names(): { [key: string]: string } {
|
|
58
60
|
return {
|
|
59
61
|
addresses: 'addresses',
|
|
62
|
+
agentServiceConfig: 'agentServiceConfig',
|
|
60
63
|
aiServiceConfig: 'aiServiceConfig',
|
|
61
64
|
dnsServers: 'dnsServers',
|
|
62
65
|
groupName: 'groupName',
|
|
@@ -69,6 +72,7 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
69
72
|
static types(): { [key: string]: any } {
|
|
70
73
|
return {
|
|
71
74
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
75
|
+
agentServiceConfig: AgentServiceConfig,
|
|
72
76
|
aiServiceConfig: AiServiceConfig,
|
|
73
77
|
dnsServers: { 'type': 'array', 'itemType': 'string' },
|
|
74
78
|
groupName: 'string',
|
|
@@ -82,6 +86,9 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
82
86
|
if(Array.isArray(this.addresses)) {
|
|
83
87
|
$dara.Model.validateArray(this.addresses);
|
|
84
88
|
}
|
|
89
|
+
if(this.agentServiceConfig && typeof (this.agentServiceConfig as any).validate === 'function') {
|
|
90
|
+
(this.agentServiceConfig as any).validate();
|
|
91
|
+
}
|
|
85
92
|
if(this.aiServiceConfig && typeof (this.aiServiceConfig as any).validate === 'function') {
|
|
86
93
|
(this.aiServiceConfig as any).validate();
|
|
87
94
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteServiceResponseBody } from "./DeleteServiceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteServiceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteServiceResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DeleteServiceResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteServiceResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Ok
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* success
|
|
14
|
+
*/
|
|
15
|
+
message?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 3C3B9A12-3868-5EB9-8BEA-F99E03DD125C
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
code: 'code',
|
|
24
|
+
message: 'message',
|
|
25
|
+
requestId: 'requestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
code: 'string',
|
|
32
|
+
message: 'string',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -6,7 +6,7 @@ import { GetGatewayResponseBodyData } from "./GetGatewayResponseBodyData";
|
|
|
6
6
|
export class GetGatewayResponseBody extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
*
|
|
9
|
+
* The status code.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* Ok
|
|
@@ -14,12 +14,12 @@ export class GetGatewayResponseBody extends $dara.Model {
|
|
|
14
14
|
code?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
*
|
|
17
|
+
* The returned data.
|
|
18
18
|
*/
|
|
19
19
|
data?: GetGatewayResponseBodyData;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
*
|
|
22
|
+
* The response message returned.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* success
|
|
@@ -27,7 +27,7 @@ export class GetGatewayResponseBody extends $dara.Model {
|
|
|
27
27
|
message?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
30
|
+
* The request ID.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 0F138FFC-6E2B-56C1-9BAB-A67462E339D1
|
|
@@ -12,9 +12,10 @@ import { GetGatewayResponseBodyDataZones } from "./GetGatewayResponseBodyDataZon
|
|
|
12
12
|
export class GetGatewayResponseBodyData extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* The billing method. Valid values:
|
|
16
|
+
*
|
|
17
|
+
* * POSTPAY: pay-as-you-go
|
|
18
|
+
* * PREPAY: subscription
|
|
18
19
|
*
|
|
19
20
|
* @example
|
|
20
21
|
* POSTPAY
|
|
@@ -22,8 +23,9 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
22
23
|
chargeType?: string;
|
|
23
24
|
/**
|
|
24
25
|
* @remarks
|
|
25
|
-
*
|
|
26
|
-
*
|
|
26
|
+
* The creation source of the instance. Valid values:
|
|
27
|
+
*
|
|
28
|
+
* * Console
|
|
27
29
|
*
|
|
28
30
|
* @example
|
|
29
31
|
* Console
|
|
@@ -31,7 +33,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
31
33
|
createFrom?: string;
|
|
32
34
|
/**
|
|
33
35
|
* @remarks
|
|
34
|
-
*
|
|
36
|
+
* The creation timestamp. Unit: milliseconds.
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
37
39
|
* 1719386834548
|
|
@@ -39,12 +41,12 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
39
41
|
createTimestamp?: number;
|
|
40
42
|
/**
|
|
41
43
|
* @remarks
|
|
42
|
-
*
|
|
44
|
+
* The list of environments associated with the instance.
|
|
43
45
|
*/
|
|
44
46
|
environments?: GetGatewayResponseBodyDataEnvironments[];
|
|
45
47
|
/**
|
|
46
48
|
* @remarks
|
|
47
|
-
*
|
|
49
|
+
* The time when the instance expires. This value is a UNIX timestamp. Unit: milliseconds.
|
|
48
50
|
*
|
|
49
51
|
* @example
|
|
50
52
|
* 1719386834548
|
|
@@ -52,7 +54,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
52
54
|
expireTimestamp?: number;
|
|
53
55
|
/**
|
|
54
56
|
* @remarks
|
|
55
|
-
*
|
|
57
|
+
* The instance ID.
|
|
56
58
|
*
|
|
57
59
|
* @example
|
|
58
60
|
* gw-cq2vundlhtg***
|
|
@@ -60,12 +62,22 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
60
62
|
gatewayId?: string;
|
|
61
63
|
/**
|
|
62
64
|
* @remarks
|
|
63
|
-
*
|
|
65
|
+
* the gateway type, which is categorized into the following two types:
|
|
66
|
+
* - API: indicates an API gateway
|
|
67
|
+
* - AI: Indicates an AI gateway
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* API
|
|
71
|
+
*/
|
|
72
|
+
gatewayType?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The ingress addresses of the instance.
|
|
64
76
|
*/
|
|
65
77
|
loadBalancers?: GetGatewayResponseBodyDataLoadBalancers[];
|
|
66
78
|
/**
|
|
67
79
|
* @remarks
|
|
68
|
-
*
|
|
80
|
+
* The instance name.
|
|
69
81
|
*
|
|
70
82
|
* @example
|
|
71
83
|
* itemcenter-gateway
|
|
@@ -73,7 +85,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
73
85
|
name?: string;
|
|
74
86
|
/**
|
|
75
87
|
* @remarks
|
|
76
|
-
*
|
|
88
|
+
* The node quantity of the instance.
|
|
77
89
|
*
|
|
78
90
|
* @example
|
|
79
91
|
* 2
|
|
@@ -81,7 +93,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
81
93
|
replicas?: string;
|
|
82
94
|
/**
|
|
83
95
|
* @remarks
|
|
84
|
-
* The
|
|
96
|
+
* The resource group ID.
|
|
85
97
|
*
|
|
86
98
|
* @example
|
|
87
99
|
* rg-aek2s3cvc4jzfxi
|
|
@@ -89,13 +101,14 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
89
101
|
resourceGroupId?: string;
|
|
90
102
|
/**
|
|
91
103
|
* @remarks
|
|
92
|
-
* The security group of the
|
|
104
|
+
* The security group of the instance.
|
|
93
105
|
*/
|
|
94
106
|
securityGroup?: GetGatewayResponseBodyDataSecurityGroup;
|
|
95
107
|
/**
|
|
96
108
|
* @remarks
|
|
97
|
-
*
|
|
98
|
-
*
|
|
109
|
+
* The instance specification. Valid values:
|
|
110
|
+
*
|
|
111
|
+
* * apigw.small.x1
|
|
99
112
|
*
|
|
100
113
|
* @example
|
|
101
114
|
* apigw.small.x1
|
|
@@ -103,16 +116,17 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
103
116
|
spec?: string;
|
|
104
117
|
/**
|
|
105
118
|
* @remarks
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
119
|
+
* The instance state. Valid values:
|
|
120
|
+
*
|
|
121
|
+
* * Running: The instance is running.
|
|
122
|
+
* * Creating: The instance is being created.
|
|
123
|
+
* * CreateFailed: The instance failed to be created.
|
|
124
|
+
* * Upgrading: The instance is being upgraded.
|
|
125
|
+
* * UpgradeFailed: The instance failed to be upgraded.
|
|
126
|
+
* * Restarting: The instance is being restarted.
|
|
127
|
+
* * RestartFailed: The instance failed to be restarted.
|
|
128
|
+
* * Deleting: The instance is being released.
|
|
129
|
+
* * DeleteFailed: The instance failed to be released.
|
|
116
130
|
*
|
|
117
131
|
* @example
|
|
118
132
|
* Running
|
|
@@ -125,7 +139,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
125
139
|
tags?: GetGatewayResponseBodyDataTags[];
|
|
126
140
|
/**
|
|
127
141
|
* @remarks
|
|
128
|
-
*
|
|
142
|
+
* The destination version of the instance. If the value is inconsistent with the version value, you can upgrade the instance.
|
|
129
143
|
*
|
|
130
144
|
* @example
|
|
131
145
|
* 2.0.2
|
|
@@ -133,7 +147,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
133
147
|
targetVersion?: string;
|
|
134
148
|
/**
|
|
135
149
|
* @remarks
|
|
136
|
-
*
|
|
150
|
+
* The last update timestamp. Unit: milliseconds.
|
|
137
151
|
*
|
|
138
152
|
* @example
|
|
139
153
|
* 1719386834548
|
|
@@ -141,12 +155,12 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
141
155
|
updateTimestamp?: number;
|
|
142
156
|
/**
|
|
143
157
|
* @remarks
|
|
144
|
-
* The
|
|
158
|
+
* The vSwitch associated with the instance.
|
|
145
159
|
*/
|
|
146
160
|
vSwitch?: GetGatewayResponseBodyDataVSwitch;
|
|
147
161
|
/**
|
|
148
162
|
* @remarks
|
|
149
|
-
*
|
|
163
|
+
* The instance version.
|
|
150
164
|
*
|
|
151
165
|
* @example
|
|
152
166
|
* 2.0.2
|
|
@@ -154,12 +168,12 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
154
168
|
version?: string;
|
|
155
169
|
/**
|
|
156
170
|
* @remarks
|
|
157
|
-
* The VPC
|
|
171
|
+
* The VPC associated with the instance.
|
|
158
172
|
*/
|
|
159
173
|
vpc?: GetGatewayResponseBodyDataVpc;
|
|
160
174
|
/**
|
|
161
175
|
* @remarks
|
|
162
|
-
*
|
|
176
|
+
* The list of zones associated with the instance.
|
|
163
177
|
*/
|
|
164
178
|
zones?: GetGatewayResponseBodyDataZones[];
|
|
165
179
|
static names(): { [key: string]: string } {
|
|
@@ -170,6 +184,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
170
184
|
environments: 'environments',
|
|
171
185
|
expireTimestamp: 'expireTimestamp',
|
|
172
186
|
gatewayId: 'gatewayId',
|
|
187
|
+
gatewayType: 'gatewayType',
|
|
173
188
|
loadBalancers: 'loadBalancers',
|
|
174
189
|
name: 'name',
|
|
175
190
|
replicas: 'replicas',
|
|
@@ -195,6 +210,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
195
210
|
environments: { 'type': 'array', 'itemType': GetGatewayResponseBodyDataEnvironments },
|
|
196
211
|
expireTimestamp: 'number',
|
|
197
212
|
gatewayId: 'string',
|
|
213
|
+
gatewayType: 'string',
|
|
198
214
|
loadBalancers: { 'type': 'array', 'itemType': GetGatewayResponseBodyDataLoadBalancers },
|
|
199
215
|
name: 'string',
|
|
200
216
|
replicas: 'string',
|
|
@@ -8,12 +8,12 @@ export class GetGatewayResponseBodyDataEnvironments extends $dara.Model {
|
|
|
8
8
|
* The environment alias.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Default environment
|
|
12
12
|
*/
|
|
13
13
|
alias?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The environment ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* env-cp9uhudlht***
|
|
@@ -21,7 +21,7 @@ export class GetGatewayResponseBodyDataEnvironments extends $dara.Model {
|
|
|
21
21
|
environmentId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The environment name
|
|
24
|
+
* The environment name.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* default-gw-cp9ugg5***
|
|
@@ -6,7 +6,7 @@ import { GetGatewayResponseBodyDataLoadBalancersPorts } from "./GetGatewayRespon
|
|
|
6
6
|
export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The
|
|
9
|
+
* The load balancer IP address.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* nlb-xoh3pghr***.cn-hangzhou.nlb.aliyuncs.com
|
|
@@ -14,9 +14,10 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
14
14
|
address?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The IP version of the
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* The IP version of the address. Valid values:
|
|
18
|
+
*
|
|
19
|
+
* * ipv4
|
|
20
|
+
* * ipv6
|
|
20
21
|
*
|
|
21
22
|
* @example
|
|
22
23
|
* ipv4
|
|
@@ -24,9 +25,10 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
24
25
|
addressIpVersion?: string;
|
|
25
26
|
/**
|
|
26
27
|
* @remarks
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* The load balancer address type. Valid values:
|
|
29
|
+
*
|
|
30
|
+
* * Internet
|
|
31
|
+
* * Intranet
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
34
|
* Internet
|
|
@@ -34,7 +36,7 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
34
36
|
addressType?: string;
|
|
35
37
|
/**
|
|
36
38
|
* @remarks
|
|
37
|
-
*
|
|
39
|
+
* Indicates whether the address is the default ingress address of the instance.
|
|
38
40
|
*
|
|
39
41
|
* @example
|
|
40
42
|
* true
|
|
@@ -42,7 +44,7 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
42
44
|
gatewayDefault?: boolean;
|
|
43
45
|
/**
|
|
44
46
|
* @remarks
|
|
45
|
-
*
|
|
47
|
+
* The load balancer ID.
|
|
46
48
|
*
|
|
47
49
|
* @example
|
|
48
50
|
* nlb-xoh3pghru7c***
|
|
@@ -50,8 +52,9 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
50
52
|
loadBalancerId?: string;
|
|
51
53
|
/**
|
|
52
54
|
* @remarks
|
|
53
|
-
* The
|
|
54
|
-
*
|
|
55
|
+
* The mode in which the load balancer is provided. Valid values:
|
|
56
|
+
*
|
|
57
|
+
* * Managed: Cloud-native API Gateway manages and provides the load balancer.
|
|
55
58
|
*
|
|
56
59
|
* @example
|
|
57
60
|
* Managed
|
|
@@ -59,14 +62,15 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
59
62
|
mode?: string;
|
|
60
63
|
/**
|
|
61
64
|
* @remarks
|
|
62
|
-
*
|
|
65
|
+
* The list of listened ports.
|
|
63
66
|
*/
|
|
64
67
|
ports?: GetGatewayResponseBodyDataLoadBalancersPorts[];
|
|
65
68
|
/**
|
|
66
69
|
* @remarks
|
|
67
|
-
* The
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
+
* The load balancer status. Valid values:
|
|
71
|
+
*
|
|
72
|
+
* * Ready: The load balancer is available.
|
|
73
|
+
* * NotCreate: The load balancer is not associated with the instance.
|
|
70
74
|
*
|
|
71
75
|
* @example
|
|
72
76
|
* Ready
|
|
@@ -74,9 +78,10 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
74
78
|
status?: string;
|
|
75
79
|
/**
|
|
76
80
|
* @remarks
|
|
77
|
-
* The type
|
|
78
|
-
*
|
|
79
|
-
*
|
|
81
|
+
* The load balancer type. Valid values:
|
|
82
|
+
*
|
|
83
|
+
* * NLB: Network Load Balancer
|
|
84
|
+
* * CLB: Classic Load Balancer
|
|
80
85
|
*
|
|
81
86
|
* @example
|
|
82
87
|
* NLB
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetGatewayResponseBodyDataLoadBalancersPorts extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The port number.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 443
|
|
@@ -13,9 +13,10 @@ export class GetGatewayResponseBodyDataLoadBalancersPorts extends $dara.Model {
|
|
|
13
13
|
port?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* The protocol. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * TCP
|
|
19
|
+
* * UDP
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
22
|
* TCP
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetGatewayResponseBodyDataSecurityGroup extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The security group name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* APIG-sg-gw-cq7ke5ll***
|
|
@@ -13,7 +13,7 @@ export class GetGatewayResponseBodyDataSecurityGroup extends $dara.Model {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The security group ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* sg-bp16tafq9***
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetGatewayResponseBodyDataTags extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The tag key
|
|
8
|
+
* The tag key.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* owner
|
|
@@ -13,7 +13,7 @@ export class GetGatewayResponseBodyDataTags extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The tag value
|
|
16
|
+
* The tag value.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* zhangsan
|
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetGatewayResponseBodyDataVpc extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* VPC
|
|
8
|
+
* The VPC name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* HangzhouVPC
|
|
12
12
|
*/
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* VPC
|
|
16
|
+
* The VPC ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* vpc-bp1llj52lvj6xc***
|
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetGatewayResponseBodyDataVSwitch extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The vSwitch name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* HangzhouVPCvSwitch
|
|
12
12
|
*/
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The vSwitch ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* vsw-bp1c7ggkj***
|
|
@@ -6,20 +6,20 @@ import { GetGatewayResponseBodyDataZonesVSwitch } from "./GetGatewayResponseBody
|
|
|
6
6
|
export class GetGatewayResponseBodyDataZones extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
*
|
|
9
|
+
* The zone name.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
*
|
|
12
|
+
* HangzhouZoneE
|
|
13
13
|
*/
|
|
14
14
|
name?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
*
|
|
17
|
+
* The vSwitch information.
|
|
18
18
|
*/
|
|
19
19
|
vSwitch?: GetGatewayResponseBodyDataZonesVSwitch;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
*
|
|
22
|
+
* The zone ID.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* cn-hangzhou-e
|
|
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetGatewayResponseBodyDataZonesVSwitch extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The vSwitch name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* HangzhouVPCvSwitch
|
|
12
12
|
*/
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The vSwitch ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* vsw-bp1c7ggkj***
|