hostinger-api-sdk 0.0.10 → 0.0.12

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.
Files changed (119) hide show
  1. package/README.md +2 -2
  2. package/api.ts +386 -148
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +319 -143
  7. package/dist/api.js +139 -41
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +319 -143
  15. package/dist/esm/api.js +136 -38
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/index.ts +1 -1
  27. package/package.json +1 -1
  28. package/docs/BillingCatalogApi.md +0 -54
  29. package/docs/BillingOrdersApi.md +0 -63
  30. package/docs/BillingPaymentMethodsApi.md +0 -162
  31. package/docs/BillingSubscriptionsApi.md +0 -113
  32. package/docs/BillingV1CatalogCatalogItemPriceResource.md +0 -32
  33. package/docs/BillingV1CatalogCatalogItemResource.md +0 -26
  34. package/docs/BillingV1OrderOrderBillingAddressResource.md +0 -40
  35. package/docs/BillingV1OrderOrderResource.md +0 -36
  36. package/docs/BillingV1OrderStoreRequest.md +0 -24
  37. package/docs/BillingV1OrderStoreRequestItemsInner.md +0 -22
  38. package/docs/BillingV1PaymentMethodPaymentMethodResource.md +0 -36
  39. package/docs/BillingV1SubscriptionCancelRequest.md +0 -22
  40. package/docs/BillingV1SubscriptionSubscriptionResource.md +0 -42
  41. package/docs/CommonSchemaErrorResponseSchema.md +0 -22
  42. package/docs/CommonSchemaPaginationMetaSchema.md +0 -24
  43. package/docs/CommonSchemaUnauthorizedResponseSchema.md +0 -22
  44. package/docs/CommonSchemaUnprocessableContentResponseSchema.md +0 -24
  45. package/docs/CommonSchemaUnprocessableContentResponseSchemaErrors.md +0 -22
  46. package/docs/CommonSuccessEmptyResource.md +0 -20
  47. package/docs/DNSSnapshotApi.md +0 -175
  48. package/docs/DNSV1SnapshotSnapshotResource.md +0 -24
  49. package/docs/DNSV1SnapshotSnapshotWithContentResource.md +0 -26
  50. package/docs/DNSV1ZoneDestroyRequest.md +0 -20
  51. package/docs/DNSV1ZoneDestroyRequestFiltersInner.md +0 -22
  52. package/docs/DNSV1ZoneNameRecordResource.md +0 -22
  53. package/docs/DNSV1ZoneRecordResource.md +0 -26
  54. package/docs/DNSV1ZoneResetRequest.md +0 -24
  55. package/docs/DNSV1ZoneUpdateRequest.md +0 -22
  56. package/docs/DNSV1ZoneUpdateRequestZoneInner.md +0 -26
  57. package/docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md +0 -20
  58. package/docs/DNSZoneApi.md +0 -297
  59. package/docs/DomainsAvailabilityApi.md +0 -63
  60. package/docs/DomainsForwardingApi.md +0 -171
  61. package/docs/DomainsPortfolioApi.md +0 -439
  62. package/docs/DomainsV1AvailabilityAvailabilityRequest.md +0 -24
  63. package/docs/DomainsV1AvailabilityAvailabilityResource.md +0 -26
  64. package/docs/DomainsV1DomainDomainExtendedResource.md +0 -48
  65. package/docs/DomainsV1DomainDomainExtendedResourceDomainContacts.md +0 -27
  66. package/docs/DomainsV1DomainDomainExtendedResourceNameServers.md +0 -23
  67. package/docs/DomainsV1DomainDomainResource.md +0 -30
  68. package/docs/DomainsV1ForwardingForwardingResource.md +0 -28
  69. package/docs/DomainsV1ForwardingStoreRequest.md +0 -24
  70. package/docs/DomainsV1PortfolioPurchaseRequest.md +0 -30
  71. package/docs/DomainsV1PortfolioPurchaseRequestDomainContacts.md +0 -27
  72. package/docs/DomainsV1PortfolioUpdateNameserversRequest.md +0 -26
  73. package/docs/DomainsV1WHOISProfileResource.md +0 -34
  74. package/docs/DomainsV1WHOISStoreRequest.md +0 -28
  75. package/docs/DomainsWHOISApi.md +0 -279
  76. package/docs/VPSActionsApi.md +0 -121
  77. package/docs/VPSBackupsApi.md +0 -178
  78. package/docs/VPSDataCentersApi.md +0 -54
  79. package/docs/VPSFirewallApi.md +0 -577
  80. package/docs/VPSGetActionListV1200Response.md +0 -22
  81. package/docs/VPSGetBackupListV1200Response.md +0 -22
  82. package/docs/VPSGetFirewallListV1200Response.md +0 -22
  83. package/docs/VPSGetPostInstallScriptListV1200Response.md +0 -22
  84. package/docs/VPSGetPublicKeyListV1200Response.md +0 -22
  85. package/docs/VPSMalwareScannerApi.md +0 -172
  86. package/docs/VPSOSTemplatesApi.md +0 -108
  87. package/docs/VPSPTRRecordsApi.md +0 -115
  88. package/docs/VPSPostInstallScriptsApi.md +0 -284
  89. package/docs/VPSPublicKeysApi.md +0 -230
  90. package/docs/VPSRecoveryApi.md +0 -120
  91. package/docs/VPSSnapshotsApi.md +0 -223
  92. package/docs/VPSV1ActionActionResource.md +0 -28
  93. package/docs/VPSV1BackupBackupResource.md +0 -24
  94. package/docs/VPSV1DataCenterDataCenterResource.md +0 -28
  95. package/docs/VPSV1FirewallFirewallResource.md +0 -30
  96. package/docs/VPSV1FirewallFirewallRuleResource.md +0 -30
  97. package/docs/VPSV1FirewallRulesStoreRequest.md +0 -26
  98. package/docs/VPSV1FirewallStoreRequest.md +0 -20
  99. package/docs/VPSV1IPAddressIPAddressResource.md +0 -24
  100. package/docs/VPSV1MalwareMetricsResource.md +0 -30
  101. package/docs/VPSV1MetricsMetricsCollection.md +0 -30
  102. package/docs/VPSV1MetricsMetricsResource.md +0 -22
  103. package/docs/VPSV1PostInstallScriptPostInstallScriptResource.md +0 -28
  104. package/docs/VPSV1PostInstallScriptStoreRequest.md +0 -22
  105. package/docs/VPSV1PublicKeyAttachRequest.md +0 -20
  106. package/docs/VPSV1PublicKeyPublicKeyResource.md +0 -24
  107. package/docs/VPSV1PublicKeyStoreRequest.md +0 -22
  108. package/docs/VPSV1SnapshotSnapshotResource.md +0 -24
  109. package/docs/VPSV1TemplateTemplateResource.md +0 -26
  110. package/docs/VPSV1VirtualMachineHostnameUpdateRequest.md +0 -20
  111. package/docs/VPSV1VirtualMachineNameserversUpdateRequest.md +0 -22
  112. package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +0 -20
  113. package/docs/VPSV1VirtualMachineRecoveryStartRequest.md +0 -20
  114. package/docs/VPSV1VirtualMachineRecreateRequest.md +0 -24
  115. package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +0 -20
  116. package/docs/VPSV1VirtualMachineSetupRequest.md +0 -38
  117. package/docs/VPSV1VirtualMachineSetupRequestPublicKey.md +0 -22
  118. package/docs/VPSV1VirtualMachineVirtualMachineResource.md +0 -52
  119. package/docs/VPSVirtualMachineApi.md +0 -796
