@alicloud/hologram20220601 1.0.4 → 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 +2560 -93
- package/dist/client.js +274 -93
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2568 -93
package/dist/client.d.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
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';
|
|
7
6
|
export declare class ChangeResourceGroupRequest extends $tea.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* hgprecn-cn-zvp25ysv3006
|
|
10
|
+
*/
|
|
8
11
|
instanceId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* rg-acfmxwerqwerasfd
|
|
15
|
+
*/
|
|
9
16
|
newResourceGroupId?: string;
|
|
10
17
|
static names(): {
|
|
11
18
|
[key: string]: string;
|
|
@@ -18,7 +25,18 @@ export declare class ChangeResourceGroupRequest extends $tea.Model {
|
|
|
18
25
|
});
|
|
19
26
|
}
|
|
20
27
|
export declare class ChangeResourceGroupResponseBody extends $tea.Model {
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* true
|
|
31
|
+
*/
|
|
21
32
|
data?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* Id of the request
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* AB71198A-2DB1-511B-AE4D-690BAA97F076
|
|
39
|
+
*/
|
|
22
40
|
requestId?: string;
|
|
23
41
|
static names(): {
|
|
24
42
|
[key: string]: string;
|
|
@@ -47,24 +65,224 @@ export declare class ChangeResourceGroupResponse extends $tea.Model {
|
|
|
47
65
|
});
|
|
48
66
|
}
|
|
49
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
|
+
*/
|
|
50
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
|
+
*/
|
|
51
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
|
+
*/
|
|
52
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
|
+
*/
|
|
53
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
|
+
*/
|
|
54
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
|
+
*/
|
|
55
152
|
duration?: number;
|
|
56
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
|
+
*/
|
|
57
163
|
gatewayCount?: number;
|
|
58
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
|
+
*/
|
|
59
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
|
+
*/
|
|
60
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
|
+
*/
|
|
61
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
|
+
*/
|
|
62
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
|
+
*/
|
|
63
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
|
+
*/
|
|
64
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
|
+
*/
|
|
65
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
|
+
*/
|
|
66
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
|
+
*/
|
|
67
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
|
+
*/
|
|
68
286
|
zoneId?: string;
|
|
69
287
|
static names(): {
|
|
70
288
|
[key: string]: string;
|
|
@@ -77,10 +295,42 @@ export declare class CreateInstanceRequest extends $tea.Model {
|
|
|
77
295
|
});
|
|
78
296
|
}
|
|
79
297
|
export declare class CreateInstanceResponseBody extends $tea.Model {
|
|
298
|
+
/**
|
|
299
|
+
* @remarks
|
|
300
|
+
* The returned data.
|
|
301
|
+
*/
|
|
80
302
|
data?: CreateInstanceResponseBodyData;
|
|
303
|
+
/**
|
|
304
|
+
* @remarks
|
|
305
|
+
* The error code returned.
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
* null
|
|
309
|
+
*/
|
|
81
310
|
errorCode?: string;
|
|
311
|
+
/**
|
|
312
|
+
* @remarks
|
|
313
|
+
* The error message returned.
|
|
314
|
+
*
|
|
315
|
+
* @example
|
|
316
|
+
* null
|
|
317
|
+
*/
|
|
82
318
|
errorMessage?: string;
|
|
319
|
+
/**
|
|
320
|
+
* @remarks
|
|
321
|
+
* The HTTP status code.
|
|
322
|
+
*
|
|
323
|
+
* @example
|
|
324
|
+
* 200
|
|
325
|
+
*/
|
|
83
326
|
httpStatusCode?: string;
|
|
327
|
+
/**
|
|
328
|
+
* @remarks
|
|
329
|
+
* The ID of the request.
|
|
330
|
+
*
|
|
331
|
+
* @example
|
|
332
|
+
* 9CC37B9F-F4B4-5FF1-939B-AEE78DC70130
|
|
333
|
+
*/
|
|
84
334
|
requestId?: string;
|
|
85
335
|
static names(): {
|
|
86
336
|
[key: string]: string;
|
|
@@ -109,6 +359,13 @@ export declare class CreateInstanceResponse extends $tea.Model {
|
|
|
109
359
|
});
|
|
110
360
|
}
|
|
111
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
|
+
*/
|
|
112
369
|
regionId?: string;
|
|
113
370
|
static names(): {
|
|
114
371
|
[key: string]: string;
|
|
@@ -121,11 +378,71 @@ export declare class DeleteInstanceRequest extends $tea.Model {
|
|
|
121
378
|
});
|
|
122
379
|
}
|
|
123
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
|
+
*/
|
|
124
406
|
data?: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* @remarks
|
|
409
|
+
* The error code returned.
|
|
410
|
+
*
|
|
411
|
+
* @example
|
|
412
|
+
* null
|
|
413
|
+
*/
|
|
125
414
|
errorCode?: string;
|
|
415
|
+
/**
|
|
416
|
+
* @remarks
|
|
417
|
+
* The error message returned.
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
* null
|
|
421
|
+
*/
|
|
126
422
|
errorMessage?: string;
|
|
423
|
+
/**
|
|
424
|
+
* @remarks
|
|
425
|
+
* The HTTP status Code
|
|
426
|
+
*
|
|
427
|
+
* @example
|
|
428
|
+
* 200
|
|
429
|
+
*/
|
|
127
430
|
httpStatusCode?: string;
|
|
431
|
+
/**
|
|
432
|
+
* @remarks
|
|
433
|
+
* The ID of the request.
|
|
434
|
+
*
|
|
435
|
+
* @example
|
|
436
|
+
* CB13FFDD-2DF8-5396-A848-2D6A31245B6D
|
|
437
|
+
*/
|
|
128
438
|
requestId?: string;
|
|
439
|
+
/**
|
|
440
|
+
* @remarks
|
|
441
|
+
* Indicates whether the call was successful.
|
|
442
|
+
*
|
|
443
|
+
* @example
|
|
444
|
+
* true
|
|
445
|
+
*/
|
|
129
446
|
success?: boolean;
|
|
130
447
|
static names(): {
|
|
131
448
|
[key: string]: string;
|
|
@@ -154,6 +471,10 @@ export declare class DeleteInstanceResponse extends $tea.Model {
|
|
|
154
471
|
});
|
|
155
472
|
}
|
|
156
473
|
export declare class DisableHiveAccessRequest extends $tea.Model {
|
|
474
|
+
/**
|
|
475
|
+
* @example
|
|
476
|
+
* cn-beijing
|
|
477
|
+
*/
|
|
157
478
|
regionId?: string;
|
|
158
479
|
static names(): {
|
|
159
480
|
[key: string]: string;
|
|
@@ -166,11 +487,38 @@ export declare class DisableHiveAccessRequest extends $tea.Model {
|
|
|
166
487
|
});
|
|
167
488
|
}
|
|
168
489
|
export declare class DisableHiveAccessResponseBody extends $tea.Model {
|
|
490
|
+
/**
|
|
491
|
+
* @example
|
|
492
|
+
* true
|
|
493
|
+
*/
|
|
169
494
|
data?: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* @example
|
|
497
|
+
* 404
|
|
498
|
+
*/
|
|
170
499
|
errorCode?: string;
|
|
500
|
+
/**
|
|
501
|
+
* @example
|
|
502
|
+
* Internal server error.
|
|
503
|
+
*/
|
|
171
504
|
errorMessage?: string;
|
|
505
|
+
/**
|
|
506
|
+
* @example
|
|
507
|
+
* 200
|
|
508
|
+
*/
|
|
172
509
|
httpStatusCode?: string;
|
|
510
|
+
/**
|
|
511
|
+
* @remarks
|
|
512
|
+
* Id of the request
|
|
513
|
+
*
|
|
514
|
+
* @example
|
|
515
|
+
* 82B7A554-4D00-50DF-95D9-B59E7B4D5489
|
|
516
|
+
*/
|
|
173
517
|
requestId?: string;
|
|
518
|
+
/**
|
|
519
|
+
* @example
|
|
520
|
+
* true
|
|
521
|
+
*/
|
|
174
522
|
success?: boolean;
|
|
175
523
|
static names(): {
|
|
176
524
|
[key: string]: string;
|
|
@@ -199,6 +547,10 @@ export declare class DisableHiveAccessResponse extends $tea.Model {
|
|
|
199
547
|
});
|
|
200
548
|
}
|
|
201
549
|
export declare class EnableHiveAccessRequest extends $tea.Model {
|
|
550
|
+
/**
|
|
551
|
+
* @example
|
|
552
|
+
* cn-hangzhou
|
|
553
|
+
*/
|
|
202
554
|
regionId?: string;
|
|
203
555
|
static names(): {
|
|
204
556
|
[key: string]: string;
|
|
@@ -211,11 +563,38 @@ export declare class EnableHiveAccessRequest extends $tea.Model {
|
|
|
211
563
|
});
|
|
212
564
|
}
|
|
213
565
|
export declare class EnableHiveAccessResponseBody extends $tea.Model {
|
|
566
|
+
/**
|
|
567
|
+
* @example
|
|
568
|
+
* true
|
|
569
|
+
*/
|
|
214
570
|
data?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* @example
|
|
573
|
+
* 404
|
|
574
|
+
*/
|
|
215
575
|
errorCode?: string;
|
|
576
|
+
/**
|
|
577
|
+
* @example
|
|
578
|
+
* Internal server error.
|
|
579
|
+
*/
|
|
216
580
|
errorMessage?: string;
|
|
581
|
+
/**
|
|
582
|
+
* @example
|
|
583
|
+
* 200
|
|
584
|
+
*/
|
|
217
585
|
httpStatusCode?: string;
|
|
586
|
+
/**
|
|
587
|
+
* @remarks
|
|
588
|
+
* Id of the request
|
|
589
|
+
*
|
|
590
|
+
* @example
|
|
591
|
+
* EA8F0084-5831-5907-BB31-BD05D2617844
|
|
592
|
+
*/
|
|
218
593
|
requestId?: string;
|
|
594
|
+
/**
|
|
595
|
+
* @example
|
|
596
|
+
* true
|
|
597
|
+
*/
|
|
219
598
|
success?: boolean;
|
|
220
599
|
static names(): {
|
|
221
600
|
[key: string]: string;
|
|
@@ -244,11 +623,50 @@ export declare class EnableHiveAccessResponse extends $tea.Model {
|
|
|
244
623
|
});
|
|
245
624
|
}
|
|
246
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
|
+
*/
|
|
247
633
|
errorCode?: string;
|
|
634
|
+
/**
|
|
635
|
+
* @remarks
|
|
636
|
+
* The error message.
|
|
637
|
+
*
|
|
638
|
+
* @example
|
|
639
|
+
* Internal server error.
|
|
640
|
+
*/
|
|
248
641
|
errorMessage?: string;
|
|
642
|
+
/**
|
|
643
|
+
* @remarks
|
|
644
|
+
* The HTTP status code returned.
|
|
645
|
+
*
|
|
646
|
+
* @example
|
|
647
|
+
* 200
|
|
648
|
+
*/
|
|
249
649
|
httpStatusCode?: string;
|
|
650
|
+
/**
|
|
651
|
+
* @remarks
|
|
652
|
+
* The information about the instance.
|
|
653
|
+
*/
|
|
250
654
|
instance?: GetInstanceResponseBodyInstance;
|
|
655
|
+
/**
|
|
656
|
+
* @remarks
|
|
657
|
+
* The request ID.
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* 865A02C2-B374-5DD4-9B34-0CA15DA1AEBD
|
|
661
|
+
*/
|
|
251
662
|
requestId?: string;
|
|
663
|
+
/**
|
|
664
|
+
* @remarks
|
|
665
|
+
* The request result, which indicates whether the request was successful.
|
|
666
|
+
*
|
|
667
|
+
* @example
|
|
668
|
+
* true
|
|
669
|
+
*/
|
|
252
670
|
success?: boolean;
|
|
253
671
|
static names(): {
|
|
254
672
|
[key: string]: string;
|
|
@@ -277,7 +695,18 @@ export declare class GetInstanceResponse extends $tea.Model {
|
|
|
277
695
|
});
|
|
278
696
|
}
|
|
279
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
|
+
*/
|
|
280
705
|
requestId?: string;
|
|
706
|
+
/**
|
|
707
|
+
* @remarks
|
|
708
|
+
* The values returned.
|
|
709
|
+
*/
|
|
281
710
|
warehouseDetail?: GetWarehouseDetailResponseBodyWarehouseDetail;
|
|
282
711
|
static names(): {
|
|
283
712
|
[key: string]: string;
|
|
@@ -307,7 +736,18 @@ export declare class GetWarehouseDetailResponse extends $tea.Model {
|
|
|
307
736
|
}
|
|
308
737
|
export declare class ListInstancesRequest extends $tea.Model {
|
|
309
738
|
cmsInstanceType?: string;
|
|
739
|
+
/**
|
|
740
|
+
* @remarks
|
|
741
|
+
* The ID of the resource group.
|
|
742
|
+
*
|
|
743
|
+
* @example
|
|
744
|
+
* rg-acfmvscak73zmby
|
|
745
|
+
*/
|
|
310
746
|
resourceGroupId?: string;
|
|
747
|
+
/**
|
|
748
|
+
* @remarks
|
|
749
|
+
* The tags to add to the resource.
|
|
750
|
+
*/
|
|
311
751
|
tag?: ListInstancesRequestTag[];
|
|
312
752
|
static names(): {
|
|
313
753
|
[key: string]: string;
|
|
@@ -320,11 +760,50 @@ export declare class ListInstancesRequest extends $tea.Model {
|
|
|
320
760
|
});
|
|
321
761
|
}
|
|
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
|
+
*/
|
|
326
791
|
instanceList?: ListInstancesResponseBodyInstanceList[];
|
|
792
|
+
/**
|
|
793
|
+
* @remarks
|
|
794
|
+
* The request ID.
|
|
795
|
+
*
|
|
796
|
+
* @example
|
|
797
|
+
* D1303CD4-AA70-5998-8025-F55B22C50840
|
|
798
|
+
*/
|
|
327
799
|
requestId?: string;
|
|
800
|
+
/**
|
|
801
|
+
* @remarks
|
|
802
|
+
* Indicates whether the request was successful.
|
|
803
|
+
*
|
|
804
|
+
* @example
|
|
805
|
+
* true
|
|
806
|
+
*/
|
|
328
807
|
success?: string;
|
|
329
808
|
static names(): {
|
|
330
809
|
[key: string]: string;
|
|
@@ -353,7 +832,18 @@ export declare class ListInstancesResponse extends $tea.Model {
|
|
|
353
832
|
});
|
|
354
833
|
}
|
|
355
834
|
export declare class ListWarehousesResponseBody extends $tea.Model {
|
|
835
|
+
/**
|
|
836
|
+
* @remarks
|
|
837
|
+
* The list of virtual warehouse instances.
|
|
838
|
+
*/
|
|
356
839
|
warehouseList?: ListWarehousesResponseBodyWarehouseList[];
|
|
840
|
+
/**
|
|
841
|
+
* @remarks
|
|
842
|
+
* The request ID.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* 819A7F0F-2951-540F-BD94-6A41ECF0281F
|
|
846
|
+
*/
|
|
357
847
|
requestId?: string;
|
|
358
848
|
static names(): {
|
|
359
849
|
[key: string]: string;
|
|
@@ -382,7 +872,28 @@ export declare class ListWarehousesResponse extends $tea.Model {
|
|
|
382
872
|
});
|
|
383
873
|
}
|
|
384
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
|
+
*/
|
|
385
887
|
autoRenew?: boolean;
|
|
888
|
+
/**
|
|
889
|
+
* @remarks
|
|
890
|
+
* The renewal duration. Unit: month.
|
|
891
|
+
*
|
|
892
|
+
* This parameter is required.
|
|
893
|
+
*
|
|
894
|
+
* @example
|
|
895
|
+
* 2
|
|
896
|
+
*/
|
|
386
897
|
duration?: number;
|
|
387
898
|
static names(): {
|
|
388
899
|
[key: string]: string;
|
|
@@ -395,11 +906,50 @@ export declare class RenewInstanceRequest extends $tea.Model {
|
|
|
395
906
|
});
|
|
396
907
|
}
|
|
397
908
|
export declare class RenewInstanceResponseBody extends $tea.Model {
|
|
909
|
+
/**
|
|
910
|
+
* @remarks
|
|
911
|
+
* The returned data.
|
|
912
|
+
*/
|
|
398
913
|
data?: RenewInstanceResponseBodyData;
|
|
914
|
+
/**
|
|
915
|
+
* @remarks
|
|
916
|
+
* The error code returned.
|
|
917
|
+
*
|
|
918
|
+
* @example
|
|
919
|
+
* null
|
|
920
|
+
*/
|
|
399
921
|
errorCode?: string;
|
|
922
|
+
/**
|
|
923
|
+
* @remarks
|
|
924
|
+
* The error message returned.
|
|
925
|
+
*
|
|
926
|
+
* @example
|
|
927
|
+
* null
|
|
928
|
+
*/
|
|
400
929
|
errorMessage?: string;
|
|
930
|
+
/**
|
|
931
|
+
* @remarks
|
|
932
|
+
* The HTTP status code.
|
|
933
|
+
*
|
|
934
|
+
* @example
|
|
935
|
+
* 200
|
|
936
|
+
*/
|
|
401
937
|
httpStatusCode?: string;
|
|
938
|
+
/**
|
|
939
|
+
* @remarks
|
|
940
|
+
* The ID of the request.
|
|
941
|
+
*
|
|
942
|
+
* @example
|
|
943
|
+
* D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
|
|
944
|
+
*/
|
|
402
945
|
requestId?: string;
|
|
946
|
+
/**
|
|
947
|
+
* @remarks
|
|
948
|
+
* The request result, which indicates whether the request was successful.
|
|
949
|
+
*
|
|
950
|
+
* @example
|
|
951
|
+
* false
|
|
952
|
+
*/
|
|
403
953
|
success?: string;
|
|
404
954
|
static names(): {
|
|
405
955
|
[key: string]: string;
|
|
@@ -428,11 +978,71 @@ export declare class RenewInstanceResponse extends $tea.Model {
|
|
|
428
978
|
});
|
|
429
979
|
}
|
|
430
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
|
+
*/
|
|
431
1006
|
data?: boolean;
|
|
1007
|
+
/**
|
|
1008
|
+
* @remarks
|
|
1009
|
+
* The error code returned if the request failed.
|
|
1010
|
+
*
|
|
1011
|
+
* @example
|
|
1012
|
+
* 404
|
|
1013
|
+
*/
|
|
432
1014
|
errorCode?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* @remarks
|
|
1017
|
+
* The error message returned if the request failed.
|
|
1018
|
+
*
|
|
1019
|
+
* @example
|
|
1020
|
+
* Internal server error.
|
|
1021
|
+
*/
|
|
433
1022
|
errorMessage?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* @remarks
|
|
1025
|
+
* The HTTP status code.
|
|
1026
|
+
*
|
|
1027
|
+
* @example
|
|
1028
|
+
* 200
|
|
1029
|
+
*/
|
|
434
1030
|
httpStatusCode?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* @remarks
|
|
1033
|
+
* The request ID.
|
|
1034
|
+
*
|
|
1035
|
+
* @example
|
|
1036
|
+
* 36291497-CDB0-53DC-8CD7-762E054F57A6
|
|
1037
|
+
*/
|
|
435
1038
|
requestId?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* @remarks
|
|
1041
|
+
* The request result, which indicates whether the request was successful.
|
|
1042
|
+
*
|
|
1043
|
+
* @example
|
|
1044
|
+
* true
|
|
1045
|
+
*/
|
|
436
1046
|
success?: boolean;
|
|
437
1047
|
static names(): {
|
|
438
1048
|
[key: string]: string;
|
|
@@ -461,11 +1071,53 @@ export declare class RestartInstanceResponse extends $tea.Model {
|
|
|
461
1071
|
});
|
|
462
1072
|
}
|
|
463
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
|
+
*/
|
|
464
1081
|
data?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* @remarks
|
|
1084
|
+
* The error code returned if the request failed.
|
|
1085
|
+
*
|
|
1086
|
+
* @example
|
|
1087
|
+
* 404
|
|
1088
|
+
*/
|
|
465
1089
|
errorCode?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* @remarks
|
|
1092
|
+
* The error message returned if the request failed.
|
|
1093
|
+
*
|
|
1094
|
+
* @example
|
|
1095
|
+
* Internal server error.
|
|
1096
|
+
*/
|
|
466
1097
|
errorMessage?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* @remarks
|
|
1100
|
+
* The HTTP status code.
|
|
1101
|
+
*
|
|
1102
|
+
* @example
|
|
1103
|
+
* 200
|
|
1104
|
+
*/
|
|
467
1105
|
httpStatusCode?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* @remarks
|
|
1108
|
+
* The request ID.
|
|
1109
|
+
*
|
|
1110
|
+
* @example
|
|
1111
|
+
* D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
|
|
1112
|
+
*/
|
|
468
1113
|
requestId?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* @remarks
|
|
1116
|
+
* The request result, which indicates whether the request was successful.
|
|
1117
|
+
*
|
|
1118
|
+
* @example
|
|
1119
|
+
* true
|
|
1120
|
+
*/
|
|
469
1121
|
success?: boolean;
|
|
470
1122
|
static names(): {
|
|
471
1123
|
[key: string]: string;
|
|
@@ -494,11 +1146,81 @@ export declare class ResumeInstanceResponse extends $tea.Model {
|
|
|
494
1146
|
});
|
|
495
1147
|
}
|
|
496
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
|
+
*/
|
|
497
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
|
+
*/
|
|
498
1184
|
cpu?: number;
|
|
499
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
|
+
*/
|
|
500
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
|
+
*/
|
|
501
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
|
+
*/
|
|
502
1224
|
storageSize?: number;
|
|
503
1225
|
static names(): {
|
|
504
1226
|
[key: string]: string;
|
|
@@ -511,10 +1233,42 @@ export declare class ScaleInstanceRequest extends $tea.Model {
|
|
|
511
1233
|
});
|
|
512
1234
|
}
|
|
513
1235
|
export declare class ScaleInstanceResponseBody extends $tea.Model {
|
|
1236
|
+
/**
|
|
1237
|
+
* @remarks
|
|
1238
|
+
* The returned data.
|
|
1239
|
+
*/
|
|
514
1240
|
data?: ScaleInstanceResponseBodyData;
|
|
1241
|
+
/**
|
|
1242
|
+
* @remarks
|
|
1243
|
+
* The error code returned.
|
|
1244
|
+
*
|
|
1245
|
+
* @example
|
|
1246
|
+
* null
|
|
1247
|
+
*/
|
|
515
1248
|
errorCode?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* @remarks
|
|
1251
|
+
* The error message returned.
|
|
1252
|
+
*
|
|
1253
|
+
* @example
|
|
1254
|
+
* null
|
|
1255
|
+
*/
|
|
516
1256
|
errorMessage?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* @remarks
|
|
1259
|
+
* The HTTP status code.
|
|
1260
|
+
*
|
|
1261
|
+
* @example
|
|
1262
|
+
* 200
|
|
1263
|
+
*/
|
|
517
1264
|
httpStatusCode?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* @remarks
|
|
1267
|
+
* The ID of the request.
|
|
1268
|
+
*
|
|
1269
|
+
* @example
|
|
1270
|
+
* D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70
|
|
1271
|
+
*/
|
|
518
1272
|
requestId?: string;
|
|
519
1273
|
static names(): {
|
|
520
1274
|
[key: string]: string;
|
|
@@ -543,11 +1297,89 @@ export declare class ScaleInstanceResponse extends $tea.Model {
|
|
|
543
1297
|
});
|
|
544
1298
|
}
|
|
545
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
|
+
*/
|
|
546
1325
|
data?: boolean;
|
|
1326
|
+
/**
|
|
1327
|
+
* @remarks
|
|
1328
|
+
* The error code returned if the request failed.
|
|
1329
|
+
*
|
|
1330
|
+
* @example
|
|
1331
|
+
* 404
|
|
1332
|
+
*/
|
|
547
1333
|
errorCode?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* @remarks
|
|
1336
|
+
* The error message returned if the request failed.
|
|
1337
|
+
*
|
|
1338
|
+
* @example
|
|
1339
|
+
* Internal server error.
|
|
1340
|
+
*/
|
|
548
1341
|
errorMessage?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* @remarks
|
|
1344
|
+
* The HTTP status code.
|
|
1345
|
+
*
|
|
1346
|
+
* @example
|
|
1347
|
+
* 200
|
|
1348
|
+
*/
|
|
549
1349
|
httpStatusCode?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* @remarks
|
|
1352
|
+
* The request ID.
|
|
1353
|
+
*
|
|
1354
|
+
* @example
|
|
1355
|
+
* 2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A
|
|
1356
|
+
*/
|
|
550
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
|
+
*/
|
|
551
1383
|
success?: boolean;
|
|
552
1384
|
static names(): {
|
|
553
1385
|
[key: string]: string;
|
|
@@ -576,6 +1408,13 @@ export declare class StopInstanceResponse extends $tea.Model {
|
|
|
576
1408
|
});
|
|
577
1409
|
}
|
|
578
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
|
+
*/
|
|
579
1418
|
instanceName?: string;
|
|
580
1419
|
static names(): {
|
|
581
1420
|
[key: string]: string;
|
|
@@ -588,11 +1427,89 @@ export declare class UpdateInstanceNameRequest extends $tea.Model {
|
|
|
588
1427
|
});
|
|
589
1428
|
}
|
|
590
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
|
+
*/
|
|
591
1455
|
data?: boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* @remarks
|
|
1458
|
+
* The error code returned if the request failed.
|
|
1459
|
+
*
|
|
1460
|
+
* @example
|
|
1461
|
+
* 404
|
|
1462
|
+
*/
|
|
592
1463
|
errorCode?: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* @remarks
|
|
1466
|
+
* The error message returned if the request failed.
|
|
1467
|
+
*
|
|
1468
|
+
* @example
|
|
1469
|
+
* Internal server error.
|
|
1470
|
+
*/
|
|
593
1471
|
errorMessage?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* @remarks
|
|
1474
|
+
* The HTTP status code.
|
|
1475
|
+
*
|
|
1476
|
+
* @example
|
|
1477
|
+
* 200
|
|
1478
|
+
*/
|
|
594
1479
|
httpStatusCode?: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* @remarks
|
|
1482
|
+
* The request ID.
|
|
1483
|
+
*
|
|
1484
|
+
* @example
|
|
1485
|
+
* C6B55032-D41A-5FE0-9C07-8BD81C88422E
|
|
1486
|
+
*/
|
|
595
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
|
+
*/
|
|
596
1513
|
success?: boolean;
|
|
597
1514
|
static names(): {
|
|
598
1515
|
[key: string]: string;
|
|
@@ -621,11 +1538,71 @@ export declare class UpdateInstanceNameResponse extends $tea.Model {
|
|
|
621
1538
|
});
|
|
622
1539
|
}
|
|
623
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
|
+
*/
|
|
624
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
|
+
*/
|
|
625
1574
|
networkTypes?: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* @remarks
|
|
1577
|
+
* The vSwitch ID.
|
|
1578
|
+
*
|
|
1579
|
+
* @example
|
|
1580
|
+
* vsw-2vccsiymtqr9aavew0vo3
|
|
1581
|
+
*/
|
|
626
1582
|
vSwitchId?: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* @remarks
|
|
1585
|
+
* The ID of the VPC to which the instance belongs.
|
|
1586
|
+
*
|
|
1587
|
+
* @example
|
|
1588
|
+
* vpc-t4netc3y5etlondfb5ra7
|
|
1589
|
+
*/
|
|
627
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
|
+
*/
|
|
628
1598
|
vpcOwnerId?: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* @remarks
|
|
1601
|
+
* The region ID of the VPC.
|
|
1602
|
+
*
|
|
1603
|
+
* @example
|
|
1604
|
+
* cn-hangzhou
|
|
1605
|
+
*/
|
|
629
1606
|
vpcRegionId?: string;
|
|
630
1607
|
static names(): {
|
|
631
1608
|
[key: string]: string;
|
|
@@ -638,11 +1615,89 @@ export declare class UpdateInstanceNetworkTypeRequest extends $tea.Model {
|
|
|
638
1615
|
});
|
|
639
1616
|
}
|
|
640
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
|
+
*/
|
|
641
1643
|
data?: string;
|
|
1644
|
+
/**
|
|
1645
|
+
* @remarks
|
|
1646
|
+
* The error code returned if the request failed.
|
|
1647
|
+
*
|
|
1648
|
+
* @example
|
|
1649
|
+
* 404
|
|
1650
|
+
*/
|
|
642
1651
|
errorCode?: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* @remarks
|
|
1654
|
+
* The error message returned if the request failed.
|
|
1655
|
+
*
|
|
1656
|
+
* @example
|
|
1657
|
+
* Internal server error.
|
|
1658
|
+
*/
|
|
643
1659
|
errorMessage?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* @remarks
|
|
1662
|
+
* The HTTP status code.
|
|
1663
|
+
*
|
|
1664
|
+
* @example
|
|
1665
|
+
* 200
|
|
1666
|
+
*/
|
|
644
1667
|
httpStatusCode?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* @remarks
|
|
1670
|
+
* The request ID.
|
|
1671
|
+
*
|
|
1672
|
+
* @example
|
|
1673
|
+
* 9CC37B9F-F4B4-5FF1-939B-AEE78DC70130
|
|
1674
|
+
*/
|
|
645
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
|
+
*/
|
|
646
1701
|
success?: boolean;
|
|
647
1702
|
static names(): {
|
|
648
1703
|
[key: string]: string;
|
|
@@ -671,10 +1726,45 @@ export declare class UpdateInstanceNetworkTypeResponse extends $tea.Model {
|
|
|
671
1726
|
});
|
|
672
1727
|
}
|
|
673
1728
|
export declare class CreateInstanceResponseBodyData extends $tea.Model {
|
|
1729
|
+
/**
|
|
1730
|
+
* @remarks
|
|
1731
|
+
* The error code returned.
|
|
1732
|
+
*
|
|
1733
|
+
* @example
|
|
1734
|
+
* InvalidVpcOrVSwitch.NotAvailable
|
|
1735
|
+
*/
|
|
674
1736
|
code?: string;
|
|
1737
|
+
/**
|
|
1738
|
+
* @remarks
|
|
1739
|
+
* The instance ID.
|
|
1740
|
+
*
|
|
1741
|
+
* @example
|
|
1742
|
+
* hgpostcn-cn-xxxxxx
|
|
1743
|
+
*/
|
|
675
1744
|
instanceId?: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* @remarks
|
|
1747
|
+
* The error details.
|
|
1748
|
+
*/
|
|
676
1749
|
message?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* @remarks
|
|
1752
|
+
* The order ID.
|
|
1753
|
+
*
|
|
1754
|
+
* @example
|
|
1755
|
+
* 217523224780172
|
|
1756
|
+
*/
|
|
677
1757
|
orderId?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* @remarks
|
|
1760
|
+
* Indicates whether the instance was created.
|
|
1761
|
+
*
|
|
1762
|
+
* * true
|
|
1763
|
+
* * false
|
|
1764
|
+
*
|
|
1765
|
+
* @example
|
|
1766
|
+
* true
|
|
1767
|
+
*/
|
|
678
1768
|
success?: string;
|
|
679
1769
|
static names(): {
|
|
680
1770
|
[key: string]: string;
|
|
@@ -687,12 +1777,135 @@ export declare class CreateInstanceResponseBodyData extends $tea.Model {
|
|
|
687
1777
|
});
|
|
688
1778
|
}
|
|
689
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
|
+
*/
|
|
690
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
|
+
*/
|
|
691
1813
|
enabled?: boolean;
|
|
1814
|
+
/**
|
|
1815
|
+
* @remarks
|
|
1816
|
+
* The endpoint.
|
|
1817
|
+
*
|
|
1818
|
+
* @example
|
|
1819
|
+
* hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80
|
|
1820
|
+
*/
|
|
692
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
|
+
*/
|
|
693
1885
|
type?: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* @remarks
|
|
1888
|
+
* The ID of the vSwitch.
|
|
1889
|
+
*
|
|
1890
|
+
* @example
|
|
1891
|
+
* vsw-bp1jqwp2ys6kp7tc9t983
|
|
1892
|
+
*/
|
|
694
1893
|
vSwitchId?: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* @remarks
|
|
1896
|
+
* The ID of the VPC to which the instance belongs.
|
|
1897
|
+
*
|
|
1898
|
+
* @example
|
|
1899
|
+
* vpc-uf66jjber3hgvwhki3wna
|
|
1900
|
+
*/
|
|
695
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
|
+
*/
|
|
696
1909
|
vpcInstanceId?: string;
|
|
697
1910
|
static names(): {
|
|
698
1911
|
[key: string]: string;
|
|
@@ -705,7 +1918,21 @@ export declare class GetInstanceResponseBodyInstanceEndpoints extends $tea.Model
|
|
|
705
1918
|
});
|
|
706
1919
|
}
|
|
707
1920
|
export declare class GetInstanceResponseBodyInstanceTags extends $tea.Model {
|
|
1921
|
+
/**
|
|
1922
|
+
* @remarks
|
|
1923
|
+
* The key of tag N.
|
|
1924
|
+
*
|
|
1925
|
+
* @example
|
|
1926
|
+
* tag
|
|
1927
|
+
*/
|
|
708
1928
|
key?: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* @remarks
|
|
1931
|
+
* The value of tag N.
|
|
1932
|
+
*
|
|
1933
|
+
* @example
|
|
1934
|
+
* value
|
|
1935
|
+
*/
|
|
709
1936
|
value?: string;
|
|
710
1937
|
static names(): {
|
|
711
1938
|
[key: string]: string;
|
|
@@ -718,34 +1945,483 @@ export declare class GetInstanceResponseBodyInstanceTags extends $tea.Model {
|
|
|
718
1945
|
});
|
|
719
1946
|
}
|
|
720
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
|
+
*/
|
|
721
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
|
+
*/
|
|
722
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
|
+
*/
|
|
723
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
|
+
*/
|
|
724
2107
|
computeNodeCount?: number;
|
|
2108
|
+
/**
|
|
2109
|
+
* @remarks
|
|
2110
|
+
* The number of CPU cores.
|
|
2111
|
+
*
|
|
2112
|
+
* @example
|
|
2113
|
+
* 32
|
|
2114
|
+
*/
|
|
725
2115
|
cpu?: number;
|
|
2116
|
+
/**
|
|
2117
|
+
* @remarks
|
|
2118
|
+
* The time when the instance was created.
|
|
2119
|
+
*
|
|
2120
|
+
* @example
|
|
2121
|
+
* 2021-02-03T13:06:06Z
|
|
2122
|
+
*/
|
|
726
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
|
+
*/
|
|
727
2131
|
disk?: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* @remarks
|
|
2134
|
+
* Indicates whether data lake acceleration is enabled.
|
|
2135
|
+
*
|
|
2136
|
+
* @example
|
|
2137
|
+
* true
|
|
2138
|
+
*/
|
|
728
2139
|
enableHiveAccess?: string;
|
|
729
2140
|
enableServerless?: boolean;
|
|
2141
|
+
/**
|
|
2142
|
+
* @remarks
|
|
2143
|
+
* The list of endpoints.
|
|
2144
|
+
*/
|
|
730
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
|
+
*/
|
|
731
2153
|
expirationTime?: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* @remarks
|
|
2156
|
+
* The number of gateway nodes.
|
|
2157
|
+
*
|
|
2158
|
+
* @example
|
|
2159
|
+
* 2
|
|
2160
|
+
*/
|
|
732
2161
|
gatewayCount?: number;
|
|
2162
|
+
/**
|
|
2163
|
+
* @remarks
|
|
2164
|
+
* The number of CPU cores of the gateway. Unit: core.
|
|
2165
|
+
*
|
|
2166
|
+
* @example
|
|
2167
|
+
* 4
|
|
2168
|
+
*/
|
|
733
2169
|
gatewayCpu?: number;
|
|
2170
|
+
/**
|
|
2171
|
+
* @remarks
|
|
2172
|
+
* The size of memory resources of the gateway. Unit: GB.
|
|
2173
|
+
*
|
|
2174
|
+
* @example
|
|
2175
|
+
* 16
|
|
2176
|
+
*/
|
|
734
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
|
+
*/
|
|
735
2215
|
instanceChargeType?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* @remarks
|
|
2218
|
+
* The instance ID.
|
|
2219
|
+
*
|
|
2220
|
+
* @example
|
|
2221
|
+
* hgpostcn-cn-tl32s6cgw00b
|
|
2222
|
+
*/
|
|
736
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
|
+
*/
|
|
737
2231
|
instanceName?: string;
|
|
2232
|
+
/**
|
|
2233
|
+
* @remarks
|
|
2234
|
+
* The owner of the instance.
|
|
2235
|
+
*
|
|
2236
|
+
* @example
|
|
2237
|
+
* 12345678900000
|
|
2238
|
+
*/
|
|
738
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
|
+
*/
|
|
739
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
|
+
*/
|
|
740
2319
|
instanceType?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* @remarks
|
|
2322
|
+
* The ID of the primary instance.
|
|
2323
|
+
*
|
|
2324
|
+
* @example
|
|
2325
|
+
* hgpostcn-cn-i7m2ncd6w002
|
|
2326
|
+
*/
|
|
741
2327
|
leaderInstanceId?: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* @remarks
|
|
2330
|
+
* The memory size. Unit: GB.
|
|
2331
|
+
*
|
|
2332
|
+
* @example
|
|
2333
|
+
* 128
|
|
2334
|
+
*/
|
|
742
2335
|
memory?: number;
|
|
2336
|
+
/**
|
|
2337
|
+
* @remarks
|
|
2338
|
+
* The ID of the region in which the instance resides.
|
|
2339
|
+
*
|
|
2340
|
+
* @example
|
|
2341
|
+
* cn-hangzhou
|
|
2342
|
+
*/
|
|
743
2343
|
regionId?: string;
|
|
744
2344
|
replicaRole?: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* @remarks
|
|
2347
|
+
* The ID of the resource group.
|
|
2348
|
+
*
|
|
2349
|
+
* @example
|
|
2350
|
+
* rg-aekzuq7hpybze2i
|
|
2351
|
+
*/
|
|
745
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
|
+
*/
|
|
746
2404
|
suspendReason?: string;
|
|
2405
|
+
/**
|
|
2406
|
+
* @remarks
|
|
2407
|
+
* The instance tag.
|
|
2408
|
+
*/
|
|
747
2409
|
tags?: GetInstanceResponseBodyInstanceTags[];
|
|
2410
|
+
/**
|
|
2411
|
+
* @remarks
|
|
2412
|
+
* The instance version.
|
|
2413
|
+
*
|
|
2414
|
+
* @example
|
|
2415
|
+
* r1.3.37
|
|
2416
|
+
*/
|
|
748
2417
|
version?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* @remarks
|
|
2420
|
+
* The ID of the zone where the instance resides.
|
|
2421
|
+
*
|
|
2422
|
+
* @example
|
|
2423
|
+
* cn-hangzhou-h
|
|
2424
|
+
*/
|
|
749
2425
|
zoneId?: string;
|
|
750
2426
|
static names(): {
|
|
751
2427
|
[key: string]: string;
|
|
@@ -758,11 +2434,98 @@ export declare class GetInstanceResponseBodyInstance extends $tea.Model {
|
|
|
758
2434
|
});
|
|
759
2435
|
}
|
|
760
2436
|
export declare class GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList extends $tea.Model {
|
|
2437
|
+
/**
|
|
2438
|
+
* @remarks
|
|
2439
|
+
* The number of CPU cores.
|
|
2440
|
+
*
|
|
2441
|
+
* @example
|
|
2442
|
+
* 32
|
|
2443
|
+
*/
|
|
761
2444
|
cpu?: number;
|
|
2445
|
+
defaultWarehouse?: boolean;
|
|
2446
|
+
elasticCpu?: number;
|
|
2447
|
+
/**
|
|
2448
|
+
* @remarks
|
|
2449
|
+
* The ID.
|
|
2450
|
+
*
|
|
2451
|
+
* @example
|
|
2452
|
+
* 2
|
|
2453
|
+
*/
|
|
762
2454
|
id?: number;
|
|
2455
|
+
/**
|
|
2456
|
+
* @remarks
|
|
2457
|
+
* The memory capacity.
|
|
2458
|
+
*
|
|
2459
|
+
* @example
|
|
2460
|
+
* 128
|
|
2461
|
+
*/
|
|
763
2462
|
mem?: number;
|
|
2463
|
+
/**
|
|
2464
|
+
* @remarks
|
|
2465
|
+
* The name of the virtual warehouse instance.
|
|
2466
|
+
*
|
|
2467
|
+
* @example
|
|
2468
|
+
* MyWarehouse
|
|
2469
|
+
*/
|
|
764
2470
|
name?: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* @remarks
|
|
2473
|
+
* The number of compute nodes.
|
|
2474
|
+
*
|
|
2475
|
+
* @example
|
|
2476
|
+
* 2
|
|
2477
|
+
*/
|
|
765
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
|
+
*/
|
|
766
2529
|
status?: string;
|
|
767
2530
|
static names(): {
|
|
768
2531
|
[key: string]: string;
|
|
@@ -775,8 +2538,27 @@ export declare class GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList
|
|
|
775
2538
|
});
|
|
776
2539
|
}
|
|
777
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
|
+
*/
|
|
778
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
|
+
*/
|
|
779
2556
|
reservedCpu?: string;
|
|
2557
|
+
timedElasticCpu?: string;
|
|
2558
|
+
/**
|
|
2559
|
+
* @remarks
|
|
2560
|
+
* The list of virtual warehouses.
|
|
2561
|
+
*/
|
|
780
2562
|
warehouseList?: GetWarehouseDetailResponseBodyWarehouseDetailWarehouseList[];
|
|
781
2563
|
static names(): {
|
|
782
2564
|
[key: string]: string;
|
|
@@ -789,7 +2571,21 @@ export declare class GetWarehouseDetailResponseBodyWarehouseDetail extends $tea.
|
|
|
789
2571
|
});
|
|
790
2572
|
}
|
|
791
2573
|
export declare class ListInstancesRequestTag extends $tea.Model {
|
|
2574
|
+
/**
|
|
2575
|
+
* @remarks
|
|
2576
|
+
* The tag key.
|
|
2577
|
+
*
|
|
2578
|
+
* @example
|
|
2579
|
+
* mytag
|
|
2580
|
+
*/
|
|
792
2581
|
key?: string;
|
|
2582
|
+
/**
|
|
2583
|
+
* @remarks
|
|
2584
|
+
* The tag value.
|
|
2585
|
+
*
|
|
2586
|
+
* @example
|
|
2587
|
+
* value
|
|
2588
|
+
*/
|
|
793
2589
|
value?: string;
|
|
794
2590
|
static names(): {
|
|
795
2591
|
[key: string]: string;
|
|
@@ -802,11 +2598,125 @@ export declare class ListInstancesRequestTag extends $tea.Model {
|
|
|
802
2598
|
});
|
|
803
2599
|
}
|
|
804
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
|
+
*/
|
|
805
2626
|
enabled?: boolean;
|
|
2627
|
+
/**
|
|
2628
|
+
* @remarks
|
|
2629
|
+
* The endpoint.
|
|
2630
|
+
*
|
|
2631
|
+
* @example
|
|
2632
|
+
* hgpostcn-cn-aaab9ad2d8fb-cn-hangzhou-internal.hologres.aliyuncs.com:80
|
|
2633
|
+
*/
|
|
806
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
|
+
*/
|
|
807
2696
|
type?: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* @remarks
|
|
2699
|
+
* The vSwitch ID.
|
|
2700
|
+
*
|
|
2701
|
+
* @example
|
|
2702
|
+
* vsw-wz9oap28raidjevhuszg4
|
|
2703
|
+
*/
|
|
808
2704
|
vSwitchId?: string;
|
|
2705
|
+
/**
|
|
2706
|
+
* @remarks
|
|
2707
|
+
* The VPC ID.
|
|
2708
|
+
*
|
|
2709
|
+
* @example
|
|
2710
|
+
* vpc-uf6mrahzyu7uorlqqpz5f
|
|
2711
|
+
*/
|
|
809
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
|
+
*/
|
|
810
2720
|
vpcInstanceId?: string;
|
|
811
2721
|
static names(): {
|
|
812
2722
|
[key: string]: string;
|
|
@@ -819,7 +2729,21 @@ export declare class ListInstancesResponseBodyInstanceListEndpoints extends $tea
|
|
|
819
2729
|
});
|
|
820
2730
|
}
|
|
821
2731
|
export declare class ListInstancesResponseBodyInstanceListTags extends $tea.Model {
|
|
2732
|
+
/**
|
|
2733
|
+
* @remarks
|
|
2734
|
+
* The tag key.
|
|
2735
|
+
*
|
|
2736
|
+
* @example
|
|
2737
|
+
* tag
|
|
2738
|
+
*/
|
|
822
2739
|
key?: string;
|
|
2740
|
+
/**
|
|
2741
|
+
* @remarks
|
|
2742
|
+
* The tag value.
|
|
2743
|
+
*
|
|
2744
|
+
* @example
|
|
2745
|
+
* value
|
|
2746
|
+
*/
|
|
823
2747
|
value?: string;
|
|
824
2748
|
static names(): {
|
|
825
2749
|
[key: string]: string;
|
|
@@ -832,21 +2756,232 @@ export declare class ListInstancesResponseBodyInstanceListTags extends $tea.Mode
|
|
|
832
2756
|
});
|
|
833
2757
|
}
|
|
834
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
|
+
*/
|
|
835
2766
|
commodityCode?: string;
|
|
2767
|
+
/**
|
|
2768
|
+
* @remarks
|
|
2769
|
+
* The time when the cluster was created.
|
|
2770
|
+
*
|
|
2771
|
+
* @example
|
|
2772
|
+
* 2022-12-16T02:24:05Z
|
|
2773
|
+
*/
|
|
836
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
|
+
*/
|
|
837
2800
|
enableHiveAccess?: string;
|
|
2801
|
+
/**
|
|
2802
|
+
* @remarks
|
|
2803
|
+
* The list of endpoints.
|
|
2804
|
+
*/
|
|
838
2805
|
endpoints?: ListInstancesResponseBodyInstanceListEndpoints[];
|
|
2806
|
+
/**
|
|
2807
|
+
* @remarks
|
|
2808
|
+
* The time when the cluster expires.
|
|
2809
|
+
*
|
|
2810
|
+
* @example
|
|
2811
|
+
* 2023-05-04T16:00:00.000Z
|
|
2812
|
+
*/
|
|
839
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
|
+
*/
|
|
840
2851
|
instanceChargeType?: string;
|
|
2852
|
+
/**
|
|
2853
|
+
* @remarks
|
|
2854
|
+
* The instance ID.
|
|
2855
|
+
*
|
|
2856
|
+
* @example
|
|
2857
|
+
* hgpostcn-cn-aaab9ad2d8fb
|
|
2858
|
+
*/
|
|
841
2859
|
instanceId?: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* @remarks
|
|
2862
|
+
* The name of the instance.
|
|
2863
|
+
*
|
|
2864
|
+
* @example
|
|
2865
|
+
* test_instance
|
|
2866
|
+
*/
|
|
842
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
|
+
*/
|
|
843
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
|
+
*/
|
|
844
2947
|
instanceType?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* @remarks
|
|
2950
|
+
* The ID of the primary instance.
|
|
2951
|
+
*
|
|
2952
|
+
* @example
|
|
2953
|
+
* hgprecn-cn-2r42sqvxm006
|
|
2954
|
+
*/
|
|
845
2955
|
leaderInstanceId?: string;
|
|
846
2956
|
regionId?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* @remarks
|
|
2959
|
+
* The ID of the resource group.
|
|
2960
|
+
*
|
|
2961
|
+
* @example
|
|
2962
|
+
* rg-acfmvscak73zmby
|
|
2963
|
+
*/
|
|
847
2964
|
resourceGroupId?: string;
|
|
2965
|
+
/**
|
|
2966
|
+
* @remarks
|
|
2967
|
+
* The reason for the suspension.
|
|
2968
|
+
*
|
|
2969
|
+
* @example
|
|
2970
|
+
* Manual
|
|
2971
|
+
*/
|
|
848
2972
|
suspendReason?: string;
|
|
2973
|
+
/**
|
|
2974
|
+
* @remarks
|
|
2975
|
+
* The tags that are added to the resource.
|
|
2976
|
+
*/
|
|
849
2977
|
tags?: ListInstancesResponseBodyInstanceListTags[];
|
|
2978
|
+
/**
|
|
2979
|
+
* @remarks
|
|
2980
|
+
* The version of the cluster.
|
|
2981
|
+
*
|
|
2982
|
+
* @example
|
|
2983
|
+
* 1.3.37
|
|
2984
|
+
*/
|
|
850
2985
|
version?: string;
|
|
851
2986
|
zoneId?: string;
|
|
852
2987
|
static names(): {
|
|
@@ -860,11 +2995,95 @@ export declare class ListInstancesResponseBodyInstanceList extends $tea.Model {
|
|
|
860
2995
|
});
|
|
861
2996
|
}
|
|
862
2997
|
export declare class ListWarehousesResponseBodyWarehouseList extends $tea.Model {
|
|
2998
|
+
/**
|
|
2999
|
+
* @remarks
|
|
3000
|
+
* The number of CPU cores.
|
|
3001
|
+
*
|
|
3002
|
+
* @example
|
|
3003
|
+
* 32
|
|
3004
|
+
*/
|
|
863
3005
|
cpu?: number;
|
|
3006
|
+
/**
|
|
3007
|
+
* @remarks
|
|
3008
|
+
* The ID.
|
|
3009
|
+
*
|
|
3010
|
+
* @example
|
|
3011
|
+
* 3
|
|
3012
|
+
*/
|
|
864
3013
|
id?: number;
|
|
3014
|
+
/**
|
|
3015
|
+
* @remarks
|
|
3016
|
+
* The memory capacity.
|
|
3017
|
+
*
|
|
3018
|
+
* @example
|
|
3019
|
+
* 128
|
|
3020
|
+
*/
|
|
865
3021
|
mem?: number;
|
|
3022
|
+
/**
|
|
3023
|
+
* @remarks
|
|
3024
|
+
* The name of the virtual warehouse instance.
|
|
3025
|
+
*
|
|
3026
|
+
* @example
|
|
3027
|
+
* MyWarehouse
|
|
3028
|
+
*/
|
|
866
3029
|
name?: string;
|
|
3030
|
+
/**
|
|
3031
|
+
* @remarks
|
|
3032
|
+
* The number of compute nodes.
|
|
3033
|
+
*
|
|
3034
|
+
* @example
|
|
3035
|
+
* 2
|
|
3036
|
+
*/
|
|
867
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
|
+
*/
|
|
868
3087
|
status?: string;
|
|
869
3088
|
static names(): {
|
|
870
3089
|
[key: string]: string;
|
|
@@ -877,9 +3096,37 @@ export declare class ListWarehousesResponseBodyWarehouseList extends $tea.Model
|
|
|
877
3096
|
});
|
|
878
3097
|
}
|
|
879
3098
|
export declare class RenewInstanceResponseBodyData extends $tea.Model {
|
|
3099
|
+
/**
|
|
3100
|
+
* @remarks
|
|
3101
|
+
* The error code returned.
|
|
3102
|
+
*
|
|
3103
|
+
* @example
|
|
3104
|
+
* InvalidChargeType.UnRenewable
|
|
3105
|
+
*/
|
|
880
3106
|
code?: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* @remarks
|
|
3109
|
+
* The error details.
|
|
3110
|
+
*/
|
|
881
3111
|
message?: string;
|
|
3112
|
+
/**
|
|
3113
|
+
* @remarks
|
|
3114
|
+
* The ID of the order.
|
|
3115
|
+
*
|
|
3116
|
+
* @example
|
|
3117
|
+
* 221625608580893
|
|
3118
|
+
*/
|
|
882
3119
|
orderId?: string;
|
|
3120
|
+
/**
|
|
3121
|
+
* @remarks
|
|
3122
|
+
* Indicates whether the renewal was successful.
|
|
3123
|
+
*
|
|
3124
|
+
* * true
|
|
3125
|
+
* * false
|
|
3126
|
+
*
|
|
3127
|
+
* @example
|
|
3128
|
+
* true
|
|
3129
|
+
*/
|
|
883
3130
|
success?: boolean;
|
|
884
3131
|
static names(): {
|
|
885
3132
|
[key: string]: string;
|
|
@@ -892,9 +3139,55 @@ export declare class RenewInstanceResponseBodyData extends $tea.Model {
|
|
|
892
3139
|
});
|
|
893
3140
|
}
|
|
894
3141
|
export declare class ScaleInstanceResponseBodyData extends $tea.Model {
|
|
3142
|
+
/**
|
|
3143
|
+
* @remarks
|
|
3144
|
+
* The error code returned.
|
|
3145
|
+
*
|
|
3146
|
+
* @example
|
|
3147
|
+
* InvalidScaleType.Unsupported
|
|
3148
|
+
*/
|
|
895
3149
|
code?: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* @remarks
|
|
3152
|
+
* The error details.
|
|
3153
|
+
*
|
|
3154
|
+
* @example
|
|
3155
|
+
* null
|
|
3156
|
+
*/
|
|
896
3157
|
message?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* @remarks
|
|
3160
|
+
* The ID of the order.
|
|
3161
|
+
*
|
|
3162
|
+
* @example
|
|
3163
|
+
* 219183853450000
|
|
3164
|
+
*/
|
|
897
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
|
+
*/
|
|
898
3191
|
success?: boolean;
|
|
899
3192
|
static names(): {
|
|
900
3193
|
[key: string]: string;
|
|
@@ -911,176 +3204,350 @@ export default class Client extends OpenApi {
|
|
|
911
3204
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
912
3205
|
[key: string]: string;
|
|
913
3206
|
}, endpoint: string): string;
|
|
3207
|
+
/**
|
|
3208
|
+
* 更改资源组
|
|
3209
|
+
*
|
|
3210
|
+
* @param request - ChangeResourceGroupRequest
|
|
3211
|
+
* @param headers - map
|
|
3212
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3213
|
+
* @returns ChangeResourceGroupResponse
|
|
3214
|
+
*/
|
|
914
3215
|
changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, headers: {
|
|
915
3216
|
[key: string]: string;
|
|
916
3217
|
}, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
|
|
3218
|
+
/**
|
|
3219
|
+
* 更改资源组
|
|
3220
|
+
*
|
|
3221
|
+
* @param request - ChangeResourceGroupRequest
|
|
3222
|
+
* @returns ChangeResourceGroupResponse
|
|
3223
|
+
*/
|
|
917
3224
|
changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
|
|
918
3225
|
/**
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
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
|
|
943
3253
|
*/
|
|
944
3254
|
createInstanceWithOptions(request: CreateInstanceRequest, headers: {
|
|
945
3255
|
[key: string]: string;
|
|
946
3256
|
}, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse>;
|
|
947
3257
|
/**
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
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
|
|
970
3283
|
*/
|
|
971
3284
|
createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
|
|
972
3285
|
/**
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
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
|
|
982
3298
|
*/
|
|
983
3299
|
deleteInstanceWithOptions(instanceId: string, request: DeleteInstanceRequest, headers: {
|
|
984
3300
|
[key: string]: string;
|
|
985
3301
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse>;
|
|
986
3302
|
/**
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
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
|
|
994
3313
|
*/
|
|
995
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
|
+
*/
|
|
996
3323
|
disableHiveAccessWithOptions(instanceId: string, request: DisableHiveAccessRequest, headers: {
|
|
997
3324
|
[key: string]: string;
|
|
998
3325
|
}, runtime: $Util.RuntimeOptions): Promise<DisableHiveAccessResponse>;
|
|
3326
|
+
/**
|
|
3327
|
+
* 关闭数据湖加速
|
|
3328
|
+
*
|
|
3329
|
+
* @param request - DisableHiveAccessRequest
|
|
3330
|
+
* @returns DisableHiveAccessResponse
|
|
3331
|
+
*/
|
|
999
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
|
+
*/
|
|
1000
3341
|
enableHiveAccessWithOptions(instanceId: string, request: EnableHiveAccessRequest, headers: {
|
|
1001
3342
|
[key: string]: string;
|
|
1002
3343
|
}, runtime: $Util.RuntimeOptions): Promise<EnableHiveAccessResponse>;
|
|
3344
|
+
/**
|
|
3345
|
+
* 打开数据湖加速
|
|
3346
|
+
*
|
|
3347
|
+
* @param request - EnableHiveAccessRequest
|
|
3348
|
+
* @returns EnableHiveAccessResponse
|
|
3349
|
+
*/
|
|
1003
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
|
+
*/
|
|
1004
3358
|
getInstanceWithOptions(instanceId: string, headers: {
|
|
1005
3359
|
[key: string]: string;
|
|
1006
3360
|
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
|
|
3361
|
+
/**
|
|
3362
|
+
* Obtains the details of an instance.
|
|
3363
|
+
* @returns GetInstanceResponse
|
|
3364
|
+
*/
|
|
1007
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
|
+
*/
|
|
1008
3373
|
getWarehouseDetailWithOptions(instanceId: string, headers: {
|
|
1009
3374
|
[key: string]: string;
|
|
1010
3375
|
}, runtime: $Util.RuntimeOptions): Promise<GetWarehouseDetailResponse>;
|
|
3376
|
+
/**
|
|
3377
|
+
* Queries details of a virtual warehouse instance.
|
|
3378
|
+
* @returns GetWarehouseDetailResponse
|
|
3379
|
+
*/
|
|
1011
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
|
+
*/
|
|
1012
3389
|
listInstancesWithOptions(request: ListInstancesRequest, headers: {
|
|
1013
3390
|
[key: string]: string;
|
|
1014
3391
|
}, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
|
|
3392
|
+
/**
|
|
3393
|
+
* Queries a list of instances.
|
|
3394
|
+
*
|
|
3395
|
+
* @param request - ListInstancesRequest
|
|
3396
|
+
* @returns ListInstancesResponse
|
|
3397
|
+
*/
|
|
1015
3398
|
listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
|
|
3399
|
+
/**
|
|
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
|
+
*/
|
|
1016
3406
|
listWarehousesWithOptions(instanceId: string, headers: {
|
|
1017
3407
|
[key: string]: string;
|
|
1018
3408
|
}, runtime: $Util.RuntimeOptions): Promise<ListWarehousesResponse>;
|
|
3409
|
+
/**
|
|
3410
|
+
* Queries the list of virtual warehouse instances.
|
|
3411
|
+
* @returns ListWarehousesResponse
|
|
3412
|
+
*/
|
|
1019
3413
|
listWarehouses(instanceId: string): Promise<ListWarehousesResponse>;
|
|
1020
3414
|
/**
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
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
|
|
1030
3427
|
*/
|
|
1031
3428
|
renewInstanceWithOptions(instanceId: string, request: RenewInstanceRequest, headers: {
|
|
1032
3429
|
[key: string]: string;
|
|
1033
3430
|
}, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
|
|
1034
3431
|
/**
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
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
|
|
1042
3442
|
*/
|
|
1043
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
|
+
*/
|
|
1044
3451
|
restartInstanceWithOptions(instanceId: string, headers: {
|
|
1045
3452
|
[key: string]: string;
|
|
1046
3453
|
}, runtime: $Util.RuntimeOptions): Promise<RestartInstanceResponse>;
|
|
3454
|
+
/**
|
|
3455
|
+
* 重启实例
|
|
3456
|
+
* @returns RestartInstanceResponse
|
|
3457
|
+
*/
|
|
1047
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
|
+
*/
|
|
1048
3466
|
resumeInstanceWithOptions(instanceId: string, headers: {
|
|
1049
3467
|
[key: string]: string;
|
|
1050
3468
|
}, runtime: $Util.RuntimeOptions): Promise<ResumeInstanceResponse>;
|
|
3469
|
+
/**
|
|
3470
|
+
* Resumes a suspended instance.
|
|
3471
|
+
* @returns ResumeInstanceResponse
|
|
3472
|
+
*/
|
|
1051
3473
|
resumeInstance(instanceId: string): Promise<ResumeInstanceResponse>;
|
|
1052
3474
|
/**
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
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
|
|
1061
3486
|
*/
|
|
1062
3487
|
scaleInstanceWithOptions(instanceId: string, request: ScaleInstanceRequest, headers: {
|
|
1063
3488
|
[key: string]: string;
|
|
1064
3489
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleInstanceResponse>;
|
|
1065
3490
|
/**
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
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
|
|
1072
3500
|
*/
|
|
1073
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
|
+
*/
|
|
1074
3509
|
stopInstanceWithOptions(instanceId: string, headers: {
|
|
1075
3510
|
[key: string]: string;
|
|
1076
3511
|
}, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
|
|
3512
|
+
/**
|
|
3513
|
+
* 暂停实例
|
|
3514
|
+
* @returns StopInstanceResponse
|
|
3515
|
+
*/
|
|
1077
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
|
+
*/
|
|
1078
3525
|
updateInstanceNameWithOptions(instanceId: string, request: UpdateInstanceNameRequest, headers: {
|
|
1079
3526
|
[key: string]: string;
|
|
1080
3527
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNameResponse>;
|
|
3528
|
+
/**
|
|
3529
|
+
* Changes the name of an instance.
|
|
3530
|
+
*
|
|
3531
|
+
* @param request - UpdateInstanceNameRequest
|
|
3532
|
+
* @returns UpdateInstanceNameResponse
|
|
3533
|
+
*/
|
|
1081
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
|
+
*/
|
|
1082
3543
|
updateInstanceNetworkTypeWithOptions(instanceId: string, request: UpdateInstanceNetworkTypeRequest, headers: {
|
|
1083
3544
|
[key: string]: string;
|
|
1084
3545
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNetworkTypeResponse>;
|
|
3546
|
+
/**
|
|
3547
|
+
* Modifies the network configuration of an instance.
|
|
3548
|
+
*
|
|
3549
|
+
* @param request - UpdateInstanceNetworkTypeRequest
|
|
3550
|
+
* @returns UpdateInstanceNetworkTypeResponse
|
|
3551
|
+
*/
|
|
1085
3552
|
updateInstanceNetworkType(instanceId: string, request: UpdateInstanceNetworkTypeRequest): Promise<UpdateInstanceNetworkTypeResponse>;
|
|
1086
3553
|
}
|