hostinger-api-sdk 0.0.1

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.
@@ -0,0 +1,4171 @@
1
+ /**
2
+ * Hostinger API
3
+ *
4
+ * API Version: 0.0.9
5
+ *
6
+ * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
+ * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
8
+ */
9
+ import type { Configuration } from './configuration';
10
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
11
+ import type { RequestArgs } from './base';
12
+ import { BaseAPI } from './base';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BillingV1CatalogCatalogItemPriceResource
17
+ */
18
+ export interface BillingV1CatalogCatalogItemPriceResource {
19
+ /**
20
+ * Price item ID
21
+ * @type {string}
22
+ * @memberof BillingV1CatalogCatalogItemPriceResource
23
+ */
24
+ 'id'?: string;
25
+ /**
26
+ * Price item name
27
+ * @type {string}
28
+ * @memberof BillingV1CatalogCatalogItemPriceResource
29
+ */
30
+ 'name'?: string;
31
+ /**
32
+ * Currency code
33
+ * @type {string}
34
+ * @memberof BillingV1CatalogCatalogItemPriceResource
35
+ */
36
+ 'currency'?: string;
37
+ /**
38
+ * Price in cents
39
+ * @type {number}
40
+ * @memberof BillingV1CatalogCatalogItemPriceResource
41
+ */
42
+ 'price'?: number;
43
+ /**
44
+ * First period price in cents
45
+ * @type {number}
46
+ * @memberof BillingV1CatalogCatalogItemPriceResource
47
+ */
48
+ 'first_period_price'?: number;
49
+ /**
50
+ * Period
51
+ * @type {number}
52
+ * @memberof BillingV1CatalogCatalogItemPriceResource
53
+ */
54
+ 'period'?: number;
55
+ /**
56
+ * Period unit
57
+ * @type {string}
58
+ * @memberof BillingV1CatalogCatalogItemPriceResource
59
+ */
60
+ 'period_unit'?: BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum;
61
+ }
62
+ export declare const BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum: {
63
+ readonly Day: "day";
64
+ readonly Week: "week";
65
+ readonly Month: "month";
66
+ readonly Year: "year";
67
+ readonly None: "none";
68
+ };
69
+ export type BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = typeof BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum[keyof typeof BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum];
70
+ /**
71
+ *
72
+ * @export
73
+ * @interface BillingV1CatalogCatalogItemResource
74
+ */
75
+ export interface BillingV1CatalogCatalogItemResource {
76
+ /**
77
+ * Catalog item ID
78
+ * @type {string}
79
+ * @memberof BillingV1CatalogCatalogItemResource
80
+ */
81
+ 'id'?: string;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof BillingV1CatalogCatalogItemResource
86
+ */
87
+ 'name'?: string;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof BillingV1CatalogCatalogItemResource
92
+ */
93
+ 'category'?: string;
94
+ /**
95
+ * Array of [`Billing.V1.Catalog.CatalogItemPriceResource`](#model/billingv1catalogcatalogitempriceresource)
96
+ * @type {Array<BillingV1CatalogCatalogItemPriceResource>}
97
+ * @memberof BillingV1CatalogCatalogItemResource
98
+ */
99
+ 'prices'?: Array<BillingV1CatalogCatalogItemPriceResource>;
100
+ }
101
+ /**
102
+ *
103
+ * @export
104
+ * @interface BillingV1OrderOrderBillingAddressResource
105
+ */
106
+ export interface BillingV1OrderOrderBillingAddressResource {
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof BillingV1OrderOrderBillingAddressResource
111
+ */
112
+ 'first_name'?: string;
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof BillingV1OrderOrderBillingAddressResource
117
+ */
118
+ 'last_name'?: string;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof BillingV1OrderOrderBillingAddressResource
123
+ */
124
+ 'company'?: string | null;
125
+ /**
126
+ *
127
+ * @type {string}
128
+ * @memberof BillingV1OrderOrderBillingAddressResource
129
+ */
130
+ 'address_1'?: string | null;
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof BillingV1OrderOrderBillingAddressResource
135
+ */
136
+ 'address_2'?: string | null;
137
+ /**
138
+ *
139
+ * @type {string}
140
+ * @memberof BillingV1OrderOrderBillingAddressResource
141
+ */
142
+ 'city'?: string | null;
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof BillingV1OrderOrderBillingAddressResource
147
+ */
148
+ 'state'?: string | null;
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof BillingV1OrderOrderBillingAddressResource
153
+ */
154
+ 'zip'?: string | null;
155
+ /**
156
+ *
157
+ * @type {string}
158
+ * @memberof BillingV1OrderOrderBillingAddressResource
159
+ */
160
+ 'country'?: string | null;
161
+ /**
162
+ *
163
+ * @type {string}
164
+ * @memberof BillingV1OrderOrderBillingAddressResource
165
+ */
166
+ 'phone'?: string | null;
167
+ /**
168
+ *
169
+ * @type {string}
170
+ * @memberof BillingV1OrderOrderBillingAddressResource
171
+ */
172
+ 'email'?: string;
173
+ }
174
+ /**
175
+ *
176
+ * @export
177
+ * @interface BillingV1OrderOrderResource
178
+ */
179
+ export interface BillingV1OrderOrderResource {
180
+ /**
181
+ * Order ID
182
+ * @type {number}
183
+ * @memberof BillingV1OrderOrderResource
184
+ */
185
+ 'id'?: number;
186
+ /**
187
+ * Subscription ID
188
+ * @type {string}
189
+ * @memberof BillingV1OrderOrderResource
190
+ */
191
+ 'subscription_id'?: string;
192
+ /**
193
+ *
194
+ * @type {string}
195
+ * @memberof BillingV1OrderOrderResource
196
+ */
197
+ 'status'?: BillingV1OrderOrderResourceStatusEnum;
198
+ /**
199
+ * Currency code
200
+ * @type {string}
201
+ * @memberof BillingV1OrderOrderResource
202
+ */
203
+ 'currency'?: string;
204
+ /**
205
+ * Subtotal price (exc. VAT) in cents
206
+ * @type {number}
207
+ * @memberof BillingV1OrderOrderResource
208
+ */
209
+ 'subtotal'?: number;
210
+ /**
211
+ * Total price (inc. VAT) in cents
212
+ * @type {number}
213
+ * @memberof BillingV1OrderOrderResource
214
+ */
215
+ 'total'?: number;
216
+ /**
217
+ *
218
+ * @type {BillingV1OrderOrderBillingAddressResource}
219
+ * @memberof BillingV1OrderOrderResource
220
+ */
221
+ 'billing_address'?: BillingV1OrderOrderBillingAddressResource;
222
+ /**
223
+ *
224
+ * @type {string}
225
+ * @memberof BillingV1OrderOrderResource
226
+ */
227
+ 'created_at'?: string;
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof BillingV1OrderOrderResource
232
+ */
233
+ 'updated_at'?: string;
234
+ }
235
+ export declare const BillingV1OrderOrderResourceStatusEnum: {
236
+ readonly Completed: "completed";
237
+ readonly Pending: "pending";
238
+ readonly Processing: "processing";
239
+ readonly Failed: "failed";
240
+ readonly Refunded: "refunded";
241
+ readonly Cancelled: "cancelled";
242
+ readonly AwaitingPayment: "awaiting_payment";
243
+ readonly PaymentInitiated: "payment_initiated";
244
+ readonly FraudRefund: "fraud_refund";
245
+ };
246
+ export type BillingV1OrderOrderResourceStatusEnum = typeof BillingV1OrderOrderResourceStatusEnum[keyof typeof BillingV1OrderOrderResourceStatusEnum];
247
+ /**
248
+ *
249
+ * @export
250
+ * @interface BillingV1OrderStoreRequest
251
+ */
252
+ export interface BillingV1OrderStoreRequest {
253
+ /**
254
+ * Payment method ID
255
+ * @type {number}
256
+ * @memberof BillingV1OrderStoreRequest
257
+ */
258
+ 'payment_method_id': number;
259
+ /**
260
+ *
261
+ * @type {Array<BillingV1OrderStoreRequestItemsInner>}
262
+ * @memberof BillingV1OrderStoreRequest
263
+ */
264
+ 'items': Array<BillingV1OrderStoreRequestItemsInner>;
265
+ /**
266
+ *
267
+ * @type {Array<any>}
268
+ * @memberof BillingV1OrderStoreRequest
269
+ */
270
+ 'coupons'?: Array<any>;
271
+ }
272
+ /**
273
+ *
274
+ * @export
275
+ * @interface BillingV1OrderStoreRequestItemsInner
276
+ */
277
+ export interface BillingV1OrderStoreRequestItemsInner {
278
+ /**
279
+ * Price Item ID
280
+ * @type {string}
281
+ * @memberof BillingV1OrderStoreRequestItemsInner
282
+ */
283
+ 'item_id'?: string;
284
+ /**
285
+ *
286
+ * @type {number}
287
+ * @memberof BillingV1OrderStoreRequestItemsInner
288
+ */
289
+ 'quantity'?: number;
290
+ }
291
+ /**
292
+ *
293
+ * @export
294
+ * @interface BillingV1PaymentMethodPaymentMethodResource
295
+ */
296
+ export interface BillingV1PaymentMethodPaymentMethodResource {
297
+ /**
298
+ * Payment method ID
299
+ * @type {number}
300
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
301
+ */
302
+ 'id'?: number;
303
+ /**
304
+ *
305
+ * @type {string}
306
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
307
+ */
308
+ 'name'?: string;
309
+ /**
310
+ *
311
+ * @type {string}
312
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
313
+ */
314
+ 'identifier'?: string;
315
+ /**
316
+ *
317
+ * @type {string}
318
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
319
+ */
320
+ 'payment_method'?: string;
321
+ /**
322
+ *
323
+ * @type {boolean}
324
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
325
+ */
326
+ 'is_default'?: boolean;
327
+ /**
328
+ *
329
+ * @type {boolean}
330
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
331
+ */
332
+ 'is_expired'?: boolean;
333
+ /**
334
+ *
335
+ * @type {boolean}
336
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
337
+ */
338
+ 'is_suspended'?: boolean;
339
+ /**
340
+ *
341
+ * @type {string}
342
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
343
+ */
344
+ 'created_at'?: string;
345
+ /**
346
+ *
347
+ * @type {string}
348
+ * @memberof BillingV1PaymentMethodPaymentMethodResource
349
+ */
350
+ 'expires_at'?: string;
351
+ }
352
+ /**
353
+ *
354
+ * @export
355
+ * @interface BillingV1SubscriptionCancelRequest
356
+ */
357
+ export interface BillingV1SubscriptionCancelRequest {
358
+ /**
359
+ * Cancellation reason code
360
+ * @type {string}
361
+ * @memberof BillingV1SubscriptionCancelRequest
362
+ */
363
+ 'reason_code'?: BillingV1SubscriptionCancelRequestReasonCodeEnum | null;
364
+ /**
365
+ * Cancellation option
366
+ * @type {string}
367
+ * @memberof BillingV1SubscriptionCancelRequest
368
+ */
369
+ 'cancel_option'?: BillingV1SubscriptionCancelRequestCancelOptionEnum | null;
370
+ }
371
+ export declare const BillingV1SubscriptionCancelRequestReasonCodeEnum: {
372
+ readonly Other: "other";
373
+ };
374
+ export type BillingV1SubscriptionCancelRequestReasonCodeEnum = typeof BillingV1SubscriptionCancelRequestReasonCodeEnum[keyof typeof BillingV1SubscriptionCancelRequestReasonCodeEnum];
375
+ export declare const BillingV1SubscriptionCancelRequestCancelOptionEnum: {
376
+ readonly Immediately: "immediately";
377
+ };
378
+ export type BillingV1SubscriptionCancelRequestCancelOptionEnum = typeof BillingV1SubscriptionCancelRequestCancelOptionEnum[keyof typeof BillingV1SubscriptionCancelRequestCancelOptionEnum];
379
+ /**
380
+ *
381
+ * @export
382
+ * @interface BillingV1SubscriptionSubscriptionResource
383
+ */
384
+ export interface BillingV1SubscriptionSubscriptionResource {
385
+ /**
386
+ * Subscription ID
387
+ * @type {string}
388
+ * @memberof BillingV1SubscriptionSubscriptionResource
389
+ */
390
+ 'id'?: string;
391
+ /**
392
+ *
393
+ * @type {string}
394
+ * @memberof BillingV1SubscriptionSubscriptionResource
395
+ */
396
+ 'name'?: string;
397
+ /**
398
+ *
399
+ * @type {string}
400
+ * @memberof BillingV1SubscriptionSubscriptionResource
401
+ */
402
+ 'status'?: BillingV1SubscriptionSubscriptionResourceStatusEnum;
403
+ /**
404
+ *
405
+ * @type {number}
406
+ * @memberof BillingV1SubscriptionSubscriptionResource
407
+ */
408
+ 'billing_period'?: number;
409
+ /**
410
+ *
411
+ * @type {string}
412
+ * @memberof BillingV1SubscriptionSubscriptionResource
413
+ */
414
+ 'billing_period_unit'?: string;
415
+ /**
416
+ *
417
+ * @type {string}
418
+ * @memberof BillingV1SubscriptionSubscriptionResource
419
+ */
420
+ 'currency_code'?: string;
421
+ /**
422
+ * Total price in cents
423
+ * @type {number}
424
+ * @memberof BillingV1SubscriptionSubscriptionResource
425
+ */
426
+ 'total_price'?: number;
427
+ /**
428
+ * Renewal price in cents
429
+ * @type {number}
430
+ * @memberof BillingV1SubscriptionSubscriptionResource
431
+ */
432
+ 'renewal_price'?: number;
433
+ /**
434
+ *
435
+ * @type {boolean}
436
+ * @memberof BillingV1SubscriptionSubscriptionResource
437
+ */
438
+ 'auto_renew'?: boolean;
439
+ /**
440
+ *
441
+ * @type {string}
442
+ * @memberof BillingV1SubscriptionSubscriptionResource
443
+ */
444
+ 'created_at'?: string;
445
+ /**
446
+ *
447
+ * @type {string}
448
+ * @memberof BillingV1SubscriptionSubscriptionResource
449
+ */
450
+ 'expires_at'?: string;
451
+ /**
452
+ *
453
+ * @type {string}
454
+ * @memberof BillingV1SubscriptionSubscriptionResource
455
+ */
456
+ 'next_billing_at'?: string | null;
457
+ /**
458
+ *
459
+ * @type {string}
460
+ * @memberof BillingV1SubscriptionSubscriptionResource
461
+ */
462
+ 'canceled_at'?: string | null;
463
+ }
464
+ export declare const BillingV1SubscriptionSubscriptionResourceStatusEnum: {
465
+ readonly Active: "active";
466
+ readonly Paused: "paused";
467
+ readonly Cancelled: "cancelled";
468
+ readonly NotRenewing: "not_renewing";
469
+ readonly Transferred: "transferred";
470
+ readonly InTrial: "in_trial";
471
+ readonly Future: "future";
472
+ };
473
+ export type BillingV1SubscriptionSubscriptionResourceStatusEnum = typeof BillingV1SubscriptionSubscriptionResourceStatusEnum[keyof typeof BillingV1SubscriptionSubscriptionResourceStatusEnum];
474
+ /**
475
+ *
476
+ * @export
477
+ * @interface CommonSchemaErrorResponseSchema
478
+ */
479
+ export interface CommonSchemaErrorResponseSchema {
480
+ /**
481
+ *
482
+ * @type {string}
483
+ * @memberof CommonSchemaErrorResponseSchema
484
+ */
485
+ 'message'?: string;
486
+ /**
487
+ *
488
+ * @type {string}
489
+ * @memberof CommonSchemaErrorResponseSchema
490
+ */
491
+ 'correlation_id'?: string;
492
+ }
493
+ /**
494
+ *
495
+ * @export
496
+ * @interface CommonSchemaPaginationMetaSchema
497
+ */
498
+ export interface CommonSchemaPaginationMetaSchema {
499
+ /**
500
+ *
501
+ * @type {number}
502
+ * @memberof CommonSchemaPaginationMetaSchema
503
+ */
504
+ 'current_page'?: number;
505
+ /**
506
+ *
507
+ * @type {number}
508
+ * @memberof CommonSchemaPaginationMetaSchema
509
+ */
510
+ 'per_page'?: number;
511
+ /**
512
+ *
513
+ * @type {number}
514
+ * @memberof CommonSchemaPaginationMetaSchema
515
+ */
516
+ 'total'?: number;
517
+ }
518
+ /**
519
+ *
520
+ * @export
521
+ * @interface CommonSchemaUnauthorizedResponseSchema
522
+ */
523
+ export interface CommonSchemaUnauthorizedResponseSchema {
524
+ /**
525
+ *
526
+ * @type {string}
527
+ * @memberof CommonSchemaUnauthorizedResponseSchema
528
+ */
529
+ 'message'?: string;
530
+ /**
531
+ *
532
+ * @type {string}
533
+ * @memberof CommonSchemaUnauthorizedResponseSchema
534
+ */
535
+ 'correlation_id'?: string;
536
+ }
537
+ /**
538
+ *
539
+ * @export
540
+ * @interface CommonSchemaUnprocessableContentResponseSchema
541
+ */
542
+ export interface CommonSchemaUnprocessableContentResponseSchema {
543
+ /**
544
+ * Validation error message
545
+ * @type {string}
546
+ * @memberof CommonSchemaUnprocessableContentResponseSchema
547
+ */
548
+ 'message'?: string;
549
+ /**
550
+ *
551
+ * @type {CommonSchemaUnprocessableContentResponseSchemaErrors}
552
+ * @memberof CommonSchemaUnprocessableContentResponseSchema
553
+ */
554
+ 'errors'?: CommonSchemaUnprocessableContentResponseSchemaErrors;
555
+ /**
556
+ *
557
+ * @type {string}
558
+ * @memberof CommonSchemaUnprocessableContentResponseSchema
559
+ */
560
+ 'correlation_id'?: string;
561
+ }
562
+ /**
563
+ *
564
+ * @export
565
+ * @interface CommonSchemaUnprocessableContentResponseSchemaErrors
566
+ */
567
+ export interface CommonSchemaUnprocessableContentResponseSchemaErrors {
568
+ /**
569
+ *
570
+ * @type {Array<any>}
571
+ * @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
572
+ */
573
+ 'field_1'?: Array<any>;
574
+ /**
575
+ *
576
+ * @type {Array<any>}
577
+ * @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
578
+ */
579
+ 'field_2'?: Array<any>;
580
+ }
581
+ /**
582
+ *
583
+ * @export
584
+ * @interface CommonSuccessEmptyResource
585
+ */
586
+ export interface CommonSuccessEmptyResource {
587
+ /**
588
+ *
589
+ * @type {string}
590
+ * @memberof CommonSuccessEmptyResource
591
+ */
592
+ 'message'?: string;
593
+ }
594
+ /**
595
+ *
596
+ * @export
597
+ * @interface DomainsV1DomainDomainResource
598
+ */
599
+ export interface DomainsV1DomainDomainResource {
600
+ /**
601
+ * Domain ID
602
+ * @type {number}
603
+ * @memberof DomainsV1DomainDomainResource
604
+ */
605
+ 'id'?: number;
606
+ /**
607
+ * Domain name, `null` when not claimed free domain
608
+ * @type {string}
609
+ * @memberof DomainsV1DomainDomainResource
610
+ */
611
+ 'name'?: string | null;
612
+ /**
613
+ *
614
+ * @type {string}
615
+ * @memberof DomainsV1DomainDomainResource
616
+ */
617
+ 'type'?: DomainsV1DomainDomainResourceTypeEnum;
618
+ /**
619
+ *
620
+ * @type {string}
621
+ * @memberof DomainsV1DomainDomainResource
622
+ */
623
+ 'status'?: DomainsV1DomainDomainResourceStatusEnum;
624
+ /**
625
+ *
626
+ * @type {string}
627
+ * @memberof DomainsV1DomainDomainResource
628
+ */
629
+ 'created_at'?: string;
630
+ /**
631
+ *
632
+ * @type {string}
633
+ * @memberof DomainsV1DomainDomainResource
634
+ */
635
+ 'expires_at'?: string | null;
636
+ }
637
+ export declare const DomainsV1DomainDomainResourceTypeEnum: {
638
+ readonly Domain: "domain";
639
+ readonly FreeDomain: "free_domain";
640
+ };
641
+ export type DomainsV1DomainDomainResourceTypeEnum = typeof DomainsV1DomainDomainResourceTypeEnum[keyof typeof DomainsV1DomainDomainResourceTypeEnum];
642
+ export declare const DomainsV1DomainDomainResourceStatusEnum: {
643
+ readonly Active: "active";
644
+ readonly PendingSetup: "pending_setup";
645
+ readonly Expired: "expired";
646
+ };
647
+ export type DomainsV1DomainDomainResourceStatusEnum = typeof DomainsV1DomainDomainResourceStatusEnum[keyof typeof DomainsV1DomainDomainResourceStatusEnum];
648
+ /**
649
+ *
650
+ * @export
651
+ * @interface VPSGetActionListV1200Response
652
+ */
653
+ export interface VPSGetActionListV1200Response {
654
+ /**
655
+ * Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
656
+ * @type {Array<VPSV1ActionActionResource>}
657
+ * @memberof VPSGetActionListV1200Response
658
+ */
659
+ 'data'?: Array<VPSV1ActionActionResource>;
660
+ /**
661
+ *
662
+ * @type {CommonSchemaPaginationMetaSchema}
663
+ * @memberof VPSGetActionListV1200Response
664
+ */
665
+ 'meta'?: CommonSchemaPaginationMetaSchema;
666
+ }
667
+ /**
668
+ *
669
+ * @export
670
+ * @interface VPSGetBackupListV1200Response
671
+ */
672
+ export interface VPSGetBackupListV1200Response {
673
+ /**
674
+ * Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource)
675
+ * @type {Array<VPSV1BackupBackupResource>}
676
+ * @memberof VPSGetBackupListV1200Response
677
+ */
678
+ 'data'?: Array<VPSV1BackupBackupResource>;
679
+ /**
680
+ *
681
+ * @type {CommonSchemaPaginationMetaSchema}
682
+ * @memberof VPSGetBackupListV1200Response
683
+ */
684
+ 'meta'?: CommonSchemaPaginationMetaSchema;
685
+ }
686
+ /**
687
+ *
688
+ * @export
689
+ * @interface VPSGetFirewallListV1200Response
690
+ */
691
+ export interface VPSGetFirewallListV1200Response {
692
+ /**
693
+ * Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource)
694
+ * @type {Array<VPSV1FirewallFirewallResource>}
695
+ * @memberof VPSGetFirewallListV1200Response
696
+ */
697
+ 'data'?: Array<VPSV1FirewallFirewallResource>;
698
+ /**
699
+ *
700
+ * @type {CommonSchemaPaginationMetaSchema}
701
+ * @memberof VPSGetFirewallListV1200Response
702
+ */
703
+ 'meta'?: CommonSchemaPaginationMetaSchema;
704
+ }
705
+ /**
706
+ *
707
+ * @export
708
+ * @interface VPSGetPostInstallScriptListV1200Response
709
+ */
710
+ export interface VPSGetPostInstallScriptListV1200Response {
711
+ /**
712
+ * Array of [`VPS.V1.PostInstallScript.PostInstallScriptResource`](#model/vpsv1postinstallscriptpostinstallscriptresource)
713
+ * @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
714
+ * @memberof VPSGetPostInstallScriptListV1200Response
715
+ */
716
+ 'data'?: Array<VPSV1PostInstallScriptPostInstallScriptResource>;
717
+ /**
718
+ *
719
+ * @type {CommonSchemaPaginationMetaSchema}
720
+ * @memberof VPSGetPostInstallScriptListV1200Response
721
+ */
722
+ 'meta'?: CommonSchemaPaginationMetaSchema;
723
+ }
724
+ /**
725
+ *
726
+ * @export
727
+ * @interface VPSGetPublicKeyListV1200Response
728
+ */
729
+ export interface VPSGetPublicKeyListV1200Response {
730
+ /**
731
+ * Array of [`VPS.V1.PublicKey.PublicKeyResource`](#model/vpsv1publickeypublickeyresource)
732
+ * @type {Array<VPSV1PublicKeyPublicKeyResource>}
733
+ * @memberof VPSGetPublicKeyListV1200Response
734
+ */
735
+ 'data'?: Array<VPSV1PublicKeyPublicKeyResource>;
736
+ /**
737
+ *
738
+ * @type {CommonSchemaPaginationMetaSchema}
739
+ * @memberof VPSGetPublicKeyListV1200Response
740
+ */
741
+ 'meta'?: CommonSchemaPaginationMetaSchema;
742
+ }
743
+ /**
744
+ *
745
+ * @export
746
+ * @interface VPSV1ActionActionResource
747
+ */
748
+ export interface VPSV1ActionActionResource {
749
+ /**
750
+ * Action ID
751
+ * @type {number}
752
+ * @memberof VPSV1ActionActionResource
753
+ */
754
+ 'id'?: number;
755
+ /**
756
+ * Action name
757
+ * @type {string}
758
+ * @memberof VPSV1ActionActionResource
759
+ */
760
+ 'name'?: string;
761
+ /**
762
+ * Action state
763
+ * @type {string}
764
+ * @memberof VPSV1ActionActionResource
765
+ */
766
+ 'state'?: VPSV1ActionActionResourceStateEnum;
767
+ /**
768
+ *
769
+ * @type {string}
770
+ * @memberof VPSV1ActionActionResource
771
+ */
772
+ 'created_at'?: string;
773
+ /**
774
+ *
775
+ * @type {string}
776
+ * @memberof VPSV1ActionActionResource
777
+ */
778
+ 'updated_at'?: string;
779
+ }
780
+ export declare const VPSV1ActionActionResourceStateEnum: {
781
+ readonly Success: "success";
782
+ readonly Error: "error";
783
+ readonly Delayed: "delayed";
784
+ readonly Sent: "sent";
785
+ readonly Created: "created";
786
+ };
787
+ export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
788
+ /**
789
+ *
790
+ * @export
791
+ * @interface VPSV1BackupBackupResource
792
+ */
793
+ export interface VPSV1BackupBackupResource {
794
+ /**
795
+ * Backup ID
796
+ * @type {number}
797
+ * @memberof VPSV1BackupBackupResource
798
+ */
799
+ 'id'?: number;
800
+ /**
801
+ * Location of the backup
802
+ * @type {string}
803
+ * @memberof VPSV1BackupBackupResource
804
+ */
805
+ 'location'?: string;
806
+ /**
807
+ *
808
+ * @type {string}
809
+ * @memberof VPSV1BackupBackupResource
810
+ */
811
+ 'created_at'?: string;
812
+ }
813
+ /**
814
+ *
815
+ * @export
816
+ * @interface VPSV1DataCenterDataCenterResource
817
+ */
818
+ export interface VPSV1DataCenterDataCenterResource {
819
+ /**
820
+ * Data center ID
821
+ * @type {number}
822
+ * @memberof VPSV1DataCenterDataCenterResource
823
+ */
824
+ 'id'?: number;
825
+ /**
826
+ * Data center name
827
+ * @type {string}
828
+ * @memberof VPSV1DataCenterDataCenterResource
829
+ */
830
+ 'name'?: string | null;
831
+ /**
832
+ * Data center location country (two letter code)
833
+ * @type {string}
834
+ * @memberof VPSV1DataCenterDataCenterResource
835
+ */
836
+ 'location'?: string | null;
837
+ /**
838
+ * Data center location city
839
+ * @type {string}
840
+ * @memberof VPSV1DataCenterDataCenterResource
841
+ */
842
+ 'city'?: string | null;
843
+ /**
844
+ * Data center location continent
845
+ * @type {string}
846
+ * @memberof VPSV1DataCenterDataCenterResource
847
+ */
848
+ 'continent'?: string | null;
849
+ }
850
+ /**
851
+ *
852
+ * @export
853
+ * @interface VPSV1FirewallFirewallResource
854
+ */
855
+ export interface VPSV1FirewallFirewallResource {
856
+ /**
857
+ * Firewall ID
858
+ * @type {number}
859
+ * @memberof VPSV1FirewallFirewallResource
860
+ */
861
+ 'id'?: number;
862
+ /**
863
+ * Firewall name
864
+ * @type {string}
865
+ * @memberof VPSV1FirewallFirewallResource
866
+ */
867
+ 'name'?: string;
868
+ /**
869
+ * Is current firewall synced with VPS
870
+ * @type {boolean}
871
+ * @memberof VPSV1FirewallFirewallResource
872
+ */
873
+ 'synced'?: boolean;
874
+ /**
875
+ * Array of [`VPS.V1.Firewall.FirewallRuleResource`](#model/vpsv1firewallfirewallruleresource)
876
+ * @type {Array<VPSV1FirewallFirewallRuleResource>}
877
+ * @memberof VPSV1FirewallFirewallResource
878
+ */
879
+ 'rules'?: Array<VPSV1FirewallFirewallRuleResource>;
880
+ /**
881
+ *
882
+ * @type {string}
883
+ * @memberof VPSV1FirewallFirewallResource
884
+ */
885
+ 'created_at'?: string;
886
+ /**
887
+ *
888
+ * @type {string}
889
+ * @memberof VPSV1FirewallFirewallResource
890
+ */
891
+ 'updated_at'?: string;
892
+ }
893
+ /**
894
+ *
895
+ * @export
896
+ * @interface VPSV1FirewallFirewallRuleResource
897
+ */
898
+ export interface VPSV1FirewallFirewallRuleResource {
899
+ /**
900
+ * Firewall rule ID
901
+ * @type {number}
902
+ * @memberof VPSV1FirewallFirewallRuleResource
903
+ */
904
+ 'id'?: number;
905
+ /**
906
+ * Firewall rule action
907
+ * @type {string}
908
+ * @memberof VPSV1FirewallFirewallRuleResource
909
+ */
910
+ 'action'?: VPSV1FirewallFirewallRuleResourceActionEnum;
911
+ /**
912
+ * Firewall rule protocol
913
+ * @type {string}
914
+ * @memberof VPSV1FirewallFirewallRuleResource
915
+ */
916
+ 'protocol'?: VPSV1FirewallFirewallRuleResourceProtocolEnum;
917
+ /**
918
+ * Firewall rule destination port: single or port range
919
+ * @type {string}
920
+ * @memberof VPSV1FirewallFirewallRuleResource
921
+ */
922
+ 'port'?: string;
923
+ /**
924
+ * Firewall rule source. Can be `any` or `custom`
925
+ * @type {string}
926
+ * @memberof VPSV1FirewallFirewallRuleResource
927
+ */
928
+ 'source'?: string;
929
+ /**
930
+ * Firewall rule source detail. Can be `any` or IP address, CIDR or range
931
+ * @type {string}
932
+ * @memberof VPSV1FirewallFirewallRuleResource
933
+ */
934
+ 'source_detail'?: string;
935
+ }
936
+ export declare const VPSV1FirewallFirewallRuleResourceActionEnum: {
937
+ readonly Accept: "accept";
938
+ readonly Drop: "drop";
939
+ };
940
+ export type VPSV1FirewallFirewallRuleResourceActionEnum = typeof VPSV1FirewallFirewallRuleResourceActionEnum[keyof typeof VPSV1FirewallFirewallRuleResourceActionEnum];
941
+ export declare const VPSV1FirewallFirewallRuleResourceProtocolEnum: {
942
+ readonly Tcp: "TCP";
943
+ readonly Udp: "UDP";
944
+ readonly Icmp: "ICMP";
945
+ readonly Gre: "GRE";
946
+ readonly Any: "any";
947
+ readonly Esp: "ESP";
948
+ readonly Ah: "AH";
949
+ readonly Icmpv6: "ICMPv6";
950
+ readonly Ssh: "SSH";
951
+ readonly Http: "HTTP";
952
+ readonly Https: "HTTPS";
953
+ readonly MySql: "MySQL";
954
+ readonly PostgreSql: "PostgreSQL";
955
+ };
956
+ export type VPSV1FirewallFirewallRuleResourceProtocolEnum = typeof VPSV1FirewallFirewallRuleResourceProtocolEnum[keyof typeof VPSV1FirewallFirewallRuleResourceProtocolEnum];
957
+ /**
958
+ *
959
+ * @export
960
+ * @interface VPSV1FirewallRulesStoreRequest
961
+ */
962
+ export interface VPSV1FirewallRulesStoreRequest {
963
+ /**
964
+ *
965
+ * @type {string}
966
+ * @memberof VPSV1FirewallRulesStoreRequest
967
+ */
968
+ 'protocol': VPSV1FirewallRulesStoreRequestProtocolEnum;
969
+ /**
970
+ * Port or port range, ex: 1024:2048
971
+ * @type {string}
972
+ * @memberof VPSV1FirewallRulesStoreRequest
973
+ */
974
+ 'port': string;
975
+ /**
976
+ *
977
+ * @type {string}
978
+ * @memberof VPSV1FirewallRulesStoreRequest
979
+ */
980
+ 'source': VPSV1FirewallRulesStoreRequestSourceEnum;
981
+ /**
982
+ * IP range, CIDR, single IP or `any`
983
+ * @type {string}
984
+ * @memberof VPSV1FirewallRulesStoreRequest
985
+ */
986
+ 'source_detail': string;
987
+ }
988
+ export declare const VPSV1FirewallRulesStoreRequestProtocolEnum: {
989
+ readonly Tcp: "TCP";
990
+ readonly Udp: "UDP";
991
+ readonly Icmp: "ICMP";
992
+ readonly Gre: "GRE";
993
+ readonly Any: "any";
994
+ readonly Esp: "ESP";
995
+ readonly Ah: "AH";
996
+ readonly Icmpv6: "ICMPv6";
997
+ readonly Ssh: "SSH";
998
+ readonly Http: "HTTP";
999
+ readonly Https: "HTTPS";
1000
+ readonly MySql: "MySQL";
1001
+ readonly PostgreSql: "PostgreSQL";
1002
+ };
1003
+ export type VPSV1FirewallRulesStoreRequestProtocolEnum = typeof VPSV1FirewallRulesStoreRequestProtocolEnum[keyof typeof VPSV1FirewallRulesStoreRequestProtocolEnum];
1004
+ export declare const VPSV1FirewallRulesStoreRequestSourceEnum: {
1005
+ readonly Any: "any";
1006
+ readonly Custom: "custom";
1007
+ };
1008
+ export type VPSV1FirewallRulesStoreRequestSourceEnum = typeof VPSV1FirewallRulesStoreRequestSourceEnum[keyof typeof VPSV1FirewallRulesStoreRequestSourceEnum];
1009
+ /**
1010
+ *
1011
+ * @export
1012
+ * @interface VPSV1FirewallStoreRequest
1013
+ */
1014
+ export interface VPSV1FirewallStoreRequest {
1015
+ /**
1016
+ *
1017
+ * @type {string}
1018
+ * @memberof VPSV1FirewallStoreRequest
1019
+ */
1020
+ 'name': string;
1021
+ }
1022
+ /**
1023
+ *
1024
+ * @export
1025
+ * @interface VPSV1IPAddressIPAddressResource
1026
+ */
1027
+ export interface VPSV1IPAddressIPAddressResource {
1028
+ /**
1029
+ * IP address ID
1030
+ * @type {number}
1031
+ * @memberof VPSV1IPAddressIPAddressResource
1032
+ */
1033
+ 'id'?: number;
1034
+ /**
1035
+ * IP address: IPv4 or IPv6
1036
+ * @type {string}
1037
+ * @memberof VPSV1IPAddressIPAddressResource
1038
+ */
1039
+ 'address'?: string;
1040
+ /**
1041
+ * IP address PTR record
1042
+ * @type {string}
1043
+ * @memberof VPSV1IPAddressIPAddressResource
1044
+ */
1045
+ 'ptr'?: string | null;
1046
+ }
1047
+ /**
1048
+ *
1049
+ * @export
1050
+ * @interface VPSV1MalwareMetricsResource
1051
+ */
1052
+ export interface VPSV1MalwareMetricsResource {
1053
+ /**
1054
+ * Records found during last scan
1055
+ * @type {number}
1056
+ * @memberof VPSV1MalwareMetricsResource
1057
+ */
1058
+ 'records'?: number;
1059
+ /**
1060
+ * Malicious files found during last scan
1061
+ * @type {number}
1062
+ * @memberof VPSV1MalwareMetricsResource
1063
+ */
1064
+ 'malicious'?: number;
1065
+ /**
1066
+ * Compromised files found during last scan
1067
+ * @type {number}
1068
+ * @memberof VPSV1MalwareMetricsResource
1069
+ */
1070
+ 'compromised'?: number;
1071
+ /**
1072
+ * Total number of files scanned during last scan
1073
+ * @type {number}
1074
+ * @memberof VPSV1MalwareMetricsResource
1075
+ */
1076
+ 'scanned_files'?: number;
1077
+ /**
1078
+ *
1079
+ * @type {string}
1080
+ * @memberof VPSV1MalwareMetricsResource
1081
+ */
1082
+ 'scan_started_at'?: string;
1083
+ /**
1084
+ *
1085
+ * @type {string}
1086
+ * @memberof VPSV1MalwareMetricsResource
1087
+ */
1088
+ 'scan_ended_at'?: string | null;
1089
+ }
1090
+ /**
1091
+ *
1092
+ * @export
1093
+ * @interface VPSV1MetricsMetricsCollection
1094
+ */
1095
+ export interface VPSV1MetricsMetricsCollection {
1096
+ /**
1097
+ *
1098
+ * @type {VPSV1MetricsMetricsCollectionCpuUsage}
1099
+ * @memberof VPSV1MetricsMetricsCollection
1100
+ */
1101
+ 'cpu_usage'?: VPSV1MetricsMetricsCollectionCpuUsage | null;
1102
+ /**
1103
+ *
1104
+ * @type {VPSV1MetricsMetricsCollectionRamUsage}
1105
+ * @memberof VPSV1MetricsMetricsCollection
1106
+ */
1107
+ 'ram_usage'?: VPSV1MetricsMetricsCollectionRamUsage | null;
1108
+ /**
1109
+ *
1110
+ * @type {VPSV1MetricsMetricsCollectionDiskSpace}
1111
+ * @memberof VPSV1MetricsMetricsCollection
1112
+ */
1113
+ 'disk_space'?: VPSV1MetricsMetricsCollectionDiskSpace | null;
1114
+ /**
1115
+ *
1116
+ * @type {VPSV1MetricsMetricsCollectionOutgoingTraffic}
1117
+ * @memberof VPSV1MetricsMetricsCollection
1118
+ */
1119
+ 'outgoing_traffic'?: VPSV1MetricsMetricsCollectionOutgoingTraffic | null;
1120
+ /**
1121
+ *
1122
+ * @type {VPSV1MetricsMetricsCollectionIncomingTraffic}
1123
+ * @memberof VPSV1MetricsMetricsCollection
1124
+ */
1125
+ 'incoming_traffic'?: VPSV1MetricsMetricsCollectionIncomingTraffic | null;
1126
+ /**
1127
+ *
1128
+ * @type {VPSV1MetricsMetricsCollectionUptime}
1129
+ * @memberof VPSV1MetricsMetricsCollection
1130
+ */
1131
+ 'uptime'?: VPSV1MetricsMetricsCollectionUptime | null;
1132
+ }
1133
+ /**
1134
+ * @type VPSV1MetricsMetricsCollectionCpuUsage
1135
+ * CPU usage in percentage, 0 - 100%
1136
+ * @export
1137
+ */
1138
+ export type VPSV1MetricsMetricsCollectionCpuUsage = VPSV1MetricsMetricsResource;
1139
+ /**
1140
+ * @type VPSV1MetricsMetricsCollectionDiskSpace
1141
+ * Disk space usage in bytes
1142
+ * @export
1143
+ */
1144
+ export type VPSV1MetricsMetricsCollectionDiskSpace = VPSV1MetricsMetricsResource;
1145
+ /**
1146
+ * @type VPSV1MetricsMetricsCollectionIncomingTraffic
1147
+ * Incoming traffic in bytes
1148
+ * @export
1149
+ */
1150
+ export type VPSV1MetricsMetricsCollectionIncomingTraffic = VPSV1MetricsMetricsResource;
1151
+ /**
1152
+ * @type VPSV1MetricsMetricsCollectionOutgoingTraffic
1153
+ * Outgoing traffic in bytes
1154
+ * @export
1155
+ */
1156
+ export type VPSV1MetricsMetricsCollectionOutgoingTraffic = VPSV1MetricsMetricsResource;
1157
+ /**
1158
+ * @type VPSV1MetricsMetricsCollectionRamUsage
1159
+ * RAM usage in bytes
1160
+ * @export
1161
+ */
1162
+ export type VPSV1MetricsMetricsCollectionRamUsage = VPSV1MetricsMetricsResource;
1163
+ /**
1164
+ * @type VPSV1MetricsMetricsCollectionUptime
1165
+ * Uptime in milliseconds
1166
+ * @export
1167
+ */
1168
+ export type VPSV1MetricsMetricsCollectionUptime = VPSV1MetricsMetricsResource;
1169
+ /**
1170
+ *
1171
+ * @export
1172
+ * @interface VPSV1MetricsMetricsResource
1173
+ */
1174
+ export interface VPSV1MetricsMetricsResource {
1175
+ /**
1176
+ * Measurement unit
1177
+ * @type {string}
1178
+ * @memberof VPSV1MetricsMetricsResource
1179
+ */
1180
+ 'unit'?: string;
1181
+ /**
1182
+ * Object, containing UNIX timestamps as a key and measurement as a value.
1183
+ * @type {object}
1184
+ * @memberof VPSV1MetricsMetricsResource
1185
+ */
1186
+ 'usage'?: object;
1187
+ }
1188
+ /**
1189
+ *
1190
+ * @export
1191
+ * @interface VPSV1PostInstallScriptPostInstallScriptResource
1192
+ */
1193
+ export interface VPSV1PostInstallScriptPostInstallScriptResource {
1194
+ /**
1195
+ * Post-install script ID
1196
+ * @type {number}
1197
+ * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1198
+ */
1199
+ 'id'?: number;
1200
+ /**
1201
+ * Name of the script
1202
+ * @type {string}
1203
+ * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1204
+ */
1205
+ 'name'?: string;
1206
+ /**
1207
+ * Content of the script
1208
+ * @type {string}
1209
+ * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1210
+ */
1211
+ 'content'?: string;
1212
+ /**
1213
+ *
1214
+ * @type {string}
1215
+ * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1216
+ */
1217
+ 'created_at'?: string;
1218
+ /**
1219
+ *
1220
+ * @type {string}
1221
+ * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1222
+ */
1223
+ 'updated_at'?: string;
1224
+ }
1225
+ /**
1226
+ *
1227
+ * @export
1228
+ * @interface VPSV1PostInstallScriptStoreRequest
1229
+ */
1230
+ export interface VPSV1PostInstallScriptStoreRequest {
1231
+ /**
1232
+ * Name of the script
1233
+ * @type {string}
1234
+ * @memberof VPSV1PostInstallScriptStoreRequest
1235
+ */
1236
+ 'name': string;
1237
+ /**
1238
+ * Content of the script
1239
+ * @type {string}
1240
+ * @memberof VPSV1PostInstallScriptStoreRequest
1241
+ */
1242
+ 'content': string;
1243
+ }
1244
+ /**
1245
+ *
1246
+ * @export
1247
+ * @interface VPSV1PublicKeyAttachRequest
1248
+ */
1249
+ export interface VPSV1PublicKeyAttachRequest {
1250
+ /**
1251
+ * Public Key IDs to attach
1252
+ * @type {Array<number>}
1253
+ * @memberof VPSV1PublicKeyAttachRequest
1254
+ */
1255
+ 'ids': Array<number>;
1256
+ }
1257
+ /**
1258
+ *
1259
+ * @export
1260
+ * @interface VPSV1PublicKeyPublicKeyResource
1261
+ */
1262
+ export interface VPSV1PublicKeyPublicKeyResource {
1263
+ /**
1264
+ * Public key ID
1265
+ * @type {number}
1266
+ * @memberof VPSV1PublicKeyPublicKeyResource
1267
+ */
1268
+ 'id'?: number;
1269
+ /**
1270
+ * Public key name
1271
+ * @type {string}
1272
+ * @memberof VPSV1PublicKeyPublicKeyResource
1273
+ */
1274
+ 'name'?: string;
1275
+ /**
1276
+ * Public key content
1277
+ * @type {string}
1278
+ * @memberof VPSV1PublicKeyPublicKeyResource
1279
+ */
1280
+ 'key'?: string;
1281
+ }
1282
+ /**
1283
+ *
1284
+ * @export
1285
+ * @interface VPSV1PublicKeyStoreRequest
1286
+ */
1287
+ export interface VPSV1PublicKeyStoreRequest {
1288
+ /**
1289
+ *
1290
+ * @type {string}
1291
+ * @memberof VPSV1PublicKeyStoreRequest
1292
+ */
1293
+ 'name': string;
1294
+ /**
1295
+ *
1296
+ * @type {string}
1297
+ * @memberof VPSV1PublicKeyStoreRequest
1298
+ */
1299
+ 'key': string;
1300
+ }
1301
+ /**
1302
+ *
1303
+ * @export
1304
+ * @interface VPSV1SnapshotSnapshotResource
1305
+ */
1306
+ export interface VPSV1SnapshotSnapshotResource {
1307
+ /**
1308
+ * Snapshot ID
1309
+ * @type {number}
1310
+ * @memberof VPSV1SnapshotSnapshotResource
1311
+ */
1312
+ 'id'?: number;
1313
+ /**
1314
+ *
1315
+ * @type {string}
1316
+ * @memberof VPSV1SnapshotSnapshotResource
1317
+ */
1318
+ 'created_at'?: string;
1319
+ /**
1320
+ *
1321
+ * @type {string}
1322
+ * @memberof VPSV1SnapshotSnapshotResource
1323
+ */
1324
+ 'expires_at'?: string;
1325
+ }
1326
+ /**
1327
+ *
1328
+ * @export
1329
+ * @interface VPSV1TemplateTemplateResource
1330
+ */
1331
+ export interface VPSV1TemplateTemplateResource {
1332
+ /**
1333
+ * Template ID
1334
+ * @type {number}
1335
+ * @memberof VPSV1TemplateTemplateResource
1336
+ */
1337
+ 'id'?: number;
1338
+ /**
1339
+ * Template name
1340
+ * @type {string}
1341
+ * @memberof VPSV1TemplateTemplateResource
1342
+ */
1343
+ 'name'?: string;
1344
+ /**
1345
+ * Template description
1346
+ * @type {string}
1347
+ * @memberof VPSV1TemplateTemplateResource
1348
+ */
1349
+ 'description'?: string;
1350
+ /**
1351
+ * Link to official OS documentation
1352
+ * @type {string}
1353
+ * @memberof VPSV1TemplateTemplateResource
1354
+ */
1355
+ 'documentation'?: string | null;
1356
+ }
1357
+ /**
1358
+ *
1359
+ * @export
1360
+ * @interface VPSV1VirtualMachineHostnameUpdateRequest
1361
+ */
1362
+ export interface VPSV1VirtualMachineHostnameUpdateRequest {
1363
+ /**
1364
+ *
1365
+ * @type {string}
1366
+ * @memberof VPSV1VirtualMachineHostnameUpdateRequest
1367
+ */
1368
+ 'hostname': string;
1369
+ }
1370
+ /**
1371
+ *
1372
+ * @export
1373
+ * @interface VPSV1VirtualMachineNameserversUpdateRequest
1374
+ */
1375
+ export interface VPSV1VirtualMachineNameserversUpdateRequest {
1376
+ /**
1377
+ *
1378
+ * @type {string}
1379
+ * @memberof VPSV1VirtualMachineNameserversUpdateRequest
1380
+ */
1381
+ 'ns1': string;
1382
+ /**
1383
+ *
1384
+ * @type {string}
1385
+ * @memberof VPSV1VirtualMachineNameserversUpdateRequest
1386
+ */
1387
+ 'ns2'?: string;
1388
+ }
1389
+ /**
1390
+ *
1391
+ * @export
1392
+ * @interface VPSV1VirtualMachinePanelPasswordUpdateRequest
1393
+ */
1394
+ export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
1395
+ /**
1396
+ * Panel password for the virtual machine
1397
+ * @type {string}
1398
+ * @memberof VPSV1VirtualMachinePanelPasswordUpdateRequest
1399
+ */
1400
+ 'password': string;
1401
+ }
1402
+ /**
1403
+ *
1404
+ * @export
1405
+ * @interface VPSV1VirtualMachineRecoveryStartRequest
1406
+ */
1407
+ export interface VPSV1VirtualMachineRecoveryStartRequest {
1408
+ /**
1409
+ * Temporary root password for recovery mode
1410
+ * @type {string}
1411
+ * @memberof VPSV1VirtualMachineRecoveryStartRequest
1412
+ */
1413
+ 'root_password': string;
1414
+ }
1415
+ /**
1416
+ *
1417
+ * @export
1418
+ * @interface VPSV1VirtualMachineRecreateRequest
1419
+ */
1420
+ export interface VPSV1VirtualMachineRecreateRequest {
1421
+ /**
1422
+ * Template ID
1423
+ * @type {number}
1424
+ * @memberof VPSV1VirtualMachineRecreateRequest
1425
+ */
1426
+ 'template_id': number;
1427
+ /**
1428
+ * Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
1429
+ * @type {string}
1430
+ * @memberof VPSV1VirtualMachineRecreateRequest
1431
+ */
1432
+ 'password'?: string;
1433
+ /**
1434
+ * Post-install script ID
1435
+ * @type {number}
1436
+ * @memberof VPSV1VirtualMachineRecreateRequest
1437
+ */
1438
+ 'post_install_script_id'?: number;
1439
+ }
1440
+ /**
1441
+ *
1442
+ * @export
1443
+ * @interface VPSV1VirtualMachineRootPasswordUpdateRequest
1444
+ */
1445
+ export interface VPSV1VirtualMachineRootPasswordUpdateRequest {
1446
+ /**
1447
+ * Root password for the virtual machine
1448
+ * @type {string}
1449
+ * @memberof VPSV1VirtualMachineRootPasswordUpdateRequest
1450
+ */
1451
+ 'password': string;
1452
+ }
1453
+ /**
1454
+ *
1455
+ * @export
1456
+ * @interface VPSV1VirtualMachineSetupRequest
1457
+ */
1458
+ export interface VPSV1VirtualMachineSetupRequest {
1459
+ /**
1460
+ * Template ID
1461
+ * @type {number}
1462
+ * @memberof VPSV1VirtualMachineSetupRequest
1463
+ */
1464
+ 'template_id': number;
1465
+ /**
1466
+ * Data center ID
1467
+ * @type {number}
1468
+ * @memberof VPSV1VirtualMachineSetupRequest
1469
+ */
1470
+ 'data_center_id': number;
1471
+ /**
1472
+ * Post-install script ID
1473
+ * @type {number}
1474
+ * @memberof VPSV1VirtualMachineSetupRequest
1475
+ */
1476
+ 'post_install_script_id'?: number;
1477
+ /**
1478
+ * Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
1479
+ * @type {string}
1480
+ * @memberof VPSV1VirtualMachineSetupRequest
1481
+ */
1482
+ 'password'?: string;
1483
+ /**
1484
+ * Override default hostname of the virtual machine
1485
+ * @type {string}
1486
+ * @memberof VPSV1VirtualMachineSetupRequest
1487
+ */
1488
+ 'hostname'?: string;
1489
+ /**
1490
+ * Install Monarx malware scanner (if supported)
1491
+ * @type {boolean}
1492
+ * @memberof VPSV1VirtualMachineSetupRequest
1493
+ */
1494
+ 'install_monarx'?: boolean;
1495
+ /**
1496
+ * Enable weekly backup schedule
1497
+ * @type {boolean}
1498
+ * @memberof VPSV1VirtualMachineSetupRequest
1499
+ */
1500
+ 'enable_backups'?: boolean;
1501
+ /**
1502
+ *
1503
+ * @type {string}
1504
+ * @memberof VPSV1VirtualMachineSetupRequest
1505
+ */
1506
+ 'ns1'?: string;
1507
+ /**
1508
+ *
1509
+ * @type {string}
1510
+ * @memberof VPSV1VirtualMachineSetupRequest
1511
+ */
1512
+ 'ns2'?: string;
1513
+ /**
1514
+ *
1515
+ * @type {VPSV1VirtualMachineSetupRequestPublicKey}
1516
+ * @memberof VPSV1VirtualMachineSetupRequest
1517
+ */
1518
+ 'public_key'?: VPSV1VirtualMachineSetupRequestPublicKey;
1519
+ }
1520
+ /**
1521
+ *
1522
+ * @export
1523
+ * @interface VPSV1VirtualMachineSetupRequestPublicKey
1524
+ */
1525
+ export interface VPSV1VirtualMachineSetupRequestPublicKey {
1526
+ /**
1527
+ * Name of the SSH key
1528
+ * @type {string}
1529
+ * @memberof VPSV1VirtualMachineSetupRequestPublicKey
1530
+ */
1531
+ 'name'?: string;
1532
+ /**
1533
+ * SSH public key
1534
+ * @type {string}
1535
+ * @memberof VPSV1VirtualMachineSetupRequestPublicKey
1536
+ */
1537
+ 'key'?: string;
1538
+ }
1539
+ /**
1540
+ *
1541
+ * @export
1542
+ * @interface VPSV1VirtualMachineVirtualMachineResource
1543
+ */
1544
+ export interface VPSV1VirtualMachineVirtualMachineResource {
1545
+ /**
1546
+ * Virtual machine ID
1547
+ * @type {number}
1548
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1549
+ */
1550
+ 'id'?: number;
1551
+ /**
1552
+ * Active firewall ID, `null` if disabled
1553
+ * @type {number}
1554
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1555
+ */
1556
+ 'firewall_group_id'?: number | null;
1557
+ /**
1558
+ * Subscription ID
1559
+ * @type {string}
1560
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1561
+ */
1562
+ 'subscription_id'?: string | null;
1563
+ /**
1564
+ * VPS plan name
1565
+ * @type {string}
1566
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1567
+ */
1568
+ 'plan'?: string | null;
1569
+ /**
1570
+ *
1571
+ * @type {string}
1572
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1573
+ */
1574
+ 'hostname'?: string;
1575
+ /**
1576
+ *
1577
+ * @type {string}
1578
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1579
+ */
1580
+ 'state'?: VPSV1VirtualMachineVirtualMachineResourceStateEnum;
1581
+ /**
1582
+ *
1583
+ * @type {string}
1584
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1585
+ */
1586
+ 'actions_lock'?: VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum;
1587
+ /**
1588
+ * CPUs count assigned to virtual machine
1589
+ * @type {number}
1590
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1591
+ */
1592
+ 'cpus'?: number;
1593
+ /**
1594
+ * Memory available to virtual machine (in megabytes)
1595
+ * @type {number}
1596
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1597
+ */
1598
+ 'memory'?: number;
1599
+ /**
1600
+ * Virtual machine disk size (in megabytes)
1601
+ * @type {number}
1602
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1603
+ */
1604
+ 'disk'?: number;
1605
+ /**
1606
+ * Monthly internet traffic available to virtual machine (in megabytes)
1607
+ * @type {number}
1608
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1609
+ */
1610
+ 'bandwidth'?: number;
1611
+ /**
1612
+ * Primary DNS resolver
1613
+ * @type {string}
1614
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1615
+ */
1616
+ 'ns1'?: string | null;
1617
+ /**
1618
+ * Secondary DNS resolver
1619
+ * @type {string}
1620
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1621
+ */
1622
+ 'ns2'?: string | null;
1623
+ /**
1624
+ *
1625
+ * @type {VPSV1VirtualMachineVirtualMachineResourceIpv4}
1626
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1627
+ */
1628
+ 'ipv4'?: VPSV1VirtualMachineVirtualMachineResourceIpv4 | null;
1629
+ /**
1630
+ *
1631
+ * @type {VPSV1VirtualMachineVirtualMachineResourceIpv6}
1632
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1633
+ */
1634
+ 'ipv6'?: VPSV1VirtualMachineVirtualMachineResourceIpv6 | null;
1635
+ /**
1636
+ *
1637
+ * @type {VPSV1VirtualMachineVirtualMachineResourceTemplate}
1638
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1639
+ */
1640
+ 'template'?: VPSV1VirtualMachineVirtualMachineResourceTemplate | null;
1641
+ /**
1642
+ *
1643
+ * @type {string}
1644
+ * @memberof VPSV1VirtualMachineVirtualMachineResource
1645
+ */
1646
+ 'created_at'?: string;
1647
+ }
1648
+ export declare const VPSV1VirtualMachineVirtualMachineResourceStateEnum: {
1649
+ readonly Running: "running";
1650
+ readonly Stopped: "stopped";
1651
+ readonly Creating: "creating";
1652
+ readonly Initial: "initial";
1653
+ };
1654
+ export type VPSV1VirtualMachineVirtualMachineResourceStateEnum = typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum[keyof typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum];
1655
+ export declare const VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum: {
1656
+ readonly Unlocked: "unlocked";
1657
+ readonly Locked: "locked";
1658
+ };
1659
+ export type VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = typeof VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum[keyof typeof VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum];
1660
+ /**
1661
+ * @type VPSV1VirtualMachineVirtualMachineResourceIpv4
1662
+ * IPv4 address of virtual machine
1663
+ * @export
1664
+ */
1665
+ export type VPSV1VirtualMachineVirtualMachineResourceIpv4 = Array<VPSV1IPAddressIPAddressResource>;
1666
+ /**
1667
+ * @type VPSV1VirtualMachineVirtualMachineResourceIpv6
1668
+ * IPv6 address of virtual machine, `null` if not assigned
1669
+ * @export
1670
+ */
1671
+ export type VPSV1VirtualMachineVirtualMachineResourceIpv6 = Array<VPSV1IPAddressIPAddressResource>;
1672
+ /**
1673
+ * @type VPSV1VirtualMachineVirtualMachineResourceTemplate
1674
+ * OS template installed in virtual machine
1675
+ * @export
1676
+ */
1677
+ export type VPSV1VirtualMachineVirtualMachineResourceTemplate = VPSV1TemplateTemplateResource;
1678
+ /**
1679
+ * BillingCatalogApi - axios parameter creator
1680
+ * @export
1681
+ */
1682
+ export declare const BillingCatalogApiAxiosParamCreator: (configuration?: Configuration) => {
1683
+ /**
1684
+ * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
1685
+ * @summary Get catalog item list
1686
+ * @param {*} [options] Override http request option.
1687
+ * @throws {RequiredError}
1688
+ */
1689
+ getCatalogItemListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1690
+ };
1691
+ /**
1692
+ * BillingCatalogApi - functional programming interface
1693
+ * @export
1694
+ */
1695
+ export declare const BillingCatalogApiFp: (configuration?: Configuration) => {
1696
+ /**
1697
+ * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
1698
+ * @summary Get catalog item list
1699
+ * @param {*} [options] Override http request option.
1700
+ * @throws {RequiredError}
1701
+ */
1702
+ getCatalogItemListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>>;
1703
+ };
1704
+ /**
1705
+ * BillingCatalogApi - factory interface
1706
+ * @export
1707
+ */
1708
+ export declare const BillingCatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1709
+ /**
1710
+ * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
1711
+ * @summary Get catalog item list
1712
+ * @param {*} [options] Override http request option.
1713
+ * @throws {RequiredError}
1714
+ */
1715
+ getCatalogItemListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>;
1716
+ };
1717
+ /**
1718
+ * BillingCatalogApi - object-oriented interface
1719
+ * @export
1720
+ * @class BillingCatalogApi
1721
+ * @extends {BaseAPI}
1722
+ */
1723
+ export declare class BillingCatalogApi extends BaseAPI {
1724
+ /**
1725
+ * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
1726
+ * @summary Get catalog item list
1727
+ * @param {*} [options] Override http request option.
1728
+ * @throws {RequiredError}
1729
+ * @memberof BillingCatalogApi
1730
+ */
1731
+ getCatalogItemListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1CatalogCatalogItemResource[], any>>;
1732
+ }
1733
+ /**
1734
+ * BillingOrdersApi - axios parameter creator
1735
+ * @export
1736
+ */
1737
+ export declare const BillingOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
1738
+ /**
1739
+ * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatically renewal.
1740
+ * @summary Create new service order
1741
+ * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
1742
+ * @param {*} [options] Override http request option.
1743
+ * @throws {RequiredError}
1744
+ */
1745
+ createNewServiceOrderV1: (billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1746
+ };
1747
+ /**
1748
+ * BillingOrdersApi - functional programming interface
1749
+ * @export
1750
+ */
1751
+ export declare const BillingOrdersApiFp: (configuration?: Configuration) => {
1752
+ /**
1753
+ * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatically renewal.
1754
+ * @summary Create new service order
1755
+ * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
1756
+ * @param {*} [options] Override http request option.
1757
+ * @throws {RequiredError}
1758
+ */
1759
+ createNewServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
1760
+ };
1761
+ /**
1762
+ * BillingOrdersApi - factory interface
1763
+ * @export
1764
+ */
1765
+ export declare const BillingOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1766
+ /**
1767
+ * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatically renewal.
1768
+ * @summary Create new service order
1769
+ * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
1770
+ * @param {*} [options] Override http request option.
1771
+ * @throws {RequiredError}
1772
+ */
1773
+ createNewServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
1774
+ };
1775
+ /**
1776
+ * BillingOrdersApi - object-oriented interface
1777
+ * @export
1778
+ * @class BillingOrdersApi
1779
+ * @extends {BaseAPI}
1780
+ */
1781
+ export declare class BillingOrdersApi extends BaseAPI {
1782
+ /**
1783
+ * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatically renewal.
1784
+ * @summary Create new service order
1785
+ * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
1786
+ * @param {*} [options] Override http request option.
1787
+ * @throws {RequiredError}
1788
+ * @memberof BillingOrdersApi
1789
+ */
1790
+ createNewServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
1791
+ }
1792
+ /**
1793
+ * BillingPaymentMethodsApi - axios parameter creator
1794
+ * @export
1795
+ */
1796
+ export declare const BillingPaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
1797
+ /**
1798
+ * This endpoint deletes a payment method from your account.
1799
+ * @summary Delete payment method
1800
+ * @param {number} paymentMethodId Payment method ID
1801
+ * @param {*} [options] Override http request option.
1802
+ * @throws {RequiredError}
1803
+ */
1804
+ deletePaymentMethodV1: (paymentMethodId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1805
+ /**
1806
+ * This endpoint retrieves a list of available payment methods that can be used for placing new orders. If you want to add new payment method, please use [hPanel](https://hpanel.hostinger.com/billing/payment-methods).
1807
+ * @summary Get payment method list
1808
+ * @param {*} [options] Override http request option.
1809
+ * @throws {RequiredError}
1810
+ */
1811
+ getPaymentMethodListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1812
+ /**
1813
+ * This endpoint sets default payment method for your account.
1814
+ * @summary Set default payment method
1815
+ * @param {number} paymentMethodId Payment method ID
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ setDefaultPaymentMethodV1: (paymentMethodId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1820
+ };
1821
+ /**
1822
+ * BillingPaymentMethodsApi - functional programming interface
1823
+ * @export
1824
+ */
1825
+ export declare const BillingPaymentMethodsApiFp: (configuration?: Configuration) => {
1826
+ /**
1827
+ * This endpoint deletes a payment method from your account.
1828
+ * @summary Delete payment method
1829
+ * @param {number} paymentMethodId Payment method ID
1830
+ * @param {*} [options] Override http request option.
1831
+ * @throws {RequiredError}
1832
+ */
1833
+ deletePaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
1834
+ /**
1835
+ * This endpoint retrieves a list of available payment methods that can be used for placing new orders. If you want to add new payment method, please use [hPanel](https://hpanel.hostinger.com/billing/payment-methods).
1836
+ * @summary Get payment method list
1837
+ * @param {*} [options] Override http request option.
1838
+ * @throws {RequiredError}
1839
+ */
1840
+ getPaymentMethodListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1PaymentMethodPaymentMethodResource>>>;
1841
+ /**
1842
+ * This endpoint sets default payment method for your account.
1843
+ * @summary Set default payment method
1844
+ * @param {number} paymentMethodId Payment method ID
1845
+ * @param {*} [options] Override http request option.
1846
+ * @throws {RequiredError}
1847
+ */
1848
+ setDefaultPaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
1849
+ };
1850
+ /**
1851
+ * BillingPaymentMethodsApi - factory interface
1852
+ * @export
1853
+ */
1854
+ export declare const BillingPaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1855
+ /**
1856
+ * This endpoint deletes a payment method from your account.
1857
+ * @summary Delete payment method
1858
+ * @param {number} paymentMethodId Payment method ID
1859
+ * @param {*} [options] Override http request option.
1860
+ * @throws {RequiredError}
1861
+ */
1862
+ deletePaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
1863
+ /**
1864
+ * This endpoint retrieves a list of available payment methods that can be used for placing new orders. If you want to add new payment method, please use [hPanel](https://hpanel.hostinger.com/billing/payment-methods).
1865
+ * @summary Get payment method list
1866
+ * @param {*} [options] Override http request option.
1867
+ * @throws {RequiredError}
1868
+ */
1869
+ getPaymentMethodListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1PaymentMethodPaymentMethodResource>>;
1870
+ /**
1871
+ * This endpoint sets default payment method for your account.
1872
+ * @summary Set default payment method
1873
+ * @param {number} paymentMethodId Payment method ID
1874
+ * @param {*} [options] Override http request option.
1875
+ * @throws {RequiredError}
1876
+ */
1877
+ setDefaultPaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
1878
+ };
1879
+ /**
1880
+ * BillingPaymentMethodsApi - object-oriented interface
1881
+ * @export
1882
+ * @class BillingPaymentMethodsApi
1883
+ * @extends {BaseAPI}
1884
+ */
1885
+ export declare class BillingPaymentMethodsApi extends BaseAPI {
1886
+ /**
1887
+ * This endpoint deletes a payment method from your account.
1888
+ * @summary Delete payment method
1889
+ * @param {number} paymentMethodId Payment method ID
1890
+ * @param {*} [options] Override http request option.
1891
+ * @throws {RequiredError}
1892
+ * @memberof BillingPaymentMethodsApi
1893
+ */
1894
+ deletePaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
1895
+ /**
1896
+ * This endpoint retrieves a list of available payment methods that can be used for placing new orders. If you want to add new payment method, please use [hPanel](https://hpanel.hostinger.com/billing/payment-methods).
1897
+ * @summary Get payment method list
1898
+ * @param {*} [options] Override http request option.
1899
+ * @throws {RequiredError}
1900
+ * @memberof BillingPaymentMethodsApi
1901
+ */
1902
+ getPaymentMethodListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1PaymentMethodPaymentMethodResource[], any>>;
1903
+ /**
1904
+ * This endpoint sets default payment method for your account.
1905
+ * @summary Set default payment method
1906
+ * @param {number} paymentMethodId Payment method ID
1907
+ * @param {*} [options] Override http request option.
1908
+ * @throws {RequiredError}
1909
+ * @memberof BillingPaymentMethodsApi
1910
+ */
1911
+ setDefaultPaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
1912
+ }
1913
+ /**
1914
+ * BillingSubscriptionsApi - axios parameter creator
1915
+ * @export
1916
+ */
1917
+ export declare const BillingSubscriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
1918
+ /**
1919
+ * This endpoint cancels a subscription and stops any further billing.
1920
+ * @summary Cancel subscription
1921
+ * @param {string} subscriptionId Subscription ID
1922
+ * @param {BillingV1SubscriptionCancelRequest} billingV1SubscriptionCancelRequest
1923
+ * @param {*} [options] Override http request option.
1924
+ * @throws {RequiredError}
1925
+ */
1926
+ cancelSubscriptionV1: (subscriptionId: string, billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1927
+ /**
1928
+ * This endpoint retrieves a list of all subscriptions associated with your account.
1929
+ * @summary Get subscription list
1930
+ * @param {*} [options] Override http request option.
1931
+ * @throws {RequiredError}
1932
+ */
1933
+ getSubscriptionListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1934
+ };
1935
+ /**
1936
+ * BillingSubscriptionsApi - functional programming interface
1937
+ * @export
1938
+ */
1939
+ export declare const BillingSubscriptionsApiFp: (configuration?: Configuration) => {
1940
+ /**
1941
+ * This endpoint cancels a subscription and stops any further billing.
1942
+ * @summary Cancel subscription
1943
+ * @param {string} subscriptionId Subscription ID
1944
+ * @param {BillingV1SubscriptionCancelRequest} billingV1SubscriptionCancelRequest
1945
+ * @param {*} [options] Override http request option.
1946
+ * @throws {RequiredError}
1947
+ */
1948
+ cancelSubscriptionV1(subscriptionId: string, billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
1949
+ /**
1950
+ * This endpoint retrieves a list of all subscriptions associated with your account.
1951
+ * @summary Get subscription list
1952
+ * @param {*} [options] Override http request option.
1953
+ * @throws {RequiredError}
1954
+ */
1955
+ getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1SubscriptionSubscriptionResource>>>;
1956
+ };
1957
+ /**
1958
+ * BillingSubscriptionsApi - factory interface
1959
+ * @export
1960
+ */
1961
+ export declare const BillingSubscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1962
+ /**
1963
+ * This endpoint cancels a subscription and stops any further billing.
1964
+ * @summary Cancel subscription
1965
+ * @param {string} subscriptionId Subscription ID
1966
+ * @param {BillingV1SubscriptionCancelRequest} billingV1SubscriptionCancelRequest
1967
+ * @param {*} [options] Override http request option.
1968
+ * @throws {RequiredError}
1969
+ */
1970
+ cancelSubscriptionV1(subscriptionId: string, billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
1971
+ /**
1972
+ * This endpoint retrieves a list of all subscriptions associated with your account.
1973
+ * @summary Get subscription list
1974
+ * @param {*} [options] Override http request option.
1975
+ * @throws {RequiredError}
1976
+ */
1977
+ getSubscriptionListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1SubscriptionSubscriptionResource>>;
1978
+ };
1979
+ /**
1980
+ * BillingSubscriptionsApi - object-oriented interface
1981
+ * @export
1982
+ * @class BillingSubscriptionsApi
1983
+ * @extends {BaseAPI}
1984
+ */
1985
+ export declare class BillingSubscriptionsApi extends BaseAPI {
1986
+ /**
1987
+ * This endpoint cancels a subscription and stops any further billing.
1988
+ * @summary Cancel subscription
1989
+ * @param {string} subscriptionId Subscription ID
1990
+ * @param {BillingV1SubscriptionCancelRequest} billingV1SubscriptionCancelRequest
1991
+ * @param {*} [options] Override http request option.
1992
+ * @throws {RequiredError}
1993
+ * @memberof BillingSubscriptionsApi
1994
+ */
1995
+ cancelSubscriptionV1(subscriptionId: string, billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
1996
+ /**
1997
+ * This endpoint retrieves a list of all subscriptions associated with your account.
1998
+ * @summary Get subscription list
1999
+ * @param {*} [options] Override http request option.
2000
+ * @throws {RequiredError}
2001
+ * @memberof BillingSubscriptionsApi
2002
+ */
2003
+ getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1SubscriptionSubscriptionResource[], any>>;
2004
+ }
2005
+ /**
2006
+ * DomainsPortfolioApi - axios parameter creator
2007
+ * @export
2008
+ */
2009
+ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
2010
+ /**
2011
+ * This endpoint retrieves a list of all domains associated with your account.
2012
+ * @summary Get domain list
2013
+ * @param {*} [options] Override http request option.
2014
+ * @throws {RequiredError}
2015
+ */
2016
+ getDomainListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2017
+ };
2018
+ /**
2019
+ * DomainsPortfolioApi - functional programming interface
2020
+ * @export
2021
+ */
2022
+ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
2023
+ /**
2024
+ * This endpoint retrieves a list of all domains associated with your account.
2025
+ * @summary Get domain list
2026
+ * @param {*} [options] Override http request option.
2027
+ * @throws {RequiredError}
2028
+ */
2029
+ getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>>;
2030
+ };
2031
+ /**
2032
+ * DomainsPortfolioApi - factory interface
2033
+ * @export
2034
+ */
2035
+ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2036
+ /**
2037
+ * This endpoint retrieves a list of all domains associated with your account.
2038
+ * @summary Get domain list
2039
+ * @param {*} [options] Override http request option.
2040
+ * @throws {RequiredError}
2041
+ */
2042
+ getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>>;
2043
+ };
2044
+ /**
2045
+ * DomainsPortfolioApi - object-oriented interface
2046
+ * @export
2047
+ * @class DomainsPortfolioApi
2048
+ * @extends {BaseAPI}
2049
+ */
2050
+ export declare class DomainsPortfolioApi extends BaseAPI {
2051
+ /**
2052
+ * This endpoint retrieves a list of all domains associated with your account.
2053
+ * @summary Get domain list
2054
+ * @param {*} [options] Override http request option.
2055
+ * @throws {RequiredError}
2056
+ * @memberof DomainsPortfolioApi
2057
+ */
2058
+ getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any>>;
2059
+ }
2060
+ /**
2061
+ * VPSActionsApi - axios parameter creator
2062
+ * @export
2063
+ */
2064
+ export declare const VPSActionsApiAxiosParamCreator: (configuration?: Configuration) => {
2065
+ /**
2066
+ * This endpoint retrieves a list of actions performed on a specified virtual machine. Actions are operations or events that have been executed on the virtual machine, such as starting, stopping, or modifying the machine. This endpoint allows you to view the history of these actions, providing details about each action, such as the action name, timestamp, and status.
2067
+ * @summary Get action list
2068
+ * @param {number} virtualMachineId Virtual Machine ID
2069
+ * @param {number} [page] Page number
2070
+ * @param {*} [options] Override http request option.
2071
+ * @throws {RequiredError}
2072
+ */
2073
+ getActionListV1: (virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2074
+ /**
2075
+ * This endpoint retrieves details of a specific action performed on a specified virtual machine. This endpoint allows you to view detailed information about a particular action, including the action name, timestamp, and status.
2076
+ * @summary Get action
2077
+ * @param {number} virtualMachineId Virtual Machine ID
2078
+ * @param {number} actionId Action ID
2079
+ * @param {*} [options] Override http request option.
2080
+ * @throws {RequiredError}
2081
+ */
2082
+ getActionV1: (virtualMachineId: number, actionId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2083
+ };
2084
+ /**
2085
+ * VPSActionsApi - functional programming interface
2086
+ * @export
2087
+ */
2088
+ export declare const VPSActionsApiFp: (configuration?: Configuration) => {
2089
+ /**
2090
+ * This endpoint retrieves a list of actions performed on a specified virtual machine. Actions are operations or events that have been executed on the virtual machine, such as starting, stopping, or modifying the machine. This endpoint allows you to view the history of these actions, providing details about each action, such as the action name, timestamp, and status.
2091
+ * @summary Get action list
2092
+ * @param {number} virtualMachineId Virtual Machine ID
2093
+ * @param {number} [page] Page number
2094
+ * @param {*} [options] Override http request option.
2095
+ * @throws {RequiredError}
2096
+ */
2097
+ getActionListV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetActionListV1200Response>>;
2098
+ /**
2099
+ * This endpoint retrieves details of a specific action performed on a specified virtual machine. This endpoint allows you to view detailed information about a particular action, including the action name, timestamp, and status.
2100
+ * @summary Get action
2101
+ * @param {number} virtualMachineId Virtual Machine ID
2102
+ * @param {number} actionId Action ID
2103
+ * @param {*} [options] Override http request option.
2104
+ * @throws {RequiredError}
2105
+ */
2106
+ getActionV1(virtualMachineId: number, actionId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2107
+ };
2108
+ /**
2109
+ * VPSActionsApi - factory interface
2110
+ * @export
2111
+ */
2112
+ export declare const VPSActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2113
+ /**
2114
+ * This endpoint retrieves a list of actions performed on a specified virtual machine. Actions are operations or events that have been executed on the virtual machine, such as starting, stopping, or modifying the machine. This endpoint allows you to view the history of these actions, providing details about each action, such as the action name, timestamp, and status.
2115
+ * @summary Get action list
2116
+ * @param {number} virtualMachineId Virtual Machine ID
2117
+ * @param {number} [page] Page number
2118
+ * @param {*} [options] Override http request option.
2119
+ * @throws {RequiredError}
2120
+ */
2121
+ getActionListV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetActionListV1200Response>;
2122
+ /**
2123
+ * This endpoint retrieves details of a specific action performed on a specified virtual machine. This endpoint allows you to view detailed information about a particular action, including the action name, timestamp, and status.
2124
+ * @summary Get action
2125
+ * @param {number} virtualMachineId Virtual Machine ID
2126
+ * @param {number} actionId Action ID
2127
+ * @param {*} [options] Override http request option.
2128
+ * @throws {RequiredError}
2129
+ */
2130
+ getActionV1(virtualMachineId: number, actionId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
2131
+ };
2132
+ /**
2133
+ * VPSActionsApi - object-oriented interface
2134
+ * @export
2135
+ * @class VPSActionsApi
2136
+ * @extends {BaseAPI}
2137
+ */
2138
+ export declare class VPSActionsApi extends BaseAPI {
2139
+ /**
2140
+ * This endpoint retrieves a list of actions performed on a specified virtual machine. Actions are operations or events that have been executed on the virtual machine, such as starting, stopping, or modifying the machine. This endpoint allows you to view the history of these actions, providing details about each action, such as the action name, timestamp, and status.
2141
+ * @summary Get action list
2142
+ * @param {number} virtualMachineId Virtual Machine ID
2143
+ * @param {number} [page] Page number
2144
+ * @param {*} [options] Override http request option.
2145
+ * @throws {RequiredError}
2146
+ * @memberof VPSActionsApi
2147
+ */
2148
+ getActionListV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetActionListV1200Response, any>>;
2149
+ /**
2150
+ * This endpoint retrieves details of a specific action performed on a specified virtual machine. This endpoint allows you to view detailed information about a particular action, including the action name, timestamp, and status.
2151
+ * @summary Get action
2152
+ * @param {number} virtualMachineId Virtual Machine ID
2153
+ * @param {number} actionId Action ID
2154
+ * @param {*} [options] Override http request option.
2155
+ * @throws {RequiredError}
2156
+ * @memberof VPSActionsApi
2157
+ */
2158
+ getActionV1(virtualMachineId: number, actionId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
2159
+ }
2160
+ /**
2161
+ * VPSBackupsApi - axios parameter creator
2162
+ * @export
2163
+ */
2164
+ export declare const VPSBackupsApiAxiosParamCreator: (configuration?: Configuration) => {
2165
+ /**
2166
+ * This endpoint deletes a specified backup for a virtual machine.
2167
+ * @summary Delete backup
2168
+ * @param {number} virtualMachineId Virtual Machine ID
2169
+ * @param {number} backupId Backup ID
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ */
2173
+ deleteBackupV1: (virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2174
+ /**
2175
+ * This endpoint retrieves a list of backups for a specified virtual machine.
2176
+ * @summary Get backup list
2177
+ * @param {number} virtualMachineId Virtual Machine ID
2178
+ * @param {number} [page] Page number
2179
+ * @param {*} [options] Override http request option.
2180
+ * @throws {RequiredError}
2181
+ */
2182
+ getBackupListV1: (virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2183
+ /**
2184
+ * This endpoint restores a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.**
2185
+ * @summary Restore backup
2186
+ * @param {number} virtualMachineId Virtual Machine ID
2187
+ * @param {number} backupId Backup ID
2188
+ * @param {*} [options] Override http request option.
2189
+ * @throws {RequiredError}
2190
+ */
2191
+ restoreBackupV1: (virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2192
+ };
2193
+ /**
2194
+ * VPSBackupsApi - functional programming interface
2195
+ * @export
2196
+ */
2197
+ export declare const VPSBackupsApiFp: (configuration?: Configuration) => {
2198
+ /**
2199
+ * This endpoint deletes a specified backup for a virtual machine.
2200
+ * @summary Delete backup
2201
+ * @param {number} virtualMachineId Virtual Machine ID
2202
+ * @param {number} backupId Backup ID
2203
+ * @param {*} [options] Override http request option.
2204
+ * @throws {RequiredError}
2205
+ */
2206
+ deleteBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
2207
+ /**
2208
+ * This endpoint retrieves a list of backups for a specified virtual machine.
2209
+ * @summary Get backup list
2210
+ * @param {number} virtualMachineId Virtual Machine ID
2211
+ * @param {number} [page] Page number
2212
+ * @param {*} [options] Override http request option.
2213
+ * @throws {RequiredError}
2214
+ */
2215
+ getBackupListV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetBackupListV1200Response>>;
2216
+ /**
2217
+ * This endpoint restores a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.**
2218
+ * @summary Restore backup
2219
+ * @param {number} virtualMachineId Virtual Machine ID
2220
+ * @param {number} backupId Backup ID
2221
+ * @param {*} [options] Override http request option.
2222
+ * @throws {RequiredError}
2223
+ */
2224
+ restoreBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2225
+ };
2226
+ /**
2227
+ * VPSBackupsApi - factory interface
2228
+ * @export
2229
+ */
2230
+ export declare const VPSBackupsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2231
+ /**
2232
+ * This endpoint deletes a specified backup for a virtual machine.
2233
+ * @summary Delete backup
2234
+ * @param {number} virtualMachineId Virtual Machine ID
2235
+ * @param {number} backupId Backup ID
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ */
2239
+ deleteBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2240
+ /**
2241
+ * This endpoint retrieves a list of backups for a specified virtual machine.
2242
+ * @summary Get backup list
2243
+ * @param {number} virtualMachineId Virtual Machine ID
2244
+ * @param {number} [page] Page number
2245
+ * @param {*} [options] Override http request option.
2246
+ * @throws {RequiredError}
2247
+ */
2248
+ getBackupListV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetBackupListV1200Response>;
2249
+ /**
2250
+ * This endpoint restores a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.**
2251
+ * @summary Restore backup
2252
+ * @param {number} virtualMachineId Virtual Machine ID
2253
+ * @param {number} backupId Backup ID
2254
+ * @param {*} [options] Override http request option.
2255
+ * @throws {RequiredError}
2256
+ */
2257
+ restoreBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
2258
+ };
2259
+ /**
2260
+ * VPSBackupsApi - object-oriented interface
2261
+ * @export
2262
+ * @class VPSBackupsApi
2263
+ * @extends {BaseAPI}
2264
+ */
2265
+ export declare class VPSBackupsApi extends BaseAPI {
2266
+ /**
2267
+ * This endpoint deletes a specified backup for a virtual machine.
2268
+ * @summary Delete backup
2269
+ * @param {number} virtualMachineId Virtual Machine ID
2270
+ * @param {number} backupId Backup ID
2271
+ * @param {*} [options] Override http request option.
2272
+ * @throws {RequiredError}
2273
+ * @memberof VPSBackupsApi
2274
+ */
2275
+ deleteBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2276
+ /**
2277
+ * This endpoint retrieves a list of backups for a specified virtual machine.
2278
+ * @summary Get backup list
2279
+ * @param {number} virtualMachineId Virtual Machine ID
2280
+ * @param {number} [page] Page number
2281
+ * @param {*} [options] Override http request option.
2282
+ * @throws {RequiredError}
2283
+ * @memberof VPSBackupsApi
2284
+ */
2285
+ getBackupListV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetBackupListV1200Response, any>>;
2286
+ /**
2287
+ * This endpoint restores a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.**
2288
+ * @summary Restore backup
2289
+ * @param {number} virtualMachineId Virtual Machine ID
2290
+ * @param {number} backupId Backup ID
2291
+ * @param {*} [options] Override http request option.
2292
+ * @throws {RequiredError}
2293
+ * @memberof VPSBackupsApi
2294
+ */
2295
+ restoreBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
2296
+ }
2297
+ /**
2298
+ * VPSDataCentersApi - axios parameter creator
2299
+ * @export
2300
+ */
2301
+ export declare const VPSDataCentersApiAxiosParamCreator: (configuration?: Configuration) => {
2302
+ /**
2303
+ * This endpoint retrieves a list of all data centers available.
2304
+ * @summary Get data centers list
2305
+ * @param {*} [options] Override http request option.
2306
+ * @throws {RequiredError}
2307
+ */
2308
+ getDataCentersListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2309
+ };
2310
+ /**
2311
+ * VPSDataCentersApi - functional programming interface
2312
+ * @export
2313
+ */
2314
+ export declare const VPSDataCentersApiFp: (configuration?: Configuration) => {
2315
+ /**
2316
+ * This endpoint retrieves a list of all data centers available.
2317
+ * @summary Get data centers list
2318
+ * @param {*} [options] Override http request option.
2319
+ * @throws {RequiredError}
2320
+ */
2321
+ getDataCentersListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VPSV1DataCenterDataCenterResource>>>;
2322
+ };
2323
+ /**
2324
+ * VPSDataCentersApi - factory interface
2325
+ * @export
2326
+ */
2327
+ export declare const VPSDataCentersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2328
+ /**
2329
+ * This endpoint retrieves a list of all data centers available.
2330
+ * @summary Get data centers list
2331
+ * @param {*} [options] Override http request option.
2332
+ * @throws {RequiredError}
2333
+ */
2334
+ getDataCentersListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<VPSV1DataCenterDataCenterResource>>;
2335
+ };
2336
+ /**
2337
+ * VPSDataCentersApi - object-oriented interface
2338
+ * @export
2339
+ * @class VPSDataCentersApi
2340
+ * @extends {BaseAPI}
2341
+ */
2342
+ export declare class VPSDataCentersApi extends BaseAPI {
2343
+ /**
2344
+ * This endpoint retrieves a list of all data centers available.
2345
+ * @summary Get data centers list
2346
+ * @param {*} [options] Override http request option.
2347
+ * @throws {RequiredError}
2348
+ * @memberof VPSDataCentersApi
2349
+ */
2350
+ getDataCentersListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DataCenterDataCenterResource[], any>>;
2351
+ }
2352
+ /**
2353
+ * VPSFirewallApi - axios parameter creator
2354
+ * @export
2355
+ */
2356
+ export declare const VPSFirewallApiAxiosParamCreator: (configuration?: Configuration) => {
2357
+ /**
2358
+ * This endpoint activates a firewall for a specified virtual machine. Only one firewall can be active for a virtual machine at a time.
2359
+ * @summary Activate firewall
2360
+ * @param {number} firewallId Firewall ID
2361
+ * @param {number} virtualMachineId Virtual Machine ID
2362
+ * @param {*} [options] Override http request option.
2363
+ * @throws {RequiredError}
2364
+ */
2365
+ activateFirewallV1: (firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2366
+ /**
2367
+ * This endpoint creates new firewall rule from a specified firewall. By default, the firewall drops all incoming traffic, which means you must add accept rules for all ports you want to use. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2368
+ * @summary Create firewall rule
2369
+ * @param {number} firewallId Firewall ID
2370
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2371
+ * @param {*} [options] Override http request option.
2372
+ * @throws {RequiredError}
2373
+ */
2374
+ createFirewallRuleV1: (firewallId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2375
+ /**
2376
+ * This endpoint creates a new firewall.
2377
+ * @summary Create new firewall
2378
+ * @param {VPSV1FirewallStoreRequest} vPSV1FirewallStoreRequest
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ createNewFirewallV1: (vPSV1FirewallStoreRequest: VPSV1FirewallStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2383
+ /**
2384
+ * This endpoint deactivates a firewall for a specified virtual machine.
2385
+ * @summary Deactivate firewall
2386
+ * @param {number} firewallId Firewall ID
2387
+ * @param {number} virtualMachineId Virtual Machine ID
2388
+ * @param {*} [options] Override http request option.
2389
+ * @throws {RequiredError}
2390
+ */
2391
+ deactivateFirewallV1: (firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2392
+ /**
2393
+ * This endpoint deletes a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2394
+ * @summary Delete firewall rule
2395
+ * @param {number} firewallId Firewall ID
2396
+ * @param {number} ruleId Firewall Rule ID
2397
+ * @param {*} [options] Override http request option.
2398
+ * @throws {RequiredError}
2399
+ */
2400
+ deleteFirewallRuleV1: (firewallId: number, ruleId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2401
+ /**
2402
+ * This endpoint deletes a specified firewall. Any virtual machine that has this firewall activated will automatically have it deactivated.
2403
+ * @summary Delete firewall
2404
+ * @param {number} firewallId Firewall ID
2405
+ * @param {*} [options] Override http request option.
2406
+ * @throws {RequiredError}
2407
+ */
2408
+ deleteFirewallV1: (firewallId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2409
+ /**
2410
+ * This endpoint retrieves a list of all firewalls available.
2411
+ * @summary Get firewall list
2412
+ * @param {number} [page] Page number
2413
+ * @param {*} [options] Override http request option.
2414
+ * @throws {RequiredError}
2415
+ */
2416
+ getFirewallListV1: (page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2417
+ /**
2418
+ * This endpoint retrieves firewall by its ID and rules associated with it.
2419
+ * @summary Get firewall
2420
+ * @param {number} firewallId Firewall ID
2421
+ * @param {*} [options] Override http request option.
2422
+ * @throws {RequiredError}
2423
+ */
2424
+ getFirewallV1: (firewallId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2425
+ /**
2426
+ * This endpoint syncs a firewall for a specified virtual machine. Firewall can loose sync with virtual machine if the firewall has new rules added, removed or updated.
2427
+ * @summary Sync firewall
2428
+ * @param {number} firewallId Firewall ID
2429
+ * @param {number} virtualMachineId Virtual Machine ID
2430
+ * @param {*} [options] Override http request option.
2431
+ * @throws {RequiredError}
2432
+ */
2433
+ syncFirewallV1: (firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2434
+ /**
2435
+ * This endpoint updates a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2436
+ * @summary Update firewall rule
2437
+ * @param {number} firewallId Firewall ID
2438
+ * @param {number} ruleId Firewall Rule ID
2439
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2440
+ * @param {*} [options] Override http request option.
2441
+ * @throws {RequiredError}
2442
+ */
2443
+ updateFirewallRuleV1: (firewallId: number, ruleId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2444
+ };
2445
+ /**
2446
+ * VPSFirewallApi - functional programming interface
2447
+ * @export
2448
+ */
2449
+ export declare const VPSFirewallApiFp: (configuration?: Configuration) => {
2450
+ /**
2451
+ * This endpoint activates a firewall for a specified virtual machine. Only one firewall can be active for a virtual machine at a time.
2452
+ * @summary Activate firewall
2453
+ * @param {number} firewallId Firewall ID
2454
+ * @param {number} virtualMachineId Virtual Machine ID
2455
+ * @param {*} [options] Override http request option.
2456
+ * @throws {RequiredError}
2457
+ */
2458
+ activateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2459
+ /**
2460
+ * This endpoint creates new firewall rule from a specified firewall. By default, the firewall drops all incoming traffic, which means you must add accept rules for all ports you want to use. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2461
+ * @summary Create firewall rule
2462
+ * @param {number} firewallId Firewall ID
2463
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2464
+ * @param {*} [options] Override http request option.
2465
+ * @throws {RequiredError}
2466
+ */
2467
+ createFirewallRuleV1(firewallId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1FirewallFirewallRuleResource>>;
2468
+ /**
2469
+ * This endpoint creates a new firewall.
2470
+ * @summary Create new firewall
2471
+ * @param {VPSV1FirewallStoreRequest} vPSV1FirewallStoreRequest
2472
+ * @param {*} [options] Override http request option.
2473
+ * @throws {RequiredError}
2474
+ */
2475
+ createNewFirewallV1(vPSV1FirewallStoreRequest: VPSV1FirewallStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1FirewallFirewallResource>>;
2476
+ /**
2477
+ * This endpoint deactivates a firewall for a specified virtual machine.
2478
+ * @summary Deactivate firewall
2479
+ * @param {number} firewallId Firewall ID
2480
+ * @param {number} virtualMachineId Virtual Machine ID
2481
+ * @param {*} [options] Override http request option.
2482
+ * @throws {RequiredError}
2483
+ */
2484
+ deactivateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2485
+ /**
2486
+ * This endpoint deletes a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2487
+ * @summary Delete firewall rule
2488
+ * @param {number} firewallId Firewall ID
2489
+ * @param {number} ruleId Firewall Rule ID
2490
+ * @param {*} [options] Override http request option.
2491
+ * @throws {RequiredError}
2492
+ */
2493
+ deleteFirewallRuleV1(firewallId: number, ruleId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
2494
+ /**
2495
+ * This endpoint deletes a specified firewall. Any virtual machine that has this firewall activated will automatically have it deactivated.
2496
+ * @summary Delete firewall
2497
+ * @param {number} firewallId Firewall ID
2498
+ * @param {*} [options] Override http request option.
2499
+ * @throws {RequiredError}
2500
+ */
2501
+ deleteFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
2502
+ /**
2503
+ * This endpoint retrieves a list of all firewalls available.
2504
+ * @summary Get firewall list
2505
+ * @param {number} [page] Page number
2506
+ * @param {*} [options] Override http request option.
2507
+ * @throws {RequiredError}
2508
+ */
2509
+ getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetFirewallListV1200Response>>;
2510
+ /**
2511
+ * This endpoint retrieves firewall by its ID and rules associated with it.
2512
+ * @summary Get firewall
2513
+ * @param {number} firewallId Firewall ID
2514
+ * @param {*} [options] Override http request option.
2515
+ * @throws {RequiredError}
2516
+ */
2517
+ getFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1FirewallFirewallResource>>;
2518
+ /**
2519
+ * This endpoint syncs a firewall for a specified virtual machine. Firewall can loose sync with virtual machine if the firewall has new rules added, removed or updated.
2520
+ * @summary Sync firewall
2521
+ * @param {number} firewallId Firewall ID
2522
+ * @param {number} virtualMachineId Virtual Machine ID
2523
+ * @param {*} [options] Override http request option.
2524
+ * @throws {RequiredError}
2525
+ */
2526
+ syncFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2527
+ /**
2528
+ * This endpoint updates a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2529
+ * @summary Update firewall rule
2530
+ * @param {number} firewallId Firewall ID
2531
+ * @param {number} ruleId Firewall Rule ID
2532
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2533
+ * @param {*} [options] Override http request option.
2534
+ * @throws {RequiredError}
2535
+ */
2536
+ updateFirewallRuleV1(firewallId: number, ruleId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1FirewallFirewallRuleResource>>;
2537
+ };
2538
+ /**
2539
+ * VPSFirewallApi - factory interface
2540
+ * @export
2541
+ */
2542
+ export declare const VPSFirewallApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2543
+ /**
2544
+ * This endpoint activates a firewall for a specified virtual machine. Only one firewall can be active for a virtual machine at a time.
2545
+ * @summary Activate firewall
2546
+ * @param {number} firewallId Firewall ID
2547
+ * @param {number} virtualMachineId Virtual Machine ID
2548
+ * @param {*} [options] Override http request option.
2549
+ * @throws {RequiredError}
2550
+ */
2551
+ activateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
2552
+ /**
2553
+ * This endpoint creates new firewall rule from a specified firewall. By default, the firewall drops all incoming traffic, which means you must add accept rules for all ports you want to use. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2554
+ * @summary Create firewall rule
2555
+ * @param {number} firewallId Firewall ID
2556
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2557
+ * @param {*} [options] Override http request option.
2558
+ * @throws {RequiredError}
2559
+ */
2560
+ createFirewallRuleV1(firewallId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1FirewallFirewallRuleResource>;
2561
+ /**
2562
+ * This endpoint creates a new firewall.
2563
+ * @summary Create new firewall
2564
+ * @param {VPSV1FirewallStoreRequest} vPSV1FirewallStoreRequest
2565
+ * @param {*} [options] Override http request option.
2566
+ * @throws {RequiredError}
2567
+ */
2568
+ createNewFirewallV1(vPSV1FirewallStoreRequest: VPSV1FirewallStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1FirewallFirewallResource>;
2569
+ /**
2570
+ * This endpoint deactivates a firewall for a specified virtual machine.
2571
+ * @summary Deactivate firewall
2572
+ * @param {number} firewallId Firewall ID
2573
+ * @param {number} virtualMachineId Virtual Machine ID
2574
+ * @param {*} [options] Override http request option.
2575
+ * @throws {RequiredError}
2576
+ */
2577
+ deactivateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
2578
+ /**
2579
+ * This endpoint deletes a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2580
+ * @summary Delete firewall rule
2581
+ * @param {number} firewallId Firewall ID
2582
+ * @param {number} ruleId Firewall Rule ID
2583
+ * @param {*} [options] Override http request option.
2584
+ * @throws {RequiredError}
2585
+ */
2586
+ deleteFirewallRuleV1(firewallId: number, ruleId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2587
+ /**
2588
+ * This endpoint deletes a specified firewall. Any virtual machine that has this firewall activated will automatically have it deactivated.
2589
+ * @summary Delete firewall
2590
+ * @param {number} firewallId Firewall ID
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ */
2594
+ deleteFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2595
+ /**
2596
+ * This endpoint retrieves a list of all firewalls available.
2597
+ * @summary Get firewall list
2598
+ * @param {number} [page] Page number
2599
+ * @param {*} [options] Override http request option.
2600
+ * @throws {RequiredError}
2601
+ */
2602
+ getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetFirewallListV1200Response>;
2603
+ /**
2604
+ * This endpoint retrieves firewall by its ID and rules associated with it.
2605
+ * @summary Get firewall
2606
+ * @param {number} firewallId Firewall ID
2607
+ * @param {*} [options] Override http request option.
2608
+ * @throws {RequiredError}
2609
+ */
2610
+ getFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1FirewallFirewallResource>;
2611
+ /**
2612
+ * This endpoint syncs a firewall for a specified virtual machine. Firewall can loose sync with virtual machine if the firewall has new rules added, removed or updated.
2613
+ * @summary Sync firewall
2614
+ * @param {number} firewallId Firewall ID
2615
+ * @param {number} virtualMachineId Virtual Machine ID
2616
+ * @param {*} [options] Override http request option.
2617
+ * @throws {RequiredError}
2618
+ */
2619
+ syncFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
2620
+ /**
2621
+ * This endpoint updates a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2622
+ * @summary Update firewall rule
2623
+ * @param {number} firewallId Firewall ID
2624
+ * @param {number} ruleId Firewall Rule ID
2625
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2626
+ * @param {*} [options] Override http request option.
2627
+ * @throws {RequiredError}
2628
+ */
2629
+ updateFirewallRuleV1(firewallId: number, ruleId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1FirewallFirewallRuleResource>;
2630
+ };
2631
+ /**
2632
+ * VPSFirewallApi - object-oriented interface
2633
+ * @export
2634
+ * @class VPSFirewallApi
2635
+ * @extends {BaseAPI}
2636
+ */
2637
+ export declare class VPSFirewallApi extends BaseAPI {
2638
+ /**
2639
+ * This endpoint activates a firewall for a specified virtual machine. Only one firewall can be active for a virtual machine at a time.
2640
+ * @summary Activate firewall
2641
+ * @param {number} firewallId Firewall ID
2642
+ * @param {number} virtualMachineId Virtual Machine ID
2643
+ * @param {*} [options] Override http request option.
2644
+ * @throws {RequiredError}
2645
+ * @memberof VPSFirewallApi
2646
+ */
2647
+ activateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
2648
+ /**
2649
+ * This endpoint creates new firewall rule from a specified firewall. By default, the firewall drops all incoming traffic, which means you must add accept rules for all ports you want to use. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2650
+ * @summary Create firewall rule
2651
+ * @param {number} firewallId Firewall ID
2652
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2653
+ * @param {*} [options] Override http request option.
2654
+ * @throws {RequiredError}
2655
+ * @memberof VPSFirewallApi
2656
+ */
2657
+ createFirewallRuleV1(firewallId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallRuleResource, any>>;
2658
+ /**
2659
+ * This endpoint creates a new firewall.
2660
+ * @summary Create new firewall
2661
+ * @param {VPSV1FirewallStoreRequest} vPSV1FirewallStoreRequest
2662
+ * @param {*} [options] Override http request option.
2663
+ * @throws {RequiredError}
2664
+ * @memberof VPSFirewallApi
2665
+ */
2666
+ createNewFirewallV1(vPSV1FirewallStoreRequest: VPSV1FirewallStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallResource, any>>;
2667
+ /**
2668
+ * This endpoint deactivates a firewall for a specified virtual machine.
2669
+ * @summary Deactivate firewall
2670
+ * @param {number} firewallId Firewall ID
2671
+ * @param {number} virtualMachineId Virtual Machine ID
2672
+ * @param {*} [options] Override http request option.
2673
+ * @throws {RequiredError}
2674
+ * @memberof VPSFirewallApi
2675
+ */
2676
+ deactivateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
2677
+ /**
2678
+ * This endpoint deletes a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2679
+ * @summary Delete firewall rule
2680
+ * @param {number} firewallId Firewall ID
2681
+ * @param {number} ruleId Firewall Rule ID
2682
+ * @param {*} [options] Override http request option.
2683
+ * @throws {RequiredError}
2684
+ * @memberof VPSFirewallApi
2685
+ */
2686
+ deleteFirewallRuleV1(firewallId: number, ruleId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2687
+ /**
2688
+ * This endpoint deletes a specified firewall. Any virtual machine that has this firewall activated will automatically have it deactivated.
2689
+ * @summary Delete firewall
2690
+ * @param {number} firewallId Firewall ID
2691
+ * @param {*} [options] Override http request option.
2692
+ * @throws {RequiredError}
2693
+ * @memberof VPSFirewallApi
2694
+ */
2695
+ deleteFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2696
+ /**
2697
+ * This endpoint retrieves a list of all firewalls available.
2698
+ * @summary Get firewall list
2699
+ * @param {number} [page] Page number
2700
+ * @param {*} [options] Override http request option.
2701
+ * @throws {RequiredError}
2702
+ * @memberof VPSFirewallApi
2703
+ */
2704
+ getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetFirewallListV1200Response, any>>;
2705
+ /**
2706
+ * This endpoint retrieves firewall by its ID and rules associated with it.
2707
+ * @summary Get firewall
2708
+ * @param {number} firewallId Firewall ID
2709
+ * @param {*} [options] Override http request option.
2710
+ * @throws {RequiredError}
2711
+ * @memberof VPSFirewallApi
2712
+ */
2713
+ getFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallResource, any>>;
2714
+ /**
2715
+ * This endpoint syncs a firewall for a specified virtual machine. Firewall can loose sync with virtual machine if the firewall has new rules added, removed or updated.
2716
+ * @summary Sync firewall
2717
+ * @param {number} firewallId Firewall ID
2718
+ * @param {number} virtualMachineId Virtual Machine ID
2719
+ * @param {*} [options] Override http request option.
2720
+ * @throws {RequiredError}
2721
+ * @memberof VPSFirewallApi
2722
+ */
2723
+ syncFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
2724
+ /**
2725
+ * This endpoint updates a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will loose sync with the firewall and will have to be synced again manually.
2726
+ * @summary Update firewall rule
2727
+ * @param {number} firewallId Firewall ID
2728
+ * @param {number} ruleId Firewall Rule ID
2729
+ * @param {VPSV1FirewallRulesStoreRequest} vPSV1FirewallRulesStoreRequest
2730
+ * @param {*} [options] Override http request option.
2731
+ * @throws {RequiredError}
2732
+ * @memberof VPSFirewallApi
2733
+ */
2734
+ updateFirewallRuleV1(firewallId: number, ruleId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallRuleResource, any>>;
2735
+ }
2736
+ /**
2737
+ * VPSMalwareScannerApi - axios parameter creator
2738
+ * @export
2739
+ */
2740
+ export declare const VPSMalwareScannerApiAxiosParamCreator: (configuration?: Configuration) => {
2741
+ /**
2742
+ * This endpoint retrieves the scan metrics for the [Monarx](https://www.monarx.com/) malware scanner installed on a specified virtual machine. The scan metrics provide detailed information about the malware scans performed by Monarx, including the number of scans, detected threats, and other relevant statistics. This information is useful for monitoring the security status of the virtual machine and assessing the effectiveness of the malware scanner.
2743
+ * @summary Get scan metrics
2744
+ * @param {number} virtualMachineId Virtual Machine ID
2745
+ * @param {*} [options] Override http request option.
2746
+ * @throws {RequiredError}
2747
+ */
2748
+ getScanMetricsV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2749
+ /**
2750
+ * This endpoint installs the Monarx malware scanner on a specified virtual machine. [Monarx](https://www.monarx.com/) is a security tool designed to detect and prevent malware infections on virtual machines. By installing Monarx, users can enhance the security of their virtual machines, ensuring that they are protected against malicious software.
2751
+ * @summary Install Monarx
2752
+ * @param {number} virtualMachineId Virtual Machine ID
2753
+ * @param {*} [options] Override http request option.
2754
+ * @throws {RequiredError}
2755
+ */
2756
+ installMonarxV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2757
+ /**
2758
+ * This endpoint uninstalls the Monarx malware scanner on a specified virtual machine. If Monarx is not installed, the request will still be processed without any effect.
2759
+ * @summary Uninstall Monarx
2760
+ * @param {number} virtualMachineId Virtual Machine ID
2761
+ * @param {*} [options] Override http request option.
2762
+ * @throws {RequiredError}
2763
+ */
2764
+ uninstallMonarxV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2765
+ };
2766
+ /**
2767
+ * VPSMalwareScannerApi - functional programming interface
2768
+ * @export
2769
+ */
2770
+ export declare const VPSMalwareScannerApiFp: (configuration?: Configuration) => {
2771
+ /**
2772
+ * This endpoint retrieves the scan metrics for the [Monarx](https://www.monarx.com/) malware scanner installed on a specified virtual machine. The scan metrics provide detailed information about the malware scans performed by Monarx, including the number of scans, detected threats, and other relevant statistics. This information is useful for monitoring the security status of the virtual machine and assessing the effectiveness of the malware scanner.
2773
+ * @summary Get scan metrics
2774
+ * @param {number} virtualMachineId Virtual Machine ID
2775
+ * @param {*} [options] Override http request option.
2776
+ * @throws {RequiredError}
2777
+ */
2778
+ getScanMetricsV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1MalwareMetricsResource>>;
2779
+ /**
2780
+ * This endpoint installs the Monarx malware scanner on a specified virtual machine. [Monarx](https://www.monarx.com/) is a security tool designed to detect and prevent malware infections on virtual machines. By installing Monarx, users can enhance the security of their virtual machines, ensuring that they are protected against malicious software.
2781
+ * @summary Install Monarx
2782
+ * @param {number} virtualMachineId Virtual Machine ID
2783
+ * @param {*} [options] Override http request option.
2784
+ * @throws {RequiredError}
2785
+ */
2786
+ installMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2787
+ /**
2788
+ * This endpoint uninstalls the Monarx malware scanner on a specified virtual machine. If Monarx is not installed, the request will still be processed without any effect.
2789
+ * @summary Uninstall Monarx
2790
+ * @param {number} virtualMachineId Virtual Machine ID
2791
+ * @param {*} [options] Override http request option.
2792
+ * @throws {RequiredError}
2793
+ */
2794
+ uninstallMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2795
+ };
2796
+ /**
2797
+ * VPSMalwareScannerApi - factory interface
2798
+ * @export
2799
+ */
2800
+ export declare const VPSMalwareScannerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2801
+ /**
2802
+ * This endpoint retrieves the scan metrics for the [Monarx](https://www.monarx.com/) malware scanner installed on a specified virtual machine. The scan metrics provide detailed information about the malware scans performed by Monarx, including the number of scans, detected threats, and other relevant statistics. This information is useful for monitoring the security status of the virtual machine and assessing the effectiveness of the malware scanner.
2803
+ * @summary Get scan metrics
2804
+ * @param {number} virtualMachineId Virtual Machine ID
2805
+ * @param {*} [options] Override http request option.
2806
+ * @throws {RequiredError}
2807
+ */
2808
+ getScanMetricsV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1MalwareMetricsResource>;
2809
+ /**
2810
+ * This endpoint installs the Monarx malware scanner on a specified virtual machine. [Monarx](https://www.monarx.com/) is a security tool designed to detect and prevent malware infections on virtual machines. By installing Monarx, users can enhance the security of their virtual machines, ensuring that they are protected against malicious software.
2811
+ * @summary Install Monarx
2812
+ * @param {number} virtualMachineId Virtual Machine ID
2813
+ * @param {*} [options] Override http request option.
2814
+ * @throws {RequiredError}
2815
+ */
2816
+ installMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
2817
+ /**
2818
+ * This endpoint uninstalls the Monarx malware scanner on a specified virtual machine. If Monarx is not installed, the request will still be processed without any effect.
2819
+ * @summary Uninstall Monarx
2820
+ * @param {number} virtualMachineId Virtual Machine ID
2821
+ * @param {*} [options] Override http request option.
2822
+ * @throws {RequiredError}
2823
+ */
2824
+ uninstallMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
2825
+ };
2826
+ /**
2827
+ * VPSMalwareScannerApi - object-oriented interface
2828
+ * @export
2829
+ * @class VPSMalwareScannerApi
2830
+ * @extends {BaseAPI}
2831
+ */
2832
+ export declare class VPSMalwareScannerApi extends BaseAPI {
2833
+ /**
2834
+ * This endpoint retrieves the scan metrics for the [Monarx](https://www.monarx.com/) malware scanner installed on a specified virtual machine. The scan metrics provide detailed information about the malware scans performed by Monarx, including the number of scans, detected threats, and other relevant statistics. This information is useful for monitoring the security status of the virtual machine and assessing the effectiveness of the malware scanner.
2835
+ * @summary Get scan metrics
2836
+ * @param {number} virtualMachineId Virtual Machine ID
2837
+ * @param {*} [options] Override http request option.
2838
+ * @throws {RequiredError}
2839
+ * @memberof VPSMalwareScannerApi
2840
+ */
2841
+ getScanMetricsV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1MalwareMetricsResource, any>>;
2842
+ /**
2843
+ * This endpoint installs the Monarx malware scanner on a specified virtual machine. [Monarx](https://www.monarx.com/) is a security tool designed to detect and prevent malware infections on virtual machines. By installing Monarx, users can enhance the security of their virtual machines, ensuring that they are protected against malicious software.
2844
+ * @summary Install Monarx
2845
+ * @param {number} virtualMachineId Virtual Machine ID
2846
+ * @param {*} [options] Override http request option.
2847
+ * @throws {RequiredError}
2848
+ * @memberof VPSMalwareScannerApi
2849
+ */
2850
+ installMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
2851
+ /**
2852
+ * This endpoint uninstalls the Monarx malware scanner on a specified virtual machine. If Monarx is not installed, the request will still be processed without any effect.
2853
+ * @summary Uninstall Monarx
2854
+ * @param {number} virtualMachineId Virtual Machine ID
2855
+ * @param {*} [options] Override http request option.
2856
+ * @throws {RequiredError}
2857
+ * @memberof VPSMalwareScannerApi
2858
+ */
2859
+ uninstallMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
2860
+ }
2861
+ /**
2862
+ * VPSOSTemplatesApi - axios parameter creator
2863
+ * @export
2864
+ */
2865
+ export declare const VPSOSTemplatesApiAxiosParamCreator: (configuration?: Configuration) => {
2866
+ /**
2867
+ * This endpoint retrieves a list of available OS templates for virtual machines.
2868
+ * @summary Get template list
2869
+ * @param {*} [options] Override http request option.
2870
+ * @throws {RequiredError}
2871
+ */
2872
+ getTemplateListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2873
+ /**
2874
+ * This endpoint retrieves details of a specific OS template for virtual machines.
2875
+ * @summary Get template
2876
+ * @param {number} templateId Template ID
2877
+ * @param {*} [options] Override http request option.
2878
+ * @throws {RequiredError}
2879
+ */
2880
+ getTemplateV1: (templateId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2881
+ };
2882
+ /**
2883
+ * VPSOSTemplatesApi - functional programming interface
2884
+ * @export
2885
+ */
2886
+ export declare const VPSOSTemplatesApiFp: (configuration?: Configuration) => {
2887
+ /**
2888
+ * This endpoint retrieves a list of available OS templates for virtual machines.
2889
+ * @summary Get template list
2890
+ * @param {*} [options] Override http request option.
2891
+ * @throws {RequiredError}
2892
+ */
2893
+ getTemplateListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VPSV1TemplateTemplateResource>>>;
2894
+ /**
2895
+ * This endpoint retrieves details of a specific OS template for virtual machines.
2896
+ * @summary Get template
2897
+ * @param {number} templateId Template ID
2898
+ * @param {*} [options] Override http request option.
2899
+ * @throws {RequiredError}
2900
+ */
2901
+ getTemplateV1(templateId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1TemplateTemplateResource>>;
2902
+ };
2903
+ /**
2904
+ * VPSOSTemplatesApi - factory interface
2905
+ * @export
2906
+ */
2907
+ export declare const VPSOSTemplatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2908
+ /**
2909
+ * This endpoint retrieves a list of available OS templates for virtual machines.
2910
+ * @summary Get template list
2911
+ * @param {*} [options] Override http request option.
2912
+ * @throws {RequiredError}
2913
+ */
2914
+ getTemplateListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<VPSV1TemplateTemplateResource>>;
2915
+ /**
2916
+ * This endpoint retrieves details of a specific OS template for virtual machines.
2917
+ * @summary Get template
2918
+ * @param {number} templateId Template ID
2919
+ * @param {*} [options] Override http request option.
2920
+ * @throws {RequiredError}
2921
+ */
2922
+ getTemplateV1(templateId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1TemplateTemplateResource>;
2923
+ };
2924
+ /**
2925
+ * VPSOSTemplatesApi - object-oriented interface
2926
+ * @export
2927
+ * @class VPSOSTemplatesApi
2928
+ * @extends {BaseAPI}
2929
+ */
2930
+ export declare class VPSOSTemplatesApi extends BaseAPI {
2931
+ /**
2932
+ * This endpoint retrieves a list of available OS templates for virtual machines.
2933
+ * @summary Get template list
2934
+ * @param {*} [options] Override http request option.
2935
+ * @throws {RequiredError}
2936
+ * @memberof VPSOSTemplatesApi
2937
+ */
2938
+ getTemplateListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1TemplateTemplateResource[], any>>;
2939
+ /**
2940
+ * This endpoint retrieves details of a specific OS template for virtual machines.
2941
+ * @summary Get template
2942
+ * @param {number} templateId Template ID
2943
+ * @param {*} [options] Override http request option.
2944
+ * @throws {RequiredError}
2945
+ * @memberof VPSOSTemplatesApi
2946
+ */
2947
+ getTemplateV1(templateId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1TemplateTemplateResource, any>>;
2948
+ }
2949
+ /**
2950
+ * VPSPTRRecordsApi - axios parameter creator
2951
+ * @export
2952
+ */
2953
+ export declare const VPSPTRRecordsApiAxiosParamCreator: (configuration?: Configuration) => {
2954
+ /**
2955
+ * This endpoint creates or updates a PTR (Pointer) record for a specified virtual machine.
2956
+ * @summary Create PTR record
2957
+ * @param {number} virtualMachineId Virtual Machine ID
2958
+ * @param {*} [options] Override http request option.
2959
+ * @throws {RequiredError}
2960
+ */
2961
+ createPTRRecordV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2962
+ /**
2963
+ * This endpoint deletes a PTR (Pointer) record for a specified virtual machine. Once deleted, reverse DNS lookups to the virtual machine\'s IP address will no longer return the previously configured hostname.
2964
+ * @summary Delete PTR record
2965
+ * @param {number} virtualMachineId Virtual Machine ID
2966
+ * @param {*} [options] Override http request option.
2967
+ * @throws {RequiredError}
2968
+ */
2969
+ deletePTRRecordV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2970
+ };
2971
+ /**
2972
+ * VPSPTRRecordsApi - functional programming interface
2973
+ * @export
2974
+ */
2975
+ export declare const VPSPTRRecordsApiFp: (configuration?: Configuration) => {
2976
+ /**
2977
+ * This endpoint creates or updates a PTR (Pointer) record for a specified virtual machine.
2978
+ * @summary Create PTR record
2979
+ * @param {number} virtualMachineId Virtual Machine ID
2980
+ * @param {*} [options] Override http request option.
2981
+ * @throws {RequiredError}
2982
+ */
2983
+ createPTRRecordV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2984
+ /**
2985
+ * This endpoint deletes a PTR (Pointer) record for a specified virtual machine. Once deleted, reverse DNS lookups to the virtual machine\'s IP address will no longer return the previously configured hostname.
2986
+ * @summary Delete PTR record
2987
+ * @param {number} virtualMachineId Virtual Machine ID
2988
+ * @param {*} [options] Override http request option.
2989
+ * @throws {RequiredError}
2990
+ */
2991
+ deletePTRRecordV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
2992
+ };
2993
+ /**
2994
+ * VPSPTRRecordsApi - factory interface
2995
+ * @export
2996
+ */
2997
+ export declare const VPSPTRRecordsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2998
+ /**
2999
+ * This endpoint creates or updates a PTR (Pointer) record for a specified virtual machine.
3000
+ * @summary Create PTR record
3001
+ * @param {number} virtualMachineId Virtual Machine ID
3002
+ * @param {*} [options] Override http request option.
3003
+ * @throws {RequiredError}
3004
+ */
3005
+ createPTRRecordV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3006
+ /**
3007
+ * This endpoint deletes a PTR (Pointer) record for a specified virtual machine. Once deleted, reverse DNS lookups to the virtual machine\'s IP address will no longer return the previously configured hostname.
3008
+ * @summary Delete PTR record
3009
+ * @param {number} virtualMachineId Virtual Machine ID
3010
+ * @param {*} [options] Override http request option.
3011
+ * @throws {RequiredError}
3012
+ */
3013
+ deletePTRRecordV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3014
+ };
3015
+ /**
3016
+ * VPSPTRRecordsApi - object-oriented interface
3017
+ * @export
3018
+ * @class VPSPTRRecordsApi
3019
+ * @extends {BaseAPI}
3020
+ */
3021
+ export declare class VPSPTRRecordsApi extends BaseAPI {
3022
+ /**
3023
+ * This endpoint creates or updates a PTR (Pointer) record for a specified virtual machine.
3024
+ * @summary Create PTR record
3025
+ * @param {number} virtualMachineId Virtual Machine ID
3026
+ * @param {*} [options] Override http request option.
3027
+ * @throws {RequiredError}
3028
+ * @memberof VPSPTRRecordsApi
3029
+ */
3030
+ createPTRRecordV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3031
+ /**
3032
+ * This endpoint deletes a PTR (Pointer) record for a specified virtual machine. Once deleted, reverse DNS lookups to the virtual machine\'s IP address will no longer return the previously configured hostname.
3033
+ * @summary Delete PTR record
3034
+ * @param {number} virtualMachineId Virtual Machine ID
3035
+ * @param {*} [options] Override http request option.
3036
+ * @throws {RequiredError}
3037
+ * @memberof VPSPTRRecordsApi
3038
+ */
3039
+ deletePTRRecordV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3040
+ }
3041
+ /**
3042
+ * VPSPostInstallScriptsApi - axios parameter creator
3043
+ * @export
3044
+ */
3045
+ export declare const VPSPostInstallScriptsApiAxiosParamCreator: (configuration?: Configuration) => {
3046
+ /**
3047
+ * This endpoint allows you to add a new post-install script to your account, which can then be used run after the installation of a virtual machine instance. The script contents will be saved to the file `/post_install` with executable attribute set and will be executed once virtual machine is installed. The output of the script will be redirected to `/post_install.log`. Maximum script size is 48KB.
3048
+ * @summary Create post-install script
3049
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3050
+ * @param {*} [options] Override http request option.
3051
+ * @throws {RequiredError}
3052
+ */
3053
+ createPostInstallScriptV1: (vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3054
+ /**
3055
+ * This endpoint deletes a post-install script from your account.
3056
+ * @summary Delete a post-install script
3057
+ * @param {number} postInstallScriptId Post-install script ID
3058
+ * @param {*} [options] Override http request option.
3059
+ * @throws {RequiredError}
3060
+ */
3061
+ deleteAPostInstallScriptV1: (postInstallScriptId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3062
+ /**
3063
+ * This endpoint retrieves a list of post-install scripts associated with your account.
3064
+ * @summary Get post-install script list
3065
+ * @param {number} [page] Page number
3066
+ * @param {*} [options] Override http request option.
3067
+ * @throws {RequiredError}
3068
+ */
3069
+ getPostInstallScriptListV1: (page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3070
+ /**
3071
+ * This endpoint retrieves post-install script by its ID.
3072
+ * @summary Get post-install script
3073
+ * @param {number} postInstallScriptId Post-install script ID
3074
+ * @param {*} [options] Override http request option.
3075
+ * @throws {RequiredError}
3076
+ */
3077
+ getPostInstallScriptV1: (postInstallScriptId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3078
+ /**
3079
+ * This endpoint updates a specific post-install script.
3080
+ * @summary Update post-install script
3081
+ * @param {number} postInstallScriptId Post-install script ID
3082
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3083
+ * @param {*} [options] Override http request option.
3084
+ * @throws {RequiredError}
3085
+ */
3086
+ updatePostInstallScriptV1: (postInstallScriptId: number, vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3087
+ };
3088
+ /**
3089
+ * VPSPostInstallScriptsApi - functional programming interface
3090
+ * @export
3091
+ */
3092
+ export declare const VPSPostInstallScriptsApiFp: (configuration?: Configuration) => {
3093
+ /**
3094
+ * This endpoint allows you to add a new post-install script to your account, which can then be used run after the installation of a virtual machine instance. The script contents will be saved to the file `/post_install` with executable attribute set and will be executed once virtual machine is installed. The output of the script will be redirected to `/post_install.log`. Maximum script size is 48KB.
3095
+ * @summary Create post-install script
3096
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3097
+ * @param {*} [options] Override http request option.
3098
+ * @throws {RequiredError}
3099
+ */
3100
+ createPostInstallScriptV1(vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PostInstallScriptPostInstallScriptResource>>;
3101
+ /**
3102
+ * This endpoint deletes a post-install script from your account.
3103
+ * @summary Delete a post-install script
3104
+ * @param {number} postInstallScriptId Post-install script ID
3105
+ * @param {*} [options] Override http request option.
3106
+ * @throws {RequiredError}
3107
+ */
3108
+ deleteAPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3109
+ /**
3110
+ * This endpoint retrieves a list of post-install scripts associated with your account.
3111
+ * @summary Get post-install script list
3112
+ * @param {number} [page] Page number
3113
+ * @param {*} [options] Override http request option.
3114
+ * @throws {RequiredError}
3115
+ */
3116
+ getPostInstallScriptListV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetPostInstallScriptListV1200Response>>;
3117
+ /**
3118
+ * This endpoint retrieves post-install script by its ID.
3119
+ * @summary Get post-install script
3120
+ * @param {number} postInstallScriptId Post-install script ID
3121
+ * @param {*} [options] Override http request option.
3122
+ * @throws {RequiredError}
3123
+ */
3124
+ getPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PostInstallScriptPostInstallScriptResource>>;
3125
+ /**
3126
+ * This endpoint updates a specific post-install script.
3127
+ * @summary Update post-install script
3128
+ * @param {number} postInstallScriptId Post-install script ID
3129
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3130
+ * @param {*} [options] Override http request option.
3131
+ * @throws {RequiredError}
3132
+ */
3133
+ updatePostInstallScriptV1(postInstallScriptId: number, vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PostInstallScriptPostInstallScriptResource>>;
3134
+ };
3135
+ /**
3136
+ * VPSPostInstallScriptsApi - factory interface
3137
+ * @export
3138
+ */
3139
+ export declare const VPSPostInstallScriptsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3140
+ /**
3141
+ * This endpoint allows you to add a new post-install script to your account, which can then be used run after the installation of a virtual machine instance. The script contents will be saved to the file `/post_install` with executable attribute set and will be executed once virtual machine is installed. The output of the script will be redirected to `/post_install.log`. Maximum script size is 48KB.
3142
+ * @summary Create post-install script
3143
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3144
+ * @param {*} [options] Override http request option.
3145
+ * @throws {RequiredError}
3146
+ */
3147
+ createPostInstallScriptV1(vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PostInstallScriptPostInstallScriptResource>;
3148
+ /**
3149
+ * This endpoint deletes a post-install script from your account.
3150
+ * @summary Delete a post-install script
3151
+ * @param {number} postInstallScriptId Post-install script ID
3152
+ * @param {*} [options] Override http request option.
3153
+ * @throws {RequiredError}
3154
+ */
3155
+ deleteAPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3156
+ /**
3157
+ * This endpoint retrieves a list of post-install scripts associated with your account.
3158
+ * @summary Get post-install script list
3159
+ * @param {number} [page] Page number
3160
+ * @param {*} [options] Override http request option.
3161
+ * @throws {RequiredError}
3162
+ */
3163
+ getPostInstallScriptListV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetPostInstallScriptListV1200Response>;
3164
+ /**
3165
+ * This endpoint retrieves post-install script by its ID.
3166
+ * @summary Get post-install script
3167
+ * @param {number} postInstallScriptId Post-install script ID
3168
+ * @param {*} [options] Override http request option.
3169
+ * @throws {RequiredError}
3170
+ */
3171
+ getPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PostInstallScriptPostInstallScriptResource>;
3172
+ /**
3173
+ * This endpoint updates a specific post-install script.
3174
+ * @summary Update post-install script
3175
+ * @param {number} postInstallScriptId Post-install script ID
3176
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3177
+ * @param {*} [options] Override http request option.
3178
+ * @throws {RequiredError}
3179
+ */
3180
+ updatePostInstallScriptV1(postInstallScriptId: number, vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PostInstallScriptPostInstallScriptResource>;
3181
+ };
3182
+ /**
3183
+ * VPSPostInstallScriptsApi - object-oriented interface
3184
+ * @export
3185
+ * @class VPSPostInstallScriptsApi
3186
+ * @extends {BaseAPI}
3187
+ */
3188
+ export declare class VPSPostInstallScriptsApi extends BaseAPI {
3189
+ /**
3190
+ * This endpoint allows you to add a new post-install script to your account, which can then be used run after the installation of a virtual machine instance. The script contents will be saved to the file `/post_install` with executable attribute set and will be executed once virtual machine is installed. The output of the script will be redirected to `/post_install.log`. Maximum script size is 48KB.
3191
+ * @summary Create post-install script
3192
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3193
+ * @param {*} [options] Override http request option.
3194
+ * @throws {RequiredError}
3195
+ * @memberof VPSPostInstallScriptsApi
3196
+ */
3197
+ createPostInstallScriptV1(vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any>>;
3198
+ /**
3199
+ * This endpoint deletes a post-install script from your account.
3200
+ * @summary Delete a post-install script
3201
+ * @param {number} postInstallScriptId Post-install script ID
3202
+ * @param {*} [options] Override http request option.
3203
+ * @throws {RequiredError}
3204
+ * @memberof VPSPostInstallScriptsApi
3205
+ */
3206
+ deleteAPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3207
+ /**
3208
+ * This endpoint retrieves a list of post-install scripts associated with your account.
3209
+ * @summary Get post-install script list
3210
+ * @param {number} [page] Page number
3211
+ * @param {*} [options] Override http request option.
3212
+ * @throws {RequiredError}
3213
+ * @memberof VPSPostInstallScriptsApi
3214
+ */
3215
+ getPostInstallScriptListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPostInstallScriptListV1200Response, any>>;
3216
+ /**
3217
+ * This endpoint retrieves post-install script by its ID.
3218
+ * @summary Get post-install script
3219
+ * @param {number} postInstallScriptId Post-install script ID
3220
+ * @param {*} [options] Override http request option.
3221
+ * @throws {RequiredError}
3222
+ * @memberof VPSPostInstallScriptsApi
3223
+ */
3224
+ getPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any>>;
3225
+ /**
3226
+ * This endpoint updates a specific post-install script.
3227
+ * @summary Update post-install script
3228
+ * @param {number} postInstallScriptId Post-install script ID
3229
+ * @param {VPSV1PostInstallScriptStoreRequest} vPSV1PostInstallScriptStoreRequest
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ * @memberof VPSPostInstallScriptsApi
3233
+ */
3234
+ updatePostInstallScriptV1(postInstallScriptId: number, vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any>>;
3235
+ }
3236
+ /**
3237
+ * VPSPublicKeysApi - axios parameter creator
3238
+ * @export
3239
+ */
3240
+ export declare const VPSPublicKeysApiAxiosParamCreator: (configuration?: Configuration) => {
3241
+ /**
3242
+ * This endpoint attaches an existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine.
3243
+ * @summary Attach public key
3244
+ * @param {number} virtualMachineId Virtual Machine ID
3245
+ * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
3246
+ * @param {*} [options] Override http request option.
3247
+ * @throws {RequiredError}
3248
+ */
3249
+ attachPublicKeyV1: (virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3250
+ /**
3251
+ * This endpoint allows you to add a new public key to your account, which can then be attached to virtual machine instances for secure access.
3252
+ * @summary Create new public key
3253
+ * @param {VPSV1PublicKeyStoreRequest} vPSV1PublicKeyStoreRequest
3254
+ * @param {*} [options] Override http request option.
3255
+ * @throws {RequiredError}
3256
+ */
3257
+ createNewPublicKeyV1: (vPSV1PublicKeyStoreRequest: VPSV1PublicKeyStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3258
+ /**
3259
+ * This endpoint deletes a public key from your account. **Deleting public key from account does not remove it from virtual machine**
3260
+ * @summary Delete a public key
3261
+ * @param {number} publicKeyId Public Key ID
3262
+ * @param {*} [options] Override http request option.
3263
+ * @throws {RequiredError}
3264
+ */
3265
+ deleteAPublicKeyV1: (publicKeyId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3266
+ /**
3267
+ * This endpoint retrieves a list of public keys associated with your account.
3268
+ * @summary Get public key list
3269
+ * @param {number} [page] Page number
3270
+ * @param {*} [options] Override http request option.
3271
+ * @throws {RequiredError}
3272
+ */
3273
+ getPublicKeyListV1: (page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3274
+ };
3275
+ /**
3276
+ * VPSPublicKeysApi - functional programming interface
3277
+ * @export
3278
+ */
3279
+ export declare const VPSPublicKeysApiFp: (configuration?: Configuration) => {
3280
+ /**
3281
+ * This endpoint attaches an existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine.
3282
+ * @summary Attach public key
3283
+ * @param {number} virtualMachineId Virtual Machine ID
3284
+ * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
3285
+ * @param {*} [options] Override http request option.
3286
+ * @throws {RequiredError}
3287
+ */
3288
+ attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3289
+ /**
3290
+ * This endpoint allows you to add a new public key to your account, which can then be attached to virtual machine instances for secure access.
3291
+ * @summary Create new public key
3292
+ * @param {VPSV1PublicKeyStoreRequest} vPSV1PublicKeyStoreRequest
3293
+ * @param {*} [options] Override http request option.
3294
+ * @throws {RequiredError}
3295
+ */
3296
+ createNewPublicKeyV1(vPSV1PublicKeyStoreRequest: VPSV1PublicKeyStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PublicKeyPublicKeyResource>>;
3297
+ /**
3298
+ * This endpoint deletes a public key from your account. **Deleting public key from account does not remove it from virtual machine**
3299
+ * @summary Delete a public key
3300
+ * @param {number} publicKeyId Public Key ID
3301
+ * @param {*} [options] Override http request option.
3302
+ * @throws {RequiredError}
3303
+ */
3304
+ deleteAPublicKeyV1(publicKeyId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3305
+ /**
3306
+ * This endpoint retrieves a list of public keys associated with your account.
3307
+ * @summary Get public key list
3308
+ * @param {number} [page] Page number
3309
+ * @param {*} [options] Override http request option.
3310
+ * @throws {RequiredError}
3311
+ */
3312
+ getPublicKeyListV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetPublicKeyListV1200Response>>;
3313
+ };
3314
+ /**
3315
+ * VPSPublicKeysApi - factory interface
3316
+ * @export
3317
+ */
3318
+ export declare const VPSPublicKeysApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3319
+ /**
3320
+ * This endpoint attaches an existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine.
3321
+ * @summary Attach public key
3322
+ * @param {number} virtualMachineId Virtual Machine ID
3323
+ * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
3324
+ * @param {*} [options] Override http request option.
3325
+ * @throws {RequiredError}
3326
+ */
3327
+ attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3328
+ /**
3329
+ * This endpoint allows you to add a new public key to your account, which can then be attached to virtual machine instances for secure access.
3330
+ * @summary Create new public key
3331
+ * @param {VPSV1PublicKeyStoreRequest} vPSV1PublicKeyStoreRequest
3332
+ * @param {*} [options] Override http request option.
3333
+ * @throws {RequiredError}
3334
+ */
3335
+ createNewPublicKeyV1(vPSV1PublicKeyStoreRequest: VPSV1PublicKeyStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PublicKeyPublicKeyResource>;
3336
+ /**
3337
+ * This endpoint deletes a public key from your account. **Deleting public key from account does not remove it from virtual machine**
3338
+ * @summary Delete a public key
3339
+ * @param {number} publicKeyId Public Key ID
3340
+ * @param {*} [options] Override http request option.
3341
+ * @throws {RequiredError}
3342
+ */
3343
+ deleteAPublicKeyV1(publicKeyId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3344
+ /**
3345
+ * This endpoint retrieves a list of public keys associated with your account.
3346
+ * @summary Get public key list
3347
+ * @param {number} [page] Page number
3348
+ * @param {*} [options] Override http request option.
3349
+ * @throws {RequiredError}
3350
+ */
3351
+ getPublicKeyListV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetPublicKeyListV1200Response>;
3352
+ };
3353
+ /**
3354
+ * VPSPublicKeysApi - object-oriented interface
3355
+ * @export
3356
+ * @class VPSPublicKeysApi
3357
+ * @extends {BaseAPI}
3358
+ */
3359
+ export declare class VPSPublicKeysApi extends BaseAPI {
3360
+ /**
3361
+ * This endpoint attaches an existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine.
3362
+ * @summary Attach public key
3363
+ * @param {number} virtualMachineId Virtual Machine ID
3364
+ * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
3365
+ * @param {*} [options] Override http request option.
3366
+ * @throws {RequiredError}
3367
+ * @memberof VPSPublicKeysApi
3368
+ */
3369
+ attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3370
+ /**
3371
+ * This endpoint allows you to add a new public key to your account, which can then be attached to virtual machine instances for secure access.
3372
+ * @summary Create new public key
3373
+ * @param {VPSV1PublicKeyStoreRequest} vPSV1PublicKeyStoreRequest
3374
+ * @param {*} [options] Override http request option.
3375
+ * @throws {RequiredError}
3376
+ * @memberof VPSPublicKeysApi
3377
+ */
3378
+ createNewPublicKeyV1(vPSV1PublicKeyStoreRequest: VPSV1PublicKeyStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyPublicKeyResource, any>>;
3379
+ /**
3380
+ * This endpoint deletes a public key from your account. **Deleting public key from account does not remove it from virtual machine**
3381
+ * @summary Delete a public key
3382
+ * @param {number} publicKeyId Public Key ID
3383
+ * @param {*} [options] Override http request option.
3384
+ * @throws {RequiredError}
3385
+ * @memberof VPSPublicKeysApi
3386
+ */
3387
+ deleteAPublicKeyV1(publicKeyId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3388
+ /**
3389
+ * This endpoint retrieves a list of public keys associated with your account.
3390
+ * @summary Get public key list
3391
+ * @param {number} [page] Page number
3392
+ * @param {*} [options] Override http request option.
3393
+ * @throws {RequiredError}
3394
+ * @memberof VPSPublicKeysApi
3395
+ */
3396
+ getPublicKeyListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeyListV1200Response, any>>;
3397
+ }
3398
+ /**
3399
+ * VPSRecoveryApi - axios parameter creator
3400
+ * @export
3401
+ */
3402
+ export declare const VPSRecoveryApiAxiosParamCreator: (configuration?: Configuration) => {
3403
+ /**
3404
+ * This endpoint initiates the recovery mode for a specified virtual machine. Recovery mode is a special state that allows users to perform system rescue operations, such as repairing file systems, recovering data, or troubleshooting issues that prevent the virtual machine from booting normally. Virtual machine will boot recovery disk image and original disk image will be mounted in `/mnt` directory.
3405
+ * @summary Start recovery mode
3406
+ * @param {number} virtualMachineId Virtual Machine ID
3407
+ * @param {VPSV1VirtualMachineRecoveryStartRequest} vPSV1VirtualMachineRecoveryStartRequest
3408
+ * @param {*} [options] Override http request option.
3409
+ * @throws {RequiredError}
3410
+ */
3411
+ startRecoveryModeV1: (virtualMachineId: number, vPSV1VirtualMachineRecoveryStartRequest: VPSV1VirtualMachineRecoveryStartRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3412
+ /**
3413
+ * This endpoint stops the recovery mode for a specified virtual machine. If virtual machine is not in recovery mode, this operation will fail.
3414
+ * @summary Stop recovery mode
3415
+ * @param {number} virtualMachineId Virtual Machine ID
3416
+ * @param {*} [options] Override http request option.
3417
+ * @throws {RequiredError}
3418
+ */
3419
+ stopRecoveryModeV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3420
+ };
3421
+ /**
3422
+ * VPSRecoveryApi - functional programming interface
3423
+ * @export
3424
+ */
3425
+ export declare const VPSRecoveryApiFp: (configuration?: Configuration) => {
3426
+ /**
3427
+ * This endpoint initiates the recovery mode for a specified virtual machine. Recovery mode is a special state that allows users to perform system rescue operations, such as repairing file systems, recovering data, or troubleshooting issues that prevent the virtual machine from booting normally. Virtual machine will boot recovery disk image and original disk image will be mounted in `/mnt` directory.
3428
+ * @summary Start recovery mode
3429
+ * @param {number} virtualMachineId Virtual Machine ID
3430
+ * @param {VPSV1VirtualMachineRecoveryStartRequest} vPSV1VirtualMachineRecoveryStartRequest
3431
+ * @param {*} [options] Override http request option.
3432
+ * @throws {RequiredError}
3433
+ */
3434
+ startRecoveryModeV1(virtualMachineId: number, vPSV1VirtualMachineRecoveryStartRequest: VPSV1VirtualMachineRecoveryStartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3435
+ /**
3436
+ * This endpoint stops the recovery mode for a specified virtual machine. If virtual machine is not in recovery mode, this operation will fail.
3437
+ * @summary Stop recovery mode
3438
+ * @param {number} virtualMachineId Virtual Machine ID
3439
+ * @param {*} [options] Override http request option.
3440
+ * @throws {RequiredError}
3441
+ */
3442
+ stopRecoveryModeV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3443
+ };
3444
+ /**
3445
+ * VPSRecoveryApi - factory interface
3446
+ * @export
3447
+ */
3448
+ export declare const VPSRecoveryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3449
+ /**
3450
+ * This endpoint initiates the recovery mode for a specified virtual machine. Recovery mode is a special state that allows users to perform system rescue operations, such as repairing file systems, recovering data, or troubleshooting issues that prevent the virtual machine from booting normally. Virtual machine will boot recovery disk image and original disk image will be mounted in `/mnt` directory.
3451
+ * @summary Start recovery mode
3452
+ * @param {number} virtualMachineId Virtual Machine ID
3453
+ * @param {VPSV1VirtualMachineRecoveryStartRequest} vPSV1VirtualMachineRecoveryStartRequest
3454
+ * @param {*} [options] Override http request option.
3455
+ * @throws {RequiredError}
3456
+ */
3457
+ startRecoveryModeV1(virtualMachineId: number, vPSV1VirtualMachineRecoveryStartRequest: VPSV1VirtualMachineRecoveryStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3458
+ /**
3459
+ * This endpoint stops the recovery mode for a specified virtual machine. If virtual machine is not in recovery mode, this operation will fail.
3460
+ * @summary Stop recovery mode
3461
+ * @param {number} virtualMachineId Virtual Machine ID
3462
+ * @param {*} [options] Override http request option.
3463
+ * @throws {RequiredError}
3464
+ */
3465
+ stopRecoveryModeV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3466
+ };
3467
+ /**
3468
+ * VPSRecoveryApi - object-oriented interface
3469
+ * @export
3470
+ * @class VPSRecoveryApi
3471
+ * @extends {BaseAPI}
3472
+ */
3473
+ export declare class VPSRecoveryApi extends BaseAPI {
3474
+ /**
3475
+ * This endpoint initiates the recovery mode for a specified virtual machine. Recovery mode is a special state that allows users to perform system rescue operations, such as repairing file systems, recovering data, or troubleshooting issues that prevent the virtual machine from booting normally. Virtual machine will boot recovery disk image and original disk image will be mounted in `/mnt` directory.
3476
+ * @summary Start recovery mode
3477
+ * @param {number} virtualMachineId Virtual Machine ID
3478
+ * @param {VPSV1VirtualMachineRecoveryStartRequest} vPSV1VirtualMachineRecoveryStartRequest
3479
+ * @param {*} [options] Override http request option.
3480
+ * @throws {RequiredError}
3481
+ * @memberof VPSRecoveryApi
3482
+ */
3483
+ startRecoveryModeV1(virtualMachineId: number, vPSV1VirtualMachineRecoveryStartRequest: VPSV1VirtualMachineRecoveryStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3484
+ /**
3485
+ * This endpoint stops the recovery mode for a specified virtual machine. If virtual machine is not in recovery mode, this operation will fail.
3486
+ * @summary Stop recovery mode
3487
+ * @param {number} virtualMachineId Virtual Machine ID
3488
+ * @param {*} [options] Override http request option.
3489
+ * @throws {RequiredError}
3490
+ * @memberof VPSRecoveryApi
3491
+ */
3492
+ stopRecoveryModeV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3493
+ }
3494
+ /**
3495
+ * VPSSnapshotsApi - axios parameter creator
3496
+ * @export
3497
+ */
3498
+ export declare const VPSSnapshotsApiAxiosParamCreator: (configuration?: Configuration) => {
3499
+ /**
3500
+ * This endpoint creates a snapshot of a specified virtual machine. A snapshot captures the state and data of the virtual machine at a specific point in time, allowing users to restore the virtual machine to that state if needed. This operation is useful for backup purposes, system recovery, and testing changes without affecting the current state of the virtual machine. **Creating new snapshot will overwrite the existing snapshot!**
3501
+ * @summary Create snapshot
3502
+ * @param {number} virtualMachineId Virtual Machine ID
3503
+ * @param {*} [options] Override http request option.
3504
+ * @throws {RequiredError}
3505
+ */
3506
+ createSnapshotV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3507
+ /**
3508
+ * This endpoint deletes a snapshot of a specified virtual machine.
3509
+ * @summary Delete snapshot
3510
+ * @param {number} virtualMachineId Virtual Machine ID
3511
+ * @param {*} [options] Override http request option.
3512
+ * @throws {RequiredError}
3513
+ */
3514
+ deleteSnapshotV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3515
+ /**
3516
+ * This endpoint retrieves a snapshot for a specified virtual machine.
3517
+ * @summary Get snapshot
3518
+ * @param {number} virtualMachineId Virtual Machine ID
3519
+ * @param {*} [options] Override http request option.
3520
+ * @throws {RequiredError}
3521
+ */
3522
+ getSnapshotV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3523
+ /**
3524
+ * This endpoint restores a specified virtual machine to a previous state using a snapshot. Restoring from a snapshot allows users to revert the virtual machine to that state, which is useful for system recovery, undoing changes, or testing.
3525
+ * @summary Restore snapshot
3526
+ * @param {number} virtualMachineId Virtual Machine ID
3527
+ * @param {*} [options] Override http request option.
3528
+ * @throws {RequiredError}
3529
+ */
3530
+ restoreSnapshotV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3531
+ };
3532
+ /**
3533
+ * VPSSnapshotsApi - functional programming interface
3534
+ * @export
3535
+ */
3536
+ export declare const VPSSnapshotsApiFp: (configuration?: Configuration) => {
3537
+ /**
3538
+ * This endpoint creates a snapshot of a specified virtual machine. A snapshot captures the state and data of the virtual machine at a specific point in time, allowing users to restore the virtual machine to that state if needed. This operation is useful for backup purposes, system recovery, and testing changes without affecting the current state of the virtual machine. **Creating new snapshot will overwrite the existing snapshot!**
3539
+ * @summary Create snapshot
3540
+ * @param {number} virtualMachineId Virtual Machine ID
3541
+ * @param {*} [options] Override http request option.
3542
+ * @throws {RequiredError}
3543
+ */
3544
+ createSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3545
+ /**
3546
+ * This endpoint deletes a snapshot of a specified virtual machine.
3547
+ * @summary Delete snapshot
3548
+ * @param {number} virtualMachineId Virtual Machine ID
3549
+ * @param {*} [options] Override http request option.
3550
+ * @throws {RequiredError}
3551
+ */
3552
+ deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3553
+ /**
3554
+ * This endpoint retrieves a snapshot for a specified virtual machine.
3555
+ * @summary Get snapshot
3556
+ * @param {number} virtualMachineId Virtual Machine ID
3557
+ * @param {*} [options] Override http request option.
3558
+ * @throws {RequiredError}
3559
+ */
3560
+ getSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1SnapshotSnapshotResource>>;
3561
+ /**
3562
+ * This endpoint restores a specified virtual machine to a previous state using a snapshot. Restoring from a snapshot allows users to revert the virtual machine to that state, which is useful for system recovery, undoing changes, or testing.
3563
+ * @summary Restore snapshot
3564
+ * @param {number} virtualMachineId Virtual Machine ID
3565
+ * @param {*} [options] Override http request option.
3566
+ * @throws {RequiredError}
3567
+ */
3568
+ restoreSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3569
+ };
3570
+ /**
3571
+ * VPSSnapshotsApi - factory interface
3572
+ * @export
3573
+ */
3574
+ export declare const VPSSnapshotsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3575
+ /**
3576
+ * This endpoint creates a snapshot of a specified virtual machine. A snapshot captures the state and data of the virtual machine at a specific point in time, allowing users to restore the virtual machine to that state if needed. This operation is useful for backup purposes, system recovery, and testing changes without affecting the current state of the virtual machine. **Creating new snapshot will overwrite the existing snapshot!**
3577
+ * @summary Create snapshot
3578
+ * @param {number} virtualMachineId Virtual Machine ID
3579
+ * @param {*} [options] Override http request option.
3580
+ * @throws {RequiredError}
3581
+ */
3582
+ createSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3583
+ /**
3584
+ * This endpoint deletes a snapshot of a specified virtual machine.
3585
+ * @summary Delete snapshot
3586
+ * @param {number} virtualMachineId Virtual Machine ID
3587
+ * @param {*} [options] Override http request option.
3588
+ * @throws {RequiredError}
3589
+ */
3590
+ deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3591
+ /**
3592
+ * This endpoint retrieves a snapshot for a specified virtual machine.
3593
+ * @summary Get snapshot
3594
+ * @param {number} virtualMachineId Virtual Machine ID
3595
+ * @param {*} [options] Override http request option.
3596
+ * @throws {RequiredError}
3597
+ */
3598
+ getSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1SnapshotSnapshotResource>;
3599
+ /**
3600
+ * This endpoint restores a specified virtual machine to a previous state using a snapshot. Restoring from a snapshot allows users to revert the virtual machine to that state, which is useful for system recovery, undoing changes, or testing.
3601
+ * @summary Restore snapshot
3602
+ * @param {number} virtualMachineId Virtual Machine ID
3603
+ * @param {*} [options] Override http request option.
3604
+ * @throws {RequiredError}
3605
+ */
3606
+ restoreSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3607
+ };
3608
+ /**
3609
+ * VPSSnapshotsApi - object-oriented interface
3610
+ * @export
3611
+ * @class VPSSnapshotsApi
3612
+ * @extends {BaseAPI}
3613
+ */
3614
+ export declare class VPSSnapshotsApi extends BaseAPI {
3615
+ /**
3616
+ * This endpoint creates a snapshot of a specified virtual machine. A snapshot captures the state and data of the virtual machine at a specific point in time, allowing users to restore the virtual machine to that state if needed. This operation is useful for backup purposes, system recovery, and testing changes without affecting the current state of the virtual machine. **Creating new snapshot will overwrite the existing snapshot!**
3617
+ * @summary Create snapshot
3618
+ * @param {number} virtualMachineId Virtual Machine ID
3619
+ * @param {*} [options] Override http request option.
3620
+ * @throws {RequiredError}
3621
+ * @memberof VPSSnapshotsApi
3622
+ */
3623
+ createSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3624
+ /**
3625
+ * This endpoint deletes a snapshot of a specified virtual machine.
3626
+ * @summary Delete snapshot
3627
+ * @param {number} virtualMachineId Virtual Machine ID
3628
+ * @param {*} [options] Override http request option.
3629
+ * @throws {RequiredError}
3630
+ * @memberof VPSSnapshotsApi
3631
+ */
3632
+ deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3633
+ /**
3634
+ * This endpoint retrieves a snapshot for a specified virtual machine.
3635
+ * @summary Get snapshot
3636
+ * @param {number} virtualMachineId Virtual Machine ID
3637
+ * @param {*} [options] Override http request option.
3638
+ * @throws {RequiredError}
3639
+ * @memberof VPSSnapshotsApi
3640
+ */
3641
+ getSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1SnapshotSnapshotResource, any>>;
3642
+ /**
3643
+ * This endpoint restores a specified virtual machine to a previous state using a snapshot. Restoring from a snapshot allows users to revert the virtual machine to that state, which is useful for system recovery, undoing changes, or testing.
3644
+ * @summary Restore snapshot
3645
+ * @param {number} virtualMachineId Virtual Machine ID
3646
+ * @param {*} [options] Override http request option.
3647
+ * @throws {RequiredError}
3648
+ * @memberof VPSSnapshotsApi
3649
+ */
3650
+ restoreSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
3651
+ }
3652
+ /**
3653
+ * VPSVirtualMachineApi - axios parameter creator
3654
+ * @export
3655
+ */
3656
+ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Configuration) => {
3657
+ /**
3658
+ * This endpoint retrieves a list of public keys attached to a specified virtual machine.
3659
+ * @summary Get attached public keys
3660
+ * @param {number} virtualMachineId Virtual Machine ID
3661
+ * @param {number} [page] Page number
3662
+ * @param {*} [options] Override http request option.
3663
+ * @throws {RequiredError}
3664
+ */
3665
+ getAttachedPublicKeysV1: (virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3666
+ /**
3667
+ * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
3668
+ * @summary Get metrics
3669
+ * @param {number} virtualMachineId Virtual Machine ID
3670
+ * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
3671
+ * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
3672
+ * @param {*} [options] Override http request option.
3673
+ * @throws {RequiredError}
3674
+ */
3675
+ getMetricsV1: (virtualMachineId: number, dateFrom: string, dateTo: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3676
+ /**
3677
+ * This endpoint retrieves a list of all available virtual machines.
3678
+ * @summary Get virtual machine list
3679
+ * @param {*} [options] Override http request option.
3680
+ * @throws {RequiredError}
3681
+ */
3682
+ getVirtualMachineListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3683
+ /**
3684
+ * This endpoint retrieves detailed information about a specified virtual machine.
3685
+ * @summary Get virtual machine
3686
+ * @param {number} virtualMachineId Virtual Machine ID
3687
+ * @param {*} [options] Override http request option.
3688
+ * @throws {RequiredError}
3689
+ */
3690
+ getVirtualMachineV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3691
+ /**
3692
+ * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
3693
+ * @summary Recreate virtual machine
3694
+ * @param {number} virtualMachineId Virtual Machine ID
3695
+ * @param {VPSV1VirtualMachineRecreateRequest} vPSV1VirtualMachineRecreateRequest
3696
+ * @param {*} [options] Override http request option.
3697
+ * @throws {RequiredError}
3698
+ */
3699
+ recreateVirtualMachineV1: (virtualMachineId: number, vPSV1VirtualMachineRecreateRequest: VPSV1VirtualMachineRecreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3700
+ /**
3701
+ * This endpoint resets the hostname and PTR record of a specified virtual machine to the default value.
3702
+ * @summary Reset hostname
3703
+ * @param {number} virtualMachineId Virtual Machine ID
3704
+ * @param {*} [options] Override http request option.
3705
+ * @throws {RequiredError}
3706
+ */
3707
+ resetHostnameV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3708
+ /**
3709
+ * This endpoint restarts a specified virtual machine. This is equivalent to fully stopping and starting the virtual machine. If the virtual machine was stopped, it will be started.
3710
+ * @summary Restart virtual machine
3711
+ * @param {number} virtualMachineId Virtual Machine ID
3712
+ * @param {*} [options] Override http request option.
3713
+ * @throws {RequiredError}
3714
+ */
3715
+ restartVirtualMachineV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3716
+ /**
3717
+ * This endpoint sets the hostname for a specified virtual machine. Changing hostname does not update PTR record automatically. If you want your virtual machine to be reachable by a hostname, you need to point your domain A/AAAA records to virtual machine IP as well.
3718
+ * @summary Set hostname
3719
+ * @param {number} virtualMachineId Virtual Machine ID
3720
+ * @param {VPSV1VirtualMachineHostnameUpdateRequest} vPSV1VirtualMachineHostnameUpdateRequest
3721
+ * @param {*} [options] Override http request option.
3722
+ * @throws {RequiredError}
3723
+ */
3724
+ setHostnameV1: (virtualMachineId: number, vPSV1VirtualMachineHostnameUpdateRequest: VPSV1VirtualMachineHostnameUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3725
+ /**
3726
+ * This endpoint sets the nameservers for a specified virtual machine. Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names.
3727
+ * @summary Set nameservers
3728
+ * @param {number} virtualMachineId Virtual Machine ID
3729
+ * @param {VPSV1VirtualMachineNameserversUpdateRequest} vPSV1VirtualMachineNameserversUpdateRequest
3730
+ * @param {*} [options] Override http request option.
3731
+ * @throws {RequiredError}
3732
+ */
3733
+ setNameserversV1: (virtualMachineId: number, vPSV1VirtualMachineNameserversUpdateRequest: VPSV1VirtualMachineNameserversUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3734
+ /**
3735
+ * This endpoint sets the panel password for a specified virtual machine. If virtual machine does not use panel OS, the request will still be processed without any effect. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
3736
+ * @summary Set panel password
3737
+ * @param {number} virtualMachineId Virtual Machine ID
3738
+ * @param {VPSV1VirtualMachinePanelPasswordUpdateRequest} vPSV1VirtualMachinePanelPasswordUpdateRequest
3739
+ * @param {*} [options] Override http request option.
3740
+ * @throws {RequiredError}
3741
+ */
3742
+ setPanelPasswordV1: (virtualMachineId: number, vPSV1VirtualMachinePanelPasswordUpdateRequest: VPSV1VirtualMachinePanelPasswordUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3743
+ /**
3744
+ * This endpoint sets the root password for a specified virtual machine. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
3745
+ * @summary Set root password
3746
+ * @param {number} virtualMachineId Virtual Machine ID
3747
+ * @param {VPSV1VirtualMachineRootPasswordUpdateRequest} vPSV1VirtualMachineRootPasswordUpdateRequest
3748
+ * @param {*} [options] Override http request option.
3749
+ * @throws {RequiredError}
3750
+ */
3751
+ setRootPasswordV1: (virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3752
+ /**
3753
+ * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
3754
+ * @summary Setup new virtual machine
3755
+ * @param {number} virtualMachineId Virtual Machine ID
3756
+ * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
3757
+ * @param {*} [options] Override http request option.
3758
+ * @throws {RequiredError}
3759
+ */
3760
+ setupNewVirtualMachineV1: (virtualMachineId: number, vPSV1VirtualMachineSetupRequest: VPSV1VirtualMachineSetupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3761
+ /**
3762
+ * This endpoint starts a specified virtual machine. If the virtual machine is already running, the request will still be processed without any effect.
3763
+ * @summary Start virtual machine
3764
+ * @param {number} virtualMachineId Virtual Machine ID
3765
+ * @param {*} [options] Override http request option.
3766
+ * @throws {RequiredError}
3767
+ */
3768
+ startVirtualMachineV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3769
+ /**
3770
+ * This endpoint stops a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect.
3771
+ * @summary Stop virtual machine
3772
+ * @param {number} virtualMachineId Virtual Machine ID
3773
+ * @param {*} [options] Override http request option.
3774
+ * @throws {RequiredError}
3775
+ */
3776
+ stopVirtualMachineV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3777
+ };
3778
+ /**
3779
+ * VPSVirtualMachineApi - functional programming interface
3780
+ * @export
3781
+ */
3782
+ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) => {
3783
+ /**
3784
+ * This endpoint retrieves a list of public keys attached to a specified virtual machine.
3785
+ * @summary Get attached public keys
3786
+ * @param {number} virtualMachineId Virtual Machine ID
3787
+ * @param {number} [page] Page number
3788
+ * @param {*} [options] Override http request option.
3789
+ * @throws {RequiredError}
3790
+ */
3791
+ getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetPublicKeyListV1200Response>>;
3792
+ /**
3793
+ * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
3794
+ * @summary Get metrics
3795
+ * @param {number} virtualMachineId Virtual Machine ID
3796
+ * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
3797
+ * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
3798
+ * @param {*} [options] Override http request option.
3799
+ * @throws {RequiredError}
3800
+ */
3801
+ getMetricsV1(virtualMachineId: number, dateFrom: string, dateTo: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1MetricsMetricsCollection>>;
3802
+ /**
3803
+ * This endpoint retrieves a list of all available virtual machines.
3804
+ * @summary Get virtual machine list
3805
+ * @param {*} [options] Override http request option.
3806
+ * @throws {RequiredError}
3807
+ */
3808
+ getVirtualMachineListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VPSV1VirtualMachineVirtualMachineResource>>>;
3809
+ /**
3810
+ * This endpoint retrieves detailed information about a specified virtual machine.
3811
+ * @summary Get virtual machine
3812
+ * @param {number} virtualMachineId Virtual Machine ID
3813
+ * @param {*} [options] Override http request option.
3814
+ * @throws {RequiredError}
3815
+ */
3816
+ getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>>;
3817
+ /**
3818
+ * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
3819
+ * @summary Recreate virtual machine
3820
+ * @param {number} virtualMachineId Virtual Machine ID
3821
+ * @param {VPSV1VirtualMachineRecreateRequest} vPSV1VirtualMachineRecreateRequest
3822
+ * @param {*} [options] Override http request option.
3823
+ * @throws {RequiredError}
3824
+ */
3825
+ recreateVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineRecreateRequest: VPSV1VirtualMachineRecreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3826
+ /**
3827
+ * This endpoint resets the hostname and PTR record of a specified virtual machine to the default value.
3828
+ * @summary Reset hostname
3829
+ * @param {number} virtualMachineId Virtual Machine ID
3830
+ * @param {*} [options] Override http request option.
3831
+ * @throws {RequiredError}
3832
+ */
3833
+ resetHostnameV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3834
+ /**
3835
+ * This endpoint restarts a specified virtual machine. This is equivalent to fully stopping and starting the virtual machine. If the virtual machine was stopped, it will be started.
3836
+ * @summary Restart virtual machine
3837
+ * @param {number} virtualMachineId Virtual Machine ID
3838
+ * @param {*} [options] Override http request option.
3839
+ * @throws {RequiredError}
3840
+ */
3841
+ restartVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3842
+ /**
3843
+ * This endpoint sets the hostname for a specified virtual machine. Changing hostname does not update PTR record automatically. If you want your virtual machine to be reachable by a hostname, you need to point your domain A/AAAA records to virtual machine IP as well.
3844
+ * @summary Set hostname
3845
+ * @param {number} virtualMachineId Virtual Machine ID
3846
+ * @param {VPSV1VirtualMachineHostnameUpdateRequest} vPSV1VirtualMachineHostnameUpdateRequest
3847
+ * @param {*} [options] Override http request option.
3848
+ * @throws {RequiredError}
3849
+ */
3850
+ setHostnameV1(virtualMachineId: number, vPSV1VirtualMachineHostnameUpdateRequest: VPSV1VirtualMachineHostnameUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3851
+ /**
3852
+ * This endpoint sets the nameservers for a specified virtual machine. Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names.
3853
+ * @summary Set nameservers
3854
+ * @param {number} virtualMachineId Virtual Machine ID
3855
+ * @param {VPSV1VirtualMachineNameserversUpdateRequest} vPSV1VirtualMachineNameserversUpdateRequest
3856
+ * @param {*} [options] Override http request option.
3857
+ * @throws {RequiredError}
3858
+ */
3859
+ setNameserversV1(virtualMachineId: number, vPSV1VirtualMachineNameserversUpdateRequest: VPSV1VirtualMachineNameserversUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3860
+ /**
3861
+ * This endpoint sets the panel password for a specified virtual machine. If virtual machine does not use panel OS, the request will still be processed without any effect. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
3862
+ * @summary Set panel password
3863
+ * @param {number} virtualMachineId Virtual Machine ID
3864
+ * @param {VPSV1VirtualMachinePanelPasswordUpdateRequest} vPSV1VirtualMachinePanelPasswordUpdateRequest
3865
+ * @param {*} [options] Override http request option.
3866
+ * @throws {RequiredError}
3867
+ */
3868
+ setPanelPasswordV1(virtualMachineId: number, vPSV1VirtualMachinePanelPasswordUpdateRequest: VPSV1VirtualMachinePanelPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3869
+ /**
3870
+ * This endpoint sets the root password for a specified virtual machine. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
3871
+ * @summary Set root password
3872
+ * @param {number} virtualMachineId Virtual Machine ID
3873
+ * @param {VPSV1VirtualMachineRootPasswordUpdateRequest} vPSV1VirtualMachineRootPasswordUpdateRequest
3874
+ * @param {*} [options] Override http request option.
3875
+ * @throws {RequiredError}
3876
+ */
3877
+ setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3878
+ /**
3879
+ * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
3880
+ * @summary Setup new virtual machine
3881
+ * @param {number} virtualMachineId Virtual Machine ID
3882
+ * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
3883
+ * @param {*} [options] Override http request option.
3884
+ * @throws {RequiredError}
3885
+ */
3886
+ setupNewVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineSetupRequest: VPSV1VirtualMachineSetupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>>;
3887
+ /**
3888
+ * This endpoint starts a specified virtual machine. If the virtual machine is already running, the request will still be processed without any effect.
3889
+ * @summary Start virtual machine
3890
+ * @param {number} virtualMachineId Virtual Machine ID
3891
+ * @param {*} [options] Override http request option.
3892
+ * @throws {RequiredError}
3893
+ */
3894
+ startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3895
+ /**
3896
+ * This endpoint stops a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect.
3897
+ * @summary Stop virtual machine
3898
+ * @param {number} virtualMachineId Virtual Machine ID
3899
+ * @param {*} [options] Override http request option.
3900
+ * @throws {RequiredError}
3901
+ */
3902
+ stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
3903
+ };
3904
+ /**
3905
+ * VPSVirtualMachineApi - factory interface
3906
+ * @export
3907
+ */
3908
+ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3909
+ /**
3910
+ * This endpoint retrieves a list of public keys attached to a specified virtual machine.
3911
+ * @summary Get attached public keys
3912
+ * @param {number} virtualMachineId Virtual Machine ID
3913
+ * @param {number} [page] Page number
3914
+ * @param {*} [options] Override http request option.
3915
+ * @throws {RequiredError}
3916
+ */
3917
+ getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetPublicKeyListV1200Response>;
3918
+ /**
3919
+ * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
3920
+ * @summary Get metrics
3921
+ * @param {number} virtualMachineId Virtual Machine ID
3922
+ * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
3923
+ * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
3924
+ * @param {*} [options] Override http request option.
3925
+ * @throws {RequiredError}
3926
+ */
3927
+ getMetricsV1(virtualMachineId: number, dateFrom: string, dateTo: string, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1MetricsMetricsCollection>;
3928
+ /**
3929
+ * This endpoint retrieves a list of all available virtual machines.
3930
+ * @summary Get virtual machine list
3931
+ * @param {*} [options] Override http request option.
3932
+ * @throws {RequiredError}
3933
+ */
3934
+ getVirtualMachineListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<VPSV1VirtualMachineVirtualMachineResource>>;
3935
+ /**
3936
+ * This endpoint retrieves detailed information about a specified virtual machine.
3937
+ * @summary Get virtual machine
3938
+ * @param {number} virtualMachineId Virtual Machine ID
3939
+ * @param {*} [options] Override http request option.
3940
+ * @throws {RequiredError}
3941
+ */
3942
+ getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>;
3943
+ /**
3944
+ * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
3945
+ * @summary Recreate virtual machine
3946
+ * @param {number} virtualMachineId Virtual Machine ID
3947
+ * @param {VPSV1VirtualMachineRecreateRequest} vPSV1VirtualMachineRecreateRequest
3948
+ * @param {*} [options] Override http request option.
3949
+ * @throws {RequiredError}
3950
+ */
3951
+ recreateVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineRecreateRequest: VPSV1VirtualMachineRecreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3952
+ /**
3953
+ * This endpoint resets the hostname and PTR record of a specified virtual machine to the default value.
3954
+ * @summary Reset hostname
3955
+ * @param {number} virtualMachineId Virtual Machine ID
3956
+ * @param {*} [options] Override http request option.
3957
+ * @throws {RequiredError}
3958
+ */
3959
+ resetHostnameV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3960
+ /**
3961
+ * This endpoint restarts a specified virtual machine. This is equivalent to fully stopping and starting the virtual machine. If the virtual machine was stopped, it will be started.
3962
+ * @summary Restart virtual machine
3963
+ * @param {number} virtualMachineId Virtual Machine ID
3964
+ * @param {*} [options] Override http request option.
3965
+ * @throws {RequiredError}
3966
+ */
3967
+ restartVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3968
+ /**
3969
+ * This endpoint sets the hostname for a specified virtual machine. Changing hostname does not update PTR record automatically. If you want your virtual machine to be reachable by a hostname, you need to point your domain A/AAAA records to virtual machine IP as well.
3970
+ * @summary Set hostname
3971
+ * @param {number} virtualMachineId Virtual Machine ID
3972
+ * @param {VPSV1VirtualMachineHostnameUpdateRequest} vPSV1VirtualMachineHostnameUpdateRequest
3973
+ * @param {*} [options] Override http request option.
3974
+ * @throws {RequiredError}
3975
+ */
3976
+ setHostnameV1(virtualMachineId: number, vPSV1VirtualMachineHostnameUpdateRequest: VPSV1VirtualMachineHostnameUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3977
+ /**
3978
+ * This endpoint sets the nameservers for a specified virtual machine. Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names.
3979
+ * @summary Set nameservers
3980
+ * @param {number} virtualMachineId Virtual Machine ID
3981
+ * @param {VPSV1VirtualMachineNameserversUpdateRequest} vPSV1VirtualMachineNameserversUpdateRequest
3982
+ * @param {*} [options] Override http request option.
3983
+ * @throws {RequiredError}
3984
+ */
3985
+ setNameserversV1(virtualMachineId: number, vPSV1VirtualMachineNameserversUpdateRequest: VPSV1VirtualMachineNameserversUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3986
+ /**
3987
+ * This endpoint sets the panel password for a specified virtual machine. If virtual machine does not use panel OS, the request will still be processed without any effect. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
3988
+ * @summary Set panel password
3989
+ * @param {number} virtualMachineId Virtual Machine ID
3990
+ * @param {VPSV1VirtualMachinePanelPasswordUpdateRequest} vPSV1VirtualMachinePanelPasswordUpdateRequest
3991
+ * @param {*} [options] Override http request option.
3992
+ * @throws {RequiredError}
3993
+ */
3994
+ setPanelPasswordV1(virtualMachineId: number, vPSV1VirtualMachinePanelPasswordUpdateRequest: VPSV1VirtualMachinePanelPasswordUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
3995
+ /**
3996
+ * This endpoint sets the root password for a specified virtual machine. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
3997
+ * @summary Set root password
3998
+ * @param {number} virtualMachineId Virtual Machine ID
3999
+ * @param {VPSV1VirtualMachineRootPasswordUpdateRequest} vPSV1VirtualMachineRootPasswordUpdateRequest
4000
+ * @param {*} [options] Override http request option.
4001
+ * @throws {RequiredError}
4002
+ */
4003
+ setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
4004
+ /**
4005
+ * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
4006
+ * @summary Setup new virtual machine
4007
+ * @param {number} virtualMachineId Virtual Machine ID
4008
+ * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
4009
+ * @param {*} [options] Override http request option.
4010
+ * @throws {RequiredError}
4011
+ */
4012
+ setupNewVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineSetupRequest: VPSV1VirtualMachineSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>;
4013
+ /**
4014
+ * This endpoint starts a specified virtual machine. If the virtual machine is already running, the request will still be processed without any effect.
4015
+ * @summary Start virtual machine
4016
+ * @param {number} virtualMachineId Virtual Machine ID
4017
+ * @param {*} [options] Override http request option.
4018
+ * @throws {RequiredError}
4019
+ */
4020
+ startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
4021
+ /**
4022
+ * This endpoint stops a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect.
4023
+ * @summary Stop virtual machine
4024
+ * @param {number} virtualMachineId Virtual Machine ID
4025
+ * @param {*} [options] Override http request option.
4026
+ * @throws {RequiredError}
4027
+ */
4028
+ stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
4029
+ };
4030
+ /**
4031
+ * VPSVirtualMachineApi - object-oriented interface
4032
+ * @export
4033
+ * @class VPSVirtualMachineApi
4034
+ * @extends {BaseAPI}
4035
+ */
4036
+ export declare class VPSVirtualMachineApi extends BaseAPI {
4037
+ /**
4038
+ * This endpoint retrieves a list of public keys attached to a specified virtual machine.
4039
+ * @summary Get attached public keys
4040
+ * @param {number} virtualMachineId Virtual Machine ID
4041
+ * @param {number} [page] Page number
4042
+ * @param {*} [options] Override http request option.
4043
+ * @throws {RequiredError}
4044
+ * @memberof VPSVirtualMachineApi
4045
+ */
4046
+ getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeyListV1200Response, any>>;
4047
+ /**
4048
+ * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
4049
+ * @summary Get metrics
4050
+ * @param {number} virtualMachineId Virtual Machine ID
4051
+ * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
4052
+ * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
4053
+ * @param {*} [options] Override http request option.
4054
+ * @throws {RequiredError}
4055
+ * @memberof VPSVirtualMachineApi
4056
+ */
4057
+ getMetricsV1(virtualMachineId: number, dateFrom: string, dateTo: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1MetricsMetricsCollection, any>>;
4058
+ /**
4059
+ * This endpoint retrieves a list of all available virtual machines.
4060
+ * @summary Get virtual machine list
4061
+ * @param {*} [options] Override http request option.
4062
+ * @throws {RequiredError}
4063
+ * @memberof VPSVirtualMachineApi
4064
+ */
4065
+ getVirtualMachineListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource[], any>>;
4066
+ /**
4067
+ * This endpoint retrieves detailed information about a specified virtual machine.
4068
+ * @summary Get virtual machine
4069
+ * @param {number} virtualMachineId Virtual Machine ID
4070
+ * @param {*} [options] Override http request option.
4071
+ * @throws {RequiredError}
4072
+ * @memberof VPSVirtualMachineApi
4073
+ */
4074
+ getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any>>;
4075
+ /**
4076
+ * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
4077
+ * @summary Recreate virtual machine
4078
+ * @param {number} virtualMachineId Virtual Machine ID
4079
+ * @param {VPSV1VirtualMachineRecreateRequest} vPSV1VirtualMachineRecreateRequest
4080
+ * @param {*} [options] Override http request option.
4081
+ * @throws {RequiredError}
4082
+ * @memberof VPSVirtualMachineApi
4083
+ */
4084
+ recreateVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineRecreateRequest: VPSV1VirtualMachineRecreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4085
+ /**
4086
+ * This endpoint resets the hostname and PTR record of a specified virtual machine to the default value.
4087
+ * @summary Reset hostname
4088
+ * @param {number} virtualMachineId Virtual Machine ID
4089
+ * @param {*} [options] Override http request option.
4090
+ * @throws {RequiredError}
4091
+ * @memberof VPSVirtualMachineApi
4092
+ */
4093
+ resetHostnameV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4094
+ /**
4095
+ * This endpoint restarts a specified virtual machine. This is equivalent to fully stopping and starting the virtual machine. If the virtual machine was stopped, it will be started.
4096
+ * @summary Restart virtual machine
4097
+ * @param {number} virtualMachineId Virtual Machine ID
4098
+ * @param {*} [options] Override http request option.
4099
+ * @throws {RequiredError}
4100
+ * @memberof VPSVirtualMachineApi
4101
+ */
4102
+ restartVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4103
+ /**
4104
+ * This endpoint sets the hostname for a specified virtual machine. Changing hostname does not update PTR record automatically. If you want your virtual machine to be reachable by a hostname, you need to point your domain A/AAAA records to virtual machine IP as well.
4105
+ * @summary Set hostname
4106
+ * @param {number} virtualMachineId Virtual Machine ID
4107
+ * @param {VPSV1VirtualMachineHostnameUpdateRequest} vPSV1VirtualMachineHostnameUpdateRequest
4108
+ * @param {*} [options] Override http request option.
4109
+ * @throws {RequiredError}
4110
+ * @memberof VPSVirtualMachineApi
4111
+ */
4112
+ setHostnameV1(virtualMachineId: number, vPSV1VirtualMachineHostnameUpdateRequest: VPSV1VirtualMachineHostnameUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4113
+ /**
4114
+ * This endpoint sets the nameservers for a specified virtual machine. Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names.
4115
+ * @summary Set nameservers
4116
+ * @param {number} virtualMachineId Virtual Machine ID
4117
+ * @param {VPSV1VirtualMachineNameserversUpdateRequest} vPSV1VirtualMachineNameserversUpdateRequest
4118
+ * @param {*} [options] Override http request option.
4119
+ * @throws {RequiredError}
4120
+ * @memberof VPSVirtualMachineApi
4121
+ */
4122
+ setNameserversV1(virtualMachineId: number, vPSV1VirtualMachineNameserversUpdateRequest: VPSV1VirtualMachineNameserversUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4123
+ /**
4124
+ * This endpoint sets the panel password for a specified virtual machine. If virtual machine does not use panel OS, the request will still be processed without any effect. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
4125
+ * @summary Set panel password
4126
+ * @param {number} virtualMachineId Virtual Machine ID
4127
+ * @param {VPSV1VirtualMachinePanelPasswordUpdateRequest} vPSV1VirtualMachinePanelPasswordUpdateRequest
4128
+ * @param {*} [options] Override http request option.
4129
+ * @throws {RequiredError}
4130
+ * @memberof VPSVirtualMachineApi
4131
+ */
4132
+ setPanelPasswordV1(virtualMachineId: number, vPSV1VirtualMachinePanelPasswordUpdateRequest: VPSV1VirtualMachinePanelPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4133
+ /**
4134
+ * This endpoint sets the root password for a specified virtual machine. Requirements for the password is the same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate).
4135
+ * @summary Set root password
4136
+ * @param {number} virtualMachineId Virtual Machine ID
4137
+ * @param {VPSV1VirtualMachineRootPasswordUpdateRequest} vPSV1VirtualMachineRootPasswordUpdateRequest
4138
+ * @param {*} [options] Override http request option.
4139
+ * @throws {RequiredError}
4140
+ * @memberof VPSVirtualMachineApi
4141
+ */
4142
+ setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4143
+ /**
4144
+ * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
4145
+ * @summary Setup new virtual machine
4146
+ * @param {number} virtualMachineId Virtual Machine ID
4147
+ * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
4148
+ * @param {*} [options] Override http request option.
4149
+ * @throws {RequiredError}
4150
+ * @memberof VPSVirtualMachineApi
4151
+ */
4152
+ setupNewVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineSetupRequest: VPSV1VirtualMachineSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any>>;
4153
+ /**
4154
+ * This endpoint starts a specified virtual machine. If the virtual machine is already running, the request will still be processed without any effect.
4155
+ * @summary Start virtual machine
4156
+ * @param {number} virtualMachineId Virtual Machine ID
4157
+ * @param {*} [options] Override http request option.
4158
+ * @throws {RequiredError}
4159
+ * @memberof VPSVirtualMachineApi
4160
+ */
4161
+ startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4162
+ /**
4163
+ * This endpoint stops a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect.
4164
+ * @summary Stop virtual machine
4165
+ * @param {number} virtualMachineId Virtual Machine ID
4166
+ * @param {*} [options] Override http request option.
4167
+ * @throws {RequiredError}
4168
+ * @memberof VPSVirtualMachineApi
4169
+ */
4170
+ stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4171
+ }