@@ -1,30 +0,0 @@
1
- # VPSV1FirewallFirewallRuleResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | Firewall rule ID | [optional] [default to undefined]
9
- **action** | **string** | Firewall rule action | [optional] [default to undefined]
10
- **protocol** | **string** | Firewall rule protocol | [optional] [default to undefined]
11
- **port** | **string** | Firewall rule destination port: single or port range | [optional] [default to undefined]
12
- **source** | **string** | Firewall rule source. Can be `any` or `custom` | [optional] [default to undefined]
13
- **source_detail** | **string** | Firewall rule source detail. Can be `any` or IP address, CIDR or range | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { VPSV1FirewallFirewallRuleResource } from 'hostinger-api-sdk';
19
-
20
- const instance: VPSV1FirewallFirewallRuleResource = {
21
- id,
22
- action,
23
- protocol,
24
- port,
25
- source,
26
- source_detail,
27
- };
28
- ```
29
-
30
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # VPSV1FirewallRulesStoreRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **protocol** | **string** | | [default to undefined]
9
- **port** | **string** | Port or port range, ex: 1024:2048 | [default to undefined]
10
- **source** | **string** | | [default to undefined]
11
- **source_detail** | **string** | IP range, CIDR, single IP or `any` | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { VPSV1FirewallRulesStoreRequest } from 'hostinger-api-sdk';
17
-
18
- const instance: VPSV1FirewallRulesStoreRequest = {
19
- protocol,
20
- port,
21
- source,
22
- source_detail,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # VPSV1FirewallStoreRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { VPSV1FirewallStoreRequest } from 'hostinger-api-sdk';
14
-
15
- const instance: VPSV1FirewallStoreRequest = {
16
- name,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # VPSV1IPAddressIPAddressResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | IP address ID | [optional] [default to undefined]
9
- **address** | **string** | IP address: IPv4 or IPv6 | [optional] [default to undefined]
10
- **ptr** | **string** | IP address PTR record | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { VPSV1IPAddressIPAddressResource } from 'hostinger-api-sdk';
16
-
17
- const instance: VPSV1IPAddressIPAddressResource = {
18
- id,
19
- address,
20
- ptr,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,30 +0,0 @@
1
- # VPSV1MalwareMetricsResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **records** | **number** | Records found during last scan | [optional] [default to undefined]
9
- **malicious** | **number** | Malicious files found during last scan | [optional] [default to undefined]
10
- **compromised** | **number** | Compromised files found during last scan | [optional] [default to undefined]
11
- **scanned_files** | **number** | Total number of files scanned during last scan | [optional] [default to undefined]
12
- **scan_started_at** | **string** | | [optional] [default to undefined]
13
- **scan_ended_at** | **string** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { VPSV1MalwareMetricsResource } from 'hostinger-api-sdk';
19
-
20
- const instance: VPSV1MalwareMetricsResource = {
21
- records,
22
- malicious,
23
- compromised,
24
- scanned_files,
25
- scan_started_at,
26
- scan_ended_at,
27
- };
28
- ```
29
-
30
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,30 +0,0 @@
1
- # VPSV1MetricsMetricsCollection
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **cpu_usage** | [**VPSV1MetricsMetricsResource**](VPSV1MetricsMetricsResource.md) | | [optional] [default to undefined]
9
- **ram_usage** | [**VPSV1MetricsMetricsResource**](VPSV1MetricsMetricsResource.md) | | [optional] [default to undefined]
10
- **disk_space** | [**VPSV1MetricsMetricsResource**](VPSV1MetricsMetricsResource.md) | | [optional] [default to undefined]
11
- **outgoing_traffic** | [**VPSV1MetricsMetricsResource**](VPSV1MetricsMetricsResource.md) | | [optional] [default to undefined]
12
- **incoming_traffic** | [**VPSV1MetricsMetricsResource**](VPSV1MetricsMetricsResource.md) | | [optional] [default to undefined]
13
- **uptime** | [**VPSV1MetricsMetricsResource**](VPSV1MetricsMetricsResource.md) | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { VPSV1MetricsMetricsCollection } from 'hostinger-api-sdk';
19
-
20
- const instance: VPSV1MetricsMetricsCollection = {
21
- cpu_usage,
22
- ram_usage,
23
- disk_space,
24
- outgoing_traffic,
25
- incoming_traffic,
26
- uptime,
27
- };
28
- ```
29
-
30
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # VPSV1MetricsMetricsResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **unit** | **string** | Measurement unit | [optional] [default to undefined]
9
- **usage** | **object** | Object, containing UNIX timestamps as a key and measurement as a value. | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { VPSV1MetricsMetricsResource } from 'hostinger-api-sdk';
15
-
16
- const instance: VPSV1MetricsMetricsResource = {
17
- unit,
18
- usage,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,28 +0,0 @@
1
- # VPSV1PostInstallScriptPostInstallScriptResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | Post-install script ID | [optional] [default to undefined]
9
- **name** | **string** | Name of the script | [optional] [default to undefined]
10
- **content** | **string** | Content of the script | [optional] [default to undefined]
11
- **created_at** | **string** | | [optional] [default to undefined]
12
- **updated_at** | **string** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { VPSV1PostInstallScriptPostInstallScriptResource } from 'hostinger-api-sdk';
18
-
19
- const instance: VPSV1PostInstallScriptPostInstallScriptResource = {
20
- id,
21
- name,
22
- content,
23
- created_at,
24
- updated_at,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # VPSV1PostInstallScriptStoreRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Name of the script | [default to undefined]
9
- **content** | **string** | Content of the script | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { VPSV1PostInstallScriptStoreRequest } from 'hostinger-api-sdk';
15
-
16
- const instance: VPSV1PostInstallScriptStoreRequest = {
17
- name,
18
- content,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # VPSV1PublicKeyAttachRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **ids** | **Array<number>** | Public Key IDs to attach | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { VPSV1PublicKeyAttachRequest } from 'hostinger-api-sdk';
14
-
15
- const instance: VPSV1PublicKeyAttachRequest = {
16
- ids,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # VPSV1PublicKeyPublicKeyResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | Public key ID | [optional] [default to undefined]
9
- **name** | **string** | Public key name | [optional] [default to undefined]
10
- **key** | **string** | Public key content | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { VPSV1PublicKeyPublicKeyResource } from 'hostinger-api-sdk';
16
-
17
- const instance: VPSV1PublicKeyPublicKeyResource = {
18
- id,
19
- name,
20
- key,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # VPSV1PublicKeyStoreRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [default to undefined]
9
- **key** | **string** | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { VPSV1PublicKeyStoreRequest } from 'hostinger-api-sdk';
15
-
16
- const instance: VPSV1PublicKeyStoreRequest = {
17
- name,
18
- key,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # VPSV1SnapshotSnapshotResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | Snapshot ID | [optional] [default to undefined]
9
- **created_at** | **string** | | [optional] [default to undefined]
10
- **expires_at** | **string** | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { VPSV1SnapshotSnapshotResource } from 'hostinger-api-sdk';
16
-
17
- const instance: VPSV1SnapshotSnapshotResource = {
18
- id,
19
- created_at,
20
- expires_at,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # VPSV1TemplateTemplateResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | Template ID | [optional] [default to undefined]
9
- **name** | **string** | Template name | [optional] [default to undefined]
10
- **description** | **string** | Template description | [optional] [default to undefined]
11
- **documentation** | **string** | Link to official OS documentation | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { VPSV1TemplateTemplateResource } from 'hostinger-api-sdk';
17
-
18
- const instance: VPSV1TemplateTemplateResource = {
19
- id,
20
- name,
21
- description,
22
- documentation,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # VPSV1VirtualMachineHostnameUpdateRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **hostname** | **string** | | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { VPSV1VirtualMachineHostnameUpdateRequest } from 'hostinger-api-sdk';
14
-
15
- const instance: VPSV1VirtualMachineHostnameUpdateRequest = {
16
- hostname,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # VPSV1VirtualMachineNameserversUpdateRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **ns1** | **string** | | [default to undefined]
9
- **ns2** | **string** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { VPSV1VirtualMachineNameserversUpdateRequest } from 'hostinger-api-sdk';
15
-
16
- const instance: VPSV1VirtualMachineNameserversUpdateRequest = {
17
- ns1,
18
- ns2,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # VPSV1VirtualMachinePanelPasswordUpdateRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **password** | **string** | Panel password for the virtual machine | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { VPSV1VirtualMachinePanelPasswordUpdateRequest } from 'hostinger-api-sdk';
14
-
15
- const instance: VPSV1VirtualMachinePanelPasswordUpdateRequest = {
16
- password,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # VPSV1VirtualMachineRecoveryStartRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **root_password** | **string** | Temporary root password for recovery mode | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { VPSV1VirtualMachineRecoveryStartRequest } from 'hostinger-api-sdk';
14
-
15
- const instance: VPSV1VirtualMachineRecoveryStartRequest = {
16
- root_password,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # VPSV1VirtualMachineRecreateRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **template_id** | **number** | Template ID | [default to undefined]
9
- **password** | **string** | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | [optional] [default to undefined]
10
- **post_install_script_id** | **number** | Post-install script ID | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { VPSV1VirtualMachineRecreateRequest } from 'hostinger-api-sdk';
16
-
17
- const instance: VPSV1VirtualMachineRecreateRequest = {
18
- template_id,
19
- password,
20
- post_install_script_id,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # VPSV1VirtualMachineRootPasswordUpdateRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **password** | **string** | Root password for the virtual machine | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { VPSV1VirtualMachineRootPasswordUpdateRequest } from 'hostinger-api-sdk';
14
-
15
- const instance: VPSV1VirtualMachineRootPasswordUpdateRequest = {
16
- password,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,38 +0,0 @@
1
- # VPSV1VirtualMachineSetupRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **template_id** | **number** | Template ID | [default to undefined]
9
- **data_center_id** | **number** | Data center ID | [default to undefined]
10
- **post_install_script_id** | **number** | Post-install script ID | [optional] [default to undefined]
11
- **password** | **string** | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | [optional] [default to undefined]
12
- **hostname** | **string** | Override default hostname of the virtual machine | [optional] [default to undefined]
13
- **install_monarx** | **boolean** | Install Monarx malware scanner (if supported) | [optional] [default to false]
14
- **enable_backups** | **boolean** | Enable weekly backup schedule | [optional] [default to true]
15
- **ns1** | **string** | | [optional] [default to undefined]
16
- **ns2** | **string** | | [optional] [default to undefined]
17
- **public_key** | [**VPSV1VirtualMachineSetupRequestPublicKey**](VPSV1VirtualMachineSetupRequestPublicKey.md) | | [optional] [default to undefined]
18
-
19
- ## Example
20
-
21
- ```typescript
22
- import { VPSV1VirtualMachineSetupRequest } from 'hostinger-api-sdk';
23
-
24
- const instance: VPSV1VirtualMachineSetupRequest = {
25
- template_id,
26
- data_center_id,
27
- post_install_script_id,
28
- password,
29
- hostname,
30
- install_monarx,
31
- enable_backups,
32
- ns1,
33
- ns2,
34
- public_key,
35
- };
36
- ```
37
-
38
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # VPSV1VirtualMachineSetupRequestPublicKey
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Name of the SSH key | [optional] [default to undefined]
9
- **key** | **string** | SSH public key | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { VPSV1VirtualMachineSetupRequestPublicKey } from 'hostinger-api-sdk';
15
-
16
- const instance: VPSV1VirtualMachineSetupRequestPublicKey = {
17
- name,
18
- key,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,52 +0,0 @@
1
- # VPSV1VirtualMachineVirtualMachineResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | Virtual machine ID | [optional] [default to undefined]
9
- **firewall_group_id** | **number** | Active firewall ID, `null` if disabled | [optional] [default to undefined]
10
- **subscription_id** | **string** | Subscription ID | [optional] [default to undefined]
11
- **plan** | **string** | VPS plan name | [optional] [default to undefined]
12
- **hostname** | **string** | | [optional] [default to undefined]
13
- **state** | **string** | | [optional] [default to undefined]
14
- **actions_lock** | **string** | | [optional] [default to undefined]
15
- **cpus** | **number** | CPUs count assigned to virtual machine | [optional] [default to undefined]
16
- **memory** | **number** | Memory available to virtual machine (in megabytes) | [optional] [default to undefined]
17
- **disk** | **number** | Virtual machine disk size (in megabytes) | [optional] [default to undefined]
18
- **bandwidth** | **number** | Monthly internet traffic available to virtual machine (in megabytes) | [optional] [default to undefined]
19
- **ns1** | **string** | Primary DNS resolver | [optional] [default to undefined]
20
- **ns2** | **string** | Secondary DNS resolver | [optional] [default to undefined]
21
- **ipv4** | [**Array<VPSV1IPAddressIPAddressResource>**](VPSV1IPAddressIPAddressResource.md) | Array of [`VPS.V1.IPAddress.IPAddressResource`](#model/vpsv1ipaddressipaddressresource) | [optional] [default to undefined]
22
- **ipv6** | [**Array<VPSV1IPAddressIPAddressResource>**](VPSV1IPAddressIPAddressResource.md) | Array of [`VPS.V1.IPAddress.IPAddressResource`](#model/vpsv1ipaddressipaddressresource) | [optional] [default to undefined]
23
- **template** | [**VPSV1TemplateTemplateResource**](VPSV1TemplateTemplateResource.md) | | [optional] [default to undefined]
24
- **created_at** | **string** | | [optional] [default to undefined]
25
-
26
- ## Example
27
-
28
- ```typescript
29
- import { VPSV1VirtualMachineVirtualMachineResource } from 'hostinger-api-sdk';
30
-
31
- const instance: VPSV1VirtualMachineVirtualMachineResource = {
32
- id,
33
- firewall_group_id,
34
- subscription_id,
35
- plan,
36
- hostname,
37
- state,
38
- actions_lock,
39
- cpus,
40
- memory,
41
- disk,
42
- bandwidth,
43
- ns1,
44
- ns2,
45
- ipv4,
46
- ipv6,
47
- template,
48
- created_at,
49
- };
50
- ```
51
-
52
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)