@alicloud/hologram20220601 1.0.2 → 1.0.5
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 +2928 -200
- package/dist/client.js +869 -199
- package/dist/client.js.map +1 -1
- package/package.json +7 -7
- package/src/client.ts +3182 -133
package/dist/client.d.ts
CHANGED
|
@@ -1,27 +1,288 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
2
|
*/
|
|
4
3
|
import * as $Util from '@alicloud/tea-util';
|
|
5
4
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
5
|
import * as $tea from '@alicloud/tea-typescript';
|
|
6
|
+
export declare class ChangeResourceGroupRequest extends $tea.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* hgprecn-cn-zvp25ysv3006
|
|
10
|
+
*/
|
|
11
|
+
instanceId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* rg-acfmxwerqwerasfd
|
|
15
|
+
*/
|
|
16
|
+
newResourceGroupId?: string;
|
|
17
|
+
static names(): {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
static types(): {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
23
|
+
constructor(map?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export declare class ChangeResourceGroupResponseBody extends $tea.Model {
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* true
|
|
31
|
+
*/
|
|
32
|
+
data?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* Id of the request
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* AB71198A-2DB1-511B-AE4D-690BAA97F076
|
|
39
|
+
*/
|
|
40
|
+
requestId?: string;
|
|
41
|
+
static names(): {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
static types(): {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
};
|
|
47
|
+
constructor(map?: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export declare class ChangeResourceGroupResponse extends $tea.Model {
|
|
52
|
+
headers?: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
statusCode?: number;
|
|
56
|
+
body?: ChangeResourceGroupResponseBody;
|
|
57
|
+
static names(): {
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
};
|
|
60
|
+
static types(): {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
constructor(map?: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
7
67
|
export declare class CreateInstanceRequest extends $tea.Model {
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* Specifies whether to enable auto-payment. Default value: true. Valid values:
|
|
71
|
+
*
|
|
72
|
+
* * true
|
|
73
|
+
* * false
|
|
74
|
+
*
|
|
75
|
+
* > The default value is true. If the balance of your account is insufficient, you can set this parameter to false. In this case, an unpaid order is generated. You can log on to the User Center to pay for the order.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* true
|
|
79
|
+
*/
|
|
8
80
|
autoPay?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Specifies whether to enable monthly auto-renewal. Default value: false. Valid values:
|
|
84
|
+
*
|
|
85
|
+
* * true
|
|
86
|
+
* * false
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* false
|
|
90
|
+
*/
|
|
9
91
|
autoRenew?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The billing method of the instance. Valid values:
|
|
95
|
+
*
|
|
96
|
+
* * PrePaid: subscription
|
|
97
|
+
* * PostPaid: pay-as-you-go
|
|
98
|
+
*
|
|
99
|
+
* > This parameter is invalid for shared instances. Shared instances have fixed specifications and are pay-as-you-go instances.
|
|
100
|
+
*
|
|
101
|
+
* This parameter is required.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* PostPaid
|
|
105
|
+
*/
|
|
10
106
|
chargeType?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The infrequent access (IA) storage space of the instance. Unit: GB.
|
|
110
|
+
*
|
|
111
|
+
* > This parameter is invalid for pay-as-you-go instances.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* 500
|
|
115
|
+
*/
|
|
11
116
|
coldStorageSize?: number;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The instance specifications. Valid values:
|
|
120
|
+
*
|
|
121
|
+
* * 8-core 32 GB (number of compute nodes: 1)
|
|
122
|
+
* * 16-core 64 GB (number of compute nodes: 1)
|
|
123
|
+
* * 32-core 128 GB (number of compute nodes: 2)
|
|
124
|
+
* * 64-core 256 GB (number of compute nodes: 4)
|
|
125
|
+
* * 96-core 384 GB (number of compute nodes: 6)
|
|
126
|
+
* * 128-core 512 GB (number of compute nodes: 8)
|
|
127
|
+
* * Others
|
|
128
|
+
*
|
|
129
|
+
* >
|
|
130
|
+
*
|
|
131
|
+
* * Set this parameter to the number of cores.
|
|
132
|
+
*
|
|
133
|
+
* * If you want to set this parameter to specifications with more than 1,024 compute units (CUs), you must submit a ticket.
|
|
134
|
+
*
|
|
135
|
+
* * If you want to purchase a shared instance, you do not need to configure this parameter.
|
|
136
|
+
*
|
|
137
|
+
* * The specifications of 8-core 32 GB (number of compute nodes: 1) are for trial use only and cannot be used for production.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* 64
|
|
141
|
+
*/
|
|
12
142
|
cpu?: number;
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The validity period of the instance that you want to purchase. For example, you can specify a validity period of two months.
|
|
146
|
+
*
|
|
147
|
+
* > You do not need to configure this parameter for pay-as-you-go instances.
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* 2
|
|
151
|
+
*/
|
|
13
152
|
duration?: number;
|
|
153
|
+
enableServerlessComputing?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* The number of gateways. Valid values: 2 to 50.
|
|
157
|
+
*
|
|
158
|
+
* > This parameter is required only for virtual warehouse instances.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* 4
|
|
162
|
+
*/
|
|
14
163
|
gatewayCount?: number;
|
|
15
164
|
initialDatabases?: string;
|
|
165
|
+
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* The name of the Hologres instance that you want to purchase. The name must be 2 to 64 characters in length.
|
|
168
|
+
*
|
|
169
|
+
* This parameter is required.
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* my_holo
|
|
173
|
+
*/
|
|
16
174
|
instanceName?: string;
|
|
175
|
+
/**
|
|
176
|
+
* @remarks
|
|
177
|
+
* The type of the instance. Valid values:
|
|
178
|
+
*
|
|
179
|
+
* * Standard: general-purpose instance
|
|
180
|
+
* * Follower: read-only secondary instance
|
|
181
|
+
* * Warehouse: virtual warehouse instance
|
|
182
|
+
* * Shared: shared instance
|
|
183
|
+
*
|
|
184
|
+
* This parameter is required.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* Standard
|
|
188
|
+
*/
|
|
17
189
|
instanceType?: string;
|
|
190
|
+
/**
|
|
191
|
+
* @remarks
|
|
192
|
+
* The ID of the primary instance. This parameter is required for read-only secondary instances.
|
|
193
|
+
*
|
|
194
|
+
* > The primary instance and secondary instances must meet the following requirements:
|
|
195
|
+
*
|
|
196
|
+
* * The primary instance is in the Running state.
|
|
197
|
+
*
|
|
198
|
+
* * The primary instance and secondary instances are deployed in the same region.
|
|
199
|
+
*
|
|
200
|
+
* * The primary instance and secondary instances are deployed in the same zone.
|
|
201
|
+
*
|
|
202
|
+
* * Less than 10 secondary instances are associated with the primary instance.
|
|
203
|
+
*
|
|
204
|
+
* * The primary and secondary instances belong to the same Alibaba Cloud account.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* hgpostcn-cn-lbj3aworq112
|
|
208
|
+
*/
|
|
18
209
|
leaderInstanceId?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The billing cycle. Valid values:
|
|
213
|
+
*
|
|
214
|
+
* * Month
|
|
215
|
+
* * Hour
|
|
216
|
+
*
|
|
217
|
+
* >
|
|
218
|
+
*
|
|
219
|
+
* * This parameter can only be set to Month for subscription instances.
|
|
220
|
+
*
|
|
221
|
+
* * This parameter can only be set to Hour for pay-as-you-go instances.
|
|
222
|
+
*
|
|
223
|
+
* * By default, this parameter is set to Hour for shared instances.
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* Month
|
|
227
|
+
*/
|
|
19
228
|
pricingCycle?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @remarks
|
|
231
|
+
* The ID of the region. You can go to the [OpenAPI Explorer](https://api.aliyun.com/product/Hologram) or the Usage notes section to view the ID of the region.
|
|
232
|
+
*
|
|
233
|
+
* This parameter is required.
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* cn-hangzhou
|
|
237
|
+
*/
|
|
20
238
|
regionId?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @remarks
|
|
241
|
+
* The resource group. If you do not specify this parameter, the default resource group of the account is used.
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* ""
|
|
245
|
+
*/
|
|
21
246
|
resourceGroupId?: string;
|
|
247
|
+
/**
|
|
248
|
+
* @remarks
|
|
249
|
+
* The standard storage space of the instance. Unit: GB.
|
|
250
|
+
*
|
|
251
|
+
* > This parameter is invalid for pay-as-you-go instances.
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* 500
|
|
255
|
+
*/
|
|
22
256
|
storageSize?: number;
|
|
257
|
+
/**
|
|
258
|
+
* @remarks
|
|
259
|
+
* The ID of the vSwitch. The zone in which the vSwitch resides must be the same as the zone in which the instance resides.
|
|
260
|
+
*
|
|
261
|
+
* This parameter is required.
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* vsw-2vccsiymtxxxxxx
|
|
265
|
+
*/
|
|
23
266
|
vSwitchId?: string;
|
|
267
|
+
/**
|
|
268
|
+
* @remarks
|
|
269
|
+
* The ID of the virtual private cloud (VPC). The region in which the VPC resides must be the same as the region in which the Hologres instance resides.
|
|
270
|
+
*
|
|
271
|
+
* This parameter is required.
|
|
272
|
+
*
|
|
273
|
+
* @example
|
|
274
|
+
* vpc-t4netc3y5xxxx
|
|
275
|
+
*/
|
|
24
276
|
vpcId?: string;
|
|
277
|
+
/**
|
|
278
|
+
* @remarks
|
|
279
|
+
* The ID of the zone. For more information about how to obtain the ID of the zone, see the Usage notes section.
|
|
280
|
+
*
|
|
281
|
+
* This parameter is required.
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* cn-hangzhou-h
|
|
285
|
+
*/
|
|
25
286
|
zoneId?: string;
|
|
26
287
|
static names(): {
|
|
27
288
|
[key: string]: string;
|
|
@@ -34,10 +295,42 @@ export declare class CreateInstanceRequest extends $tea.Model {
|
|
|
34
295
|
});
|
|
35
296
|
}
|
|
36
297
|
export declare class CreateInstanceResponseBody extends $tea.Model {
|
|
298
|
+
/**
|
|
299
|
+
* @remarks
|
|
300
|
+
* The returned data.
|
|
301
|
+
*/
|
|
37
302
|
data?: CreateInstanceResponseBodyData;
|
|
303
|
+
/**
|
|
304
|
+
* @remarks
|
|
305
|
+
* The error code returned.
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
* null
|
|
309
|
+
*/
|
|
38
310
|
errorCode?: string;
|
|
311
|
+
/**
|
|
312
|
+
* @remarks
|
|
313
|
+
* The error message returned.
|
|
314
|
+
*
|
|
315
|
+
* @example
|
|
316
|
+
* null
|
|
317
|
+
*/
|
|
39
318
|
errorMessage?: string;
|
|
319
|
+
/**
|
|
320
|
+
* @remarks
|
|
321
|
+
* The HTTP status code.
|
|
322
|
+
*
|
|
323
|
+
* @example
|
|
324
|
+
* 200
|
|
325
|
+
*/
|
|
40
326
|
httpStatusCode?: string;
|
|
327
|
+
/**
|
|
328
|
+
* @remarks
|
|
329
|
+
* The ID of the request.
|
|
330
|
+
*
|
|
331
|
+
* @example
|
|
332
|
+
* 9CC37B9F-F4B4-5FF1-939B-AEE78DC70130
|
|
333
|
+
*/
|
|
41
334
|
requestId?: string;
|
|
42
335
|
static names(): {
|
|
43
336
|
[key: string]: string;
|
|
@@ -50,11 +343,11 @@ export declare class CreateInstanceResponseBody extends $tea.Model {
|
|
|
50
343
|
});
|
|
51
344
|
}
|
|
52
345
|
export declare class CreateInstanceResponse extends $tea.Model {
|
|
53
|
-
headers
|
|
346
|
+
headers?: {
|
|
54
347
|
[key: string]: string;
|
|
55
348
|
};
|
|
56
|
-
statusCode
|
|
57
|
-
body
|
|
349
|
+
statusCode?: number;
|
|
350
|
+
body?: CreateInstanceResponseBody;
|
|
58
351
|
static names(): {
|
|
59
352
|
[key: string]: string;
|
|
60
353
|
};
|
|
@@ -66,6 +359,13 @@ export declare class CreateInstanceResponse extends $tea.Model {
|
|
|
66
359
|
});
|
|
67
360
|
}
|
|
68
361
|
export declare class DeleteInstanceRequest extends $tea.Model {
|
|
362
|
+
/**
|
|
363
|
+
* @remarks
|
|
364
|
+
* The ID of the region in which the Hologres instance resides.
|
|
365
|
+
*
|
|
366
|
+
* @example
|
|
367
|
+
* cn-hangzhou
|
|
368
|
+
*/
|
|
69
369
|
regionId?: string;
|
|
70
370
|
static names(): {
|
|
71
371
|
[key: string]: string;
|
|
@@ -78,11 +378,71 @@ export declare class DeleteInstanceRequest extends $tea.Model {
|
|
|
78
378
|
});
|
|
79
379
|
}
|
|
80
380
|
export declare class DeleteInstanceResponseBody extends $tea.Model {
|
|
381
|
+
/**
|
|
382
|
+
* @remarks
|
|
383
|
+
* The returned result, which indicates whether the request was successful.
|
|
384
|
+
*
|
|
385
|
+
* Valid values:
|
|
386
|
+
*
|
|
387
|
+
* * true
|
|
388
|
+
*
|
|
389
|
+
* <!-- -->
|
|
390
|
+
*
|
|
391
|
+
* <!-- -->
|
|
392
|
+
*
|
|
393
|
+
* <!-- -->
|
|
394
|
+
*
|
|
395
|
+
* * false
|
|
396
|
+
*
|
|
397
|
+
* <!-- -->
|
|
398
|
+
*
|
|
399
|
+
* <!-- -->
|
|
400
|
+
*
|
|
401
|
+
* <!-- -->
|
|
402
|
+
*
|
|
403
|
+
* @example
|
|
404
|
+
* true
|
|
405
|
+
*/
|
|
81
406
|
data?: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* @remarks
|
|
409
|
+
* The error code returned.
|
|
410
|
+
*
|
|
411
|
+
* @example
|
|
412
|
+
* null
|
|
413
|
+
*/
|
|
82
414
|
errorCode?: string;
|
|
415
|
+
/**
|
|
416
|
+
* @remarks
|
|
417
|
+
* The error message returned.
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
* null
|
|
421
|
+
*/
|
|
83
422
|
errorMessage?: string;
|
|
423
|
+
/**
|
|
424
|
+
* @remarks
|
|
425
|
+
* The HTTP status Code
|
|
426
|
+
*
|
|
427
|
+
* @example
|
|
428
|
+
* 200
|
|
429
|
+
*/
|
|
84
430
|
httpStatusCode?: string;
|
|
431
|
+
/**
|
|
432
|
+
* @remarks
|
|
433
|
+
* The ID of the request.
|
|
434
|
+
*
|
|
435
|
+
* @example
|
|
436
|
+
* CB13FFDD-2DF8-5396-A848-2D6A31245B6D
|
|
437
|
+
*/
|
|
85
438
|
requestId?: string;
|
|
439
|
+
/**
|
|
440
|
+
* @remarks
|
|
441
|
+
* Indicates whether the call was successful.
|
|
442
|
+
*
|
|
443
|
+
* @example
|
|
444
|
+
* true
|
|
445
|
+
*/
|
|
86
446
|
success?: boolean;
|
|
87
447
|
static names(): {
|
|
88
448
|
[key: string]: string;
|
|
@@ -95,44 +455,11 @@ export declare class DeleteInstanceResponseBody extends $tea.Model {
|
|
|
95
455
|
});
|
|
96
456
|
}
|
|
97
457
|
export declare class DeleteInstanceResponse extends $tea.Model {
|
|
98
|
-
headers
|
|
99
|
-
[key: string]: string;
|
|
100
|
-
};
|
|
101
|
-
statusCode: number;
|
|
102
|
-
body: DeleteInstanceResponseBody;
|
|
103
|
-
static names(): {
|
|
104
|
-
[key: string]: string;
|
|
105
|
-
};
|
|
106
|
-
static types(): {
|
|
107
|
-
[key: string]: any;
|
|
108
|
-
};
|
|
109
|
-
constructor(map?: {
|
|
110
|
-
[key: string]: any;
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
export declare class GetInstanceResponseBody extends $tea.Model {
|
|
114
|
-
errorCode?: string;
|
|
115
|
-
errorMessage?: string;
|
|
116
|
-
httpStatusCode?: string;
|
|
117
|
-
instance?: GetInstanceResponseBodyInstance;
|
|
118
|
-
requestId?: string;
|
|
119
|
-
success?: boolean;
|
|
120
|
-
static names(): {
|
|
121
|
-
[key: string]: string;
|
|
122
|
-
};
|
|
123
|
-
static types(): {
|
|
124
|
-
[key: string]: any;
|
|
125
|
-
};
|
|
126
|
-
constructor(map?: {
|
|
127
|
-
[key: string]: any;
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
export declare class GetInstanceResponse extends $tea.Model {
|
|
131
|
-
headers: {
|
|
458
|
+
headers?: {
|
|
132
459
|
[key: string]: string;
|
|
133
460
|
};
|
|
134
|
-
statusCode
|
|
135
|
-
body
|
|
461
|
+
statusCode?: number;
|
|
462
|
+
body?: DeleteInstanceResponseBody;
|
|
136
463
|
static names(): {
|
|
137
464
|
[key: string]: string;
|
|
138
465
|
};
|
|
@@ -143,10 +470,12 @@ export declare class GetInstanceResponse extends $tea.Model {
|
|
|
143
470
|
[key: string]: any;
|
|
144
471
|
});
|
|
145
472
|
}
|
|
146
|
-
export declare class
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
473
|
+
export declare class DisableHiveAccessRequest extends $tea.Model {
|
|
474
|
+
/**
|
|
475
|
+
* @example
|
|
476
|
+
* cn-beijing
|
|
477
|
+
*/
|
|
478
|
+
regionId?: string;
|
|
150
479
|
static names(): {
|
|
151
480
|
[key: string]: string;
|
|
152
481
|
};
|
|
@@ -157,13 +486,40 @@ export declare class ListInstancesRequest extends $tea.Model {
|
|
|
157
486
|
[key: string]: any;
|
|
158
487
|
});
|
|
159
488
|
}
|
|
160
|
-
export declare class
|
|
489
|
+
export declare class DisableHiveAccessResponseBody extends $tea.Model {
|
|
490
|
+
/**
|
|
491
|
+
* @example
|
|
492
|
+
* true
|
|
493
|
+
*/
|
|
494
|
+
data?: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* @example
|
|
497
|
+
* 404
|
|
498
|
+
*/
|
|
161
499
|
errorCode?: string;
|
|
500
|
+
/**
|
|
501
|
+
* @example
|
|
502
|
+
* Internal server error.
|
|
503
|
+
*/
|
|
162
504
|
errorMessage?: string;
|
|
505
|
+
/**
|
|
506
|
+
* @example
|
|
507
|
+
* 200
|
|
508
|
+
*/
|
|
163
509
|
httpStatusCode?: string;
|
|
164
|
-
|
|
510
|
+
/**
|
|
511
|
+
* @remarks
|
|
512
|
+
* Id of the request
|
|
513
|
+
*
|
|
514
|
+
* @example
|
|
515
|
+
* 82B7A554-4D00-50DF-95D9-B59E7B4D5489
|
|
516
|
+
*/
|
|
165
517
|
requestId?: string;
|
|
166
|
-
|
|
518
|
+
/**
|
|
519
|
+
* @example
|
|
520
|
+
* true
|
|
521
|
+
*/
|
|
522
|
+
success?: boolean;
|
|
167
523
|
static names(): {
|
|
168
524
|
[key: string]: string;
|
|
169
525
|
};
|
|
@@ -174,12 +530,12 @@ export declare class ListInstancesResponseBody extends $tea.Model {
|
|
|
174
530
|
[key: string]: any;
|
|
175
531
|
});
|
|
176
532
|
}
|
|
177
|
-
export declare class
|
|
178
|
-
headers
|
|
533
|
+
export declare class DisableHiveAccessResponse extends $tea.Model {
|
|
534
|
+
headers?: {
|
|
179
535
|
[key: string]: string;
|
|
180
536
|
};
|
|
181
|
-
statusCode
|
|
182
|
-
body
|
|
537
|
+
statusCode?: number;
|
|
538
|
+
body?: DisableHiveAccessResponseBody;
|
|
183
539
|
static names(): {
|
|
184
540
|
[key: string]: string;
|
|
185
541
|
};
|
|
@@ -190,9 +546,12 @@ export declare class ListInstancesResponse extends $tea.Model {
|
|
|
190
546
|
[key: string]: any;
|
|
191
547
|
});
|
|
192
548
|
}
|
|
193
|
-
export declare class
|
|
194
|
-
|
|
195
|
-
|
|
549
|
+
export declare class EnableHiveAccessRequest extends $tea.Model {
|
|
550
|
+
/**
|
|
551
|
+
* @example
|
|
552
|
+
* cn-hangzhou
|
|
553
|
+
*/
|
|
554
|
+
regionId?: string;
|
|
196
555
|
static names(): {
|
|
197
556
|
[key: string]: string;
|
|
198
557
|
};
|
|
@@ -203,13 +562,40 @@ export declare class RenewInstanceRequest extends $tea.Model {
|
|
|
203
562
|
[key: string]: any;
|
|
204
563
|
});
|
|
205
564
|
}
|
|
206
|
-
export declare class
|
|
207
|
-
|
|
565
|
+
export declare class EnableHiveAccessResponseBody extends $tea.Model {
|
|
566
|
+
/**
|
|
567
|
+
* @example
|
|
568
|
+
* true
|
|
569
|
+
*/
|
|
570
|
+
data?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* @example
|
|
573
|
+
* 404
|
|
574
|
+
*/
|
|
208
575
|
errorCode?: string;
|
|
576
|
+
/**
|
|
577
|
+
* @example
|
|
578
|
+
* Internal server error.
|
|
579
|
+
*/
|
|
209
580
|
errorMessage?: string;
|
|
581
|
+
/**
|
|
582
|
+
* @example
|
|
583
|
+
* 200
|
|
584
|
+
*/
|
|
210
585
|
httpStatusCode?: string;
|
|
586
|
+
/**
|
|
587
|
+
* @remarks
|
|
588
|
+
* Id of the request
|
|
589
|
+
*
|
|
590
|
+
* @example
|
|
591
|
+
* EA8F0084-5831-5907-BB31-BD05D2617844
|
|
592
|
+
*/
|
|
211
593
|
requestId?: string;
|
|
212
|
-
|
|
594
|
+
/**
|
|
595
|
+
* @example
|
|
596
|
+
* true
|
|
597
|
+
*/
|
|
598
|
+
success?: boolean;
|
|
213
599
|
static names(): {
|
|
214
600
|
[key: string]: string;
|
|
215
601
|
};
|
|
@@ -220,12 +606,12 @@ export declare class RenewInstanceResponseBody extends $tea.Model {
|
|
|
220
606
|
[key: string]: any;
|
|
221
607
|
});
|
|
222
608
|
}
|
|
223
|
-
export declare class
|
|
224
|
-
headers
|
|
609
|
+
export declare class EnableHiveAccessResponse extends $tea.Model {
|
|
610
|
+
headers?: {
|
|
225
611
|
[key: string]: string;
|
|
226
612
|
};
|
|
227
|
-
statusCode
|
|
228
|
-
body
|
|
613
|
+
statusCode?: number;
|
|
614
|
+
body?: EnableHiveAccessResponseBody;
|
|
229
615
|
static names(): {
|
|
230
616
|
[key: string]: string;
|
|
231
617
|
};
|
|
@@ -236,12 +622,51 @@ export declare class RenewInstanceResponse extends $tea.Model {
|
|
|
236
622
|
[key: string]: any;
|
|
237
623
|
});
|
|
238
624
|
}
|
|
239
|
-
export declare class
|
|
240
|
-
|
|
625
|
+
export declare class GetInstanceResponseBody extends $tea.Model {
|
|
626
|
+
/**
|
|
627
|
+
* @remarks
|
|
628
|
+
* The error code that is returned if the request failed.
|
|
629
|
+
*
|
|
630
|
+
* @example
|
|
631
|
+
* 404
|
|
632
|
+
*/
|
|
241
633
|
errorCode?: string;
|
|
634
|
+
/**
|
|
635
|
+
* @remarks
|
|
636
|
+
* The error message.
|
|
637
|
+
*
|
|
638
|
+
* @example
|
|
639
|
+
* Internal server error.
|
|
640
|
+
*/
|
|
242
641
|
errorMessage?: string;
|
|
642
|
+
/**
|
|
643
|
+
* @remarks
|
|
644
|
+
* The HTTP status code returned.
|
|
645
|
+
*
|
|
646
|
+
* @example
|
|
647
|
+
* 200
|
|
648
|
+
*/
|
|
243
649
|
httpStatusCode?: string;
|
|
650
|
+
/**
|
|
651
|
+
* @remarks
|
|
652
|
+
* The information about the instance.
|
|
653
|
+
*/
|
|
654
|
+
instance?: GetInstanceResponseBodyInstance;
|
|
655
|
+
/**
|
|
656
|
+
* @remarks
|
|
657
|
+
* The request ID.
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* 865A02C2-B374-5DD4-9B34-0CA15DA1AEBD
|
|
661
|
+
*/
|
|
244
662
|
requestId?: string;
|
|
663
|
+
/**
|
|
664
|
+
* @remarks
|
|
665
|
+
* The request result, which indicates whether the request was successful.
|
|
666
|
+
*
|
|
667
|
+
* @example
|
|
668
|
+
* true
|
|
669
|
+
*/
|
|
245
670
|
success?: boolean;
|
|
246
671
|
static names(): {
|
|
247
672
|
[key: string]: string;
|
|
@@ -253,12 +678,12 @@ export declare class RestartInstanceResponseBody extends $tea.Model {
|
|
|
253
678
|
[key: string]: any;
|
|
254
679
|
});
|
|
255
680
|
}
|
|
256
|
-
export declare class
|
|
257
|
-
headers
|
|
681
|
+
export declare class GetInstanceResponse extends $tea.Model {
|
|
682
|
+
headers?: {
|
|
258
683
|
[key: string]: string;
|
|
259
684
|
};
|
|
260
|
-
statusCode
|
|
261
|
-
body
|
|
685
|
+
statusCode?: number;
|
|
686
|
+
body?: GetInstanceResponseBody;
|
|
262
687
|
static names(): {
|
|
263
688
|
[key: string]: string;
|
|
264
689
|
};
|
|
@@ -269,13 +694,20 @@ export declare class RestartInstanceResponse extends $tea.Model {
|
|
|
269
694
|
[key: string]: any;
|
|
270
695
|
});
|
|
271
696
|
}
|
|
272
|
-
export declare class
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
697
|
+
export declare class GetWarehouseDetailResponseBody extends $tea.Model {
|
|
698
|
+
/**
|
|
699
|
+
* @remarks
|
|
700
|
+
* The request ID.
|
|
701
|
+
*
|
|
702
|
+
* @example
|
|
703
|
+
* D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
|
|
704
|
+
*/
|
|
277
705
|
requestId?: string;
|
|
278
|
-
|
|
706
|
+
/**
|
|
707
|
+
* @remarks
|
|
708
|
+
* The values returned.
|
|
709
|
+
*/
|
|
710
|
+
warehouseDetail?: GetWarehouseDetailResponseBodyWarehouseDetail;
|
|
279
711
|
static names(): {
|
|
280
712
|
[key: string]: string;
|
|
281
713
|
};
|
|
@@ -286,12 +718,12 @@ export declare class ResumeInstanceResponseBody extends $tea.Model {
|
|
|
286
718
|
[key: string]: any;
|
|
287
719
|
});
|
|
288
720
|
}
|
|
289
|
-
export declare class
|
|
290
|
-
headers
|
|
721
|
+
export declare class GetWarehouseDetailResponse extends $tea.Model {
|
|
722
|
+
headers?: {
|
|
291
723
|
[key: string]: string;
|
|
292
724
|
};
|
|
293
|
-
statusCode
|
|
294
|
-
body
|
|
725
|
+
statusCode?: number;
|
|
726
|
+
body?: GetWarehouseDetailResponseBody;
|
|
295
727
|
static names(): {
|
|
296
728
|
[key: string]: string;
|
|
297
729
|
};
|
|
@@ -302,12 +734,21 @@ export declare class ResumeInstanceResponse extends $tea.Model {
|
|
|
302
734
|
[key: string]: any;
|
|
303
735
|
});
|
|
304
736
|
}
|
|
305
|
-
export declare class
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
737
|
+
export declare class ListInstancesRequest extends $tea.Model {
|
|
738
|
+
cmsInstanceType?: string;
|
|
739
|
+
/**
|
|
740
|
+
* @remarks
|
|
741
|
+
* The ID of the resource group.
|
|
742
|
+
*
|
|
743
|
+
* @example
|
|
744
|
+
* rg-acfmvscak73zmby
|
|
745
|
+
*/
|
|
746
|
+
resourceGroupId?: string;
|
|
747
|
+
/**
|
|
748
|
+
* @remarks
|
|
749
|
+
* The tags to add to the resource.
|
|
750
|
+
*/
|
|
751
|
+
tag?: ListInstancesRequestTag[];
|
|
311
752
|
static names(): {
|
|
312
753
|
[key: string]: string;
|
|
313
754
|
};
|
|
@@ -318,12 +759,52 @@ export declare class ScaleInstanceRequest extends $tea.Model {
|
|
|
318
759
|
[key: string]: any;
|
|
319
760
|
});
|
|
320
761
|
}
|
|
321
|
-
export declare class
|
|
322
|
-
|
|
762
|
+
export declare class ListInstancesResponseBody extends $tea.Model {
|
|
763
|
+
/**
|
|
764
|
+
* @remarks
|
|
765
|
+
* The error code returned if the request failed.
|
|
766
|
+
*
|
|
767
|
+
* @example
|
|
768
|
+
* 404
|
|
769
|
+
*/
|
|
323
770
|
errorCode?: string;
|
|
771
|
+
/**
|
|
772
|
+
* @remarks
|
|
773
|
+
* The error message returned if the request failed.
|
|
774
|
+
*
|
|
775
|
+
* @example
|
|
776
|
+
* Internal server error.
|
|
777
|
+
*/
|
|
324
778
|
errorMessage?: string;
|
|
779
|
+
/**
|
|
780
|
+
* @remarks
|
|
781
|
+
* The HTTP status code.
|
|
782
|
+
*
|
|
783
|
+
* @example
|
|
784
|
+
* 200
|
|
785
|
+
*/
|
|
325
786
|
httpStatusCode?: string;
|
|
787
|
+
/**
|
|
788
|
+
* @remarks
|
|
789
|
+
* The list of queried instances.
|
|
790
|
+
*/
|
|
791
|
+
instanceList?: ListInstancesResponseBodyInstanceList[];
|
|
792
|
+
/**
|
|
793
|
+
* @remarks
|
|
794
|
+
* The request ID.
|
|
795
|
+
*
|
|
796
|
+
* @example
|
|
797
|
+
* D1303CD4-AA70-5998-8025-F55B22C50840
|
|
798
|
+
*/
|
|
326
799
|
requestId?: string;
|
|
800
|
+
/**
|
|
801
|
+
* @remarks
|
|
802
|
+
* Indicates whether the request was successful.
|
|
803
|
+
*
|
|
804
|
+
* @example
|
|
805
|
+
* true
|
|
806
|
+
*/
|
|
807
|
+
success?: string;
|
|
327
808
|
static names(): {
|
|
328
809
|
[key: string]: string;
|
|
329
810
|
};
|
|
@@ -334,12 +815,12 @@ export declare class ScaleInstanceResponseBody extends $tea.Model {
|
|
|
334
815
|
[key: string]: any;
|
|
335
816
|
});
|
|
336
817
|
}
|
|
337
|
-
export declare class
|
|
338
|
-
headers
|
|
818
|
+
export declare class ListInstancesResponse extends $tea.Model {
|
|
819
|
+
headers?: {
|
|
339
820
|
[key: string]: string;
|
|
340
821
|
};
|
|
341
|
-
statusCode
|
|
342
|
-
body
|
|
822
|
+
statusCode?: number;
|
|
823
|
+
body?: ListInstancesResponseBody;
|
|
343
824
|
static names(): {
|
|
344
825
|
[key: string]: string;
|
|
345
826
|
};
|
|
@@ -350,13 +831,20 @@ export declare class ScaleInstanceResponse extends $tea.Model {
|
|
|
350
831
|
[key: string]: any;
|
|
351
832
|
});
|
|
352
833
|
}
|
|
353
|
-
export declare class
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
834
|
+
export declare class ListWarehousesResponseBody extends $tea.Model {
|
|
835
|
+
/**
|
|
836
|
+
* @remarks
|
|
837
|
+
* The list of virtual warehouse instances.
|
|
838
|
+
*/
|
|
839
|
+
warehouseList?: ListWarehousesResponseBodyWarehouseList[];
|
|
840
|
+
/**
|
|
841
|
+
* @remarks
|
|
842
|
+
* The request ID.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* 819A7F0F-2951-540F-BD94-6A41ECF0281F
|
|
846
|
+
*/
|
|
358
847
|
requestId?: string;
|
|
359
|
-
success?: boolean;
|
|
360
848
|
static names(): {
|
|
361
849
|
[key: string]: string;
|
|
362
850
|
};
|
|
@@ -367,12 +855,12 @@ export declare class StopInstanceResponseBody extends $tea.Model {
|
|
|
367
855
|
[key: string]: any;
|
|
368
856
|
});
|
|
369
857
|
}
|
|
370
|
-
export declare class
|
|
371
|
-
headers
|
|
858
|
+
export declare class ListWarehousesResponse extends $tea.Model {
|
|
859
|
+
headers?: {
|
|
372
860
|
[key: string]: string;
|
|
373
861
|
};
|
|
374
|
-
statusCode
|
|
375
|
-
body
|
|
862
|
+
statusCode?: number;
|
|
863
|
+
body?: ListWarehousesResponseBody;
|
|
376
864
|
static names(): {
|
|
377
865
|
[key: string]: string;
|
|
378
866
|
};
|
|
@@ -383,9 +871,552 @@ export declare class StopInstanceResponse extends $tea.Model {
|
|
|
383
871
|
[key: string]: any;
|
|
384
872
|
});
|
|
385
873
|
}
|
|
386
|
-
export declare class
|
|
387
|
-
|
|
388
|
-
|
|
874
|
+
export declare class RenewInstanceRequest extends $tea.Model {
|
|
875
|
+
/**
|
|
876
|
+
* @remarks
|
|
877
|
+
* Specifies whether to enable monthly auto-renewal. The default value is false. Valid values:
|
|
878
|
+
*
|
|
879
|
+
* * true
|
|
880
|
+
* * false
|
|
881
|
+
*
|
|
882
|
+
* > If you enable auto-renewal for an instance for which auto-renewal is enabled, an error is reported.
|
|
883
|
+
*
|
|
884
|
+
* @example
|
|
885
|
+
* true
|
|
886
|
+
*/
|
|
887
|
+
autoRenew?: boolean;
|
|
888
|
+
/**
|
|
889
|
+
* @remarks
|
|
890
|
+
* The renewal duration. Unit: month.
|
|
891
|
+
*
|
|
892
|
+
* This parameter is required.
|
|
893
|
+
*
|
|
894
|
+
* @example
|
|
895
|
+
* 2
|
|
896
|
+
*/
|
|
897
|
+
duration?: number;
|
|
898
|
+
static names(): {
|
|
899
|
+
[key: string]: string;
|
|
900
|
+
};
|
|
901
|
+
static types(): {
|
|
902
|
+
[key: string]: any;
|
|
903
|
+
};
|
|
904
|
+
constructor(map?: {
|
|
905
|
+
[key: string]: any;
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
export declare class RenewInstanceResponseBody extends $tea.Model {
|
|
909
|
+
/**
|
|
910
|
+
* @remarks
|
|
911
|
+
* The returned data.
|
|
912
|
+
*/
|
|
913
|
+
data?: RenewInstanceResponseBodyData;
|
|
914
|
+
/**
|
|
915
|
+
* @remarks
|
|
916
|
+
* The error code returned.
|
|
917
|
+
*
|
|
918
|
+
* @example
|
|
919
|
+
* null
|
|
920
|
+
*/
|
|
921
|
+
errorCode?: string;
|
|
922
|
+
/**
|
|
923
|
+
* @remarks
|
|
924
|
+
* The error message returned.
|
|
925
|
+
*
|
|
926
|
+
* @example
|
|
927
|
+
* null
|
|
928
|
+
*/
|
|
929
|
+
errorMessage?: string;
|
|
930
|
+
/**
|
|
931
|
+
* @remarks
|
|
932
|
+
* The HTTP status code.
|
|
933
|
+
*
|
|
934
|
+
* @example
|
|
935
|
+
* 200
|
|
936
|
+
*/
|
|
937
|
+
httpStatusCode?: string;
|
|
938
|
+
/**
|
|
939
|
+
* @remarks
|
|
940
|
+
* The ID of the request.
|
|
941
|
+
*
|
|
942
|
+
* @example
|
|
943
|
+
* D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
|
|
944
|
+
*/
|
|
945
|
+
requestId?: string;
|
|
946
|
+
/**
|
|
947
|
+
* @remarks
|
|
948
|
+
* The request result, which indicates whether the request was successful.
|
|
949
|
+
*
|
|
950
|
+
* @example
|
|
951
|
+
* false
|
|
952
|
+
*/
|
|
953
|
+
success?: string;
|
|
954
|
+
static names(): {
|
|
955
|
+
[key: string]: string;
|
|
956
|
+
};
|
|
957
|
+
static types(): {
|
|
958
|
+
[key: string]: any;
|
|
959
|
+
};
|
|
960
|
+
constructor(map?: {
|
|
961
|
+
[key: string]: any;
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
export declare class RenewInstanceResponse extends $tea.Model {
|
|
965
|
+
headers?: {
|
|
966
|
+
[key: string]: string;
|
|
967
|
+
};
|
|
968
|
+
statusCode?: number;
|
|
969
|
+
body?: RenewInstanceResponseBody;
|
|
970
|
+
static names(): {
|
|
971
|
+
[key: string]: string;
|
|
972
|
+
};
|
|
973
|
+
static types(): {
|
|
974
|
+
[key: string]: any;
|
|
975
|
+
};
|
|
976
|
+
constructor(map?: {
|
|
977
|
+
[key: string]: any;
|
|
978
|
+
});
|
|
979
|
+
}
|
|
980
|
+
export declare class RestartInstanceResponseBody extends $tea.Model {
|
|
981
|
+
/**
|
|
982
|
+
* @remarks
|
|
983
|
+
* Indicates whether the operation was successful.
|
|
984
|
+
*
|
|
985
|
+
* Valid values:
|
|
986
|
+
*
|
|
987
|
+
* * true
|
|
988
|
+
*
|
|
989
|
+
* <!-- -->
|
|
990
|
+
*
|
|
991
|
+
* <!-- -->
|
|
992
|
+
*
|
|
993
|
+
* <!-- -->
|
|
994
|
+
*
|
|
995
|
+
* * false
|
|
996
|
+
*
|
|
997
|
+
* <!-- -->
|
|
998
|
+
*
|
|
999
|
+
* <!-- -->
|
|
1000
|
+
*
|
|
1001
|
+
* <!-- -->
|
|
1002
|
+
*
|
|
1003
|
+
* @example
|
|
1004
|
+
* true
|
|
1005
|
+
*/
|
|
1006
|
+
data?: boolean;
|
|
1007
|
+
/**
|
|
1008
|
+
* @remarks
|
|
1009
|
+
* The error code returned if the request failed.
|
|
1010
|
+
*
|
|
1011
|
+
* @example
|
|
1012
|
+
* 404
|
|
1013
|
+
*/
|
|
1014
|
+
errorCode?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* @remarks
|
|
1017
|
+
* The error message returned if the request failed.
|
|
1018
|
+
*
|
|
1019
|
+
* @example
|
|
1020
|
+
* Internal server error.
|
|
1021
|
+
*/
|
|
1022
|
+
errorMessage?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* @remarks
|
|
1025
|
+
* The HTTP status code.
|
|
1026
|
+
*
|
|
1027
|
+
* @example
|
|
1028
|
+
* 200
|
|
1029
|
+
*/
|
|
1030
|
+
httpStatusCode?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* @remarks
|
|
1033
|
+
* The request ID.
|
|
1034
|
+
*
|
|
1035
|
+
* @example
|
|
1036
|
+
* 36291497-CDB0-53DC-8CD7-762E054F57A6
|
|
1037
|
+
*/
|
|
1038
|
+
requestId?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* @remarks
|
|
1041
|
+
* The request result, which indicates whether the request was successful.
|
|
1042
|
+
*
|
|
1043
|
+
* @example
|
|
1044
|
+
* true
|
|
1045
|
+
*/
|
|
1046
|
+
success?: boolean;
|
|
1047
|
+
static names(): {
|
|
1048
|
+
[key: string]: string;
|
|
1049
|
+
};
|
|
1050
|
+
static types(): {
|
|
1051
|
+
[key: string]: any;
|
|
1052
|
+
};
|
|
1053
|
+
constructor(map?: {
|
|
1054
|
+
[key: string]: any;
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
export declare class RestartInstanceResponse extends $tea.Model {
|
|
1058
|
+
headers?: {
|
|
1059
|
+
[key: string]: string;
|
|
1060
|
+
};
|
|
1061
|
+
statusCode?: number;
|
|
1062
|
+
body?: RestartInstanceResponseBody;
|
|
1063
|
+
static names(): {
|
|
1064
|
+
[key: string]: string;
|
|
1065
|
+
};
|
|
1066
|
+
static types(): {
|
|
1067
|
+
[key: string]: any;
|
|
1068
|
+
};
|
|
1069
|
+
constructor(map?: {
|
|
1070
|
+
[key: string]: any;
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
export declare class ResumeInstanceResponseBody extends $tea.Model {
|
|
1074
|
+
/**
|
|
1075
|
+
* @remarks
|
|
1076
|
+
* The returned result, which indicates whether the operation was successful.
|
|
1077
|
+
*
|
|
1078
|
+
* @example
|
|
1079
|
+
* true
|
|
1080
|
+
*/
|
|
1081
|
+
data?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* @remarks
|
|
1084
|
+
* The error code returned if the request failed.
|
|
1085
|
+
*
|
|
1086
|
+
* @example
|
|
1087
|
+
* 404
|
|
1088
|
+
*/
|
|
1089
|
+
errorCode?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* @remarks
|
|
1092
|
+
* The error message returned if the request failed.
|
|
1093
|
+
*
|
|
1094
|
+
* @example
|
|
1095
|
+
* Internal server error.
|
|
1096
|
+
*/
|
|
1097
|
+
errorMessage?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* @remarks
|
|
1100
|
+
* The HTTP status code.
|
|
1101
|
+
*
|
|
1102
|
+
* @example
|
|
1103
|
+
* 200
|
|
1104
|
+
*/
|
|
1105
|
+
httpStatusCode?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* @remarks
|
|
1108
|
+
* The request ID.
|
|
1109
|
+
*
|
|
1110
|
+
* @example
|
|
1111
|
+
* D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
|
|
1112
|
+
*/
|
|
1113
|
+
requestId?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* @remarks
|
|
1116
|
+
* The request result, which indicates whether the request was successful.
|
|
1117
|
+
*
|
|
1118
|
+
* @example
|
|
1119
|
+
* true
|
|
1120
|
+
*/
|
|
1121
|
+
success?: boolean;
|
|
1122
|
+
static names(): {
|
|
1123
|
+
[key: string]: string;
|
|
1124
|
+
};
|
|
1125
|
+
static types(): {
|
|
1126
|
+
[key: string]: any;
|
|
1127
|
+
};
|
|
1128
|
+
constructor(map?: {
|
|
1129
|
+
[key: string]: any;
|
|
1130
|
+
});
|
|
1131
|
+
}
|
|
1132
|
+
export declare class ResumeInstanceResponse extends $tea.Model {
|
|
1133
|
+
headers?: {
|
|
1134
|
+
[key: string]: string;
|
|
1135
|
+
};
|
|
1136
|
+
statusCode?: number;
|
|
1137
|
+
body?: ResumeInstanceResponseBody;
|
|
1138
|
+
static names(): {
|
|
1139
|
+
[key: string]: string;
|
|
1140
|
+
};
|
|
1141
|
+
static types(): {
|
|
1142
|
+
[key: string]: any;
|
|
1143
|
+
};
|
|
1144
|
+
constructor(map?: {
|
|
1145
|
+
[key: string]: any;
|
|
1146
|
+
});
|
|
1147
|
+
}
|
|
1148
|
+
export declare class ScaleInstanceRequest extends $tea.Model {
|
|
1149
|
+
/**
|
|
1150
|
+
* @remarks
|
|
1151
|
+
* The infrequent access (IA) storage space of the instance. Unit: GB.
|
|
1152
|
+
*
|
|
1153
|
+
* > Ignore this parameter for pay-as-you-go instances.
|
|
1154
|
+
*
|
|
1155
|
+
* @example
|
|
1156
|
+
* 1000G
|
|
1157
|
+
*/
|
|
1158
|
+
coldStorageSize?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* @remarks
|
|
1161
|
+
* The specifications of the instance. Valid values:
|
|
1162
|
+
*
|
|
1163
|
+
* * 8-core 32GB (number of compute nodes: 1)
|
|
1164
|
+
* * 16-core 64GB (number of compute nodes: 1)
|
|
1165
|
+
* * 32-core 128GB (number of compute nodes: 2)
|
|
1166
|
+
* * 64-core 256GB (number of compute nodes: 4)
|
|
1167
|
+
* * 96-core 384GB (number of compute nodes: 6)
|
|
1168
|
+
* * 128-core 512GB (number of compute nodes: 8)
|
|
1169
|
+
* * Others
|
|
1170
|
+
*
|
|
1171
|
+
* >
|
|
1172
|
+
*
|
|
1173
|
+
* * Set this parameter to the number of cores.
|
|
1174
|
+
*
|
|
1175
|
+
* * If you want to set this parameter to specifications with more than 1,024 compute units (CUs), you must submit a ticket.
|
|
1176
|
+
*
|
|
1177
|
+
* * This parameter is invalid for Hologres Shared Cluster instances.
|
|
1178
|
+
*
|
|
1179
|
+
* * The specifications of 8-core 32GB (number of compute nodes: 1) are for trial use only and cannot be used for production.
|
|
1180
|
+
*
|
|
1181
|
+
* @example
|
|
1182
|
+
* 128
|
|
1183
|
+
*/
|
|
1184
|
+
cpu?: number;
|
|
1185
|
+
enableServerlessComputing?: boolean;
|
|
1186
|
+
/**
|
|
1187
|
+
* @remarks
|
|
1188
|
+
* The number of gateways. Valid values: 2 to 50.
|
|
1189
|
+
*
|
|
1190
|
+
* > This parameter is required only for virtual warehouse instances.
|
|
1191
|
+
*
|
|
1192
|
+
* @example
|
|
1193
|
+
* 4
|
|
1194
|
+
*/
|
|
1195
|
+
gatewayCount?: number;
|
|
1196
|
+
/**
|
|
1197
|
+
* @remarks
|
|
1198
|
+
* The specification change type. Valid values:
|
|
1199
|
+
*
|
|
1200
|
+
* * UPGRADE
|
|
1201
|
+
* * DOWNGRADE
|
|
1202
|
+
*
|
|
1203
|
+
* >
|
|
1204
|
+
*
|
|
1205
|
+
* * If you set this parameter to UPGRADE, the new specifications must be higher than the original specifications. You must configure at least one of the cpu, storageSize, and coldStorageSize parameters. If you leave a parameter empty, the related configuration remains unchanged.
|
|
1206
|
+
*
|
|
1207
|
+
* * If you set this parameter to DOWNGRADE, the new specifications must be lower than the original specifications. You must configure at least one of the cpu, storageSize, and coldStorageSize parameters. If you leave a parameter empty, the related configuration remains unchanged.
|
|
1208
|
+
*
|
|
1209
|
+
* This parameter is required.
|
|
1210
|
+
*
|
|
1211
|
+
* @example
|
|
1212
|
+
* UPGRADE
|
|
1213
|
+
*/
|
|
1214
|
+
scaleType?: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* @remarks
|
|
1217
|
+
* The standard storage space of the instance. Unit: GB.
|
|
1218
|
+
*
|
|
1219
|
+
* > Ignore this parameter for pay-as-you-go instances.
|
|
1220
|
+
*
|
|
1221
|
+
* @example
|
|
1222
|
+
* 1000G
|
|
1223
|
+
*/
|
|
1224
|
+
storageSize?: number;
|
|
1225
|
+
static names(): {
|
|
1226
|
+
[key: string]: string;
|
|
1227
|
+
};
|
|
1228
|
+
static types(): {
|
|
1229
|
+
[key: string]: any;
|
|
1230
|
+
};
|
|
1231
|
+
constructor(map?: {
|
|
1232
|
+
[key: string]: any;
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
export declare class ScaleInstanceResponseBody extends $tea.Model {
|
|
1236
|
+
/**
|
|
1237
|
+
* @remarks
|
|
1238
|
+
* The returned data.
|
|
1239
|
+
*/
|
|
1240
|
+
data?: ScaleInstanceResponseBodyData;
|
|
1241
|
+
/**
|
|
1242
|
+
* @remarks
|
|
1243
|
+
* The error code returned.
|
|
1244
|
+
*
|
|
1245
|
+
* @example
|
|
1246
|
+
* null
|
|
1247
|
+
*/
|
|
1248
|
+
errorCode?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* @remarks
|
|
1251
|
+
* The error message returned.
|
|
1252
|
+
*
|
|
1253
|
+
* @example
|
|
1254
|
+
* null
|
|
1255
|
+
*/
|
|
1256
|
+
errorMessage?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* @remarks
|
|
1259
|
+
* The HTTP status code.
|
|
1260
|
+
*
|
|
1261
|
+
* @example
|
|
1262
|
+
* 200
|
|
1263
|
+
*/
|
|
1264
|
+
httpStatusCode?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* @remarks
|
|
1267
|
+
* The ID of the request.
|
|
1268
|
+
*
|
|
1269
|
+
* @example
|
|
1270
|
+
* D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
|
|
1271
|
+
*/
|
|
1272
|
+
requestId?: string;
|
|
1273
|
+
static names(): {
|
|
1274
|
+
[key: string]: string;
|
|
1275
|
+
};
|
|
1276
|
+
static types(): {
|
|
1277
|
+
[key: string]: any;
|
|
1278
|
+
};
|
|
1279
|
+
constructor(map?: {
|
|
1280
|
+
[key: string]: any;
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
export declare class ScaleInstanceResponse extends $tea.Model {
|
|
1284
|
+
headers?: {
|
|
1285
|
+
[key: string]: string;
|
|
1286
|
+
};
|
|
1287
|
+
statusCode?: number;
|
|
1288
|
+
body?: ScaleInstanceResponseBody;
|
|
1289
|
+
static names(): {
|
|
1290
|
+
[key: string]: string;
|
|
1291
|
+
};
|
|
1292
|
+
static types(): {
|
|
1293
|
+
[key: string]: any;
|
|
1294
|
+
};
|
|
1295
|
+
constructor(map?: {
|
|
1296
|
+
[key: string]: any;
|
|
1297
|
+
});
|
|
1298
|
+
}
|
|
1299
|
+
export declare class StopInstanceResponseBody extends $tea.Model {
|
|
1300
|
+
/**
|
|
1301
|
+
* @remarks
|
|
1302
|
+
* The returned result, which indicates whether the operation was successful.
|
|
1303
|
+
*
|
|
1304
|
+
* Valid values:
|
|
1305
|
+
*
|
|
1306
|
+
* * true
|
|
1307
|
+
*
|
|
1308
|
+
* <!-- -->
|
|
1309
|
+
*
|
|
1310
|
+
* <!-- -->
|
|
1311
|
+
*
|
|
1312
|
+
* <!-- -->
|
|
1313
|
+
*
|
|
1314
|
+
* * false
|
|
1315
|
+
*
|
|
1316
|
+
* <!-- -->
|
|
1317
|
+
*
|
|
1318
|
+
* <!-- -->
|
|
1319
|
+
*
|
|
1320
|
+
* <!-- -->
|
|
1321
|
+
*
|
|
1322
|
+
* @example
|
|
1323
|
+
* true
|
|
1324
|
+
*/
|
|
1325
|
+
data?: boolean;
|
|
1326
|
+
/**
|
|
1327
|
+
* @remarks
|
|
1328
|
+
* The error code returned if the request failed.
|
|
1329
|
+
*
|
|
1330
|
+
* @example
|
|
1331
|
+
* 404
|
|
1332
|
+
*/
|
|
1333
|
+
errorCode?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* @remarks
|
|
1336
|
+
* The error message returned if the request failed.
|
|
1337
|
+
*
|
|
1338
|
+
* @example
|
|
1339
|
+
* Internal server error.
|
|
1340
|
+
*/
|
|
1341
|
+
errorMessage?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* @remarks
|
|
1344
|
+
* The HTTP status code.
|
|
1345
|
+
*
|
|
1346
|
+
* @example
|
|
1347
|
+
* 200
|
|
1348
|
+
*/
|
|
1349
|
+
httpStatusCode?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* @remarks
|
|
1352
|
+
* The request ID.
|
|
1353
|
+
*
|
|
1354
|
+
* @example
|
|
1355
|
+
* 2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A
|
|
1356
|
+
*/
|
|
1357
|
+
requestId?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* @remarks
|
|
1360
|
+
* The request result, which indicates whether the request was successful.
|
|
1361
|
+
*
|
|
1362
|
+
* Valid values:
|
|
1363
|
+
*
|
|
1364
|
+
* * true
|
|
1365
|
+
*
|
|
1366
|
+
* <!-- -->
|
|
1367
|
+
*
|
|
1368
|
+
* <!-- -->
|
|
1369
|
+
*
|
|
1370
|
+
* <!-- -->
|
|
1371
|
+
*
|
|
1372
|
+
* * false
|
|
1373
|
+
*
|
|
1374
|
+
* <!-- -->
|
|
1375
|
+
*
|
|
1376
|
+
* <!-- -->
|
|
1377
|
+
*
|
|
1378
|
+
* <!-- -->
|
|
1379
|
+
*
|
|
1380
|
+
* @example
|
|
1381
|
+
* true
|
|
1382
|
+
*/
|
|
1383
|
+
success?: boolean;
|
|
1384
|
+
static names(): {
|
|
1385
|
+
[key: string]: string;
|
|
1386
|
+
};
|
|
1387
|
+
static types(): {
|
|
1388
|
+
[key: string]: any;
|
|
1389
|
+
};
|
|
1390
|
+
constructor(map?: {
|
|
1391
|
+
[key: string]: any;
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
export declare class StopInstanceResponse extends $tea.Model {
|
|
1395
|
+
headers?: {
|
|
1396
|
+
[key: string]: string;
|
|
1397
|
+
};
|
|
1398
|
+
statusCode?: number;
|
|
1399
|
+
body?: StopInstanceResponseBody;
|
|
1400
|
+
static names(): {
|
|
1401
|
+
[key: string]: string;
|
|
1402
|
+
};
|
|
1403
|
+
static types(): {
|
|
1404
|
+
[key: string]: any;
|
|
1405
|
+
};
|
|
1406
|
+
constructor(map?: {
|
|
1407
|
+
[key: string]: any;
|
|
1408
|
+
});
|
|
1409
|
+
}
|
|
1410
|
+
export declare class UpdateInstanceNameRequest extends $tea.Model {
|
|
1411
|
+
/**
|
|
1412
|
+
* @remarks
|
|
1413
|
+
* The new name of the instance.
|
|
1414
|
+
*
|
|
1415
|
+
* @example
|
|
1416
|
+
* new_name
|
|
1417
|
+
*/
|
|
1418
|
+
instanceName?: string;
|
|
1419
|
+
static names(): {
|
|
389
1420
|
[key: string]: string;
|
|
390
1421
|
};
|
|
391
1422
|
static types(): {
|
|
@@ -396,11 +1427,89 @@ export declare class UpdateInstanceNameRequest extends $tea.Model {
|
|
|
396
1427
|
});
|
|
397
1428
|
}
|
|
398
1429
|
export declare class UpdateInstanceNameResponseBody extends $tea.Model {
|
|
1430
|
+
/**
|
|
1431
|
+
* @remarks
|
|
1432
|
+
* The returned result, which indicates whether the operation was successful.
|
|
1433
|
+
*
|
|
1434
|
+
* Valid values:
|
|
1435
|
+
*
|
|
1436
|
+
* * true
|
|
1437
|
+
*
|
|
1438
|
+
* <!-- -->
|
|
1439
|
+
*
|
|
1440
|
+
* <!-- -->
|
|
1441
|
+
*
|
|
1442
|
+
* <!-- -->
|
|
1443
|
+
*
|
|
1444
|
+
* * false
|
|
1445
|
+
*
|
|
1446
|
+
* <!-- -->
|
|
1447
|
+
*
|
|
1448
|
+
* <!-- -->
|
|
1449
|
+
*
|
|
1450
|
+
* <!-- -->
|
|
1451
|
+
*
|
|
1452
|
+
* @example
|
|
1453
|
+
* true
|
|
1454
|
+
*/
|
|
399
1455
|
data?: boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* @remarks
|
|
1458
|
+
* The error code returned if the request failed.
|
|
1459
|
+
*
|
|
1460
|
+
* @example
|
|
1461
|
+
* 404
|
|
1462
|
+
*/
|
|
400
1463
|
errorCode?: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* @remarks
|
|
1466
|
+
* The error message returned if the request failed.
|
|
1467
|
+
*
|
|
1468
|
+
* @example
|
|
1469
|
+
* Internal server error.
|
|
1470
|
+
*/
|
|
401
1471
|
errorMessage?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* @remarks
|
|
1474
|
+
* The HTTP status code.
|
|
1475
|
+
*
|
|
1476
|
+
* @example
|
|
1477
|
+
* 200
|
|
1478
|
+
*/
|
|
402
1479
|
httpStatusCode?: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* @remarks
|
|
1482
|
+
* The request ID.
|
|
1483
|
+
*
|
|
1484
|
+
* @example
|
|
1485
|
+
* C6B55032-D41A-5FE0-9C07-8BD81C88422E
|
|
1486
|
+
*/
|
|
403
1487
|
requestId?: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* @remarks
|
|
1490
|
+
* The request result, which indicates whether the request was successful.
|
|
1491
|
+
*
|
|
1492
|
+
* Valid values:
|
|
1493
|
+
*
|
|
1494
|
+
* * true
|
|
1495
|
+
*
|
|
1496
|
+
* <!-- -->
|
|
1497
|
+
*
|
|
1498
|
+
* <!-- -->
|
|
1499
|
+
*
|
|
1500
|
+
* <!-- -->
|
|
1501
|
+
*
|
|
1502
|
+
* * false
|
|
1503
|
+
*
|
|
1504
|
+
* <!-- -->
|
|
1505
|
+
*
|
|
1506
|
+
* <!-- -->
|
|
1507
|
+
*
|
|
1508
|
+
* <!-- -->
|
|
1509
|
+
*
|
|
1510
|
+
* @example
|
|
1511
|
+
* true
|
|
1512
|
+
*/
|
|
404
1513
|
success?: boolean;
|
|
405
1514
|
static names(): {
|
|
406
1515
|
[key: string]: string;
|
|
@@ -413,11 +1522,11 @@ export declare class UpdateInstanceNameResponseBody extends $tea.Model {
|
|
|
413
1522
|
});
|
|
414
1523
|
}
|
|
415
1524
|
export declare class UpdateInstanceNameResponse extends $tea.Model {
|
|
416
|
-
headers
|
|
1525
|
+
headers?: {
|
|
417
1526
|
[key: string]: string;
|
|
418
1527
|
};
|
|
419
|
-
statusCode
|
|
420
|
-
body
|
|
1528
|
+
statusCode?: number;
|
|
1529
|
+
body?: UpdateInstanceNameResponseBody;
|
|
421
1530
|
static names(): {
|
|
422
1531
|
[key: string]: string;
|
|
423
1532
|
};
|
|
@@ -429,11 +1538,71 @@ export declare class UpdateInstanceNameResponse extends $tea.Model {
|
|
|
429
1538
|
});
|
|
430
1539
|
}
|
|
431
1540
|
export declare class UpdateInstanceNetworkTypeRequest extends $tea.Model {
|
|
1541
|
+
/**
|
|
1542
|
+
* @remarks
|
|
1543
|
+
* Specifies whether to change the network type from AnyTunnel to SingleTunnel. This parameter is invalid for new instances. For new instances, this parameter is set to null by default.
|
|
1544
|
+
*
|
|
1545
|
+
* Valid values:
|
|
1546
|
+
*
|
|
1547
|
+
* * others/null
|
|
1548
|
+
*
|
|
1549
|
+
* <!-- -->
|
|
1550
|
+
*
|
|
1551
|
+
* <!-- -->
|
|
1552
|
+
*
|
|
1553
|
+
* <!-- -->
|
|
1554
|
+
*
|
|
1555
|
+
* * true
|
|
1556
|
+
*
|
|
1557
|
+
* <!-- -->
|
|
1558
|
+
*
|
|
1559
|
+
* <!-- -->
|
|
1560
|
+
*
|
|
1561
|
+
* <!-- -->
|
|
1562
|
+
*
|
|
1563
|
+
* @example
|
|
1564
|
+
* true
|
|
1565
|
+
*/
|
|
432
1566
|
anyTunnelToSingleTunnel?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* @remarks
|
|
1569
|
+
* A list of network types that you want to enable. The list of enabled network types is randomly ordered. For example, the Internet, internal network, and VPCSingleTunnel network types are enabled. If you want to disable the Internet type, set this parameter to Intranet,VPCSingleTunnel.
|
|
1570
|
+
*
|
|
1571
|
+
* @example
|
|
1572
|
+
* Internet,VPCSingleTunnel
|
|
1573
|
+
*/
|
|
433
1574
|
networkTypes?: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* @remarks
|
|
1577
|
+
* The vSwitch ID.
|
|
1578
|
+
*
|
|
1579
|
+
* @example
|
|
1580
|
+
* vsw-2vccsiymtqr9aavew0vo3
|
|
1581
|
+
*/
|
|
434
1582
|
vSwitchId?: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* @remarks
|
|
1585
|
+
* The ID of the VPC to which the instance belongs.
|
|
1586
|
+
*
|
|
1587
|
+
* @example
|
|
1588
|
+
* vpc-t4netc3y5etlondfb5ra7
|
|
1589
|
+
*/
|
|
435
1590
|
vpcId?: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* @remarks
|
|
1593
|
+
* The owner ID of the VPC, which is the ID of the Alibaba Cloud account.
|
|
1594
|
+
*
|
|
1595
|
+
* @example
|
|
1596
|
+
* 1999365732646672
|
|
1597
|
+
*/
|
|
436
1598
|
vpcOwnerId?: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* @remarks
|
|
1601
|
+
* The region ID of the VPC.
|
|
1602
|
+
*
|
|
1603
|
+
* @example
|
|
1604
|
+
* cn-hangzhou
|
|
1605
|
+
*/
|
|
437
1606
|
vpcRegionId?: string;
|
|
438
1607
|
static names(): {
|
|
439
1608
|
[key: string]: string;
|
|
@@ -446,11 +1615,89 @@ export declare class UpdateInstanceNetworkTypeRequest extends $tea.Model {
|
|
|
446
1615
|
});
|
|
447
1616
|
}
|
|
448
1617
|
export declare class UpdateInstanceNetworkTypeResponseBody extends $tea.Model {
|
|
1618
|
+
/**
|
|
1619
|
+
* @remarks
|
|
1620
|
+
* The returned result, which indicates whether the operation was successful.
|
|
1621
|
+
*
|
|
1622
|
+
* Valid values:
|
|
1623
|
+
*
|
|
1624
|
+
* * true
|
|
1625
|
+
*
|
|
1626
|
+
* <!-- -->
|
|
1627
|
+
*
|
|
1628
|
+
* <!-- -->
|
|
1629
|
+
*
|
|
1630
|
+
* <!-- -->
|
|
1631
|
+
*
|
|
1632
|
+
* * false
|
|
1633
|
+
*
|
|
1634
|
+
* <!-- -->
|
|
1635
|
+
*
|
|
1636
|
+
* <!-- -->
|
|
1637
|
+
*
|
|
1638
|
+
* <!-- -->
|
|
1639
|
+
*
|
|
1640
|
+
* @example
|
|
1641
|
+
* true
|
|
1642
|
+
*/
|
|
449
1643
|
data?: string;
|
|
1644
|
+
/**
|
|
1645
|
+
* @remarks
|
|
1646
|
+
* The error code returned if the request failed.
|
|
1647
|
+
*
|
|
1648
|
+
* @example
|
|
1649
|
+
* 404
|
|
1650
|
+
*/
|
|
450
1651
|
errorCode?: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* @remarks
|
|
1654
|
+
* The error message returned if the request failed.
|
|
1655
|
+
*
|
|
1656
|
+
* @example
|
|
1657
|
+
* Internal server error.
|
|
1658
|
+
*/
|
|
451
1659
|
errorMessage?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* @remarks
|
|
1662
|
+
* The HTTP status code.
|
|
1663
|
+
*
|
|
1664
|
+
* @example
|
|
1665
|
+
* 200
|
|
1666
|
+
*/
|
|
452
1667
|
httpStatusCode?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* @remarks
|
|
1670
|
+
* The request ID.
|
|
1671
|
+
*
|
|
1672
|
+
* @example
|
|
1673
|
+
* 9CC37B9F-F4B4-5FF1-939B-AEE78DC70130
|
|
1674
|
+
*/
|
|
453
1675
|
requestId?: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* @remarks
|
|
1678
|
+
* Indicates whether the request was successful.
|
|
1679
|
+
*
|
|
1680
|
+
* Valid values:
|
|
1681
|
+
*
|
|
1682
|
+
* * true
|
|
1683
|
+
*
|
|
1684
|
+
* <!-- -->
|
|
1685
|
+
*
|
|
1686
|
+
* <!-- -->
|
|
1687
|
+
*
|
|
1688
|
+
* <!-- -->
|
|
1689
|
+
*
|
|
1690
|
+
* * false
|
|
1691
|
+
*
|
|
1692
|
+
* <!-- -->
|
|
1693
|
+
*
|
|
1694
|
+
* <!-- -->
|
|
1695
|
+
*
|
|
1696
|
+
* <!-- -->
|
|
1697
|
+
*
|
|
1698
|
+
* @example
|
|
1699
|
+
* true
|
|
1700
|
+
*/
|
|
454
1701
|
success?: boolean;
|
|
455
1702
|
static names(): {
|
|
456
1703
|
[key: string]: string;
|
|
@@ -463,11 +1710,11 @@ export declare class UpdateInstanceNetworkTypeResponseBody extends $tea.Model {
|
|
|
463
1710
|
});
|
|
464
1711
|
}
|
|
465
1712
|
export declare class UpdateInstanceNetworkTypeResponse extends $tea.Model {
|
|
466
|
-
headers
|
|
1713
|
+
headers?: {
|
|
467
1714
|
[key: string]: string;
|
|
468
1715
|
};
|
|
469
|
-
statusCode
|
|
470
|
-
body
|
|
1716
|
+
statusCode?: number;
|
|
1717
|
+
body?: UpdateInstanceNetworkTypeResponseBody;
|
|
471
1718
|
static names(): {
|
|
472
1719
|
[key: string]: string;
|
|
473
1720
|
};
|
|
@@ -479,10 +1726,45 @@ export declare class UpdateInstanceNetworkTypeResponse extends $tea.Model {
|
|
|
479
1726
|
});
|
|
480
1727
|
}
|
|
481
1728
|
export declare class CreateInstanceResponseBodyData extends $tea.Model {
|
|
1729
|
+
/**
|
|
1730
|
+
* @remarks
|
|
1731
|
+
* The error code returned.
|
|
1732
|
+
*
|
|
1733
|
+
* @example
|
|
1734
|
+
* InvalidVpcOrVSwitch.NotAvailable
|
|
1735
|
+
*/
|
|
482
1736
|
code?: string;
|
|
1737
|
+
/**
|
|
1738
|
+
* @remarks
|
|
1739
|
+
* The instance ID.
|
|
1740
|
+
*
|
|
1741
|
+
* @example
|
|
1742
|
+
* hgpostcn-cn-xxxxxx
|
|
1743
|
+
*/
|
|
483
1744
|
instanceId?: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* @remarks
|
|
1747
|
+
* The error details.
|
|
1748
|
+
*/
|
|
484
1749
|
message?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* @remarks
|
|
1752
|
+
* The order ID.
|
|
1753
|
+
*
|
|
1754
|
+
* @example
|
|
1755
|
+
* 217523224780172
|
|
1756
|
+
*/
|
|
485
1757
|
orderId?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* @remarks
|
|
1760
|
+
* Indicates whether the instance was created.
|
|
1761
|
+
*
|
|
1762
|
+
* * true
|
|
1763
|
+
* * false
|
|
1764
|
+
*
|
|
1765
|
+
* @example
|
|
1766
|
+
* true
|
|
1767
|
+
*/
|
|
486
1768
|
success?: string;
|
|
487
1769
|
static names(): {
|
|
488
1770
|
[key: string]: string;
|
|
@@ -495,12 +1777,135 @@ export declare class CreateInstanceResponseBodyData extends $tea.Model {
|
|
|
495
1777
|
});
|
|
496
1778
|
}
|
|
497
1779
|
export declare class GetInstanceResponseBodyInstanceEndpoints extends $tea.Model {
|
|
1780
|
+
/**
|
|
1781
|
+
* @remarks
|
|
1782
|
+
* The endpoint. This parameter is returned if both the AnyTunnel and SingleTunnel modes are enabled for an instance, and the instance is switched from the AnyTunnel mode to the SingleTunnel mode. In this case, two endpoints are returned.
|
|
1783
|
+
*
|
|
1784
|
+
* @example
|
|
1785
|
+
* hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80
|
|
1786
|
+
*/
|
|
498
1787
|
alternativeEndpoints?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* @remarks
|
|
1790
|
+
* Indicates whether the network is enabled.
|
|
1791
|
+
*
|
|
1792
|
+
* Valid values:
|
|
1793
|
+
*
|
|
1794
|
+
* * true
|
|
1795
|
+
*
|
|
1796
|
+
* <!-- -->
|
|
1797
|
+
*
|
|
1798
|
+
* <!-- -->
|
|
1799
|
+
*
|
|
1800
|
+
* <!-- -->
|
|
1801
|
+
*
|
|
1802
|
+
* * false
|
|
1803
|
+
*
|
|
1804
|
+
* <!-- -->
|
|
1805
|
+
*
|
|
1806
|
+
* <!-- -->
|
|
1807
|
+
*
|
|
1808
|
+
* <!-- -->
|
|
1809
|
+
*
|
|
1810
|
+
* @example
|
|
1811
|
+
* true
|
|
1812
|
+
*/
|
|
499
1813
|
enabled?: boolean;
|
|
1814
|
+
/**
|
|
1815
|
+
* @remarks
|
|
1816
|
+
* The endpoint.
|
|
1817
|
+
*
|
|
1818
|
+
* @example
|
|
1819
|
+
* hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80
|
|
1820
|
+
*/
|
|
500
1821
|
endpoint?: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* @remarks
|
|
1824
|
+
* The network type.
|
|
1825
|
+
*
|
|
1826
|
+
* Valid values:
|
|
1827
|
+
*
|
|
1828
|
+
* * VPCSingleTunnel
|
|
1829
|
+
*
|
|
1830
|
+
* <!-- -->
|
|
1831
|
+
*
|
|
1832
|
+
* :
|
|
1833
|
+
*
|
|
1834
|
+
* <!-- -->
|
|
1835
|
+
*
|
|
1836
|
+
* virtual private cloud (VPC)
|
|
1837
|
+
*
|
|
1838
|
+
* <!-- -->
|
|
1839
|
+
*
|
|
1840
|
+
* .
|
|
1841
|
+
*
|
|
1842
|
+
* * Intranet
|
|
1843
|
+
*
|
|
1844
|
+
* <!-- -->
|
|
1845
|
+
*
|
|
1846
|
+
* :
|
|
1847
|
+
*
|
|
1848
|
+
* <!-- -->
|
|
1849
|
+
*
|
|
1850
|
+
* internal network
|
|
1851
|
+
*
|
|
1852
|
+
* <!-- -->
|
|
1853
|
+
*
|
|
1854
|
+
* .
|
|
1855
|
+
*
|
|
1856
|
+
* * VPCAnyTunnel
|
|
1857
|
+
*
|
|
1858
|
+
* <!-- -->
|
|
1859
|
+
*
|
|
1860
|
+
* :
|
|
1861
|
+
*
|
|
1862
|
+
* <!-- -->
|
|
1863
|
+
*
|
|
1864
|
+
* not supported by new instances
|
|
1865
|
+
*
|
|
1866
|
+
* <!-- -->
|
|
1867
|
+
*
|
|
1868
|
+
* * Internet
|
|
1869
|
+
*
|
|
1870
|
+
* <!-- -->
|
|
1871
|
+
*
|
|
1872
|
+
* :
|
|
1873
|
+
*
|
|
1874
|
+
* <!-- -->
|
|
1875
|
+
*
|
|
1876
|
+
* Internet
|
|
1877
|
+
*
|
|
1878
|
+
* <!-- -->
|
|
1879
|
+
*
|
|
1880
|
+
* .
|
|
1881
|
+
*
|
|
1882
|
+
* @example
|
|
1883
|
+
* Internet
|
|
1884
|
+
*/
|
|
501
1885
|
type?: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* @remarks
|
|
1888
|
+
* The ID of the vSwitch.
|
|
1889
|
+
*
|
|
1890
|
+
* @example
|
|
1891
|
+
* vsw-bp1jqwp2ys6kp7tc9t983
|
|
1892
|
+
*/
|
|
502
1893
|
vSwitchId?: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* @remarks
|
|
1896
|
+
* The ID of the VPC to which the instance belongs.
|
|
1897
|
+
*
|
|
1898
|
+
* @example
|
|
1899
|
+
* vpc-uf66jjber3hgvwhki3wna
|
|
1900
|
+
*/
|
|
503
1901
|
vpcId?: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* @remarks
|
|
1904
|
+
* The ID of the instance that is deployed in the VPC.
|
|
1905
|
+
*
|
|
1906
|
+
* @example
|
|
1907
|
+
* hgprecn-cn-uqm362o1b001-frontend-st
|
|
1908
|
+
*/
|
|
504
1909
|
vpcInstanceId?: string;
|
|
505
1910
|
static names(): {
|
|
506
1911
|
[key: string]: string;
|
|
@@ -513,7 +1918,21 @@ export declare class GetInstanceResponseBodyInstanceEndpoints extends $tea.Model
|
|
|
513
1918
|
});
|
|
514
1919
|
}
|
|
515
1920
|
export declare class GetInstanceResponseBodyInstanceTags extends $tea.Model {
|
|
1921
|
+
/**
|
|
1922
|
+
* @remarks
|
|
1923
|
+
* The key of tag N.
|
|
1924
|
+
*
|
|
1925
|
+
* @example
|
|
1926
|
+
* tag
|
|
1927
|
+
*/
|
|
516
1928
|
key?: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* @remarks
|
|
1931
|
+
* The value of tag N.
|
|
1932
|
+
*
|
|
1933
|
+
* @example
|
|
1934
|
+
* value
|
|
1935
|
+
*/
|
|
517
1936
|
value?: string;
|
|
518
1937
|
static names(): {
|
|
519
1938
|
[key: string]: string;
|
|
@@ -526,33 +1945,483 @@ export declare class GetInstanceResponseBodyInstanceTags extends $tea.Model {
|
|
|
526
1945
|
});
|
|
527
1946
|
}
|
|
528
1947
|
export declare class GetInstanceResponseBodyInstance extends $tea.Model {
|
|
1948
|
+
/**
|
|
1949
|
+
* @remarks
|
|
1950
|
+
* Indicates whether auto-renewal is enabled.
|
|
1951
|
+
*
|
|
1952
|
+
* Valid values:
|
|
1953
|
+
*
|
|
1954
|
+
* * true
|
|
1955
|
+
*
|
|
1956
|
+
* <!-- -->
|
|
1957
|
+
*
|
|
1958
|
+
* <!-- -->
|
|
1959
|
+
*
|
|
1960
|
+
* <!-- -->
|
|
1961
|
+
*
|
|
1962
|
+
* * false
|
|
1963
|
+
*
|
|
1964
|
+
* <!-- -->
|
|
1965
|
+
*
|
|
1966
|
+
* <!-- -->
|
|
1967
|
+
*
|
|
1968
|
+
* <!-- -->
|
|
1969
|
+
*
|
|
1970
|
+
* @example
|
|
1971
|
+
* true
|
|
1972
|
+
*/
|
|
529
1973
|
autoRenewal?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* @remarks
|
|
1976
|
+
* The cold storage capacity of the instance. Unit: GB. Standard SSD is used for hot storage, and HDD is used for cold storage.
|
|
1977
|
+
*
|
|
1978
|
+
* @example
|
|
1979
|
+
* 800
|
|
1980
|
+
*/
|
|
530
1981
|
coldStorage?: number;
|
|
1982
|
+
/**
|
|
1983
|
+
* @remarks
|
|
1984
|
+
* The commodity code.
|
|
1985
|
+
*
|
|
1986
|
+
* Valid values:
|
|
1987
|
+
*
|
|
1988
|
+
* * hologram_maxcomputeAccelerate_public_cn
|
|
1989
|
+
*
|
|
1990
|
+
* <!-- -->
|
|
1991
|
+
*
|
|
1992
|
+
* :
|
|
1993
|
+
*
|
|
1994
|
+
* <!-- -->
|
|
1995
|
+
*
|
|
1996
|
+
* China site/Lakehouse Acceleration Edition
|
|
1997
|
+
*
|
|
1998
|
+
* <!-- -->
|
|
1999
|
+
*
|
|
2000
|
+
* .
|
|
2001
|
+
*
|
|
2002
|
+
* * hologram_combo_public_cn
|
|
2003
|
+
*
|
|
2004
|
+
* <!-- -->
|
|
2005
|
+
*
|
|
2006
|
+
* :
|
|
2007
|
+
*
|
|
2008
|
+
* <!-- -->
|
|
2009
|
+
*
|
|
2010
|
+
* China site/Subscription
|
|
2011
|
+
*
|
|
2012
|
+
* <!-- -->
|
|
2013
|
+
*
|
|
2014
|
+
* .
|
|
2015
|
+
*
|
|
2016
|
+
* * hologram_prepay_public_intl
|
|
2017
|
+
*
|
|
2018
|
+
* <!-- -->
|
|
2019
|
+
*
|
|
2020
|
+
* :
|
|
2021
|
+
*
|
|
2022
|
+
* <!-- -->
|
|
2023
|
+
*
|
|
2024
|
+
* International site/Subscription
|
|
2025
|
+
*
|
|
2026
|
+
* <!-- -->
|
|
2027
|
+
*
|
|
2028
|
+
* .
|
|
2029
|
+
*
|
|
2030
|
+
* * hologram_storage_dp_cn
|
|
2031
|
+
*
|
|
2032
|
+
* <!-- -->
|
|
2033
|
+
*
|
|
2034
|
+
* :
|
|
2035
|
+
*
|
|
2036
|
+
* <!-- -->
|
|
2037
|
+
*
|
|
2038
|
+
* China site/Storage plan
|
|
2039
|
+
*
|
|
2040
|
+
* <!-- -->
|
|
2041
|
+
*
|
|
2042
|
+
* .
|
|
2043
|
+
*
|
|
2044
|
+
* * hologram_postpay_public_cn
|
|
2045
|
+
*
|
|
2046
|
+
* <!-- -->
|
|
2047
|
+
*
|
|
2048
|
+
* :
|
|
2049
|
+
*
|
|
2050
|
+
* <!-- -->
|
|
2051
|
+
*
|
|
2052
|
+
* China site/Pay-as-you-go
|
|
2053
|
+
*
|
|
2054
|
+
* <!-- -->
|
|
2055
|
+
*
|
|
2056
|
+
* .
|
|
2057
|
+
*
|
|
2058
|
+
* * hologram_postpay_public_intl
|
|
2059
|
+
*
|
|
2060
|
+
* <!-- -->
|
|
2061
|
+
*
|
|
2062
|
+
* :
|
|
2063
|
+
*
|
|
2064
|
+
* <!-- -->
|
|
2065
|
+
*
|
|
2066
|
+
* International site/Pay-as-you-go
|
|
2067
|
+
*
|
|
2068
|
+
* <!-- -->
|
|
2069
|
+
*
|
|
2070
|
+
* * hologram_maxcomputeAccelerate_public_intl
|
|
2071
|
+
*
|
|
2072
|
+
* <!-- -->
|
|
2073
|
+
*
|
|
2074
|
+
* :
|
|
2075
|
+
*
|
|
2076
|
+
* <!-- -->
|
|
2077
|
+
*
|
|
2078
|
+
* International site/Lakehouse Acceleration Edition
|
|
2079
|
+
*
|
|
2080
|
+
* <!-- -->
|
|
2081
|
+
*
|
|
2082
|
+
* .
|
|
2083
|
+
*
|
|
2084
|
+
* * hologram_cu_dp_cn
|
|
2085
|
+
*
|
|
2086
|
+
* <!-- -->
|
|
2087
|
+
*
|
|
2088
|
+
* :
|
|
2089
|
+
*
|
|
2090
|
+
* <!-- -->
|
|
2091
|
+
*
|
|
2092
|
+
* China site/Compute plan
|
|
2093
|
+
*
|
|
2094
|
+
* <!-- -->
|
|
2095
|
+
*
|
|
2096
|
+
* @example
|
|
2097
|
+
* hologram_combo_public_cn
|
|
2098
|
+
*/
|
|
531
2099
|
commodityCode?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* @remarks
|
|
2102
|
+
* The number of compute nodes. In a typical configuration, a node has 16 CPU cores and 32 GB of memory.
|
|
2103
|
+
*
|
|
2104
|
+
* @example
|
|
2105
|
+
* 2
|
|
2106
|
+
*/
|
|
532
2107
|
computeNodeCount?: number;
|
|
2108
|
+
/**
|
|
2109
|
+
* @remarks
|
|
2110
|
+
* The number of CPU cores.
|
|
2111
|
+
*
|
|
2112
|
+
* @example
|
|
2113
|
+
* 32
|
|
2114
|
+
*/
|
|
533
2115
|
cpu?: number;
|
|
2116
|
+
/**
|
|
2117
|
+
* @remarks
|
|
2118
|
+
* The time when the instance was created.
|
|
2119
|
+
*
|
|
2120
|
+
* @example
|
|
2121
|
+
* 2021-02-03T13:06:06Z
|
|
2122
|
+
*/
|
|
534
2123
|
creationTime?: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* @remarks
|
|
2126
|
+
* The amount of data that can be stored in the disk of the Standard storage class. Unit: GB.
|
|
2127
|
+
*
|
|
2128
|
+
* @example
|
|
2129
|
+
* 500
|
|
2130
|
+
*/
|
|
535
2131
|
disk?: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* @remarks
|
|
2134
|
+
* Indicates whether data lake acceleration is enabled.
|
|
2135
|
+
*
|
|
2136
|
+
* @example
|
|
2137
|
+
* true
|
|
2138
|
+
*/
|
|
536
2139
|
enableHiveAccess?: string;
|
|
2140
|
+
enableServerless?: boolean;
|
|
2141
|
+
/**
|
|
2142
|
+
* @remarks
|
|
2143
|
+
* The list of endpoints.
|
|
2144
|
+
*/
|
|
537
2145
|
endpoints?: GetInstanceResponseBodyInstanceEndpoints[];
|
|
2146
|
+
/**
|
|
2147
|
+
* @remarks
|
|
2148
|
+
* The expiration time. This parameter is invalid for pay-as-you-go instances.
|
|
2149
|
+
*
|
|
2150
|
+
* @example
|
|
2151
|
+
* 2021-02-03T13:06:06Z
|
|
2152
|
+
*/
|
|
538
2153
|
expirationTime?: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* @remarks
|
|
2156
|
+
* The number of gateway nodes.
|
|
2157
|
+
*
|
|
2158
|
+
* @example
|
|
2159
|
+
* 2
|
|
2160
|
+
*/
|
|
539
2161
|
gatewayCount?: number;
|
|
2162
|
+
/**
|
|
2163
|
+
* @remarks
|
|
2164
|
+
* The number of CPU cores of the gateway. Unit: core.
|
|
2165
|
+
*
|
|
2166
|
+
* @example
|
|
2167
|
+
* 4
|
|
2168
|
+
*/
|
|
540
2169
|
gatewayCpu?: number;
|
|
2170
|
+
/**
|
|
2171
|
+
* @remarks
|
|
2172
|
+
* The size of memory resources of the gateway. Unit: GB.
|
|
2173
|
+
*
|
|
2174
|
+
* @example
|
|
2175
|
+
* 16
|
|
2176
|
+
*/
|
|
541
2177
|
gatewayMemory?: number;
|
|
2178
|
+
/**
|
|
2179
|
+
* @remarks
|
|
2180
|
+
* The billing method of the instance.
|
|
2181
|
+
*
|
|
2182
|
+
* Valid values:
|
|
2183
|
+
*
|
|
2184
|
+
* * PostPaid
|
|
2185
|
+
*
|
|
2186
|
+
* <!-- -->
|
|
2187
|
+
*
|
|
2188
|
+
* :
|
|
2189
|
+
*
|
|
2190
|
+
* <!-- -->
|
|
2191
|
+
*
|
|
2192
|
+
* pay-as-you-go
|
|
2193
|
+
*
|
|
2194
|
+
* <!-- -->
|
|
2195
|
+
*
|
|
2196
|
+
* .
|
|
2197
|
+
*
|
|
2198
|
+
* * PrePaid
|
|
2199
|
+
*
|
|
2200
|
+
* <!-- -->
|
|
2201
|
+
*
|
|
2202
|
+
* :
|
|
2203
|
+
*
|
|
2204
|
+
* <!-- -->
|
|
2205
|
+
*
|
|
2206
|
+
* subscription
|
|
2207
|
+
*
|
|
2208
|
+
* <!-- -->
|
|
2209
|
+
*
|
|
2210
|
+
* .
|
|
2211
|
+
*
|
|
2212
|
+
* @example
|
|
2213
|
+
* PrePaid
|
|
2214
|
+
*/
|
|
542
2215
|
instanceChargeType?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* @remarks
|
|
2218
|
+
* The instance ID.
|
|
2219
|
+
*
|
|
2220
|
+
* @example
|
|
2221
|
+
* hgpostcn-cn-tl32s6cgw00b
|
|
2222
|
+
*/
|
|
543
2223
|
instanceId?: string;
|
|
2224
|
+
/**
|
|
2225
|
+
* @remarks
|
|
2226
|
+
* The instance name. The instance name must be 2 to 64 characters in length.
|
|
2227
|
+
*
|
|
2228
|
+
* @example
|
|
2229
|
+
* test
|
|
2230
|
+
*/
|
|
544
2231
|
instanceName?: string;
|
|
2232
|
+
/**
|
|
2233
|
+
* @remarks
|
|
2234
|
+
* The owner of the instance.
|
|
2235
|
+
*
|
|
2236
|
+
* @example
|
|
2237
|
+
* 12345678900000
|
|
2238
|
+
*/
|
|
545
2239
|
instanceOwner?: string;
|
|
2240
|
+
/**
|
|
2241
|
+
* @remarks
|
|
2242
|
+
* The status of the instance.
|
|
2243
|
+
*
|
|
2244
|
+
* Valid values:
|
|
2245
|
+
*
|
|
2246
|
+
* * Creating
|
|
2247
|
+
*
|
|
2248
|
+
* <!-- -->
|
|
2249
|
+
*
|
|
2250
|
+
* <!-- -->
|
|
2251
|
+
*
|
|
2252
|
+
* <!-- -->
|
|
2253
|
+
*
|
|
2254
|
+
* * Running
|
|
2255
|
+
*
|
|
2256
|
+
* <!-- -->
|
|
2257
|
+
*
|
|
2258
|
+
* <!-- -->
|
|
2259
|
+
*
|
|
2260
|
+
* <!-- -->
|
|
2261
|
+
*
|
|
2262
|
+
* * Suspended
|
|
2263
|
+
*
|
|
2264
|
+
* <!-- -->
|
|
2265
|
+
*
|
|
2266
|
+
* <!-- -->
|
|
2267
|
+
*
|
|
2268
|
+
* <!-- -->
|
|
2269
|
+
*
|
|
2270
|
+
* * Allocating
|
|
2271
|
+
*
|
|
2272
|
+
* <!-- -->
|
|
2273
|
+
*
|
|
2274
|
+
* <!-- -->
|
|
2275
|
+
*
|
|
2276
|
+
* <!-- -->
|
|
2277
|
+
*
|
|
2278
|
+
* @example
|
|
2279
|
+
* Running
|
|
2280
|
+
*/
|
|
546
2281
|
instanceStatus?: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* @remarks
|
|
2284
|
+
* The type of the instance.
|
|
2285
|
+
*
|
|
2286
|
+
* Valid values:
|
|
2287
|
+
*
|
|
2288
|
+
* * Follower
|
|
2289
|
+
*
|
|
2290
|
+
* <!-- -->
|
|
2291
|
+
*
|
|
2292
|
+
* :
|
|
2293
|
+
*
|
|
2294
|
+
* <!-- -->
|
|
2295
|
+
*
|
|
2296
|
+
* read-only secondary instance
|
|
2297
|
+
*
|
|
2298
|
+
* <!-- -->
|
|
2299
|
+
*
|
|
2300
|
+
* .
|
|
2301
|
+
*
|
|
2302
|
+
* * Standard
|
|
2303
|
+
*
|
|
2304
|
+
* <!-- -->
|
|
2305
|
+
*
|
|
2306
|
+
* :
|
|
2307
|
+
*
|
|
2308
|
+
* <!-- -->
|
|
2309
|
+
*
|
|
2310
|
+
* normal instance
|
|
2311
|
+
*
|
|
2312
|
+
* <!-- -->
|
|
2313
|
+
*
|
|
2314
|
+
* .
|
|
2315
|
+
*
|
|
2316
|
+
* @example
|
|
2317
|
+
* Standard
|
|
2318
|
+
*/
|
|
547
2319
|
instanceType?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* @remarks
|
|
2322
|
+
* The ID of the primary instance.
|
|
2323
|
+
*
|
|
2324
|
+
* @example
|
|
2325
|
+
* hgpostcn-cn-i7m2ncd6w002
|
|
2326
|
+
*/
|
|
548
2327
|
leaderInstanceId?: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* @remarks
|
|
2330
|
+
* The memory size. Unit: GB.
|
|
2331
|
+
*
|
|
2332
|
+
* @example
|
|
2333
|
+
* 128
|
|
2334
|
+
*/
|
|
549
2335
|
memory?: number;
|
|
2336
|
+
/**
|
|
2337
|
+
* @remarks
|
|
2338
|
+
* The ID of the region in which the instance resides.
|
|
2339
|
+
*
|
|
2340
|
+
* @example
|
|
2341
|
+
* cn-hangzhou
|
|
2342
|
+
*/
|
|
550
2343
|
regionId?: string;
|
|
551
2344
|
replicaRole?: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* @remarks
|
|
2347
|
+
* The ID of the resource group.
|
|
2348
|
+
*
|
|
2349
|
+
* @example
|
|
2350
|
+
* rg-aekzuq7hpybze2i
|
|
2351
|
+
*/
|
|
552
2352
|
resourceGroupId?: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* @remarks
|
|
2355
|
+
* The reason for the suspension.
|
|
2356
|
+
*
|
|
2357
|
+
* Valid values:
|
|
2358
|
+
*
|
|
2359
|
+
* * Indebet
|
|
2360
|
+
*
|
|
2361
|
+
* <!-- -->
|
|
2362
|
+
*
|
|
2363
|
+
* :
|
|
2364
|
+
*
|
|
2365
|
+
* <!-- -->
|
|
2366
|
+
*
|
|
2367
|
+
* The instance has an overdue payment
|
|
2368
|
+
*
|
|
2369
|
+
* <!-- -->
|
|
2370
|
+
*
|
|
2371
|
+
* .
|
|
2372
|
+
*
|
|
2373
|
+
* * Manual
|
|
2374
|
+
*
|
|
2375
|
+
* <!-- -->
|
|
2376
|
+
*
|
|
2377
|
+
* :
|
|
2378
|
+
*
|
|
2379
|
+
* <!-- -->
|
|
2380
|
+
*
|
|
2381
|
+
* The instance is manually suspended
|
|
2382
|
+
*
|
|
2383
|
+
* <!-- -->
|
|
2384
|
+
*
|
|
2385
|
+
* .
|
|
2386
|
+
*
|
|
2387
|
+
* * Overdue
|
|
2388
|
+
*
|
|
2389
|
+
* <!-- -->
|
|
2390
|
+
*
|
|
2391
|
+
* :
|
|
2392
|
+
*
|
|
2393
|
+
* <!-- -->
|
|
2394
|
+
*
|
|
2395
|
+
* The instance has expired
|
|
2396
|
+
*
|
|
2397
|
+
* <!-- -->
|
|
2398
|
+
*
|
|
2399
|
+
* .
|
|
2400
|
+
*
|
|
2401
|
+
* @example
|
|
2402
|
+
* Manual
|
|
2403
|
+
*/
|
|
553
2404
|
suspendReason?: string;
|
|
2405
|
+
/**
|
|
2406
|
+
* @remarks
|
|
2407
|
+
* The instance tag.
|
|
2408
|
+
*/
|
|
554
2409
|
tags?: GetInstanceResponseBodyInstanceTags[];
|
|
2410
|
+
/**
|
|
2411
|
+
* @remarks
|
|
2412
|
+
* The instance version.
|
|
2413
|
+
*
|
|
2414
|
+
* @example
|
|
2415
|
+
* r1.3.37
|
|
2416
|
+
*/
|
|
555
2417
|
version?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* @remarks
|
|
2420
|
+
* The ID of the zone where the instance resides.
|
|
2421
|
+
*
|
|
2422
|
+
* @example
|
|
2423
|
+
* cn-hangzhou-h
|
|
2424
|
+
*/
|
|
556
2425
|
zoneId?: string;
|
|
557
2426
|
static names(): {
|
|
558
2427
|
[key: string]: string;
|
|
@@ -564,8 +2433,159 @@ export declare class GetInstanceResponseBodyInstance extends $tea.Model {
|
|
|
564
2433
|
[key: string]: any;
|
|
565
2434
|
});
|
|
566
2435
|
}
|
|
2436
|
+
export declare class GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList extends $tea.Model {
|
|
2437
|
+
/**
|
|
2438
|
+
* @remarks
|
|
2439
|
+
* The number of CPU cores.
|
|
2440
|
+
*
|
|
2441
|
+
* @example
|
|
2442
|
+
* 32
|
|
2443
|
+
*/
|
|
2444
|
+
cpu?: number;
|
|
2445
|
+
defaultWarehouse?: boolean;
|
|
2446
|
+
elasticCpu?: number;
|
|
2447
|
+
/**
|
|
2448
|
+
* @remarks
|
|
2449
|
+
* The ID.
|
|
2450
|
+
*
|
|
2451
|
+
* @example
|
|
2452
|
+
* 2
|
|
2453
|
+
*/
|
|
2454
|
+
id?: number;
|
|
2455
|
+
/**
|
|
2456
|
+
* @remarks
|
|
2457
|
+
* The memory capacity.
|
|
2458
|
+
*
|
|
2459
|
+
* @example
|
|
2460
|
+
* 128
|
|
2461
|
+
*/
|
|
2462
|
+
mem?: number;
|
|
2463
|
+
/**
|
|
2464
|
+
* @remarks
|
|
2465
|
+
* The name of the virtual warehouse instance.
|
|
2466
|
+
*
|
|
2467
|
+
* @example
|
|
2468
|
+
* MyWarehouse
|
|
2469
|
+
*/
|
|
2470
|
+
name?: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* @remarks
|
|
2473
|
+
* The number of compute nodes.
|
|
2474
|
+
*
|
|
2475
|
+
* @example
|
|
2476
|
+
* 2
|
|
2477
|
+
*/
|
|
2478
|
+
nodeCount?: number;
|
|
2479
|
+
rebalanceStatus?: string;
|
|
2480
|
+
/**
|
|
2481
|
+
* @remarks
|
|
2482
|
+
* The status.
|
|
2483
|
+
*
|
|
2484
|
+
* Valid values:
|
|
2485
|
+
*
|
|
2486
|
+
* * kRunning
|
|
2487
|
+
*
|
|
2488
|
+
* <!-- -->
|
|
2489
|
+
*
|
|
2490
|
+
* <!-- -->
|
|
2491
|
+
*
|
|
2492
|
+
* <!-- -->
|
|
2493
|
+
*
|
|
2494
|
+
* * kSuspended
|
|
2495
|
+
*
|
|
2496
|
+
* <!-- -->
|
|
2497
|
+
*
|
|
2498
|
+
* <!-- -->
|
|
2499
|
+
*
|
|
2500
|
+
* <!-- -->
|
|
2501
|
+
*
|
|
2502
|
+
* * kInit
|
|
2503
|
+
*
|
|
2504
|
+
* <!-- -->
|
|
2505
|
+
*
|
|
2506
|
+
* <!-- -->
|
|
2507
|
+
*
|
|
2508
|
+
* <!-- -->
|
|
2509
|
+
*
|
|
2510
|
+
* * kFailed
|
|
2511
|
+
*
|
|
2512
|
+
* <!-- -->
|
|
2513
|
+
*
|
|
2514
|
+
* <!-- -->
|
|
2515
|
+
*
|
|
2516
|
+
* <!-- -->
|
|
2517
|
+
*
|
|
2518
|
+
* * kAllocating
|
|
2519
|
+
*
|
|
2520
|
+
* <!-- -->
|
|
2521
|
+
*
|
|
2522
|
+
* <!-- -->
|
|
2523
|
+
*
|
|
2524
|
+
* <!-- -->
|
|
2525
|
+
*
|
|
2526
|
+
* @example
|
|
2527
|
+
* kRunning
|
|
2528
|
+
*/
|
|
2529
|
+
status?: string;
|
|
2530
|
+
static names(): {
|
|
2531
|
+
[key: string]: string;
|
|
2532
|
+
};
|
|
2533
|
+
static types(): {
|
|
2534
|
+
[key: string]: any;
|
|
2535
|
+
};
|
|
2536
|
+
constructor(map?: {
|
|
2537
|
+
[key: string]: any;
|
|
2538
|
+
});
|
|
2539
|
+
}
|
|
2540
|
+
export declare class GetWarehouseDetailResponseBodyWarehouseDetail extends $tea.Model {
|
|
2541
|
+
/**
|
|
2542
|
+
* @remarks
|
|
2543
|
+
* The remaining unallocated computing resources of the virtual warehouse instance.
|
|
2544
|
+
*
|
|
2545
|
+
* @example
|
|
2546
|
+
* 32
|
|
2547
|
+
*/
|
|
2548
|
+
remainingCpu?: string;
|
|
2549
|
+
/**
|
|
2550
|
+
* @remarks
|
|
2551
|
+
* The reserved computing resources. The amount of computing resources in all running virtual warehouses in an instance cannot exceed the amount of reserved computing resources in the virtual warehouses.
|
|
2552
|
+
*
|
|
2553
|
+
* @example
|
|
2554
|
+
* 64
|
|
2555
|
+
*/
|
|
2556
|
+
reservedCpu?: string;
|
|
2557
|
+
timedElasticCpu?: string;
|
|
2558
|
+
/**
|
|
2559
|
+
* @remarks
|
|
2560
|
+
* The list of virtual warehouses.
|
|
2561
|
+
*/
|
|
2562
|
+
warehouseList?: GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList[];
|
|
2563
|
+
static names(): {
|
|
2564
|
+
[key: string]: string;
|
|
2565
|
+
};
|
|
2566
|
+
static types(): {
|
|
2567
|
+
[key: string]: any;
|
|
2568
|
+
};
|
|
2569
|
+
constructor(map?: {
|
|
2570
|
+
[key: string]: any;
|
|
2571
|
+
});
|
|
2572
|
+
}
|
|
567
2573
|
export declare class ListInstancesRequestTag extends $tea.Model {
|
|
2574
|
+
/**
|
|
2575
|
+
* @remarks
|
|
2576
|
+
* The tag key.
|
|
2577
|
+
*
|
|
2578
|
+
* @example
|
|
2579
|
+
* mytag
|
|
2580
|
+
*/
|
|
568
2581
|
key?: string;
|
|
2582
|
+
/**
|
|
2583
|
+
* @remarks
|
|
2584
|
+
* The tag value.
|
|
2585
|
+
*
|
|
2586
|
+
* @example
|
|
2587
|
+
* value
|
|
2588
|
+
*/
|
|
569
2589
|
value?: string;
|
|
570
2590
|
static names(): {
|
|
571
2591
|
[key: string]: string;
|
|
@@ -578,11 +2598,125 @@ export declare class ListInstancesRequestTag extends $tea.Model {
|
|
|
578
2598
|
});
|
|
579
2599
|
}
|
|
580
2600
|
export declare class ListInstancesResponseBodyInstanceListEndpoints extends $tea.Model {
|
|
2601
|
+
/**
|
|
2602
|
+
* @remarks
|
|
2603
|
+
* Indicates whether the endpoint is enabled.
|
|
2604
|
+
*
|
|
2605
|
+
* Valid values:
|
|
2606
|
+
*
|
|
2607
|
+
* * true
|
|
2608
|
+
*
|
|
2609
|
+
* <!-- -->
|
|
2610
|
+
*
|
|
2611
|
+
* <!-- -->
|
|
2612
|
+
*
|
|
2613
|
+
* <!-- -->
|
|
2614
|
+
*
|
|
2615
|
+
* * false
|
|
2616
|
+
*
|
|
2617
|
+
* <!-- -->
|
|
2618
|
+
*
|
|
2619
|
+
* <!-- -->
|
|
2620
|
+
*
|
|
2621
|
+
* <!-- -->
|
|
2622
|
+
*
|
|
2623
|
+
* @example
|
|
2624
|
+
* true
|
|
2625
|
+
*/
|
|
581
2626
|
enabled?: boolean;
|
|
2627
|
+
/**
|
|
2628
|
+
* @remarks
|
|
2629
|
+
* The endpoint.
|
|
2630
|
+
*
|
|
2631
|
+
* @example
|
|
2632
|
+
* hgpostcn-cn-aaab9ad2d8fb-cn-hangzhou-internal.hologres.aliyuncs.com:80
|
|
2633
|
+
*/
|
|
582
2634
|
endpoint?: string;
|
|
2635
|
+
/**
|
|
2636
|
+
* @remarks
|
|
2637
|
+
* The network type.
|
|
2638
|
+
*
|
|
2639
|
+
* Valid values:
|
|
2640
|
+
*
|
|
2641
|
+
* * VPCSingleTunnel
|
|
2642
|
+
*
|
|
2643
|
+
* <!-- -->
|
|
2644
|
+
*
|
|
2645
|
+
* :
|
|
2646
|
+
*
|
|
2647
|
+
* <!-- -->
|
|
2648
|
+
*
|
|
2649
|
+
* virtual private cloud (VPC)
|
|
2650
|
+
*
|
|
2651
|
+
* <!-- -->
|
|
2652
|
+
*
|
|
2653
|
+
* .
|
|
2654
|
+
*
|
|
2655
|
+
* * Intranet
|
|
2656
|
+
*
|
|
2657
|
+
* <!-- -->
|
|
2658
|
+
*
|
|
2659
|
+
* :
|
|
2660
|
+
*
|
|
2661
|
+
* <!-- -->
|
|
2662
|
+
*
|
|
2663
|
+
* internal network
|
|
2664
|
+
*
|
|
2665
|
+
* <!-- -->
|
|
2666
|
+
*
|
|
2667
|
+
* * VPCAnyTunnel
|
|
2668
|
+
*
|
|
2669
|
+
* <!-- -->
|
|
2670
|
+
*
|
|
2671
|
+
* : This value is not supported by new instances
|
|
2672
|
+
*
|
|
2673
|
+
* <!-- -->
|
|
2674
|
+
*
|
|
2675
|
+
* <!-- -->
|
|
2676
|
+
*
|
|
2677
|
+
* .
|
|
2678
|
+
*
|
|
2679
|
+
* * Internet
|
|
2680
|
+
*
|
|
2681
|
+
* <!-- -->
|
|
2682
|
+
*
|
|
2683
|
+
* :
|
|
2684
|
+
*
|
|
2685
|
+
* <!-- -->
|
|
2686
|
+
*
|
|
2687
|
+
* Internet
|
|
2688
|
+
*
|
|
2689
|
+
* <!-- -->
|
|
2690
|
+
*
|
|
2691
|
+
* .
|
|
2692
|
+
*
|
|
2693
|
+
* @example
|
|
2694
|
+
* Internet
|
|
2695
|
+
*/
|
|
583
2696
|
type?: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* @remarks
|
|
2699
|
+
* The vSwitch ID.
|
|
2700
|
+
*
|
|
2701
|
+
* @example
|
|
2702
|
+
* vsw-wz9oap28raidjevhuszg4
|
|
2703
|
+
*/
|
|
584
2704
|
vSwitchId?: string;
|
|
2705
|
+
/**
|
|
2706
|
+
* @remarks
|
|
2707
|
+
* The VPC ID.
|
|
2708
|
+
*
|
|
2709
|
+
* @example
|
|
2710
|
+
* vpc-uf6mrahzyu7uorlqqpz5f
|
|
2711
|
+
*/
|
|
585
2712
|
vpcId?: string;
|
|
2713
|
+
/**
|
|
2714
|
+
* @remarks
|
|
2715
|
+
* The ID of the VPC to which the instance belongs.
|
|
2716
|
+
*
|
|
2717
|
+
* @example
|
|
2718
|
+
* hgpostcn-cn-wwo3665tx004-frontend-st
|
|
2719
|
+
*/
|
|
586
2720
|
vpcInstanceId?: string;
|
|
587
2721
|
static names(): {
|
|
588
2722
|
[key: string]: string;
|
|
@@ -595,7 +2729,21 @@ export declare class ListInstancesResponseBodyInstanceListEndpoints extends $tea
|
|
|
595
2729
|
});
|
|
596
2730
|
}
|
|
597
2731
|
export declare class ListInstancesResponseBodyInstanceListTags extends $tea.Model {
|
|
2732
|
+
/**
|
|
2733
|
+
* @remarks
|
|
2734
|
+
* The tag key.
|
|
2735
|
+
*
|
|
2736
|
+
* @example
|
|
2737
|
+
* tag
|
|
2738
|
+
*/
|
|
598
2739
|
key?: string;
|
|
2740
|
+
/**
|
|
2741
|
+
* @remarks
|
|
2742
|
+
* The tag value.
|
|
2743
|
+
*
|
|
2744
|
+
* @example
|
|
2745
|
+
* value
|
|
2746
|
+
*/
|
|
599
2747
|
value?: string;
|
|
600
2748
|
static names(): {
|
|
601
2749
|
[key: string]: string;
|
|
@@ -608,21 +2756,232 @@ export declare class ListInstancesResponseBodyInstanceListTags extends $tea.Mode
|
|
|
608
2756
|
});
|
|
609
2757
|
}
|
|
610
2758
|
export declare class ListInstancesResponseBodyInstanceList extends $tea.Model {
|
|
2759
|
+
/**
|
|
2760
|
+
* @remarks
|
|
2761
|
+
* The commodity code, which is the same as that on the Billing Management page.
|
|
2762
|
+
*
|
|
2763
|
+
* @example
|
|
2764
|
+
* hologram_postpay_public_cn
|
|
2765
|
+
*/
|
|
611
2766
|
commodityCode?: string;
|
|
2767
|
+
/**
|
|
2768
|
+
* @remarks
|
|
2769
|
+
* The time when the cluster was created.
|
|
2770
|
+
*
|
|
2771
|
+
* @example
|
|
2772
|
+
* 2022-12-16T02:24:05Z
|
|
2773
|
+
*/
|
|
612
2774
|
creationTime?: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* @remarks
|
|
2777
|
+
* Indicates whether lakehouse acceleration is enabled.
|
|
2778
|
+
*
|
|
2779
|
+
* Valid values:
|
|
2780
|
+
*
|
|
2781
|
+
* * true
|
|
2782
|
+
*
|
|
2783
|
+
* <!-- -->
|
|
2784
|
+
*
|
|
2785
|
+
* <!-- -->
|
|
2786
|
+
*
|
|
2787
|
+
* <!-- -->
|
|
2788
|
+
*
|
|
2789
|
+
* * false
|
|
2790
|
+
*
|
|
2791
|
+
* <!-- -->
|
|
2792
|
+
*
|
|
2793
|
+
* <!-- -->
|
|
2794
|
+
*
|
|
2795
|
+
* <!-- -->
|
|
2796
|
+
*
|
|
2797
|
+
* @example
|
|
2798
|
+
* true
|
|
2799
|
+
*/
|
|
613
2800
|
enableHiveAccess?: string;
|
|
2801
|
+
/**
|
|
2802
|
+
* @remarks
|
|
2803
|
+
* The list of endpoints.
|
|
2804
|
+
*/
|
|
614
2805
|
endpoints?: ListInstancesResponseBodyInstanceListEndpoints[];
|
|
2806
|
+
/**
|
|
2807
|
+
* @remarks
|
|
2808
|
+
* The time when the cluster expires.
|
|
2809
|
+
*
|
|
2810
|
+
* @example
|
|
2811
|
+
* 2023-05-04T16:00:00.000Z
|
|
2812
|
+
*/
|
|
615
2813
|
expirationTime?: string;
|
|
2814
|
+
/**
|
|
2815
|
+
* @remarks
|
|
2816
|
+
* The billing method of the instance. Valid values:
|
|
2817
|
+
*
|
|
2818
|
+
* Valid values:
|
|
2819
|
+
*
|
|
2820
|
+
* * PostPaid
|
|
2821
|
+
*
|
|
2822
|
+
* <!-- -->
|
|
2823
|
+
*
|
|
2824
|
+
* :
|
|
2825
|
+
*
|
|
2826
|
+
* <!-- -->
|
|
2827
|
+
*
|
|
2828
|
+
* pay-as-you-go
|
|
2829
|
+
*
|
|
2830
|
+
* <!-- -->
|
|
2831
|
+
*
|
|
2832
|
+
* .
|
|
2833
|
+
*
|
|
2834
|
+
* * PrePaid
|
|
2835
|
+
*
|
|
2836
|
+
* <!-- -->
|
|
2837
|
+
*
|
|
2838
|
+
* :
|
|
2839
|
+
*
|
|
2840
|
+
* <!-- -->
|
|
2841
|
+
*
|
|
2842
|
+
* subscription
|
|
2843
|
+
*
|
|
2844
|
+
* <!-- -->
|
|
2845
|
+
*
|
|
2846
|
+
* .
|
|
2847
|
+
*
|
|
2848
|
+
* @example
|
|
2849
|
+
* PrePaid
|
|
2850
|
+
*/
|
|
616
2851
|
instanceChargeType?: string;
|
|
2852
|
+
/**
|
|
2853
|
+
* @remarks
|
|
2854
|
+
* The instance ID.
|
|
2855
|
+
*
|
|
2856
|
+
* @example
|
|
2857
|
+
* hgpostcn-cn-aaab9ad2d8fb
|
|
2858
|
+
*/
|
|
617
2859
|
instanceId?: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* @remarks
|
|
2862
|
+
* The name of the instance.
|
|
2863
|
+
*
|
|
2864
|
+
* @example
|
|
2865
|
+
* test_instance
|
|
2866
|
+
*/
|
|
618
2867
|
instanceName?: string;
|
|
2868
|
+
/**
|
|
2869
|
+
* @remarks
|
|
2870
|
+
* The status of the instance.
|
|
2871
|
+
*
|
|
2872
|
+
* Valid values:
|
|
2873
|
+
*
|
|
2874
|
+
* * Creating
|
|
2875
|
+
*
|
|
2876
|
+
* <!-- -->
|
|
2877
|
+
*
|
|
2878
|
+
* <!-- -->
|
|
2879
|
+
*
|
|
2880
|
+
* <!-- -->
|
|
2881
|
+
*
|
|
2882
|
+
* * Running
|
|
2883
|
+
*
|
|
2884
|
+
* <!-- -->
|
|
2885
|
+
*
|
|
2886
|
+
* <!-- -->
|
|
2887
|
+
*
|
|
2888
|
+
* <!-- -->
|
|
2889
|
+
*
|
|
2890
|
+
* * Suspended
|
|
2891
|
+
*
|
|
2892
|
+
* <!-- -->
|
|
2893
|
+
*
|
|
2894
|
+
* <!-- -->
|
|
2895
|
+
*
|
|
2896
|
+
* <!-- -->
|
|
2897
|
+
*
|
|
2898
|
+
* * Allocating
|
|
2899
|
+
*
|
|
2900
|
+
* <!-- -->
|
|
2901
|
+
*
|
|
2902
|
+
* <!-- -->
|
|
2903
|
+
*
|
|
2904
|
+
* <!-- -->
|
|
2905
|
+
*
|
|
2906
|
+
* @example
|
|
2907
|
+
* Running
|
|
2908
|
+
*/
|
|
619
2909
|
instanceStatus?: string;
|
|
2910
|
+
/**
|
|
2911
|
+
* @remarks
|
|
2912
|
+
* The type of the instance.
|
|
2913
|
+
*
|
|
2914
|
+
* Valid values:
|
|
2915
|
+
*
|
|
2916
|
+
* * Follower
|
|
2917
|
+
*
|
|
2918
|
+
* <!-- -->
|
|
2919
|
+
*
|
|
2920
|
+
* :
|
|
2921
|
+
*
|
|
2922
|
+
* <!-- -->
|
|
2923
|
+
*
|
|
2924
|
+
* read-only secondary instance
|
|
2925
|
+
*
|
|
2926
|
+
* <!-- -->
|
|
2927
|
+
*
|
|
2928
|
+
* .
|
|
2929
|
+
*
|
|
2930
|
+
* * Standard
|
|
2931
|
+
*
|
|
2932
|
+
* <!-- -->
|
|
2933
|
+
*
|
|
2934
|
+
* :
|
|
2935
|
+
*
|
|
2936
|
+
* <!-- -->
|
|
2937
|
+
*
|
|
2938
|
+
* normal instance
|
|
2939
|
+
*
|
|
2940
|
+
* <!-- -->
|
|
2941
|
+
*
|
|
2942
|
+
* .
|
|
2943
|
+
*
|
|
2944
|
+
* @example
|
|
2945
|
+
* Standard
|
|
2946
|
+
*/
|
|
620
2947
|
instanceType?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* @remarks
|
|
2950
|
+
* The ID of the primary instance.
|
|
2951
|
+
*
|
|
2952
|
+
* @example
|
|
2953
|
+
* hgprecn-cn-2r42sqvxm006
|
|
2954
|
+
*/
|
|
621
2955
|
leaderInstanceId?: string;
|
|
622
2956
|
regionId?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* @remarks
|
|
2959
|
+
* The ID of the resource group.
|
|
2960
|
+
*
|
|
2961
|
+
* @example
|
|
2962
|
+
* rg-acfmvscak73zmby
|
|
2963
|
+
*/
|
|
623
2964
|
resourceGroupId?: string;
|
|
2965
|
+
/**
|
|
2966
|
+
* @remarks
|
|
2967
|
+
* The reason for the suspension.
|
|
2968
|
+
*
|
|
2969
|
+
* @example
|
|
2970
|
+
* Manual
|
|
2971
|
+
*/
|
|
624
2972
|
suspendReason?: string;
|
|
2973
|
+
/**
|
|
2974
|
+
* @remarks
|
|
2975
|
+
* The tags that are added to the resource.
|
|
2976
|
+
*/
|
|
625
2977
|
tags?: ListInstancesResponseBodyInstanceListTags[];
|
|
2978
|
+
/**
|
|
2979
|
+
* @remarks
|
|
2980
|
+
* The version of the cluster.
|
|
2981
|
+
*
|
|
2982
|
+
* @example
|
|
2983
|
+
* 1.3.37
|
|
2984
|
+
*/
|
|
626
2985
|
version?: string;
|
|
627
2986
|
zoneId?: string;
|
|
628
2987
|
static names(): {
|
|
@@ -635,10 +2994,139 @@ export declare class ListInstancesResponseBodyInstanceList extends $tea.Model {
|
|
|
635
2994
|
[key: string]: any;
|
|
636
2995
|
});
|
|
637
2996
|
}
|
|
2997
|
+
export declare class ListWarehousesResponseBodyWarehouseList extends $tea.Model {
|
|
2998
|
+
/**
|
|
2999
|
+
* @remarks
|
|
3000
|
+
* The number of CPU cores.
|
|
3001
|
+
*
|
|
3002
|
+
* @example
|
|
3003
|
+
* 32
|
|
3004
|
+
*/
|
|
3005
|
+
cpu?: number;
|
|
3006
|
+
/**
|
|
3007
|
+
* @remarks
|
|
3008
|
+
* The ID.
|
|
3009
|
+
*
|
|
3010
|
+
* @example
|
|
3011
|
+
* 3
|
|
3012
|
+
*/
|
|
3013
|
+
id?: number;
|
|
3014
|
+
/**
|
|
3015
|
+
* @remarks
|
|
3016
|
+
* The memory capacity.
|
|
3017
|
+
*
|
|
3018
|
+
* @example
|
|
3019
|
+
* 128
|
|
3020
|
+
*/
|
|
3021
|
+
mem?: number;
|
|
3022
|
+
/**
|
|
3023
|
+
* @remarks
|
|
3024
|
+
* The name of the virtual warehouse instance.
|
|
3025
|
+
*
|
|
3026
|
+
* @example
|
|
3027
|
+
* MyWarehouse
|
|
3028
|
+
*/
|
|
3029
|
+
name?: string;
|
|
3030
|
+
/**
|
|
3031
|
+
* @remarks
|
|
3032
|
+
* The number of compute nodes.
|
|
3033
|
+
*
|
|
3034
|
+
* @example
|
|
3035
|
+
* 2
|
|
3036
|
+
*/
|
|
3037
|
+
nodeCount?: number;
|
|
3038
|
+
/**
|
|
3039
|
+
* @remarks
|
|
3040
|
+
* The status.
|
|
3041
|
+
*
|
|
3042
|
+
* Valid values:
|
|
3043
|
+
*
|
|
3044
|
+
* * kRunning
|
|
3045
|
+
*
|
|
3046
|
+
* <!-- -->
|
|
3047
|
+
*
|
|
3048
|
+
* <!-- -->
|
|
3049
|
+
*
|
|
3050
|
+
* <!-- -->
|
|
3051
|
+
*
|
|
3052
|
+
* * kSuspended
|
|
3053
|
+
*
|
|
3054
|
+
* <!-- -->
|
|
3055
|
+
*
|
|
3056
|
+
* <!-- -->
|
|
3057
|
+
*
|
|
3058
|
+
* <!-- -->
|
|
3059
|
+
*
|
|
3060
|
+
* * kInit
|
|
3061
|
+
*
|
|
3062
|
+
* <!-- -->
|
|
3063
|
+
*
|
|
3064
|
+
* <!-- -->
|
|
3065
|
+
*
|
|
3066
|
+
* <!-- -->
|
|
3067
|
+
*
|
|
3068
|
+
* * kFailed
|
|
3069
|
+
*
|
|
3070
|
+
* <!-- -->
|
|
3071
|
+
*
|
|
3072
|
+
* <!-- -->
|
|
3073
|
+
*
|
|
3074
|
+
* <!-- -->
|
|
3075
|
+
*
|
|
3076
|
+
* * kAllocating
|
|
3077
|
+
*
|
|
3078
|
+
* <!-- -->
|
|
3079
|
+
*
|
|
3080
|
+
* <!-- -->
|
|
3081
|
+
*
|
|
3082
|
+
* <!-- -->
|
|
3083
|
+
*
|
|
3084
|
+
* @example
|
|
3085
|
+
* kRunning
|
|
3086
|
+
*/
|
|
3087
|
+
status?: string;
|
|
3088
|
+
static names(): {
|
|
3089
|
+
[key: string]: string;
|
|
3090
|
+
};
|
|
3091
|
+
static types(): {
|
|
3092
|
+
[key: string]: any;
|
|
3093
|
+
};
|
|
3094
|
+
constructor(map?: {
|
|
3095
|
+
[key: string]: any;
|
|
3096
|
+
});
|
|
3097
|
+
}
|
|
638
3098
|
export declare class RenewInstanceResponseBodyData extends $tea.Model {
|
|
3099
|
+
/**
|
|
3100
|
+
* @remarks
|
|
3101
|
+
* The error code returned.
|
|
3102
|
+
*
|
|
3103
|
+
* @example
|
|
3104
|
+
* InvalidChargeType.UnRenewable
|
|
3105
|
+
*/
|
|
639
3106
|
code?: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* @remarks
|
|
3109
|
+
* The error details.
|
|
3110
|
+
*/
|
|
640
3111
|
message?: string;
|
|
3112
|
+
/**
|
|
3113
|
+
* @remarks
|
|
3114
|
+
* The ID of the order.
|
|
3115
|
+
*
|
|
3116
|
+
* @example
|
|
3117
|
+
* 221625608580893
|
|
3118
|
+
*/
|
|
641
3119
|
orderId?: string;
|
|
3120
|
+
/**
|
|
3121
|
+
* @remarks
|
|
3122
|
+
* Indicates whether the renewal was successful.
|
|
3123
|
+
*
|
|
3124
|
+
* * true
|
|
3125
|
+
* * false
|
|
3126
|
+
*
|
|
3127
|
+
* @example
|
|
3128
|
+
* true
|
|
3129
|
+
*/
|
|
642
3130
|
success?: boolean;
|
|
643
3131
|
static names(): {
|
|
644
3132
|
[key: string]: string;
|
|
@@ -651,9 +3139,55 @@ export declare class RenewInstanceResponseBodyData extends $tea.Model {
|
|
|
651
3139
|
});
|
|
652
3140
|
}
|
|
653
3141
|
export declare class ScaleInstanceResponseBodyData extends $tea.Model {
|
|
3142
|
+
/**
|
|
3143
|
+
* @remarks
|
|
3144
|
+
* The error code returned.
|
|
3145
|
+
*
|
|
3146
|
+
* @example
|
|
3147
|
+
* InvalidScaleType.Unsupported
|
|
3148
|
+
*/
|
|
654
3149
|
code?: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* @remarks
|
|
3152
|
+
* The error details.
|
|
3153
|
+
*
|
|
3154
|
+
* @example
|
|
3155
|
+
* null
|
|
3156
|
+
*/
|
|
655
3157
|
message?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* @remarks
|
|
3160
|
+
* The ID of the order.
|
|
3161
|
+
*
|
|
3162
|
+
* @example
|
|
3163
|
+
* 219183853450000
|
|
3164
|
+
*/
|
|
656
3165
|
orderId?: string;
|
|
3166
|
+
/**
|
|
3167
|
+
* @remarks
|
|
3168
|
+
* Indicates whether the change to specifications was successful.
|
|
3169
|
+
*
|
|
3170
|
+
* Valid values:
|
|
3171
|
+
*
|
|
3172
|
+
* * true
|
|
3173
|
+
*
|
|
3174
|
+
* <!-- -->
|
|
3175
|
+
*
|
|
3176
|
+
* <!-- -->
|
|
3177
|
+
*
|
|
3178
|
+
* <!-- -->
|
|
3179
|
+
*
|
|
3180
|
+
* * false
|
|
3181
|
+
*
|
|
3182
|
+
* <!-- -->
|
|
3183
|
+
*
|
|
3184
|
+
* <!-- -->
|
|
3185
|
+
*
|
|
3186
|
+
* <!-- -->
|
|
3187
|
+
*
|
|
3188
|
+
* @example
|
|
3189
|
+
* true
|
|
3190
|
+
*/
|
|
657
3191
|
success?: boolean;
|
|
658
3192
|
static names(): {
|
|
659
3193
|
[key: string]: string;
|
|
@@ -671,155 +3205,349 @@ export default class Client extends OpenApi {
|
|
|
671
3205
|
[key: string]: string;
|
|
672
3206
|
}, endpoint: string): string;
|
|
673
3207
|
/**
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
3208
|
+
* 更改资源组
|
|
3209
|
+
*
|
|
3210
|
+
* @param request - ChangeResourceGroupRequest
|
|
3211
|
+
* @param headers - map
|
|
3212
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3213
|
+
* @returns ChangeResourceGroupResponse
|
|
3214
|
+
*/
|
|
3215
|
+
changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, headers: {
|
|
3216
|
+
[key: string]: string;
|
|
3217
|
+
}, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
|
|
3218
|
+
/**
|
|
3219
|
+
* 更改资源组
|
|
3220
|
+
*
|
|
3221
|
+
* @param request - ChangeResourceGroupRequest
|
|
3222
|
+
* @returns ChangeResourceGroupResponse
|
|
3223
|
+
*/
|
|
3224
|
+
changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
|
|
3225
|
+
/**
|
|
3226
|
+
* Creates a Hologres instance.
|
|
3227
|
+
*
|
|
3228
|
+
* @remarks
|
|
3229
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
3230
|
+
* * For more information about the billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/developer-reference/api-hologram-2022-06-01-createinstance).
|
|
3231
|
+
* * When you purchase a Hologres instance, you must specify the region and zone in which the Hologres instance resides. A region may correspond to multiple zones. Example:
|
|
3232
|
+
* <!---->
|
|
3233
|
+
* cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
|
|
3234
|
+
* cn-shanghai: cn-shanghai-e, cn-shanghai-f
|
|
3235
|
+
* cn-beijing: cn-beijing-i, cn-beijing-g
|
|
3236
|
+
* cn-zhangjiakou: cn-zhangjiakou-b
|
|
3237
|
+
* cn-shenzhen: cn-shenzhen-e
|
|
3238
|
+
* cn-hongkong: cn-hongkong-b
|
|
3239
|
+
* cn-shanghai-finance-1: cn-shanghai-finance-1z
|
|
3240
|
+
* ap-northeast-1: ap-northeast-1a
|
|
3241
|
+
* ap-southeast-1: ap-southeast-1c
|
|
3242
|
+
* ap-southeast-3: ap-southeast-3b
|
|
3243
|
+
* ap-southeast-5: ap-southeast-5b
|
|
3244
|
+
* ap-south-1: ap-south-1b
|
|
3245
|
+
* eu-central-1: eu-central-1a
|
|
3246
|
+
* us-east-1: us-east-1a
|
|
3247
|
+
* us-west-1: us-west-1b
|
|
3248
|
+
*
|
|
3249
|
+
* @param request - CreateInstanceRequest
|
|
3250
|
+
* @param headers - map
|
|
3251
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3252
|
+
* @returns CreateInstanceResponse
|
|
698
3253
|
*/
|
|
699
3254
|
createInstanceWithOptions(request: CreateInstanceRequest, headers: {
|
|
700
3255
|
[key: string]: string;
|
|
701
3256
|
}, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse>;
|
|
702
3257
|
/**
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
3258
|
+
* Creates a Hologres instance.
|
|
3259
|
+
*
|
|
3260
|
+
* @remarks
|
|
3261
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
3262
|
+
* * For more information about the billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/developer-reference/api-hologram-2022-06-01-createinstance).
|
|
3263
|
+
* * When you purchase a Hologres instance, you must specify the region and zone in which the Hologres instance resides. A region may correspond to multiple zones. Example:
|
|
3264
|
+
* <!---->
|
|
3265
|
+
* cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
|
|
3266
|
+
* cn-shanghai: cn-shanghai-e, cn-shanghai-f
|
|
3267
|
+
* cn-beijing: cn-beijing-i, cn-beijing-g
|
|
3268
|
+
* cn-zhangjiakou: cn-zhangjiakou-b
|
|
3269
|
+
* cn-shenzhen: cn-shenzhen-e
|
|
3270
|
+
* cn-hongkong: cn-hongkong-b
|
|
3271
|
+
* cn-shanghai-finance-1: cn-shanghai-finance-1z
|
|
3272
|
+
* ap-northeast-1: ap-northeast-1a
|
|
3273
|
+
* ap-southeast-1: ap-southeast-1c
|
|
3274
|
+
* ap-southeast-3: ap-southeast-3b
|
|
3275
|
+
* ap-southeast-5: ap-southeast-5b
|
|
3276
|
+
* ap-south-1: ap-south-1b
|
|
3277
|
+
* eu-central-1: eu-central-1a
|
|
3278
|
+
* us-east-1: us-east-1a
|
|
3279
|
+
* us-west-1: us-west-1b
|
|
3280
|
+
*
|
|
3281
|
+
* @param request - CreateInstanceRequest
|
|
3282
|
+
* @returns CreateInstanceResponse
|
|
725
3283
|
*/
|
|
726
3284
|
createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
|
|
727
3285
|
/**
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
3286
|
+
* Deletes a Hologres instance.
|
|
3287
|
+
*
|
|
3288
|
+
* @remarks
|
|
3289
|
+
* > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
|
|
3290
|
+
* * After you delete a Hologres instance, data and objects in the instance cannot be restored. Proceed with caution. For more information, see [Billing overview](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview#section-h6a-x58-jc0).
|
|
3291
|
+
* * You can delete only pay-as-you-go instances.
|
|
3292
|
+
* * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
|
|
3293
|
+
*
|
|
3294
|
+
* @param request - DeleteInstanceRequest
|
|
3295
|
+
* @param headers - map
|
|
3296
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3297
|
+
* @returns DeleteInstanceResponse
|
|
737
3298
|
*/
|
|
738
3299
|
deleteInstanceWithOptions(instanceId: string, request: DeleteInstanceRequest, headers: {
|
|
739
3300
|
[key: string]: string;
|
|
740
3301
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse>;
|
|
741
3302
|
/**
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
3303
|
+
* Deletes a Hologres instance.
|
|
3304
|
+
*
|
|
3305
|
+
* @remarks
|
|
3306
|
+
* > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
|
|
3307
|
+
* * After you delete a Hologres instance, data and objects in the instance cannot be restored. Proceed with caution. For more information, see [Billing overview](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview#section-h6a-x58-jc0).
|
|
3308
|
+
* * You can delete only pay-as-you-go instances.
|
|
3309
|
+
* * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
|
|
3310
|
+
*
|
|
3311
|
+
* @param request - DeleteInstanceRequest
|
|
3312
|
+
* @returns DeleteInstanceResponse
|
|
749
3313
|
*/
|
|
750
3314
|
deleteInstance(instanceId: string, request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
|
|
3315
|
+
/**
|
|
3316
|
+
* 关闭数据湖加速
|
|
3317
|
+
*
|
|
3318
|
+
* @param request - DisableHiveAccessRequest
|
|
3319
|
+
* @param headers - map
|
|
3320
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3321
|
+
* @returns DisableHiveAccessResponse
|
|
3322
|
+
*/
|
|
3323
|
+
disableHiveAccessWithOptions(instanceId: string, request: DisableHiveAccessRequest, headers: {
|
|
3324
|
+
[key: string]: string;
|
|
3325
|
+
}, runtime: $Util.RuntimeOptions): Promise<DisableHiveAccessResponse>;
|
|
3326
|
+
/**
|
|
3327
|
+
* 关闭数据湖加速
|
|
3328
|
+
*
|
|
3329
|
+
* @param request - DisableHiveAccessRequest
|
|
3330
|
+
* @returns DisableHiveAccessResponse
|
|
3331
|
+
*/
|
|
3332
|
+
disableHiveAccess(instanceId: string, request: DisableHiveAccessRequest): Promise<DisableHiveAccessResponse>;
|
|
3333
|
+
/**
|
|
3334
|
+
* 打开数据湖加速
|
|
3335
|
+
*
|
|
3336
|
+
* @param request - EnableHiveAccessRequest
|
|
3337
|
+
* @param headers - map
|
|
3338
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3339
|
+
* @returns EnableHiveAccessResponse
|
|
3340
|
+
*/
|
|
3341
|
+
enableHiveAccessWithOptions(instanceId: string, request: EnableHiveAccessRequest, headers: {
|
|
3342
|
+
[key: string]: string;
|
|
3343
|
+
}, runtime: $Util.RuntimeOptions): Promise<EnableHiveAccessResponse>;
|
|
3344
|
+
/**
|
|
3345
|
+
* 打开数据湖加速
|
|
3346
|
+
*
|
|
3347
|
+
* @param request - EnableHiveAccessRequest
|
|
3348
|
+
* @returns EnableHiveAccessResponse
|
|
3349
|
+
*/
|
|
3350
|
+
enableHiveAccess(instanceId: string, request: EnableHiveAccessRequest): Promise<EnableHiveAccessResponse>;
|
|
3351
|
+
/**
|
|
3352
|
+
* Obtains the details of an instance.
|
|
3353
|
+
*
|
|
3354
|
+
* @param headers - map
|
|
3355
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3356
|
+
* @returns GetInstanceResponse
|
|
3357
|
+
*/
|
|
751
3358
|
getInstanceWithOptions(instanceId: string, headers: {
|
|
752
3359
|
[key: string]: string;
|
|
753
3360
|
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
|
|
3361
|
+
/**
|
|
3362
|
+
* Obtains the details of an instance.
|
|
3363
|
+
* @returns GetInstanceResponse
|
|
3364
|
+
*/
|
|
754
3365
|
getInstance(instanceId: string): Promise<GetInstanceResponse>;
|
|
3366
|
+
/**
|
|
3367
|
+
* Queries details of a virtual warehouse instance.
|
|
3368
|
+
*
|
|
3369
|
+
* @param headers - map
|
|
3370
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3371
|
+
* @returns GetWarehouseDetailResponse
|
|
3372
|
+
*/
|
|
3373
|
+
getWarehouseDetailWithOptions(instanceId: string, headers: {
|
|
3374
|
+
[key: string]: string;
|
|
3375
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetWarehouseDetailResponse>;
|
|
3376
|
+
/**
|
|
3377
|
+
* Queries details of a virtual warehouse instance.
|
|
3378
|
+
* @returns GetWarehouseDetailResponse
|
|
3379
|
+
*/
|
|
3380
|
+
getWarehouseDetail(instanceId: string): Promise<GetWarehouseDetailResponse>;
|
|
3381
|
+
/**
|
|
3382
|
+
* Queries a list of instances.
|
|
3383
|
+
*
|
|
3384
|
+
* @param request - ListInstancesRequest
|
|
3385
|
+
* @param headers - map
|
|
3386
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3387
|
+
* @returns ListInstancesResponse
|
|
3388
|
+
*/
|
|
755
3389
|
listInstancesWithOptions(request: ListInstancesRequest, headers: {
|
|
756
3390
|
[key: string]: string;
|
|
757
3391
|
}, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
|
|
3392
|
+
/**
|
|
3393
|
+
* Queries a list of instances.
|
|
3394
|
+
*
|
|
3395
|
+
* @param request - ListInstancesRequest
|
|
3396
|
+
* @returns ListInstancesResponse
|
|
3397
|
+
*/
|
|
758
3398
|
listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
|
|
759
3399
|
/**
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
3400
|
+
* Queries the list of virtual warehouse instances.
|
|
3401
|
+
*
|
|
3402
|
+
* @param headers - map
|
|
3403
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3404
|
+
* @returns ListWarehousesResponse
|
|
3405
|
+
*/
|
|
3406
|
+
listWarehousesWithOptions(instanceId: string, headers: {
|
|
3407
|
+
[key: string]: string;
|
|
3408
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListWarehousesResponse>;
|
|
3409
|
+
/**
|
|
3410
|
+
* Queries the list of virtual warehouse instances.
|
|
3411
|
+
* @returns ListWarehousesResponse
|
|
3412
|
+
*/
|
|
3413
|
+
listWarehouses(instanceId: string): Promise<ListWarehousesResponse>;
|
|
3414
|
+
/**
|
|
3415
|
+
* Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
|
|
3416
|
+
*
|
|
3417
|
+
* @remarks
|
|
3418
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
3419
|
+
* * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
|
|
3420
|
+
* * For more information about how to renew a Hologres instance, see [Manage renewals](https://www.alibabacloud.com/help/en/hologres/product-overview/manage-renewals?spm=a2c63.p38356.0.0.73f27c8d1Q0FUi).
|
|
3421
|
+
* * You can renew only subscription instances.
|
|
3422
|
+
*
|
|
3423
|
+
* @param request - RenewInstanceRequest
|
|
3424
|
+
* @param headers - map
|
|
3425
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3426
|
+
* @returns RenewInstanceResponse
|
|
769
3427
|
*/
|
|
770
3428
|
renewInstanceWithOptions(instanceId: string, request: RenewInstanceRequest, headers: {
|
|
771
3429
|
[key: string]: string;
|
|
772
3430
|
}, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
|
|
773
3431
|
/**
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
3432
|
+
* Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.
|
|
3433
|
+
*
|
|
3434
|
+
* @remarks
|
|
3435
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
3436
|
+
* * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
|
|
3437
|
+
* * For more information about how to renew a Hologres instance, see [Manage renewals](https://www.alibabacloud.com/help/en/hologres/product-overview/manage-renewals?spm=a2c63.p38356.0.0.73f27c8d1Q0FUi).
|
|
3438
|
+
* * You can renew only subscription instances.
|
|
3439
|
+
*
|
|
3440
|
+
* @param request - RenewInstanceRequest
|
|
3441
|
+
* @returns RenewInstanceResponse
|
|
781
3442
|
*/
|
|
782
3443
|
renewInstance(instanceId: string, request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
|
|
3444
|
+
/**
|
|
3445
|
+
* 重启实例
|
|
3446
|
+
*
|
|
3447
|
+
* @param headers - map
|
|
3448
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3449
|
+
* @returns RestartInstanceResponse
|
|
3450
|
+
*/
|
|
783
3451
|
restartInstanceWithOptions(instanceId: string, headers: {
|
|
784
3452
|
[key: string]: string;
|
|
785
3453
|
}, runtime: $Util.RuntimeOptions): Promise<RestartInstanceResponse>;
|
|
3454
|
+
/**
|
|
3455
|
+
* 重启实例
|
|
3456
|
+
* @returns RestartInstanceResponse
|
|
3457
|
+
*/
|
|
786
3458
|
restartInstance(instanceId: string): Promise<RestartInstanceResponse>;
|
|
3459
|
+
/**
|
|
3460
|
+
* Resumes a suspended instance.
|
|
3461
|
+
*
|
|
3462
|
+
* @param headers - map
|
|
3463
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3464
|
+
* @returns ResumeInstanceResponse
|
|
3465
|
+
*/
|
|
787
3466
|
resumeInstanceWithOptions(instanceId: string, headers: {
|
|
788
3467
|
[key: string]: string;
|
|
789
3468
|
}, runtime: $Util.RuntimeOptions): Promise<ResumeInstanceResponse>;
|
|
3469
|
+
/**
|
|
3470
|
+
* Resumes a suspended instance.
|
|
3471
|
+
* @returns ResumeInstanceResponse
|
|
3472
|
+
*/
|
|
790
3473
|
resumeInstance(instanceId: string): Promise<ResumeInstanceResponse>;
|
|
791
3474
|
/**
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
3475
|
+
* Changes the specifications and storage space of a Hologres instance.
|
|
3476
|
+
*
|
|
3477
|
+
* @remarks
|
|
3478
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
3479
|
+
* * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
|
|
3480
|
+
* * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resource specifications of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade or downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications).
|
|
3481
|
+
*
|
|
3482
|
+
* @param request - ScaleInstanceRequest
|
|
3483
|
+
* @param headers - map
|
|
3484
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3485
|
+
* @returns ScaleInstanceResponse
|
|
800
3486
|
*/
|
|
801
3487
|
scaleInstanceWithOptions(instanceId: string, request: ScaleInstanceRequest, headers: {
|
|
802
3488
|
[key: string]: string;
|
|
803
3489
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleInstanceResponse>;
|
|
804
3490
|
/**
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
3491
|
+
* Changes the specifications and storage space of a Hologres instance.
|
|
3492
|
+
*
|
|
3493
|
+
* @remarks
|
|
3494
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
3495
|
+
* * For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).
|
|
3496
|
+
* * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resource specifications of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade or downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications).
|
|
3497
|
+
*
|
|
3498
|
+
* @param request - ScaleInstanceRequest
|
|
3499
|
+
* @returns ScaleInstanceResponse
|
|
811
3500
|
*/
|
|
812
3501
|
scaleInstance(instanceId: string, request: ScaleInstanceRequest): Promise<ScaleInstanceResponse>;
|
|
3502
|
+
/**
|
|
3503
|
+
* 暂停实例
|
|
3504
|
+
*
|
|
3505
|
+
* @param headers - map
|
|
3506
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3507
|
+
* @returns StopInstanceResponse
|
|
3508
|
+
*/
|
|
813
3509
|
stopInstanceWithOptions(instanceId: string, headers: {
|
|
814
3510
|
[key: string]: string;
|
|
815
3511
|
}, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
|
|
3512
|
+
/**
|
|
3513
|
+
* 暂停实例
|
|
3514
|
+
* @returns StopInstanceResponse
|
|
3515
|
+
*/
|
|
816
3516
|
stopInstance(instanceId: string): Promise<StopInstanceResponse>;
|
|
3517
|
+
/**
|
|
3518
|
+
* Changes the name of an instance.
|
|
3519
|
+
*
|
|
3520
|
+
* @param request - UpdateInstanceNameRequest
|
|
3521
|
+
* @param headers - map
|
|
3522
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3523
|
+
* @returns UpdateInstanceNameResponse
|
|
3524
|
+
*/
|
|
817
3525
|
updateInstanceNameWithOptions(instanceId: string, request: UpdateInstanceNameRequest, headers: {
|
|
818
3526
|
[key: string]: string;
|
|
819
3527
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNameResponse>;
|
|
3528
|
+
/**
|
|
3529
|
+
* Changes the name of an instance.
|
|
3530
|
+
*
|
|
3531
|
+
* @param request - UpdateInstanceNameRequest
|
|
3532
|
+
* @returns UpdateInstanceNameResponse
|
|
3533
|
+
*/
|
|
820
3534
|
updateInstanceName(instanceId: string, request: UpdateInstanceNameRequest): Promise<UpdateInstanceNameResponse>;
|
|
3535
|
+
/**
|
|
3536
|
+
* Modifies the network configuration of an instance.
|
|
3537
|
+
*
|
|
3538
|
+
* @param request - UpdateInstanceNetworkTypeRequest
|
|
3539
|
+
* @param headers - map
|
|
3540
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3541
|
+
* @returns UpdateInstanceNetworkTypeResponse
|
|
3542
|
+
*/
|
|
821
3543
|
updateInstanceNetworkTypeWithOptions(instanceId: string, request: UpdateInstanceNetworkTypeRequest, headers: {
|
|
822
3544
|
[key: string]: string;
|
|
823
3545
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNetworkTypeResponse>;
|
|
3546
|
+
/**
|
|
3547
|
+
* Modifies the network configuration of an instance.
|
|
3548
|
+
*
|
|
3549
|
+
* @param request - UpdateInstanceNetworkTypeRequest
|
|
3550
|
+
* @returns UpdateInstanceNetworkTypeResponse
|
|
3551
|
+
*/
|
|
824
3552
|
updateInstanceNetworkType(instanceId: string, request: UpdateInstanceNetworkTypeRequest): Promise<UpdateInstanceNetworkTypeResponse>;
|
|
825
3553
|
}
|