@alicloud/hologram20220601 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +823 -0
- package/dist/client.js +1478 -0
- package/dist/client.js.map +1 -0
- package/package.json +32 -0
- package/src/client.ts +1815 -0
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,823 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*/
|
|
4
|
+
import * as $Util from '@alicloud/tea-util';
|
|
5
|
+
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
|
+
import * as $tea from '@alicloud/tea-typescript';
|
|
7
|
+
export declare class CreateInstanceRequest extends $tea.Model {
|
|
8
|
+
autoPay?: boolean;
|
|
9
|
+
autoRenew?: boolean;
|
|
10
|
+
chargeType?: string;
|
|
11
|
+
coldStorageSize?: number;
|
|
12
|
+
cpu?: number;
|
|
13
|
+
duration?: number;
|
|
14
|
+
gatewayCount?: number;
|
|
15
|
+
instanceName?: string;
|
|
16
|
+
instanceType?: string;
|
|
17
|
+
leaderInstanceId?: string;
|
|
18
|
+
pricingCycle?: string;
|
|
19
|
+
regionId?: string;
|
|
20
|
+
resourceGroupId?: string;
|
|
21
|
+
storageSize?: number;
|
|
22
|
+
vSwitchId?: string;
|
|
23
|
+
vpcId?: string;
|
|
24
|
+
zoneId?: string;
|
|
25
|
+
static names(): {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
static types(): {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
constructor(map?: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
export declare class CreateInstanceResponseBody extends $tea.Model {
|
|
36
|
+
data?: CreateInstanceResponseBodyData;
|
|
37
|
+
errorCode?: string;
|
|
38
|
+
errorMessage?: string;
|
|
39
|
+
httpStatusCode?: string;
|
|
40
|
+
requestId?: string;
|
|
41
|
+
static names(): {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
static types(): {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
};
|
|
47
|
+
constructor(map?: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export declare class CreateInstanceResponse extends $tea.Model {
|
|
52
|
+
headers: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
statusCode: number;
|
|
56
|
+
body: CreateInstanceResponseBody;
|
|
57
|
+
static names(): {
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
};
|
|
60
|
+
static types(): {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
constructor(map?: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
export declare class DeleteInstanceRequest extends $tea.Model {
|
|
68
|
+
regionId?: string;
|
|
69
|
+
static names(): {
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
};
|
|
72
|
+
static types(): {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
};
|
|
75
|
+
constructor(map?: {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
export declare class DeleteInstanceResponseBody extends $tea.Model {
|
|
80
|
+
data?: boolean;
|
|
81
|
+
errorCode?: string;
|
|
82
|
+
errorMessage?: string;
|
|
83
|
+
httpStatusCode?: string;
|
|
84
|
+
requestId?: string;
|
|
85
|
+
success?: boolean;
|
|
86
|
+
static names(): {
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
};
|
|
89
|
+
static types(): {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
constructor(map?: {
|
|
93
|
+
[key: string]: any;
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
export declare class DeleteInstanceResponse extends $tea.Model {
|
|
97
|
+
headers: {
|
|
98
|
+
[key: string]: string;
|
|
99
|
+
};
|
|
100
|
+
statusCode: number;
|
|
101
|
+
body: DeleteInstanceResponseBody;
|
|
102
|
+
static names(): {
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
};
|
|
105
|
+
static types(): {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
};
|
|
108
|
+
constructor(map?: {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
export declare class GetInstanceResponseBody extends $tea.Model {
|
|
113
|
+
errorCode?: string;
|
|
114
|
+
errorMessage?: string;
|
|
115
|
+
httpStatusCode?: string;
|
|
116
|
+
instance?: GetInstanceResponseBodyInstance;
|
|
117
|
+
requestId?: string;
|
|
118
|
+
success?: boolean;
|
|
119
|
+
static names(): {
|
|
120
|
+
[key: string]: string;
|
|
121
|
+
};
|
|
122
|
+
static types(): {
|
|
123
|
+
[key: string]: any;
|
|
124
|
+
};
|
|
125
|
+
constructor(map?: {
|
|
126
|
+
[key: string]: any;
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
export declare class GetInstanceResponse extends $tea.Model {
|
|
130
|
+
headers: {
|
|
131
|
+
[key: string]: string;
|
|
132
|
+
};
|
|
133
|
+
statusCode: number;
|
|
134
|
+
body: GetInstanceResponseBody;
|
|
135
|
+
static names(): {
|
|
136
|
+
[key: string]: string;
|
|
137
|
+
};
|
|
138
|
+
static types(): {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
};
|
|
141
|
+
constructor(map?: {
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
export declare class ListInstancesRequest extends $tea.Model {
|
|
146
|
+
cmsInstanceType?: string;
|
|
147
|
+
resourceGroupId?: string;
|
|
148
|
+
tag?: ListInstancesRequestTag[];
|
|
149
|
+
static names(): {
|
|
150
|
+
[key: string]: string;
|
|
151
|
+
};
|
|
152
|
+
static types(): {
|
|
153
|
+
[key: string]: any;
|
|
154
|
+
};
|
|
155
|
+
constructor(map?: {
|
|
156
|
+
[key: string]: any;
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
export declare class ListInstancesResponseBody extends $tea.Model {
|
|
160
|
+
errorCode?: string;
|
|
161
|
+
errorMessage?: string;
|
|
162
|
+
httpStatusCode?: string;
|
|
163
|
+
instanceList?: ListInstancesResponseBodyInstanceList[];
|
|
164
|
+
requestId?: string;
|
|
165
|
+
success?: string;
|
|
166
|
+
static names(): {
|
|
167
|
+
[key: string]: string;
|
|
168
|
+
};
|
|
169
|
+
static types(): {
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
};
|
|
172
|
+
constructor(map?: {
|
|
173
|
+
[key: string]: any;
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
export declare class ListInstancesResponse extends $tea.Model {
|
|
177
|
+
headers: {
|
|
178
|
+
[key: string]: string;
|
|
179
|
+
};
|
|
180
|
+
statusCode: number;
|
|
181
|
+
body: ListInstancesResponseBody;
|
|
182
|
+
static names(): {
|
|
183
|
+
[key: string]: string;
|
|
184
|
+
};
|
|
185
|
+
static types(): {
|
|
186
|
+
[key: string]: any;
|
|
187
|
+
};
|
|
188
|
+
constructor(map?: {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
export declare class RenewInstanceRequest extends $tea.Model {
|
|
193
|
+
autoRenew?: boolean;
|
|
194
|
+
duration?: number;
|
|
195
|
+
static names(): {
|
|
196
|
+
[key: string]: string;
|
|
197
|
+
};
|
|
198
|
+
static types(): {
|
|
199
|
+
[key: string]: any;
|
|
200
|
+
};
|
|
201
|
+
constructor(map?: {
|
|
202
|
+
[key: string]: any;
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
export declare class RenewInstanceResponseBody extends $tea.Model {
|
|
206
|
+
data?: RenewInstanceResponseBodyData;
|
|
207
|
+
errorCode?: string;
|
|
208
|
+
errorMessage?: string;
|
|
209
|
+
httpStatusCode?: string;
|
|
210
|
+
requestId?: string;
|
|
211
|
+
success?: string;
|
|
212
|
+
static names(): {
|
|
213
|
+
[key: string]: string;
|
|
214
|
+
};
|
|
215
|
+
static types(): {
|
|
216
|
+
[key: string]: any;
|
|
217
|
+
};
|
|
218
|
+
constructor(map?: {
|
|
219
|
+
[key: string]: any;
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
export declare class RenewInstanceResponse extends $tea.Model {
|
|
223
|
+
headers: {
|
|
224
|
+
[key: string]: string;
|
|
225
|
+
};
|
|
226
|
+
statusCode: number;
|
|
227
|
+
body: RenewInstanceResponseBody;
|
|
228
|
+
static names(): {
|
|
229
|
+
[key: string]: string;
|
|
230
|
+
};
|
|
231
|
+
static types(): {
|
|
232
|
+
[key: string]: any;
|
|
233
|
+
};
|
|
234
|
+
constructor(map?: {
|
|
235
|
+
[key: string]: any;
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
export declare class RestartInstanceResponseBody extends $tea.Model {
|
|
239
|
+
data?: boolean;
|
|
240
|
+
errorCode?: string;
|
|
241
|
+
errorMessage?: string;
|
|
242
|
+
httpStatusCode?: string;
|
|
243
|
+
requestId?: string;
|
|
244
|
+
success?: boolean;
|
|
245
|
+
static names(): {
|
|
246
|
+
[key: string]: string;
|
|
247
|
+
};
|
|
248
|
+
static types(): {
|
|
249
|
+
[key: string]: any;
|
|
250
|
+
};
|
|
251
|
+
constructor(map?: {
|
|
252
|
+
[key: string]: any;
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
export declare class RestartInstanceResponse extends $tea.Model {
|
|
256
|
+
headers: {
|
|
257
|
+
[key: string]: string;
|
|
258
|
+
};
|
|
259
|
+
statusCode: number;
|
|
260
|
+
body: RestartInstanceResponseBody;
|
|
261
|
+
static names(): {
|
|
262
|
+
[key: string]: string;
|
|
263
|
+
};
|
|
264
|
+
static types(): {
|
|
265
|
+
[key: string]: any;
|
|
266
|
+
};
|
|
267
|
+
constructor(map?: {
|
|
268
|
+
[key: string]: any;
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
export declare class ResumeInstanceResponseBody extends $tea.Model {
|
|
272
|
+
data?: boolean;
|
|
273
|
+
errorCode?: string;
|
|
274
|
+
errorMessage?: string;
|
|
275
|
+
httpStatusCode?: string;
|
|
276
|
+
requestId?: string;
|
|
277
|
+
success?: boolean;
|
|
278
|
+
static names(): {
|
|
279
|
+
[key: string]: string;
|
|
280
|
+
};
|
|
281
|
+
static types(): {
|
|
282
|
+
[key: string]: any;
|
|
283
|
+
};
|
|
284
|
+
constructor(map?: {
|
|
285
|
+
[key: string]: any;
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
export declare class ResumeInstanceResponse extends $tea.Model {
|
|
289
|
+
headers: {
|
|
290
|
+
[key: string]: string;
|
|
291
|
+
};
|
|
292
|
+
statusCode: number;
|
|
293
|
+
body: ResumeInstanceResponseBody;
|
|
294
|
+
static names(): {
|
|
295
|
+
[key: string]: string;
|
|
296
|
+
};
|
|
297
|
+
static types(): {
|
|
298
|
+
[key: string]: any;
|
|
299
|
+
};
|
|
300
|
+
constructor(map?: {
|
|
301
|
+
[key: string]: any;
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
export declare class ScaleInstanceRequest extends $tea.Model {
|
|
305
|
+
coldStorageSize?: number;
|
|
306
|
+
cpu?: number;
|
|
307
|
+
gatewayCount?: number;
|
|
308
|
+
scaleType?: string;
|
|
309
|
+
storageSize?: number;
|
|
310
|
+
static names(): {
|
|
311
|
+
[key: string]: string;
|
|
312
|
+
};
|
|
313
|
+
static types(): {
|
|
314
|
+
[key: string]: any;
|
|
315
|
+
};
|
|
316
|
+
constructor(map?: {
|
|
317
|
+
[key: string]: any;
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
export declare class ScaleInstanceResponseBody extends $tea.Model {
|
|
321
|
+
data?: ScaleInstanceResponseBodyData;
|
|
322
|
+
errorCode?: string;
|
|
323
|
+
errorMessage?: string;
|
|
324
|
+
httpStatusCode?: string;
|
|
325
|
+
requestId?: string;
|
|
326
|
+
static names(): {
|
|
327
|
+
[key: string]: string;
|
|
328
|
+
};
|
|
329
|
+
static types(): {
|
|
330
|
+
[key: string]: any;
|
|
331
|
+
};
|
|
332
|
+
constructor(map?: {
|
|
333
|
+
[key: string]: any;
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
export declare class ScaleInstanceResponse extends $tea.Model {
|
|
337
|
+
headers: {
|
|
338
|
+
[key: string]: string;
|
|
339
|
+
};
|
|
340
|
+
statusCode: number;
|
|
341
|
+
body: ScaleInstanceResponseBody;
|
|
342
|
+
static names(): {
|
|
343
|
+
[key: string]: string;
|
|
344
|
+
};
|
|
345
|
+
static types(): {
|
|
346
|
+
[key: string]: any;
|
|
347
|
+
};
|
|
348
|
+
constructor(map?: {
|
|
349
|
+
[key: string]: any;
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
export declare class StopInstanceResponseBody extends $tea.Model {
|
|
353
|
+
data?: boolean;
|
|
354
|
+
errorCode?: string;
|
|
355
|
+
errorMessage?: string;
|
|
356
|
+
httpStatusCode?: string;
|
|
357
|
+
requestId?: string;
|
|
358
|
+
success?: boolean;
|
|
359
|
+
static names(): {
|
|
360
|
+
[key: string]: string;
|
|
361
|
+
};
|
|
362
|
+
static types(): {
|
|
363
|
+
[key: string]: any;
|
|
364
|
+
};
|
|
365
|
+
constructor(map?: {
|
|
366
|
+
[key: string]: any;
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
export declare class StopInstanceResponse extends $tea.Model {
|
|
370
|
+
headers: {
|
|
371
|
+
[key: string]: string;
|
|
372
|
+
};
|
|
373
|
+
statusCode: number;
|
|
374
|
+
body: StopInstanceResponseBody;
|
|
375
|
+
static names(): {
|
|
376
|
+
[key: string]: string;
|
|
377
|
+
};
|
|
378
|
+
static types(): {
|
|
379
|
+
[key: string]: any;
|
|
380
|
+
};
|
|
381
|
+
constructor(map?: {
|
|
382
|
+
[key: string]: any;
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
export declare class UpdateInstanceNameRequest extends $tea.Model {
|
|
386
|
+
instanceName?: string;
|
|
387
|
+
static names(): {
|
|
388
|
+
[key: string]: string;
|
|
389
|
+
};
|
|
390
|
+
static types(): {
|
|
391
|
+
[key: string]: any;
|
|
392
|
+
};
|
|
393
|
+
constructor(map?: {
|
|
394
|
+
[key: string]: any;
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
export declare class UpdateInstanceNameResponseBody extends $tea.Model {
|
|
398
|
+
data?: boolean;
|
|
399
|
+
errorCode?: string;
|
|
400
|
+
errorMessage?: string;
|
|
401
|
+
httpStatusCode?: string;
|
|
402
|
+
requestId?: string;
|
|
403
|
+
success?: boolean;
|
|
404
|
+
static names(): {
|
|
405
|
+
[key: string]: string;
|
|
406
|
+
};
|
|
407
|
+
static types(): {
|
|
408
|
+
[key: string]: any;
|
|
409
|
+
};
|
|
410
|
+
constructor(map?: {
|
|
411
|
+
[key: string]: any;
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
export declare class UpdateInstanceNameResponse extends $tea.Model {
|
|
415
|
+
headers: {
|
|
416
|
+
[key: string]: string;
|
|
417
|
+
};
|
|
418
|
+
statusCode: number;
|
|
419
|
+
body: UpdateInstanceNameResponseBody;
|
|
420
|
+
static names(): {
|
|
421
|
+
[key: string]: string;
|
|
422
|
+
};
|
|
423
|
+
static types(): {
|
|
424
|
+
[key: string]: any;
|
|
425
|
+
};
|
|
426
|
+
constructor(map?: {
|
|
427
|
+
[key: string]: any;
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
export declare class UpdateInstanceNetworkTypeRequest extends $tea.Model {
|
|
431
|
+
anyTunnelToSingleTunnel?: string;
|
|
432
|
+
networkTypes?: string;
|
|
433
|
+
vSwitchId?: string;
|
|
434
|
+
vpcId?: string;
|
|
435
|
+
vpcOwnerId?: string;
|
|
436
|
+
vpcRegionId?: string;
|
|
437
|
+
static names(): {
|
|
438
|
+
[key: string]: string;
|
|
439
|
+
};
|
|
440
|
+
static types(): {
|
|
441
|
+
[key: string]: any;
|
|
442
|
+
};
|
|
443
|
+
constructor(map?: {
|
|
444
|
+
[key: string]: any;
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
export declare class UpdateInstanceNetworkTypeResponseBody extends $tea.Model {
|
|
448
|
+
data?: string;
|
|
449
|
+
errorCode?: string;
|
|
450
|
+
errorMessage?: string;
|
|
451
|
+
httpStatusCode?: string;
|
|
452
|
+
requestId?: string;
|
|
453
|
+
success?: boolean;
|
|
454
|
+
static names(): {
|
|
455
|
+
[key: string]: string;
|
|
456
|
+
};
|
|
457
|
+
static types(): {
|
|
458
|
+
[key: string]: any;
|
|
459
|
+
};
|
|
460
|
+
constructor(map?: {
|
|
461
|
+
[key: string]: any;
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
export declare class UpdateInstanceNetworkTypeResponse extends $tea.Model {
|
|
465
|
+
headers: {
|
|
466
|
+
[key: string]: string;
|
|
467
|
+
};
|
|
468
|
+
statusCode: number;
|
|
469
|
+
body: UpdateInstanceNetworkTypeResponseBody;
|
|
470
|
+
static names(): {
|
|
471
|
+
[key: string]: string;
|
|
472
|
+
};
|
|
473
|
+
static types(): {
|
|
474
|
+
[key: string]: any;
|
|
475
|
+
};
|
|
476
|
+
constructor(map?: {
|
|
477
|
+
[key: string]: any;
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
export declare class CreateInstanceResponseBodyData extends $tea.Model {
|
|
481
|
+
code?: string;
|
|
482
|
+
instanceId?: string;
|
|
483
|
+
message?: string;
|
|
484
|
+
orderId?: string;
|
|
485
|
+
success?: string;
|
|
486
|
+
static names(): {
|
|
487
|
+
[key: string]: string;
|
|
488
|
+
};
|
|
489
|
+
static types(): {
|
|
490
|
+
[key: string]: any;
|
|
491
|
+
};
|
|
492
|
+
constructor(map?: {
|
|
493
|
+
[key: string]: any;
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
export declare class GetInstanceResponseBodyInstanceEndpoints extends $tea.Model {
|
|
497
|
+
alternativeEndpoints?: string;
|
|
498
|
+
enabled?: boolean;
|
|
499
|
+
endpoint?: string;
|
|
500
|
+
type?: string;
|
|
501
|
+
vSwitchId?: string;
|
|
502
|
+
vpcId?: string;
|
|
503
|
+
vpcInstanceId?: string;
|
|
504
|
+
static names(): {
|
|
505
|
+
[key: string]: string;
|
|
506
|
+
};
|
|
507
|
+
static types(): {
|
|
508
|
+
[key: string]: any;
|
|
509
|
+
};
|
|
510
|
+
constructor(map?: {
|
|
511
|
+
[key: string]: any;
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
export declare class GetInstanceResponseBodyInstanceTags extends $tea.Model {
|
|
515
|
+
key?: string;
|
|
516
|
+
value?: string;
|
|
517
|
+
static names(): {
|
|
518
|
+
[key: string]: string;
|
|
519
|
+
};
|
|
520
|
+
static types(): {
|
|
521
|
+
[key: string]: any;
|
|
522
|
+
};
|
|
523
|
+
constructor(map?: {
|
|
524
|
+
[key: string]: any;
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
export declare class GetInstanceResponseBodyInstance extends $tea.Model {
|
|
528
|
+
autoRenewal?: string;
|
|
529
|
+
coldStorage?: number;
|
|
530
|
+
commodityCode?: string;
|
|
531
|
+
computeNodeCount?: number;
|
|
532
|
+
cpu?: number;
|
|
533
|
+
creationTime?: string;
|
|
534
|
+
disk?: string;
|
|
535
|
+
enableHiveAccess?: string;
|
|
536
|
+
endpoints?: GetInstanceResponseBodyInstanceEndpoints[];
|
|
537
|
+
expirationTime?: string;
|
|
538
|
+
gatewayCount?: number;
|
|
539
|
+
gatewayCpu?: number;
|
|
540
|
+
gatewayMemory?: number;
|
|
541
|
+
instanceChargeType?: string;
|
|
542
|
+
instanceId?: string;
|
|
543
|
+
instanceName?: string;
|
|
544
|
+
instanceOwner?: string;
|
|
545
|
+
instanceStatus?: string;
|
|
546
|
+
instanceType?: string;
|
|
547
|
+
leaderInstanceId?: string;
|
|
548
|
+
memory?: number;
|
|
549
|
+
regionId?: string;
|
|
550
|
+
resourceGroupId?: string;
|
|
551
|
+
suspendReason?: string;
|
|
552
|
+
tags?: GetInstanceResponseBodyInstanceTags[];
|
|
553
|
+
version?: string;
|
|
554
|
+
zoneId?: string;
|
|
555
|
+
static names(): {
|
|
556
|
+
[key: string]: string;
|
|
557
|
+
};
|
|
558
|
+
static types(): {
|
|
559
|
+
[key: string]: any;
|
|
560
|
+
};
|
|
561
|
+
constructor(map?: {
|
|
562
|
+
[key: string]: any;
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
export declare class ListInstancesRequestTag extends $tea.Model {
|
|
566
|
+
key?: string;
|
|
567
|
+
value?: string;
|
|
568
|
+
static names(): {
|
|
569
|
+
[key: string]: string;
|
|
570
|
+
};
|
|
571
|
+
static types(): {
|
|
572
|
+
[key: string]: any;
|
|
573
|
+
};
|
|
574
|
+
constructor(map?: {
|
|
575
|
+
[key: string]: any;
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
export declare class ListInstancesResponseBodyInstanceListEndpoints extends $tea.Model {
|
|
579
|
+
enabled?: boolean;
|
|
580
|
+
endpoint?: string;
|
|
581
|
+
type?: string;
|
|
582
|
+
vSwitchId?: string;
|
|
583
|
+
vpcId?: string;
|
|
584
|
+
vpcInstanceId?: string;
|
|
585
|
+
static names(): {
|
|
586
|
+
[key: string]: string;
|
|
587
|
+
};
|
|
588
|
+
static types(): {
|
|
589
|
+
[key: string]: any;
|
|
590
|
+
};
|
|
591
|
+
constructor(map?: {
|
|
592
|
+
[key: string]: any;
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
export declare class ListInstancesResponseBodyInstanceListTags extends $tea.Model {
|
|
596
|
+
key?: string;
|
|
597
|
+
value?: string;
|
|
598
|
+
static names(): {
|
|
599
|
+
[key: string]: string;
|
|
600
|
+
};
|
|
601
|
+
static types(): {
|
|
602
|
+
[key: string]: any;
|
|
603
|
+
};
|
|
604
|
+
constructor(map?: {
|
|
605
|
+
[key: string]: any;
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
export declare class ListInstancesResponseBodyInstanceList extends $tea.Model {
|
|
609
|
+
commodityCode?: string;
|
|
610
|
+
creationTime?: string;
|
|
611
|
+
enableHiveAccess?: string;
|
|
612
|
+
endpoints?: ListInstancesResponseBodyInstanceListEndpoints[];
|
|
613
|
+
expirationTime?: string;
|
|
614
|
+
instanceChargeType?: string;
|
|
615
|
+
instanceId?: string;
|
|
616
|
+
instanceName?: string;
|
|
617
|
+
instanceStatus?: string;
|
|
618
|
+
instanceType?: string;
|
|
619
|
+
leaderInstanceId?: string;
|
|
620
|
+
regionId?: string;
|
|
621
|
+
resourceGroupId?: string;
|
|
622
|
+
suspendReason?: string;
|
|
623
|
+
tags?: ListInstancesResponseBodyInstanceListTags[];
|
|
624
|
+
version?: string;
|
|
625
|
+
zoneId?: string;
|
|
626
|
+
static names(): {
|
|
627
|
+
[key: string]: string;
|
|
628
|
+
};
|
|
629
|
+
static types(): {
|
|
630
|
+
[key: string]: any;
|
|
631
|
+
};
|
|
632
|
+
constructor(map?: {
|
|
633
|
+
[key: string]: any;
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
export declare class RenewInstanceResponseBodyData extends $tea.Model {
|
|
637
|
+
code?: string;
|
|
638
|
+
message?: string;
|
|
639
|
+
orderId?: string;
|
|
640
|
+
success?: boolean;
|
|
641
|
+
static names(): {
|
|
642
|
+
[key: string]: string;
|
|
643
|
+
};
|
|
644
|
+
static types(): {
|
|
645
|
+
[key: string]: any;
|
|
646
|
+
};
|
|
647
|
+
constructor(map?: {
|
|
648
|
+
[key: string]: any;
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
export declare class ScaleInstanceResponseBodyData extends $tea.Model {
|
|
652
|
+
code?: string;
|
|
653
|
+
message?: string;
|
|
654
|
+
orderId?: string;
|
|
655
|
+
success?: boolean;
|
|
656
|
+
static names(): {
|
|
657
|
+
[key: string]: string;
|
|
658
|
+
};
|
|
659
|
+
static types(): {
|
|
660
|
+
[key: string]: any;
|
|
661
|
+
};
|
|
662
|
+
constructor(map?: {
|
|
663
|
+
[key: string]: any;
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
export default class Client extends OpenApi {
|
|
667
|
+
constructor(config: $OpenApi.Config);
|
|
668
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
669
|
+
[key: string]: string;
|
|
670
|
+
}, endpoint: string): string;
|
|
671
|
+
/**
|
|
672
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
673
|
+
* * 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).
|
|
674
|
+
* * 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:
|
|
675
|
+
* <!---->
|
|
676
|
+
* cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
|
|
677
|
+
* cn-shanghai: cn-shanghai-e, cn-shanghai-f
|
|
678
|
+
* cn-beijing: cn-beijing-i, cn-beijing-g
|
|
679
|
+
* cn-zhangjiakou: cn-zhangjiakou-b
|
|
680
|
+
* cn-shenzhen: cn-shenzhen-e
|
|
681
|
+
* cn-hongkong: cn-hongkong-b
|
|
682
|
+
* cn-shanghai-finance-1: cn-shanghai-finance-1z
|
|
683
|
+
* ap-northeast-1: ap-northeast-1a
|
|
684
|
+
* ap-southeast-1: ap-southeast-1c
|
|
685
|
+
* ap-southeast-3: ap-southeast-3b
|
|
686
|
+
* ap-southeast-5: ap-southeast-5b
|
|
687
|
+
* ap-south-1: ap-south-1b
|
|
688
|
+
* eu-central-1: eu-central-1a
|
|
689
|
+
* us-east-1: us-east-1a
|
|
690
|
+
* us-west-1: us-west-1b
|
|
691
|
+
*
|
|
692
|
+
* @param request CreateInstanceRequest
|
|
693
|
+
* @param headers map
|
|
694
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
695
|
+
* @return CreateInstanceResponse
|
|
696
|
+
*/
|
|
697
|
+
createInstanceWithOptions(request: CreateInstanceRequest, headers: {
|
|
698
|
+
[key: string]: string;
|
|
699
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse>;
|
|
700
|
+
/**
|
|
701
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
702
|
+
* * 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).
|
|
703
|
+
* * 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:
|
|
704
|
+
* <!---->
|
|
705
|
+
* cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j
|
|
706
|
+
* cn-shanghai: cn-shanghai-e, cn-shanghai-f
|
|
707
|
+
* cn-beijing: cn-beijing-i, cn-beijing-g
|
|
708
|
+
* cn-zhangjiakou: cn-zhangjiakou-b
|
|
709
|
+
* cn-shenzhen: cn-shenzhen-e
|
|
710
|
+
* cn-hongkong: cn-hongkong-b
|
|
711
|
+
* cn-shanghai-finance-1: cn-shanghai-finance-1z
|
|
712
|
+
* ap-northeast-1: ap-northeast-1a
|
|
713
|
+
* ap-southeast-1: ap-southeast-1c
|
|
714
|
+
* ap-southeast-3: ap-southeast-3b
|
|
715
|
+
* ap-southeast-5: ap-southeast-5b
|
|
716
|
+
* ap-south-1: ap-south-1b
|
|
717
|
+
* eu-central-1: eu-central-1a
|
|
718
|
+
* us-east-1: us-east-1a
|
|
719
|
+
* us-west-1: us-west-1b
|
|
720
|
+
*
|
|
721
|
+
* @param request CreateInstanceRequest
|
|
722
|
+
* @return CreateInstanceResponse
|
|
723
|
+
*/
|
|
724
|
+
createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
|
|
725
|
+
/**
|
|
726
|
+
* > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
|
|
727
|
+
* * 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).
|
|
728
|
+
* * You can delete only pay-as-you-go instances.
|
|
729
|
+
* * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
|
|
730
|
+
*
|
|
731
|
+
* @param request DeleteInstanceRequest
|
|
732
|
+
* @param headers map
|
|
733
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
734
|
+
* @return DeleteInstanceResponse
|
|
735
|
+
*/
|
|
736
|
+
deleteInstanceWithOptions(instanceId: string, request: DeleteInstanceRequest, headers: {
|
|
737
|
+
[key: string]: string;
|
|
738
|
+
}, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse>;
|
|
739
|
+
/**
|
|
740
|
+
* > Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.
|
|
741
|
+
* * 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).
|
|
742
|
+
* * You can delete only pay-as-you-go instances.
|
|
743
|
+
* * If you want to unsubscribe from a subscription instance, submit a ticket.[](https://help.aliyun.com/document_detail/150284.html#section-ogc-9vc-858)
|
|
744
|
+
*
|
|
745
|
+
* @param request DeleteInstanceRequest
|
|
746
|
+
* @return DeleteInstanceResponse
|
|
747
|
+
*/
|
|
748
|
+
deleteInstance(instanceId: string, request: DeleteInstanceRequest): Promise<DeleteInstanceResponse>;
|
|
749
|
+
getInstanceWithOptions(instanceId: string, headers: {
|
|
750
|
+
[key: string]: string;
|
|
751
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
|
|
752
|
+
getInstance(instanceId: string): Promise<GetInstanceResponse>;
|
|
753
|
+
listInstancesWithOptions(request: ListInstancesRequest, headers: {
|
|
754
|
+
[key: string]: string;
|
|
755
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
|
|
756
|
+
listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
|
|
757
|
+
/**
|
|
758
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
759
|
+
* * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
|
|
760
|
+
* * 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).
|
|
761
|
+
* * You can renew only subscription instances.
|
|
762
|
+
*
|
|
763
|
+
* @param request RenewInstanceRequest
|
|
764
|
+
* @param headers map
|
|
765
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
766
|
+
* @return RenewInstanceResponse
|
|
767
|
+
*/
|
|
768
|
+
renewInstanceWithOptions(instanceId: string, request: RenewInstanceRequest, headers: {
|
|
769
|
+
[key: string]: string;
|
|
770
|
+
}, runtime: $Util.RuntimeOptions): Promise<RenewInstanceResponse>;
|
|
771
|
+
/**
|
|
772
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
773
|
+
* * For more information about billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
|
|
774
|
+
* * 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).
|
|
775
|
+
* * You can renew only subscription instances.
|
|
776
|
+
*
|
|
777
|
+
* @param request RenewInstanceRequest
|
|
778
|
+
* @return RenewInstanceResponse
|
|
779
|
+
*/
|
|
780
|
+
renewInstance(instanceId: string, request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
|
|
781
|
+
restartInstanceWithOptions(instanceId: string, headers: {
|
|
782
|
+
[key: string]: string;
|
|
783
|
+
}, runtime: $Util.RuntimeOptions): Promise<RestartInstanceResponse>;
|
|
784
|
+
restartInstance(instanceId: string): Promise<RestartInstanceResponse>;
|
|
785
|
+
resumeInstanceWithOptions(instanceId: string, headers: {
|
|
786
|
+
[key: string]: string;
|
|
787
|
+
}, runtime: $Util.RuntimeOptions): Promise<ResumeInstanceResponse>;
|
|
788
|
+
resumeInstance(instanceId: string): Promise<ResumeInstanceResponse>;
|
|
789
|
+
/**
|
|
790
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
791
|
+
* * For more information about the billing details of Hologres, see [Billing overview](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
|
|
792
|
+
* * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resources of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade and downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications?spm=a2c63.p38356.0.0.2bb57c8dbVt68U).
|
|
793
|
+
*
|
|
794
|
+
* @param request ScaleInstanceRequest
|
|
795
|
+
* @param headers map
|
|
796
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
797
|
+
* @return ScaleInstanceResponse
|
|
798
|
+
*/
|
|
799
|
+
scaleInstanceWithOptions(instanceId: string, request: ScaleInstanceRequest, headers: {
|
|
800
|
+
[key: string]: string;
|
|
801
|
+
}, runtime: $Util.RuntimeOptions): Promise<ScaleInstanceResponse>;
|
|
802
|
+
/**
|
|
803
|
+
* > Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.
|
|
804
|
+
* * For more information about the billing details of Hologres, see [Billing overview](https://www.alibabacloud.com/help/en/hologres/product-overview/billing-overview).
|
|
805
|
+
* * During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resources of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade and downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications?spm=a2c63.p38356.0.0.2bb57c8dbVt68U).
|
|
806
|
+
*
|
|
807
|
+
* @param request ScaleInstanceRequest
|
|
808
|
+
* @return ScaleInstanceResponse
|
|
809
|
+
*/
|
|
810
|
+
scaleInstance(instanceId: string, request: ScaleInstanceRequest): Promise<ScaleInstanceResponse>;
|
|
811
|
+
stopInstanceWithOptions(instanceId: string, headers: {
|
|
812
|
+
[key: string]: string;
|
|
813
|
+
}, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
|
|
814
|
+
stopInstance(instanceId: string): Promise<StopInstanceResponse>;
|
|
815
|
+
updateInstanceNameWithOptions(instanceId: string, request: UpdateInstanceNameRequest, headers: {
|
|
816
|
+
[key: string]: string;
|
|
817
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNameResponse>;
|
|
818
|
+
updateInstanceName(instanceId: string, request: UpdateInstanceNameRequest): Promise<UpdateInstanceNameResponse>;
|
|
819
|
+
updateInstanceNetworkTypeWithOptions(instanceId: string, request: UpdateInstanceNetworkTypeRequest, headers: {
|
|
820
|
+
[key: string]: string;
|
|
821
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceNetworkTypeResponse>;
|
|
822
|
+
updateInstanceNetworkType(instanceId: string, request: UpdateInstanceNetworkTypeRequest): Promise<UpdateInstanceNetworkTypeResponse>;
|
|
823
|
+
}
|