hostinger-api-sdk 2.14.2 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.14.2
4
+ * API Version: 2.16.0
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
package/dist/esm/base.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.14.2
6
+ * API Version: 2.16.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.14.2
4
+ * API Version: 2.16.0
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
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.14.2
6
+ * API Version: 2.16.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.14.2
4
+ * API Version: 2.16.0
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
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.14.2
6
+ * API Version: 2.16.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -13,7 +13,7 @@ export class Configuration {
13
13
  var _a;
14
14
  this.accessToken = param.accessToken;
15
15
  this.basePath = param.basePath;
16
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.14.2" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.16.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.14.2
4
+ * API Version: 2.16.0
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
package/dist/esm/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.14.2
6
+ * API Version: 2.16.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.14.2
4
+ * API Version: 2.16.0
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
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.14.2
7
+ * API Version: 2.16.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -0,0 +1,177 @@
1
+ # GPUExposedServicesApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createExposedServiceV1**](#createexposedservicev1) | **POST** /api/gpu/v1/instances/{instanceId}/exposed-services | Create exposed service|
8
+ |[**deleteExposedServiceV1**](#deleteexposedservicev1) | **DELETE** /api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId} | Delete exposed service|
9
+ |[**getExposedServicesV1**](#getexposedservicesv1) | **GET** /api/gpu/v1/instances/{instanceId}/exposed-services | Get exposed services|
10
+
11
+ # **createExposedServiceV1**
12
+ > CommonSuccessEmptyResource createExposedServiceV1(gPUV1ExposedServiceStoreRequest)
13
+
14
+ Expose a service running on a specified GPU instance to the internet. The service is exposed asynchronously: a successful request returns immediately, and the service appears in the exposed services list once it gets its public hostname and external port. Fails when the instance already has the maximum of 4 exposed services. Use this endpoint to make an application on your GPU instance publicly reachable.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ GPUExposedServicesApi,
21
+ Configuration,
22
+ GPUV1ExposedServiceStoreRequest
23
+ } from '@hostinger/sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new GPUExposedServicesApi(configuration);
27
+
28
+ let instanceId: number; //GPU instance ID (default to undefined)
29
+ let gPUV1ExposedServiceStoreRequest: GPUV1ExposedServiceStoreRequest; //
30
+
31
+ const { status, data } = await apiInstance.createExposedServiceV1(
32
+ instanceId,
33
+ gPUV1ExposedServiceStoreRequest
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **gPUV1ExposedServiceStoreRequest** | **GPUV1ExposedServiceStoreRequest**| | |
42
+ | **instanceId** | [**number**] | GPU instance ID | defaults to undefined|
43
+
44
+
45
+ ### Return type
46
+
47
+ **CommonSuccessEmptyResource**
48
+
49
+ ### Authorization
50
+
51
+ [apiToken](../README.md#apiToken)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: application/json
56
+ - **Accept**: application/json
57
+
58
+
59
+ ### HTTP response details
60
+ | Status code | Description | Response headers |
61
+ |-------------|-------------|------------------|
62
+ |**200** | Success empty response | - |
63
+ |**422** | Validation error response | - |
64
+ |**401** | Unauthenticated response | - |
65
+ |**500** | Error response | - |
66
+
67
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
68
+
69
+ # **deleteExposedServiceV1**
70
+ > CommonSuccessEmptyResource deleteExposedServiceV1()
71
+
72
+ Delete a specified exposed service of a GPU instance. The service is removed asynchronously: a successful request returns immediately and the service stops being reachable from the internet shortly after. Use this endpoint to close public access to a service on your GPU instance.
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ GPUExposedServicesApi,
79
+ Configuration
80
+ } from '@hostinger/sdk';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new GPUExposedServicesApi(configuration);
84
+
85
+ let instanceId: number; //GPU instance ID (default to undefined)
86
+ let exposedServiceId: number; //Exposed service ID (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.deleteExposedServiceV1(
89
+ instanceId,
90
+ exposedServiceId
91
+ );
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ |Name | Type | Description | Notes|
97
+ |------------- | ------------- | ------------- | -------------|
98
+ | **instanceId** | [**number**] | GPU instance ID | defaults to undefined|
99
+ | **exposedServiceId** | [**number**] | Exposed service ID | defaults to undefined|
100
+
101
+
102
+ ### Return type
103
+
104
+ **CommonSuccessEmptyResource**
105
+
106
+ ### Authorization
107
+
108
+ [apiToken](../README.md#apiToken)
109
+
110
+ ### HTTP request headers
111
+
112
+ - **Content-Type**: Not defined
113
+ - **Accept**: application/json
114
+
115
+
116
+ ### HTTP response details
117
+ | Status code | Description | Response headers |
118
+ |-------------|-------------|------------------|
119
+ |**200** | Success empty response | - |
120
+ |**401** | Unauthenticated response | - |
121
+ |**500** | Error response | - |
122
+
123
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
124
+
125
+ # **getExposedServicesV1**
126
+ > Array<GPUV1ExposedServiceExposedServiceResource> getExposedServicesV1()
127
+
128
+ Retrieve the services exposed on a specified GPU instance. A newly created service is listed once it gets its public hostname and external port. Use this endpoint to find the public address of services running on your GPU instance.
129
+
130
+ ### Example
131
+
132
+ ```typescript
133
+ import {
134
+ GPUExposedServicesApi,
135
+ Configuration
136
+ } from '@hostinger/sdk';
137
+
138
+ const configuration = new Configuration();
139
+ const apiInstance = new GPUExposedServicesApi(configuration);
140
+
141
+ let instanceId: number; //GPU instance ID (default to undefined)
142
+
143
+ const { status, data } = await apiInstance.getExposedServicesV1(
144
+ instanceId
145
+ );
146
+ ```
147
+
148
+ ### Parameters
149
+
150
+ |Name | Type | Description | Notes|
151
+ |------------- | ------------- | ------------- | -------------|
152
+ | **instanceId** | [**number**] | GPU instance ID | defaults to undefined|
153
+
154
+
155
+ ### Return type
156
+
157
+ **Array<GPUV1ExposedServiceExposedServiceResource>**
158
+
159
+ ### Authorization
160
+
161
+ [apiToken](../README.md#apiToken)
162
+
163
+ ### HTTP request headers
164
+
165
+ - **Content-Type**: Not defined
166
+ - **Accept**: application/json
167
+
168
+
169
+ ### HTTP response details
170
+ | Status code | Description | Response headers |
171
+ |-------------|-------------|------------------|
172
+ |**200** | Success response | - |
173
+ |**401** | Unauthenticated response | - |
174
+ |**500** | Error response | - |
175
+
176
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
177
+
@@ -0,0 +1,272 @@
1
+ # GPUInstancesApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createInstanceV1**](#createinstancev1) | **POST** /api/gpu/v1/instances | Create instance|
8
+ |[**deleteInstanceV1**](#deleteinstancev1) | **DELETE** /api/gpu/v1/instances/{instanceId} | Delete instance|
9
+ |[**getInstanceDetailsV1**](#getinstancedetailsv1) | **GET** /api/gpu/v1/instances/{instanceId} | Get instance details|
10
+ |[**getInstanceMetricsV1**](#getinstancemetricsv1) | **GET** /api/gpu/v1/instances/{instanceId}/metrics | Get instance metrics|
11
+ |[**getInstancesV1**](#getinstancesv1) | **GET** /api/gpu/v1/instances | Get instances|
12
+
13
+ # **createInstanceV1**
14
+ > CommonSuccessEmptyResource createInstanceV1(gPUV1InstanceStoreRequest)
15
+
16
+ Create a new GPU instance. Pick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates available for that instance type. Your account must have enough credits to run the instance for its first hour. The instance is created asynchronously: a successful request returns immediately, and the instance appears in the instance list while its `status` moves from `created` through `creating` to `running`. Use this endpoint to provision GPU compute.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ GPUInstancesApi,
23
+ Configuration,
24
+ GPUV1InstanceStoreRequest
25
+ } from '@hostinger/sdk';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new GPUInstancesApi(configuration);
29
+
30
+ let gPUV1InstanceStoreRequest: GPUV1InstanceStoreRequest; //
31
+
32
+ const { status, data } = await apiInstance.createInstanceV1(
33
+ gPUV1InstanceStoreRequest
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **gPUV1InstanceStoreRequest** | **GPUV1InstanceStoreRequest**| | |
42
+
43
+
44
+ ### Return type
45
+
46
+ **CommonSuccessEmptyResource**
47
+
48
+ ### Authorization
49
+
50
+ [apiToken](../README.md#apiToken)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: application/json
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | Success empty response | - |
62
+ |**422** | Validation error response | - |
63
+ |**401** | Unauthenticated response | - |
64
+ |**500** | Error response | - |
65
+
66
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
67
+
68
+ # **deleteInstanceV1**
69
+ > CommonSuccessEmptyResource deleteInstanceV1()
70
+
71
+ Delete a specified GPU instance. The instance is destroyed asynchronously: a successful request returns immediately and the instance `status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`, `destroyed` or `abuse` status, or while another action is in progress on it. Use this endpoint to stop billing for a GPU instance you no longer need.
72
+
73
+ ### Example
74
+
75
+ ```typescript
76
+ import {
77
+ GPUInstancesApi,
78
+ Configuration
79
+ } from '@hostinger/sdk';
80
+
81
+ const configuration = new Configuration();
82
+ const apiInstance = new GPUInstancesApi(configuration);
83
+
84
+ let instanceId: number; //GPU instance ID (default to undefined)
85
+
86
+ const { status, data } = await apiInstance.deleteInstanceV1(
87
+ instanceId
88
+ );
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ |Name | Type | Description | Notes|
94
+ |------------- | ------------- | ------------- | -------------|
95
+ | **instanceId** | [**number**] | GPU instance ID | defaults to undefined|
96
+
97
+
98
+ ### Return type
99
+
100
+ **CommonSuccessEmptyResource**
101
+
102
+ ### Authorization
103
+
104
+ [apiToken](../README.md#apiToken)
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
110
+
111
+
112
+ ### HTTP response details
113
+ | Status code | Description | Response headers |
114
+ |-------------|-------------|------------------|
115
+ |**200** | Success empty response | - |
116
+ |**401** | Unauthenticated response | - |
117
+ |**500** | Error response | - |
118
+
119
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
120
+
121
+ # **getInstanceDetailsV1**
122
+ > GPUV1InstanceInstanceResource getInstanceDetailsV1()
123
+
124
+ Retrieve detailed information about a specified GPU instance, including its SSH keys. Use this endpoint to follow the instance `status` after creating or deleting it.
125
+
126
+ ### Example
127
+
128
+ ```typescript
129
+ import {
130
+ GPUInstancesApi,
131
+ Configuration
132
+ } from '@hostinger/sdk';
133
+
134
+ const configuration = new Configuration();
135
+ const apiInstance = new GPUInstancesApi(configuration);
136
+
137
+ let instanceId: number; //GPU instance ID (default to undefined)
138
+
139
+ const { status, data } = await apiInstance.getInstanceDetailsV1(
140
+ instanceId
141
+ );
142
+ ```
143
+
144
+ ### Parameters
145
+
146
+ |Name | Type | Description | Notes|
147
+ |------------- | ------------- | ------------- | -------------|
148
+ | **instanceId** | [**number**] | GPU instance ID | defaults to undefined|
149
+
150
+
151
+ ### Return type
152
+
153
+ **GPUV1InstanceInstanceResource**
154
+
155
+ ### Authorization
156
+
157
+ [apiToken](../README.md#apiToken)
158
+
159
+ ### HTTP request headers
160
+
161
+ - **Content-Type**: Not defined
162
+ - **Accept**: application/json
163
+
164
+
165
+ ### HTTP response details
166
+ | Status code | Description | Response headers |
167
+ |-------------|-------------|------------------|
168
+ |**200** | Success response | - |
169
+ |**401** | Unauthenticated response | - |
170
+ |**500** | Error response | - |
171
+
172
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
173
+
174
+ # **getInstanceMetricsV1**
175
+ > Array<GPUV1MetricsMetricsResource> getInstanceMetricsV1()
176
+
177
+ Retrieve utilisation metrics of a specified GPU instance for the last hour. Each data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput. The list is empty until the instance is provisioned. Use this endpoint to monitor GPU instance load.
178
+
179
+ ### Example
180
+
181
+ ```typescript
182
+ import {
183
+ GPUInstancesApi,
184
+ Configuration
185
+ } from '@hostinger/sdk';
186
+
187
+ const configuration = new Configuration();
188
+ const apiInstance = new GPUInstancesApi(configuration);
189
+
190
+ let instanceId: number; //GPU instance ID (default to undefined)
191
+
192
+ const { status, data } = await apiInstance.getInstanceMetricsV1(
193
+ instanceId
194
+ );
195
+ ```
196
+
197
+ ### Parameters
198
+
199
+ |Name | Type | Description | Notes|
200
+ |------------- | ------------- | ------------- | -------------|
201
+ | **instanceId** | [**number**] | GPU instance ID | defaults to undefined|
202
+
203
+
204
+ ### Return type
205
+
206
+ **Array<GPUV1MetricsMetricsResource>**
207
+
208
+ ### Authorization
209
+
210
+ [apiToken](../README.md#apiToken)
211
+
212
+ ### HTTP request headers
213
+
214
+ - **Content-Type**: Not defined
215
+ - **Accept**: application/json
216
+
217
+
218
+ ### HTTP response details
219
+ | Status code | Description | Response headers |
220
+ |-------------|-------------|------------------|
221
+ |**200** | Success response | - |
222
+ |**401** | Unauthenticated response | - |
223
+ |**500** | Error response | - |
224
+
225
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
226
+
227
+ # **getInstancesV1**
228
+ > Array<GPUV1InstanceInstanceListResource> getInstancesV1()
229
+
230
+ Retrieve all GPU instances of your account. Use this endpoint to view your GPU instances with their status, pool, instance type and OS template.
231
+
232
+ ### Example
233
+
234
+ ```typescript
235
+ import {
236
+ GPUInstancesApi,
237
+ Configuration
238
+ } from '@hostinger/sdk';
239
+
240
+ const configuration = new Configuration();
241
+ const apiInstance = new GPUInstancesApi(configuration);
242
+
243
+ const { status, data } = await apiInstance.getInstancesV1();
244
+ ```
245
+
246
+ ### Parameters
247
+ This endpoint does not have any parameters.
248
+
249
+
250
+ ### Return type
251
+
252
+ **Array<GPUV1InstanceInstanceListResource>**
253
+
254
+ ### Authorization
255
+
256
+ [apiToken](../README.md#apiToken)
257
+
258
+ ### HTTP request headers
259
+
260
+ - **Content-Type**: Not defined
261
+ - **Accept**: application/json
262
+
263
+
264
+ ### HTTP response details
265
+ | Status code | Description | Response headers |
266
+ |-------------|-------------|------------------|
267
+ |**200** | Success response | - |
268
+ |**401** | Unauthenticated response | - |
269
+ |**500** | Error response | - |
270
+
271
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
272
+
@@ -0,0 +1,32 @@
1
+ # GPUV1ExposedServiceExposedServiceResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | Exposed service ID | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **hostname** | **string** | Public hostname or IP address of the service | [optional] [default to undefined]
11
+ **internal_port** | **number** | Port the service listens on inside the instance | [optional] [default to undefined]
12
+ **external_port** | **number** | Public port the service is reachable on | [optional] [default to undefined]
13
+ **protocol** | **string** | | [optional] [default to undefined]
14
+ **type** | **string** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { GPUV1ExposedServiceExposedServiceResource } from '@hostinger/sdk';
20
+
21
+ const instance: GPUV1ExposedServiceExposedServiceResource = {
22
+ id,
23
+ name,
24
+ hostname,
25
+ internal_port,
26
+ external_port,
27
+ protocol,
28
+ type,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # GPUV1ExposedServiceStoreRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Service name, unique within the instance | [default to undefined]
9
+ **internal_port** | **number** | Port the service listens on inside the instance, unique within the instance | [default to undefined]
10
+ **protocol** | **string** | | [default to undefined]
11
+ **type** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GPUV1ExposedServiceStoreRequest } from '@hostinger/sdk';
17
+
18
+ const instance: GPUV1ExposedServiceStoreRequest = {
19
+ name,
20
+ internal_port,
21
+ protocol,
22
+ type,
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)
@@ -0,0 +1,32 @@
1
+ # GPUV1InstanceInstanceListResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | GPU instance ID | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
+ **action_lock** | **string** | Whether an action is in progress on the instance | [optional] [default to undefined]
12
+ **pool** | [**GPUV1PoolPoolResource**](GPUV1PoolPoolResource.md) | | [optional] [default to undefined]
13
+ **pool_instance** | [**GPUV1PoolPoolInstanceResource**](GPUV1PoolPoolInstanceResource.md) | | [optional] [default to undefined]
14
+ **os_template** | [**GPUV1OsTemplateOsTemplateResource**](GPUV1OsTemplateOsTemplateResource.md) | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { GPUV1InstanceInstanceListResource } from '@hostinger/sdk';
20
+
21
+ const instance: GPUV1InstanceInstanceListResource = {
22
+ id,
23
+ name,
24
+ status,
25
+ action_lock,
26
+ pool,
27
+ pool_instance,
28
+ os_template,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+ # GPUV1InstanceInstanceResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | GPU instance ID | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
+ **action_lock** | **string** | Whether an action is in progress on the instance | [optional] [default to undefined]
12
+ **pool** | [**GPUV1PoolPoolResource**](GPUV1PoolPoolResource.md) | | [optional] [default to undefined]
13
+ **pool_instance** | [**GPUV1PoolPoolInstanceResource**](GPUV1PoolPoolInstanceResource.md) | | [optional] [default to undefined]
14
+ **os_template** | [**GPUV1OsTemplateOsTemplateResource**](GPUV1OsTemplateOsTemplateResource.md) | | [optional] [default to undefined]
15
+ **ssh_keys** | [**Array&lt;GPUV1SshKeySshKeyResource&gt;**](GPUV1SshKeySshKeyResource.md) | Array of [&#x60;GPU.V1.SshKey.SshKeyResource&#x60;](#model/gpuv1sshkeysshkeyresource) | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { GPUV1InstanceInstanceResource } from '@hostinger/sdk';
21
+
22
+ const instance: GPUV1InstanceInstanceResource = {
23
+ id,
24
+ name,
25
+ status,
26
+ action_lock,
27
+ pool,
28
+ pool_instance,
29
+ os_template,
30
+ ssh_keys,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)