hostinger-api-sdk 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +386 -148
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +319 -143
- package/dist/api.js +139 -41
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +319 -143
- package/dist/esm/api.js +136 -38
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/BillingCatalogApi.md +0 -54
- package/docs/BillingOrdersApi.md +0 -63
- package/docs/BillingPaymentMethodsApi.md +0 -162
- package/docs/BillingSubscriptionsApi.md +0 -113
- package/docs/BillingV1CatalogCatalogItemPriceResource.md +0 -32
- package/docs/BillingV1CatalogCatalogItemResource.md +0 -26
- package/docs/BillingV1OrderOrderBillingAddressResource.md +0 -40
- package/docs/BillingV1OrderOrderResource.md +0 -36
- package/docs/BillingV1OrderStoreRequest.md +0 -24
- package/docs/BillingV1OrderStoreRequestItemsInner.md +0 -22
- package/docs/BillingV1PaymentMethodPaymentMethodResource.md +0 -36
- package/docs/BillingV1SubscriptionCancelRequest.md +0 -22
- package/docs/BillingV1SubscriptionSubscriptionResource.md +0 -42
- package/docs/CommonSchemaErrorResponseSchema.md +0 -22
- package/docs/CommonSchemaPaginationMetaSchema.md +0 -24
- package/docs/CommonSchemaUnauthorizedResponseSchema.md +0 -22
- package/docs/CommonSchemaUnprocessableContentResponseSchema.md +0 -24
- package/docs/CommonSchemaUnprocessableContentResponseSchemaErrors.md +0 -22
- package/docs/CommonSuccessEmptyResource.md +0 -20
- package/docs/DNSSnapshotApi.md +0 -175
- package/docs/DNSV1SnapshotSnapshotResource.md +0 -24
- package/docs/DNSV1SnapshotSnapshotWithContentResource.md +0 -26
- package/docs/DNSV1ZoneDestroyRequest.md +0 -20
- package/docs/DNSV1ZoneDestroyRequestFiltersInner.md +0 -22
- package/docs/DNSV1ZoneNameRecordResource.md +0 -22
- package/docs/DNSV1ZoneRecordResource.md +0 -26
- package/docs/DNSV1ZoneResetRequest.md +0 -24
- package/docs/DNSV1ZoneUpdateRequest.md +0 -22
- package/docs/DNSV1ZoneUpdateRequestZoneInner.md +0 -26
- package/docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md +0 -20
- package/docs/DNSZoneApi.md +0 -297
- package/docs/DomainsAvailabilityApi.md +0 -63
- package/docs/DomainsForwardingApi.md +0 -171
- package/docs/DomainsPortfolioApi.md +0 -439
- package/docs/DomainsV1AvailabilityAvailabilityRequest.md +0 -24
- package/docs/DomainsV1AvailabilityAvailabilityResource.md +0 -26
- package/docs/DomainsV1DomainDomainExtendedResource.md +0 -48
- package/docs/DomainsV1DomainDomainExtendedResourceDomainContacts.md +0 -27
- package/docs/DomainsV1DomainDomainExtendedResourceNameServers.md +0 -23
- package/docs/DomainsV1DomainDomainResource.md +0 -30
- package/docs/DomainsV1ForwardingForwardingResource.md +0 -28
- package/docs/DomainsV1ForwardingStoreRequest.md +0 -24
- package/docs/DomainsV1PortfolioPurchaseRequest.md +0 -30
- package/docs/DomainsV1PortfolioPurchaseRequestDomainContacts.md +0 -27
- package/docs/DomainsV1PortfolioUpdateNameserversRequest.md +0 -26
- package/docs/DomainsV1WHOISProfileResource.md +0 -34
- package/docs/DomainsV1WHOISStoreRequest.md +0 -28
- package/docs/DomainsWHOISApi.md +0 -279
- package/docs/VPSActionsApi.md +0 -121
- package/docs/VPSBackupsApi.md +0 -178
- package/docs/VPSDataCentersApi.md +0 -54
- package/docs/VPSFirewallApi.md +0 -577
- package/docs/VPSGetActionListV1200Response.md +0 -22
- package/docs/VPSGetBackupListV1200Response.md +0 -22
- package/docs/VPSGetFirewallListV1200Response.md +0 -22
- package/docs/VPSGetPostInstallScriptListV1200Response.md +0 -22
- package/docs/VPSGetPublicKeyListV1200Response.md +0 -22
- package/docs/VPSMalwareScannerApi.md +0 -172
- package/docs/VPSOSTemplatesApi.md +0 -108
- package/docs/VPSPTRRecordsApi.md +0 -115
- package/docs/VPSPostInstallScriptsApi.md +0 -284
- package/docs/VPSPublicKeysApi.md +0 -230
- package/docs/VPSRecoveryApi.md +0 -120
- package/docs/VPSSnapshotsApi.md +0 -223
- package/docs/VPSV1ActionActionResource.md +0 -28
- package/docs/VPSV1BackupBackupResource.md +0 -24
- package/docs/VPSV1DataCenterDataCenterResource.md +0 -28
- package/docs/VPSV1FirewallFirewallResource.md +0 -30
- package/docs/VPSV1FirewallFirewallRuleResource.md +0 -30
- package/docs/VPSV1FirewallRulesStoreRequest.md +0 -26
- package/docs/VPSV1FirewallStoreRequest.md +0 -20
- package/docs/VPSV1IPAddressIPAddressResource.md +0 -24
- package/docs/VPSV1MalwareMetricsResource.md +0 -30
- package/docs/VPSV1MetricsMetricsCollection.md +0 -30
- package/docs/VPSV1MetricsMetricsResource.md +0 -22
- package/docs/VPSV1PostInstallScriptPostInstallScriptResource.md +0 -28
- package/docs/VPSV1PostInstallScriptStoreRequest.md +0 -22
- package/docs/VPSV1PublicKeyAttachRequest.md +0 -20
- package/docs/VPSV1PublicKeyPublicKeyResource.md +0 -24
- package/docs/VPSV1PublicKeyStoreRequest.md +0 -22
- package/docs/VPSV1SnapshotSnapshotResource.md +0 -24
- package/docs/VPSV1TemplateTemplateResource.md +0 -26
- package/docs/VPSV1VirtualMachineHostnameUpdateRequest.md +0 -20
- package/docs/VPSV1VirtualMachineNameserversUpdateRequest.md +0 -22
- package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +0 -20
- package/docs/VPSV1VirtualMachineRecoveryStartRequest.md +0 -20
- package/docs/VPSV1VirtualMachineRecreateRequest.md +0 -24
- package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +0 -20
- package/docs/VPSV1VirtualMachineSetupRequest.md +0 -38
- package/docs/VPSV1VirtualMachineSetupRequestPublicKey.md +0 -22
- package/docs/VPSV1VirtualMachineVirtualMachineResource.md +0 -52
- package/docs/VPSVirtualMachineApi.md +0 -796
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.0.
|
|
4
|
+
* API Version: 0.0.68
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -10,6 +10,88 @@ import type { Configuration } from './configuration';
|
|
|
10
10
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
11
11
|
import type { RequestArgs } from './base';
|
|
12
12
|
import { BaseAPI } from './base';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BillingCreateNewServiceOrderV1422Response
|
|
17
|
+
*/
|
|
18
|
+
export interface BillingCreateNewServiceOrderV1422Response {
|
|
19
|
+
/**
|
|
20
|
+
* Validation error message
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BillingCreateNewServiceOrderV1422Response
|
|
23
|
+
*/
|
|
24
|
+
'message': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {BillingCreateNewServiceOrderV1422ResponseErrors}
|
|
28
|
+
* @memberof BillingCreateNewServiceOrderV1422Response
|
|
29
|
+
*/
|
|
30
|
+
'errors': BillingCreateNewServiceOrderV1422ResponseErrors;
|
|
31
|
+
/**
|
|
32
|
+
* Request correlation ID
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BillingCreateNewServiceOrderV1422Response
|
|
35
|
+
*/
|
|
36
|
+
'correlation_id': string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Object of detailed errors for each field
|
|
40
|
+
* @export
|
|
41
|
+
* @interface BillingCreateNewServiceOrderV1422ResponseErrors
|
|
42
|
+
*/
|
|
43
|
+
export interface BillingCreateNewServiceOrderV1422ResponseErrors {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<any>}
|
|
47
|
+
* @memberof BillingCreateNewServiceOrderV1422ResponseErrors
|
|
48
|
+
*/
|
|
49
|
+
'field_1': Array<any>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<any>}
|
|
53
|
+
* @memberof BillingCreateNewServiceOrderV1422ResponseErrors
|
|
54
|
+
*/
|
|
55
|
+
'field_2': Array<any>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @export
|
|
60
|
+
* @interface BillingGetCatalogItemListV1401Response
|
|
61
|
+
*/
|
|
62
|
+
export interface BillingGetCatalogItemListV1401Response {
|
|
63
|
+
/**
|
|
64
|
+
* Message of the error
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof BillingGetCatalogItemListV1401Response
|
|
67
|
+
*/
|
|
68
|
+
'message': string;
|
|
69
|
+
/**
|
|
70
|
+
* Request correlation ID
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof BillingGetCatalogItemListV1401Response
|
|
73
|
+
*/
|
|
74
|
+
'correlation_id': string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @export
|
|
79
|
+
* @interface BillingGetCatalogItemListV1500Response
|
|
80
|
+
*/
|
|
81
|
+
export interface BillingGetCatalogItemListV1500Response {
|
|
82
|
+
/**
|
|
83
|
+
* Message of the error
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof BillingGetCatalogItemListV1500Response
|
|
86
|
+
*/
|
|
87
|
+
'message': string;
|
|
88
|
+
/**
|
|
89
|
+
* Request correlation ID
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof BillingGetCatalogItemListV1500Response
|
|
92
|
+
*/
|
|
93
|
+
'correlation_id': string;
|
|
94
|
+
}
|
|
13
95
|
/**
|
|
14
96
|
*
|
|
15
97
|
* @export
|
|
@@ -288,6 +370,25 @@ export interface BillingV1OrderStoreRequestItemsInner {
|
|
|
288
370
|
*/
|
|
289
371
|
'quantity': number;
|
|
290
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @export
|
|
376
|
+
* @interface BillingV1OrderVirtualMachineOrderResource
|
|
377
|
+
*/
|
|
378
|
+
export interface BillingV1OrderVirtualMachineOrderResource {
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @type {BillingV1OrderOrderResource}
|
|
382
|
+
* @memberof BillingV1OrderVirtualMachineOrderResource
|
|
383
|
+
*/
|
|
384
|
+
'order': BillingV1OrderOrderResource;
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @type {VPSV1VirtualMachineVirtualMachineResource}
|
|
388
|
+
* @memberof BillingV1OrderVirtualMachineOrderResource
|
|
389
|
+
*/
|
|
390
|
+
'virtual_machine': VPSV1VirtualMachineVirtualMachineResource;
|
|
391
|
+
}
|
|
291
392
|
/**
|
|
292
393
|
*
|
|
293
394
|
* @export
|
|
@@ -465,25 +566,6 @@ export declare const BillingV1SubscriptionSubscriptionResourceStatusEnum: {
|
|
|
465
566
|
readonly Future: "future";
|
|
466
567
|
};
|
|
467
568
|
export type BillingV1SubscriptionSubscriptionResourceStatusEnum = typeof BillingV1SubscriptionSubscriptionResourceStatusEnum[keyof typeof BillingV1SubscriptionSubscriptionResourceStatusEnum];
|
|
468
|
-
/**
|
|
469
|
-
*
|
|
470
|
-
* @export
|
|
471
|
-
* @interface CommonSchemaErrorResponseSchema
|
|
472
|
-
*/
|
|
473
|
-
export interface CommonSchemaErrorResponseSchema {
|
|
474
|
-
/**
|
|
475
|
-
*
|
|
476
|
-
* @type {string}
|
|
477
|
-
* @memberof CommonSchemaErrorResponseSchema
|
|
478
|
-
*/
|
|
479
|
-
'message': string;
|
|
480
|
-
/**
|
|
481
|
-
*
|
|
482
|
-
* @type {string}
|
|
483
|
-
* @memberof CommonSchemaErrorResponseSchema
|
|
484
|
-
*/
|
|
485
|
-
'correlation_id': string;
|
|
486
|
-
}
|
|
487
569
|
/**
|
|
488
570
|
*
|
|
489
571
|
* @export
|
|
@@ -509,69 +591,6 @@ export interface CommonSchemaPaginationMetaSchema {
|
|
|
509
591
|
*/
|
|
510
592
|
'total': number;
|
|
511
593
|
}
|
|
512
|
-
/**
|
|
513
|
-
*
|
|
514
|
-
* @export
|
|
515
|
-
* @interface CommonSchemaUnauthorizedResponseSchema
|
|
516
|
-
*/
|
|
517
|
-
export interface CommonSchemaUnauthorizedResponseSchema {
|
|
518
|
-
/**
|
|
519
|
-
*
|
|
520
|
-
* @type {string}
|
|
521
|
-
* @memberof CommonSchemaUnauthorizedResponseSchema
|
|
522
|
-
*/
|
|
523
|
-
'message': string;
|
|
524
|
-
/**
|
|
525
|
-
*
|
|
526
|
-
* @type {string}
|
|
527
|
-
* @memberof CommonSchemaUnauthorizedResponseSchema
|
|
528
|
-
*/
|
|
529
|
-
'correlation_id': string;
|
|
530
|
-
}
|
|
531
|
-
/**
|
|
532
|
-
*
|
|
533
|
-
* @export
|
|
534
|
-
* @interface CommonSchemaUnprocessableContentResponseSchema
|
|
535
|
-
*/
|
|
536
|
-
export interface CommonSchemaUnprocessableContentResponseSchema {
|
|
537
|
-
/**
|
|
538
|
-
* Validation error message
|
|
539
|
-
* @type {string}
|
|
540
|
-
* @memberof CommonSchemaUnprocessableContentResponseSchema
|
|
541
|
-
*/
|
|
542
|
-
'message': string;
|
|
543
|
-
/**
|
|
544
|
-
*
|
|
545
|
-
* @type {CommonSchemaUnprocessableContentResponseSchemaErrors}
|
|
546
|
-
* @memberof CommonSchemaUnprocessableContentResponseSchema
|
|
547
|
-
*/
|
|
548
|
-
'errors': CommonSchemaUnprocessableContentResponseSchemaErrors;
|
|
549
|
-
/**
|
|
550
|
-
*
|
|
551
|
-
* @type {string}
|
|
552
|
-
* @memberof CommonSchemaUnprocessableContentResponseSchema
|
|
553
|
-
*/
|
|
554
|
-
'correlation_id': string;
|
|
555
|
-
}
|
|
556
|
-
/**
|
|
557
|
-
*
|
|
558
|
-
* @export
|
|
559
|
-
* @interface CommonSchemaUnprocessableContentResponseSchemaErrors
|
|
560
|
-
*/
|
|
561
|
-
export interface CommonSchemaUnprocessableContentResponseSchemaErrors {
|
|
562
|
-
/**
|
|
563
|
-
*
|
|
564
|
-
* @type {Array<any>}
|
|
565
|
-
* @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
|
|
566
|
-
*/
|
|
567
|
-
'field_1': Array<any>;
|
|
568
|
-
/**
|
|
569
|
-
*
|
|
570
|
-
* @type {Array<any>}
|
|
571
|
-
* @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
|
|
572
|
-
*/
|
|
573
|
-
'field_2': Array<any>;
|
|
574
|
-
}
|
|
575
594
|
/**
|
|
576
595
|
*
|
|
577
596
|
* @export
|
|
@@ -857,13 +876,13 @@ export interface DNSV1ZoneUpdateRequestZoneInnerRecordsInner {
|
|
|
857
876
|
*/
|
|
858
877
|
export interface DomainsV1AvailabilityAvailabilityRequest {
|
|
859
878
|
/**
|
|
860
|
-
* Domain name without TLD
|
|
879
|
+
* Domain name (without TLD)
|
|
861
880
|
* @type {string}
|
|
862
881
|
* @memberof DomainsV1AvailabilityAvailabilityRequest
|
|
863
882
|
*/
|
|
864
883
|
'domain': string;
|
|
865
884
|
/**
|
|
866
|
-
* TLDs
|
|
885
|
+
* TLDs list
|
|
867
886
|
* @type {Array<string>}
|
|
868
887
|
* @memberof DomainsV1AvailabilityAvailabilityRequest
|
|
869
888
|
*/
|
|
@@ -1208,7 +1227,7 @@ export interface DomainsV1PortfolioPurchaseRequest {
|
|
|
1208
1227
|
*/
|
|
1209
1228
|
'item_id': string;
|
|
1210
1229
|
/**
|
|
1211
|
-
* Payment method ID
|
|
1230
|
+
* Payment method ID, default will be used if not provided
|
|
1212
1231
|
* @type {number}
|
|
1213
1232
|
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
1214
1233
|
*/
|
|
@@ -1361,7 +1380,7 @@ export type DomainsV1WHOISProfileResourceEntityTypeEnum = typeof DomainsV1WHOISP
|
|
|
1361
1380
|
*/
|
|
1362
1381
|
export interface DomainsV1WHOISStoreRequest {
|
|
1363
1382
|
/**
|
|
1364
|
-
* TLD of the domain (without
|
|
1383
|
+
* TLD of the domain (without leading dot)
|
|
1365
1384
|
* @type {string}
|
|
1366
1385
|
* @memberof DomainsV1WHOISStoreRequest
|
|
1367
1386
|
*/
|
|
@@ -1846,41 +1865,77 @@ export interface VPSV1MalwareMetricsResource {
|
|
|
1846
1865
|
export interface VPSV1MetricsMetricsCollection {
|
|
1847
1866
|
/**
|
|
1848
1867
|
*
|
|
1849
|
-
* @type {
|
|
1868
|
+
* @type {VPSV1MetricsMetricsCollectionCpuUsage}
|
|
1850
1869
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1851
1870
|
*/
|
|
1852
|
-
'cpu_usage':
|
|
1871
|
+
'cpu_usage': VPSV1MetricsMetricsCollectionCpuUsage | null;
|
|
1853
1872
|
/**
|
|
1854
1873
|
*
|
|
1855
|
-
* @type {
|
|
1874
|
+
* @type {VPSV1MetricsMetricsCollectionRamUsage}
|
|
1856
1875
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1857
1876
|
*/
|
|
1858
|
-
'ram_usage':
|
|
1877
|
+
'ram_usage': VPSV1MetricsMetricsCollectionRamUsage | null;
|
|
1859
1878
|
/**
|
|
1860
1879
|
*
|
|
1861
|
-
* @type {
|
|
1880
|
+
* @type {VPSV1MetricsMetricsCollectionDiskSpace}
|
|
1862
1881
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1863
1882
|
*/
|
|
1864
|
-
'disk_space':
|
|
1883
|
+
'disk_space': VPSV1MetricsMetricsCollectionDiskSpace | null;
|
|
1865
1884
|
/**
|
|
1866
1885
|
*
|
|
1867
|
-
* @type {
|
|
1886
|
+
* @type {VPSV1MetricsMetricsCollectionOutgoingTraffic}
|
|
1868
1887
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1869
1888
|
*/
|
|
1870
|
-
'outgoing_traffic':
|
|
1889
|
+
'outgoing_traffic': VPSV1MetricsMetricsCollectionOutgoingTraffic | null;
|
|
1871
1890
|
/**
|
|
1872
1891
|
*
|
|
1873
|
-
* @type {
|
|
1892
|
+
* @type {VPSV1MetricsMetricsCollectionIncomingTraffic}
|
|
1874
1893
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1875
1894
|
*/
|
|
1876
|
-
'incoming_traffic':
|
|
1895
|
+
'incoming_traffic': VPSV1MetricsMetricsCollectionIncomingTraffic | null;
|
|
1877
1896
|
/**
|
|
1878
1897
|
*
|
|
1879
|
-
* @type {
|
|
1898
|
+
* @type {VPSV1MetricsMetricsCollectionUptime}
|
|
1880
1899
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1881
1900
|
*/
|
|
1882
|
-
'uptime':
|
|
1901
|
+
'uptime': VPSV1MetricsMetricsCollectionUptime | null;
|
|
1883
1902
|
}
|
|
1903
|
+
/**
|
|
1904
|
+
* @type VPSV1MetricsMetricsCollectionCpuUsage
|
|
1905
|
+
* CPU usage in percentage, 0 - 100%
|
|
1906
|
+
* @export
|
|
1907
|
+
*/
|
|
1908
|
+
export type VPSV1MetricsMetricsCollectionCpuUsage = VPSV1MetricsMetricsResource;
|
|
1909
|
+
/**
|
|
1910
|
+
* @type VPSV1MetricsMetricsCollectionDiskSpace
|
|
1911
|
+
* Disk space usage in bytes
|
|
1912
|
+
* @export
|
|
1913
|
+
*/
|
|
1914
|
+
export type VPSV1MetricsMetricsCollectionDiskSpace = VPSV1MetricsMetricsResource;
|
|
1915
|
+
/**
|
|
1916
|
+
* @type VPSV1MetricsMetricsCollectionIncomingTraffic
|
|
1917
|
+
* Incoming traffic in bytes
|
|
1918
|
+
* @export
|
|
1919
|
+
*/
|
|
1920
|
+
export type VPSV1MetricsMetricsCollectionIncomingTraffic = VPSV1MetricsMetricsResource;
|
|
1921
|
+
/**
|
|
1922
|
+
* @type VPSV1MetricsMetricsCollectionOutgoingTraffic
|
|
1923
|
+
* Outgoing traffic in bytes
|
|
1924
|
+
* @export
|
|
1925
|
+
*/
|
|
1926
|
+
export type VPSV1MetricsMetricsCollectionOutgoingTraffic = VPSV1MetricsMetricsResource;
|
|
1927
|
+
/**
|
|
1928
|
+
* @type VPSV1MetricsMetricsCollectionRamUsage
|
|
1929
|
+
* RAM usage in bytes
|
|
1930
|
+
* @export
|
|
1931
|
+
*/
|
|
1932
|
+
export type VPSV1MetricsMetricsCollectionRamUsage = VPSV1MetricsMetricsResource;
|
|
1933
|
+
/**
|
|
1934
|
+
* @type VPSV1MetricsMetricsCollectionUptime
|
|
1935
|
+
* Uptime in milliseconds
|
|
1936
|
+
* @export
|
|
1937
|
+
*/
|
|
1938
|
+
export type VPSV1MetricsMetricsCollectionUptime = VPSV1MetricsMetricsResource;
|
|
1884
1939
|
/**
|
|
1885
1940
|
*
|
|
1886
1941
|
* @export
|
|
@@ -2082,6 +2137,25 @@ export interface VPSV1VirtualMachineHostnameUpdateRequest {
|
|
|
2082
2137
|
*/
|
|
2083
2138
|
'hostname': string;
|
|
2084
2139
|
}
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @export
|
|
2143
|
+
* @interface VPSV1VirtualMachineMetricGetRequest
|
|
2144
|
+
*/
|
|
2145
|
+
export interface VPSV1VirtualMachineMetricGetRequest {
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @type {string}
|
|
2149
|
+
* @memberof VPSV1VirtualMachineMetricGetRequest
|
|
2150
|
+
*/
|
|
2151
|
+
'date_from': string;
|
|
2152
|
+
/**
|
|
2153
|
+
*
|
|
2154
|
+
* @type {string}
|
|
2155
|
+
* @memberof VPSV1VirtualMachineMetricGetRequest
|
|
2156
|
+
*/
|
|
2157
|
+
'date_to': string;
|
|
2158
|
+
}
|
|
2085
2159
|
/**
|
|
2086
2160
|
*
|
|
2087
2161
|
* @export
|
|
@@ -2114,6 +2188,37 @@ export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
|
|
|
2114
2188
|
*/
|
|
2115
2189
|
'password': string;
|
|
2116
2190
|
}
|
|
2191
|
+
/**
|
|
2192
|
+
*
|
|
2193
|
+
* @export
|
|
2194
|
+
* @interface VPSV1VirtualMachinePurchaseRequest
|
|
2195
|
+
*/
|
|
2196
|
+
export interface VPSV1VirtualMachinePurchaseRequest {
|
|
2197
|
+
/**
|
|
2198
|
+
* Catalog price item ID
|
|
2199
|
+
* @type {string}
|
|
2200
|
+
* @memberof VPSV1VirtualMachinePurchaseRequest
|
|
2201
|
+
*/
|
|
2202
|
+
'item_id': string;
|
|
2203
|
+
/**
|
|
2204
|
+
* Payment method ID, default will be used if not provided
|
|
2205
|
+
* @type {number}
|
|
2206
|
+
* @memberof VPSV1VirtualMachinePurchaseRequest
|
|
2207
|
+
*/
|
|
2208
|
+
'payment_method_id': number;
|
|
2209
|
+
/**
|
|
2210
|
+
*
|
|
2211
|
+
* @type {VPSV1VirtualMachineSetupRequest}
|
|
2212
|
+
* @memberof VPSV1VirtualMachinePurchaseRequest
|
|
2213
|
+
*/
|
|
2214
|
+
'setup': VPSV1VirtualMachineSetupRequest;
|
|
2215
|
+
/**
|
|
2216
|
+
* Discount coupon codes
|
|
2217
|
+
* @type {Array<any>}
|
|
2218
|
+
* @memberof VPSV1VirtualMachinePurchaseRequest
|
|
2219
|
+
*/
|
|
2220
|
+
'coupons': Array<any>;
|
|
2221
|
+
}
|
|
2117
2222
|
/**
|
|
2118
2223
|
*
|
|
2119
2224
|
* @export
|
|
@@ -2214,13 +2319,13 @@ export interface VPSV1VirtualMachineSetupRequest {
|
|
|
2214
2319
|
*/
|
|
2215
2320
|
'enable_backups': boolean;
|
|
2216
2321
|
/**
|
|
2217
|
-
*
|
|
2322
|
+
* Name server 1
|
|
2218
2323
|
* @type {string}
|
|
2219
2324
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
2220
2325
|
*/
|
|
2221
2326
|
'ns1': string;
|
|
2222
2327
|
/**
|
|
2223
|
-
*
|
|
2328
|
+
* Name server 2
|
|
2224
2329
|
* @type {string}
|
|
2225
2330
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
2226
2331
|
*/
|
|
@@ -2233,7 +2338,7 @@ export interface VPSV1VirtualMachineSetupRequest {
|
|
|
2233
2338
|
'public_key': VPSV1VirtualMachineSetupRequestPublicKey;
|
|
2234
2339
|
}
|
|
2235
2340
|
/**
|
|
2236
|
-
*
|
|
2341
|
+
* Use SSH key
|
|
2237
2342
|
* @export
|
|
2238
2343
|
* @interface VPSV1VirtualMachineSetupRequestPublicKey
|
|
2239
2344
|
*/
|
|
@@ -2245,7 +2350,7 @@ export interface VPSV1VirtualMachineSetupRequestPublicKey {
|
|
|
2245
2350
|
*/
|
|
2246
2351
|
'name': string;
|
|
2247
2352
|
/**
|
|
2248
|
-
* SSH
|
|
2353
|
+
* Contents of the SSH key
|
|
2249
2354
|
* @type {string}
|
|
2250
2355
|
* @memberof VPSV1VirtualMachineSetupRequestPublicKey
|
|
2251
2356
|
*/
|
|
@@ -2336,23 +2441,23 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
|
|
|
2336
2441
|
*/
|
|
2337
2442
|
'ns2': string | null;
|
|
2338
2443
|
/**
|
|
2339
|
-
*
|
|
2340
|
-
* @type {
|
|
2444
|
+
*
|
|
2445
|
+
* @type {VPSV1VirtualMachineVirtualMachineResourceIpv4}
|
|
2341
2446
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
2342
2447
|
*/
|
|
2343
|
-
'ipv4':
|
|
2448
|
+
'ipv4': VPSV1VirtualMachineVirtualMachineResourceIpv4 | null;
|
|
2344
2449
|
/**
|
|
2345
|
-
*
|
|
2346
|
-
* @type {
|
|
2450
|
+
*
|
|
2451
|
+
* @type {VPSV1VirtualMachineVirtualMachineResourceIpv6}
|
|
2347
2452
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
2348
2453
|
*/
|
|
2349
|
-
'ipv6':
|
|
2454
|
+
'ipv6': VPSV1VirtualMachineVirtualMachineResourceIpv6 | null;
|
|
2350
2455
|
/**
|
|
2351
2456
|
*
|
|
2352
|
-
* @type {
|
|
2457
|
+
* @type {VPSV1VirtualMachineVirtualMachineResourceTemplate}
|
|
2353
2458
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
2354
2459
|
*/
|
|
2355
|
-
'template':
|
|
2460
|
+
'template': VPSV1VirtualMachineVirtualMachineResourceTemplate | null;
|
|
2356
2461
|
/**
|
|
2357
2462
|
*
|
|
2358
2463
|
* @type {string}
|
|
@@ -2384,6 +2489,24 @@ export declare const VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum: {
|
|
|
2384
2489
|
readonly Locked: "locked";
|
|
2385
2490
|
};
|
|
2386
2491
|
export type VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = typeof VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum[keyof typeof VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum];
|
|
2492
|
+
/**
|
|
2493
|
+
* @type VPSV1VirtualMachineVirtualMachineResourceIpv4
|
|
2494
|
+
* IPv4 address of virtual machine
|
|
2495
|
+
* @export
|
|
2496
|
+
*/
|
|
2497
|
+
export type VPSV1VirtualMachineVirtualMachineResourceIpv4 = Array<VPSV1IPAddressIPAddressResource>;
|
|
2498
|
+
/**
|
|
2499
|
+
* @type VPSV1VirtualMachineVirtualMachineResourceIpv6
|
|
2500
|
+
* IPv6 address of virtual machine, `null` if not assigned
|
|
2501
|
+
* @export
|
|
2502
|
+
*/
|
|
2503
|
+
export type VPSV1VirtualMachineVirtualMachineResourceIpv6 = Array<VPSV1IPAddressIPAddressResource>;
|
|
2504
|
+
/**
|
|
2505
|
+
* @type VPSV1VirtualMachineVirtualMachineResourceTemplate
|
|
2506
|
+
* OS template installed in virtual machine
|
|
2507
|
+
* @export
|
|
2508
|
+
*/
|
|
2509
|
+
export type VPSV1VirtualMachineVirtualMachineResourceTemplate = VPSV1TemplateTemplateResource;
|
|
2387
2510
|
/**
|
|
2388
2511
|
* BillingCatalogApi - axios parameter creator
|
|
2389
2512
|
* @export
|
|
@@ -2392,10 +2515,12 @@ export declare const BillingCatalogApiAxiosParamCreator: (configuration?: Config
|
|
|
2392
2515
|
/**
|
|
2393
2516
|
* 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`.
|
|
2394
2517
|
* @summary Get catalog item list
|
|
2518
|
+
* @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
|
|
2519
|
+
* @param {string} [name] Filter catalog items by name. Use `*` for wildcard search, e.g. `.COM*` to find .com domain
|
|
2395
2520
|
* @param {*} [options] Override http request option.
|
|
2396
2521
|
* @throws {RequiredError}
|
|
2397
2522
|
*/
|
|
2398
|
-
getCatalogItemListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2523
|
+
getCatalogItemListV1: (category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2399
2524
|
};
|
|
2400
2525
|
/**
|
|
2401
2526
|
* BillingCatalogApi - functional programming interface
|
|
@@ -2405,10 +2530,12 @@ export declare const BillingCatalogApiFp: (configuration?: Configuration) => {
|
|
|
2405
2530
|
/**
|
|
2406
2531
|
* 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`.
|
|
2407
2532
|
* @summary Get catalog item list
|
|
2533
|
+
* @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
|
|
2534
|
+
* @param {string} [name] Filter catalog items by name. Use `*` for wildcard search, e.g. `.COM*` to find .com domain
|
|
2408
2535
|
* @param {*} [options] Override http request option.
|
|
2409
2536
|
* @throws {RequiredError}
|
|
2410
2537
|
*/
|
|
2411
|
-
getCatalogItemListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>>;
|
|
2538
|
+
getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>>;
|
|
2412
2539
|
};
|
|
2413
2540
|
/**
|
|
2414
2541
|
* BillingCatalogApi - factory interface
|
|
@@ -2418,10 +2545,12 @@ export declare const BillingCatalogApiFactory: (configuration?: Configuration, b
|
|
|
2418
2545
|
/**
|
|
2419
2546
|
* 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`.
|
|
2420
2547
|
* @summary Get catalog item list
|
|
2548
|
+
* @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
|
|
2549
|
+
* @param {string} [name] Filter catalog items by name. Use `*` for wildcard search, e.g. `.COM*` to find .com domain
|
|
2421
2550
|
* @param {*} [options] Override http request option.
|
|
2422
2551
|
* @throws {RequiredError}
|
|
2423
2552
|
*/
|
|
2424
|
-
getCatalogItemListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>;
|
|
2553
|
+
getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>;
|
|
2425
2554
|
};
|
|
2426
2555
|
/**
|
|
2427
2556
|
* BillingCatalogApi - object-oriented interface
|
|
@@ -2433,22 +2562,33 @@ export declare class BillingCatalogApi extends BaseAPI {
|
|
|
2433
2562
|
/**
|
|
2434
2563
|
* 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`.
|
|
2435
2564
|
* @summary Get catalog item list
|
|
2565
|
+
* @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
|
|
2566
|
+
* @param {string} [name] Filter catalog items by name. Use `*` for wildcard search, e.g. `.COM*` to find .com domain
|
|
2436
2567
|
* @param {*} [options] Override http request option.
|
|
2437
2568
|
* @throws {RequiredError}
|
|
2438
2569
|
* @memberof BillingCatalogApi
|
|
2439
2570
|
*/
|
|
2440
|
-
getCatalogItemListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1CatalogCatalogItemResource[], any>>;
|
|
2571
|
+
getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1CatalogCatalogItemResource[], any>>;
|
|
2441
2572
|
}
|
|
2573
|
+
/**
|
|
2574
|
+
* @export
|
|
2575
|
+
*/
|
|
2576
|
+
export declare const GetCatalogItemListV1CategoryEnum: {
|
|
2577
|
+
readonly Domain: "DOMAIN";
|
|
2578
|
+
readonly Vps: "VPS";
|
|
2579
|
+
};
|
|
2580
|
+
export type GetCatalogItemListV1CategoryEnum = typeof GetCatalogItemListV1CategoryEnum[keyof typeof GetCatalogItemListV1CategoryEnum];
|
|
2442
2581
|
/**
|
|
2443
2582
|
* BillingOrdersApi - axios parameter creator
|
|
2444
2583
|
* @export
|
|
2445
2584
|
*/
|
|
2446
2585
|
export declare const BillingOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2447
2586
|
/**
|
|
2448
|
-
* 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2587
|
+
* This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2449
2588
|
* @summary Create new service order
|
|
2450
2589
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2451
2590
|
* @param {*} [options] Override http request option.
|
|
2591
|
+
* @deprecated
|
|
2452
2592
|
* @throws {RequiredError}
|
|
2453
2593
|
*/
|
|
2454
2594
|
createNewServiceOrderV1: (billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -2459,10 +2599,11 @@ export declare const BillingOrdersApiAxiosParamCreator: (configuration?: Configu
|
|
|
2459
2599
|
*/
|
|
2460
2600
|
export declare const BillingOrdersApiFp: (configuration?: Configuration) => {
|
|
2461
2601
|
/**
|
|
2462
|
-
* 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2602
|
+
* This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2463
2603
|
* @summary Create new service order
|
|
2464
2604
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2465
2605
|
* @param {*} [options] Override http request option.
|
|
2606
|
+
* @deprecated
|
|
2466
2607
|
* @throws {RequiredError}
|
|
2467
2608
|
*/
|
|
2468
2609
|
createNewServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
|
|
@@ -2473,10 +2614,11 @@ export declare const BillingOrdersApiFp: (configuration?: Configuration) => {
|
|
|
2473
2614
|
*/
|
|
2474
2615
|
export declare const BillingOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2475
2616
|
/**
|
|
2476
|
-
* 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2617
|
+
* This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2477
2618
|
* @summary Create new service order
|
|
2478
2619
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2479
2620
|
* @param {*} [options] Override http request option.
|
|
2621
|
+
* @deprecated
|
|
2480
2622
|
* @throws {RequiredError}
|
|
2481
2623
|
*/
|
|
2482
2624
|
createNewServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
|
|
@@ -2489,10 +2631,11 @@ export declare const BillingOrdersApiFactory: (configuration?: Configuration, ba
|
|
|
2489
2631
|
*/
|
|
2490
2632
|
export declare class BillingOrdersApi extends BaseAPI {
|
|
2491
2633
|
/**
|
|
2492
|
-
* 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2634
|
+
* This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. 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 automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2493
2635
|
* @summary Create new service order
|
|
2494
2636
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2495
2637
|
* @param {*} [options] Override http request option.
|
|
2638
|
+
* @deprecated
|
|
2496
2639
|
* @throws {RequiredError}
|
|
2497
2640
|
* @memberof BillingOrdersApi
|
|
2498
2641
|
*/
|
|
@@ -3057,7 +3200,7 @@ export declare class DNSZoneApi extends BaseAPI {
|
|
|
3057
3200
|
*/
|
|
3058
3201
|
export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3059
3202
|
/**
|
|
3060
|
-
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
|
|
3203
|
+
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
|
|
3061
3204
|
* @summary Check domain availability
|
|
3062
3205
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
3063
3206
|
* @param {*} [options] Override http request option.
|
|
@@ -3071,7 +3214,7 @@ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: C
|
|
|
3071
3214
|
*/
|
|
3072
3215
|
export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
|
|
3073
3216
|
/**
|
|
3074
|
-
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
|
|
3217
|
+
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
|
|
3075
3218
|
* @summary Check domain availability
|
|
3076
3219
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
3077
3220
|
* @param {*} [options] Override http request option.
|
|
@@ -3085,7 +3228,7 @@ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) =
|
|
|
3085
3228
|
*/
|
|
3086
3229
|
export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3087
3230
|
/**
|
|
3088
|
-
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
|
|
3231
|
+
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
|
|
3089
3232
|
* @summary Check domain availability
|
|
3090
3233
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
3091
3234
|
* @param {*} [options] Override http request option.
|
|
@@ -3101,7 +3244,7 @@ export declare const DomainsAvailabilityApiFactory: (configuration?: Configurati
|
|
|
3101
3244
|
*/
|
|
3102
3245
|
export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
3103
3246
|
/**
|
|
3104
|
-
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
|
|
3247
|
+
* This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
|
|
3105
3248
|
* @summary Check domain availability
|
|
3106
3249
|
* @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
|
|
3107
3250
|
* @param {*} [options] Override http request option.
|
|
@@ -3288,7 +3431,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
3288
3431
|
*/
|
|
3289
3432
|
getDomainV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3290
3433
|
/**
|
|
3291
|
-
* This endpoint
|
|
3434
|
+
* This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
|
|
3292
3435
|
* @summary Purchase new domain
|
|
3293
3436
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
3294
3437
|
* @param {*} [options] Override http request option.
|
|
@@ -3358,7 +3501,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
3358
3501
|
*/
|
|
3359
3502
|
getDomainV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1DomainDomainExtendedResource>>;
|
|
3360
3503
|
/**
|
|
3361
|
-
* This endpoint
|
|
3504
|
+
* This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
|
|
3362
3505
|
* @summary Purchase new domain
|
|
3363
3506
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
3364
3507
|
* @param {*} [options] Override http request option.
|
|
@@ -3428,7 +3571,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
3428
3571
|
*/
|
|
3429
3572
|
getDomainV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1DomainDomainExtendedResource>;
|
|
3430
3573
|
/**
|
|
3431
|
-
* This endpoint
|
|
3574
|
+
* This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
|
|
3432
3575
|
* @summary Purchase new domain
|
|
3433
3576
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
3434
3577
|
* @param {*} [options] Override http request option.
|
|
@@ -3506,7 +3649,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3506
3649
|
*/
|
|
3507
3650
|
getDomainV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any>>;
|
|
3508
3651
|
/**
|
|
3509
|
-
* This endpoint
|
|
3652
|
+
* This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
|
|
3510
3653
|
* @summary Purchase new domain
|
|
3511
3654
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
3512
3655
|
* @param {*} [options] Override http request option.
|
|
@@ -3549,7 +3692,7 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
3549
3692
|
/**
|
|
3550
3693
|
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
3551
3694
|
* @summary Get WHOIS profile list
|
|
3552
|
-
* @param {string} [tld] Filter by TLD (without
|
|
3695
|
+
* @param {string} [tld] Filter by TLD (without leading dot)
|
|
3553
3696
|
* @param {*} [options] Override http request option.
|
|
3554
3697
|
* @throws {RequiredError}
|
|
3555
3698
|
*/
|
|
@@ -3595,7 +3738,7 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
3595
3738
|
/**
|
|
3596
3739
|
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
3597
3740
|
* @summary Get WHOIS profile list
|
|
3598
|
-
* @param {string} [tld] Filter by TLD (without
|
|
3741
|
+
* @param {string} [tld] Filter by TLD (without leading dot)
|
|
3599
3742
|
* @param {*} [options] Override http request option.
|
|
3600
3743
|
* @throws {RequiredError}
|
|
3601
3744
|
*/
|
|
@@ -3641,7 +3784,7 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
3641
3784
|
/**
|
|
3642
3785
|
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
3643
3786
|
* @summary Get WHOIS profile list
|
|
3644
|
-
* @param {string} [tld] Filter by TLD (without
|
|
3787
|
+
* @param {string} [tld] Filter by TLD (without leading dot)
|
|
3645
3788
|
* @param {*} [options] Override http request option.
|
|
3646
3789
|
* @throws {RequiredError}
|
|
3647
3790
|
*/
|
|
@@ -3691,7 +3834,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
3691
3834
|
/**
|
|
3692
3835
|
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
3693
3836
|
* @summary Get WHOIS profile list
|
|
3694
|
-
* @param {string} [tld] Filter by TLD (without
|
|
3837
|
+
* @param {string} [tld] Filter by TLD (without leading dot)
|
|
3695
3838
|
* @param {*} [options] Override http request option.
|
|
3696
3839
|
* @throws {RequiredError}
|
|
3697
3840
|
* @memberof DomainsWHOISApi
|
|
@@ -5326,8 +5469,8 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
|
|
|
5326
5469
|
* 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
|
|
5327
5470
|
* @summary Get metrics
|
|
5328
5471
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5329
|
-
* @param {string} dateFrom
|
|
5330
|
-
* @param {string} dateTo
|
|
5472
|
+
* @param {string} dateFrom
|
|
5473
|
+
* @param {string} dateTo
|
|
5331
5474
|
* @param {*} [options] Override http request option.
|
|
5332
5475
|
* @throws {RequiredError}
|
|
5333
5476
|
*/
|
|
@@ -5347,6 +5490,14 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
|
|
|
5347
5490
|
* @throws {RequiredError}
|
|
5348
5491
|
*/
|
|
5349
5492
|
getVirtualMachineV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5493
|
+
/**
|
|
5494
|
+
* This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
|
|
5495
|
+
* @summary Purchase new virtual machine
|
|
5496
|
+
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
5497
|
+
* @param {*} [options] Override http request option.
|
|
5498
|
+
* @throws {RequiredError}
|
|
5499
|
+
*/
|
|
5500
|
+
purchaseNewVirtualMachineV1: (vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5350
5501
|
/**
|
|
5351
5502
|
* 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!**
|
|
5352
5503
|
* @summary Recreate virtual machine
|
|
@@ -5409,7 +5560,7 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
|
|
|
5409
5560
|
*/
|
|
5410
5561
|
setRootPasswordV1: (virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5411
5562
|
/**
|
|
5412
|
-
* This endpoint will setup newly purchased virtual machine
|
|
5563
|
+
* This endpoint will setup newly purchased virtual machine with `initial` state.
|
|
5413
5564
|
* @summary Setup new virtual machine
|
|
5414
5565
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5415
5566
|
* @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
|
|
@@ -5452,8 +5603,8 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
|
|
|
5452
5603
|
* 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
|
|
5453
5604
|
* @summary Get metrics
|
|
5454
5605
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5455
|
-
* @param {string} dateFrom
|
|
5456
|
-
* @param {string} dateTo
|
|
5606
|
+
* @param {string} dateFrom
|
|
5607
|
+
* @param {string} dateTo
|
|
5457
5608
|
* @param {*} [options] Override http request option.
|
|
5458
5609
|
* @throws {RequiredError}
|
|
5459
5610
|
*/
|
|
@@ -5473,6 +5624,14 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
|
|
|
5473
5624
|
* @throws {RequiredError}
|
|
5474
5625
|
*/
|
|
5475
5626
|
getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>>;
|
|
5627
|
+
/**
|
|
5628
|
+
* This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
|
|
5629
|
+
* @summary Purchase new virtual machine
|
|
5630
|
+
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
5631
|
+
* @param {*} [options] Override http request option.
|
|
5632
|
+
* @throws {RequiredError}
|
|
5633
|
+
*/
|
|
5634
|
+
purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
|
|
5476
5635
|
/**
|
|
5477
5636
|
* 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!**
|
|
5478
5637
|
* @summary Recreate virtual machine
|
|
@@ -5535,7 +5694,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
|
|
|
5535
5694
|
*/
|
|
5536
5695
|
setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
|
|
5537
5696
|
/**
|
|
5538
|
-
* This endpoint will setup newly purchased virtual machine
|
|
5697
|
+
* This endpoint will setup newly purchased virtual machine with `initial` state.
|
|
5539
5698
|
* @summary Setup new virtual machine
|
|
5540
5699
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5541
5700
|
* @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
|
|
@@ -5578,8 +5737,8 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
|
|
|
5578
5737
|
* 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
|
|
5579
5738
|
* @summary Get metrics
|
|
5580
5739
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5581
|
-
* @param {string} dateFrom
|
|
5582
|
-
* @param {string} dateTo
|
|
5740
|
+
* @param {string} dateFrom
|
|
5741
|
+
* @param {string} dateTo
|
|
5583
5742
|
* @param {*} [options] Override http request option.
|
|
5584
5743
|
* @throws {RequiredError}
|
|
5585
5744
|
*/
|
|
@@ -5599,6 +5758,14 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
|
|
|
5599
5758
|
* @throws {RequiredError}
|
|
5600
5759
|
*/
|
|
5601
5760
|
getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>;
|
|
5761
|
+
/**
|
|
5762
|
+
* This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
|
|
5763
|
+
* @summary Purchase new virtual machine
|
|
5764
|
+
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
5765
|
+
* @param {*} [options] Override http request option.
|
|
5766
|
+
* @throws {RequiredError}
|
|
5767
|
+
*/
|
|
5768
|
+
purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
|
|
5602
5769
|
/**
|
|
5603
5770
|
* 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!**
|
|
5604
5771
|
* @summary Recreate virtual machine
|
|
@@ -5661,7 +5828,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
|
|
|
5661
5828
|
*/
|
|
5662
5829
|
setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
|
|
5663
5830
|
/**
|
|
5664
|
-
* This endpoint will setup newly purchased virtual machine
|
|
5831
|
+
* This endpoint will setup newly purchased virtual machine with `initial` state.
|
|
5665
5832
|
* @summary Setup new virtual machine
|
|
5666
5833
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5667
5834
|
* @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
|
|
@@ -5707,8 +5874,8 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
5707
5874
|
* 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
|
|
5708
5875
|
* @summary Get metrics
|
|
5709
5876
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5710
|
-
* @param {string} dateFrom
|
|
5711
|
-
* @param {string} dateTo
|
|
5877
|
+
* @param {string} dateFrom
|
|
5878
|
+
* @param {string} dateTo
|
|
5712
5879
|
* @param {*} [options] Override http request option.
|
|
5713
5880
|
* @throws {RequiredError}
|
|
5714
5881
|
* @memberof VPSVirtualMachineApi
|
|
@@ -5731,6 +5898,15 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
5731
5898
|
* @memberof VPSVirtualMachineApi
|
|
5732
5899
|
*/
|
|
5733
5900
|
getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any>>;
|
|
5901
|
+
/**
|
|
5902
|
+
* This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
|
|
5903
|
+
* @summary Purchase new virtual machine
|
|
5904
|
+
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
5905
|
+
* @param {*} [options] Override http request option.
|
|
5906
|
+
* @throws {RequiredError}
|
|
5907
|
+
* @memberof VPSVirtualMachineApi
|
|
5908
|
+
*/
|
|
5909
|
+
purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
|
|
5734
5910
|
/**
|
|
5735
5911
|
* 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!**
|
|
5736
5912
|
* @summary Recreate virtual machine
|
|
@@ -5800,7 +5976,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
5800
5976
|
*/
|
|
5801
5977
|
setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5802
5978
|
/**
|
|
5803
|
-
* This endpoint will setup newly purchased virtual machine
|
|
5979
|
+
* This endpoint will setup newly purchased virtual machine with `initial` state.
|
|
5804
5980
|
* @summary Setup new virtual machine
|
|
5805
5981
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
5806
5982
|
* @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
|