@nilovonjs/hcloud-js 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -0
- package/package.json +70 -0
- package/src/apis/actions/index.ts +113 -0
- package/src/apis/actions/schemas.ts +59 -0
- package/src/apis/actions/types.ts +77 -0
- package/src/apis/certificates/index.ts +326 -0
- package/src/apis/certificates/schemas.ts +140 -0
- package/src/apis/certificates/types.ts +176 -0
- package/src/apis/common/schemas.ts +19 -0
- package/src/apis/dns/index.ts +961 -0
- package/src/apis/dns/schemas.ts +437 -0
- package/src/apis/dns/types.ts +397 -0
- package/src/apis/firewalls/index.ts +469 -0
- package/src/apis/firewalls/schemas.ts +274 -0
- package/src/apis/firewalls/types.ts +205 -0
- package/src/apis/floating-ips/index.ts +466 -0
- package/src/apis/floating-ips/schemas.ts +203 -0
- package/src/apis/floating-ips/types.ts +207 -0
- package/src/apis/images/index.ts +195 -0
- package/src/apis/images/schemas.ts +113 -0
- package/src/apis/images/types.ts +124 -0
- package/src/apis/isos/index.ts +91 -0
- package/src/apis/isos/schemas.ts +43 -0
- package/src/apis/isos/types.ts +60 -0
- package/src/apis/load-balancers/index.ts +892 -0
- package/src/apis/load-balancers/schemas.ts +561 -0
- package/src/apis/load-balancers/types.ts +361 -0
- package/src/apis/locations/index.ts +176 -0
- package/src/apis/locations/schemas.ts +83 -0
- package/src/apis/locations/types.ts +113 -0
- package/src/apis/networks/index.ts +544 -0
- package/src/apis/networks/schemas.ts +279 -0
- package/src/apis/networks/types.ts +243 -0
- package/src/apis/placement-groups/index.ts +212 -0
- package/src/apis/placement-groups/schemas.ts +90 -0
- package/src/apis/placement-groups/types.ts +99 -0
- package/src/apis/pricing/index.ts +42 -0
- package/src/apis/pricing/schemas.ts +93 -0
- package/src/apis/pricing/types.ts +71 -0
- package/src/apis/primary-ips/index.ts +467 -0
- package/src/apis/primary-ips/schemas.ts +221 -0
- package/src/apis/primary-ips/types.ts +221 -0
- package/src/apis/server-types/index.ts +93 -0
- package/src/apis/server-types/schemas.ts +29 -0
- package/src/apis/server-types/types.ts +43 -0
- package/src/apis/servers/index.ts +378 -0
- package/src/apis/servers/schemas.ts +771 -0
- package/src/apis/servers/types.ts +538 -0
- package/src/apis/ssh-keys/index.ts +204 -0
- package/src/apis/ssh-keys/schemas.ts +84 -0
- package/src/apis/ssh-keys/types.ts +106 -0
- package/src/apis/volumes/index.ts +452 -0
- package/src/apis/volumes/schemas.ts +195 -0
- package/src/apis/volumes/types.ts +197 -0
- package/src/auth/index.ts +26 -0
- package/src/base/index.ts +10 -0
- package/src/client/index.ts +388 -0
- package/src/config/index.ts +34 -0
- package/src/errors/index.ts +38 -0
- package/src/index.ts +799 -0
- package/src/types/index.ts +37 -0
- package/src/validation/index.ts +109 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1,799 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hetzner Cloud TypeScript SDK
|
|
3
|
+
* @see https://docs.hetzner.cloud/reference/cloud
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Main client
|
|
7
|
+
export { HCloudClient } from "./client/index";
|
|
8
|
+
|
|
9
|
+
// Error handling
|
|
10
|
+
export { HCloudError } from "./errors/index";
|
|
11
|
+
|
|
12
|
+
// Types
|
|
13
|
+
export type { RequestOptions, ApiErrorResponse, ErrorDetailsField } from "./types/index";
|
|
14
|
+
|
|
15
|
+
export type { ClientOptions } from "./config/index";
|
|
16
|
+
|
|
17
|
+
// Configuration
|
|
18
|
+
export { HCLOUD_API_BASE_URL, DEFAULT_TIMEOUT_MS } from "./config/index";
|
|
19
|
+
|
|
20
|
+
// Auth utilities
|
|
21
|
+
export { createAuthHeader } from "./auth/index";
|
|
22
|
+
|
|
23
|
+
// Validation utilities
|
|
24
|
+
export { validate, safeValidate } from "./validation/index";
|
|
25
|
+
export type { ValidateOptions } from "./validation/index";
|
|
26
|
+
|
|
27
|
+
// Common Zod Schemas
|
|
28
|
+
export { paginationMetaSchema } from "./apis/common/schemas";
|
|
29
|
+
|
|
30
|
+
// Servers API
|
|
31
|
+
export { ServersClient } from "./apis/servers/index";
|
|
32
|
+
export type {
|
|
33
|
+
Server,
|
|
34
|
+
ServerStatus,
|
|
35
|
+
ListServersParams,
|
|
36
|
+
ListServersResponse,
|
|
37
|
+
CreateServerParams,
|
|
38
|
+
CreateServerResponse,
|
|
39
|
+
GetServerResponse,
|
|
40
|
+
UpdateServerParams,
|
|
41
|
+
UpdateServerResponse,
|
|
42
|
+
DeleteServerResponse,
|
|
43
|
+
GetServerMetricsParams,
|
|
44
|
+
GetServerMetricsResponse,
|
|
45
|
+
ServerMetrics,
|
|
46
|
+
ServerMetricsTimeSeriesValue,
|
|
47
|
+
PaginationMeta,
|
|
48
|
+
ServerType,
|
|
49
|
+
Location,
|
|
50
|
+
Datacenter,
|
|
51
|
+
PublicNet,
|
|
52
|
+
PrivateNet,
|
|
53
|
+
ServerAction,
|
|
54
|
+
BackupWindow,
|
|
55
|
+
ServerProtection,
|
|
56
|
+
ServerImage,
|
|
57
|
+
ListServerActionsParams,
|
|
58
|
+
ListServerActionsResponse,
|
|
59
|
+
GetServerActionResponse,
|
|
60
|
+
PowerOnServerResponse,
|
|
61
|
+
PowerOffServerResponse,
|
|
62
|
+
RebootServerResponse,
|
|
63
|
+
ResetServerResponse,
|
|
64
|
+
ShutdownServerResponse,
|
|
65
|
+
AttachISOToServerParams,
|
|
66
|
+
AttachISOToServerResponse,
|
|
67
|
+
DetachISOFromServerResponse,
|
|
68
|
+
EnableRescueModeParams,
|
|
69
|
+
EnableRescueModeResponse,
|
|
70
|
+
DisableRescueModeResponse,
|
|
71
|
+
CreateImageFromServerParams,
|
|
72
|
+
CreateImageFromServerResponse,
|
|
73
|
+
RebuildServerFromImageParams,
|
|
74
|
+
RebuildServerFromImageResponse,
|
|
75
|
+
ChangeServerProtectionParams,
|
|
76
|
+
ChangeServerProtectionResponse,
|
|
77
|
+
ChangeServerTypeParams,
|
|
78
|
+
ChangeServerTypeResponse,
|
|
79
|
+
EnableBackupsParams,
|
|
80
|
+
EnableBackupsResponse,
|
|
81
|
+
DisableBackupsResponse,
|
|
82
|
+
AttachServerToNetworkParams,
|
|
83
|
+
AttachServerToNetworkResponse,
|
|
84
|
+
DetachServerFromNetworkParams,
|
|
85
|
+
DetachServerFromNetworkResponse,
|
|
86
|
+
ChangeAliasIPsOfNetworkParams,
|
|
87
|
+
ChangeAliasIPsOfNetworkResponse,
|
|
88
|
+
ChangeServerReverseDNSParams,
|
|
89
|
+
ChangeServerReverseDNSResponse,
|
|
90
|
+
RequestConsoleForServerParams,
|
|
91
|
+
RequestConsoleForServerResponse,
|
|
92
|
+
ResetRootPasswordResponse,
|
|
93
|
+
AddServerToPlacementGroupParams,
|
|
94
|
+
AddServerToPlacementGroupResponse,
|
|
95
|
+
RemoveServerFromPlacementGroupResponse,
|
|
96
|
+
} from "./apis/servers/types";
|
|
97
|
+
|
|
98
|
+
// Servers Zod Schemas
|
|
99
|
+
export {
|
|
100
|
+
serverStatusSchema,
|
|
101
|
+
serverSchema,
|
|
102
|
+
serverTypeSchema,
|
|
103
|
+
locationSchema,
|
|
104
|
+
datacenterSchema,
|
|
105
|
+
publicNetSchema,
|
|
106
|
+
privateNetSchema,
|
|
107
|
+
backupWindowSchema,
|
|
108
|
+
serverProtectionSchema,
|
|
109
|
+
listServersResponseSchema,
|
|
110
|
+
createServerRequestSchema,
|
|
111
|
+
createServerResponseSchema,
|
|
112
|
+
getServerResponseSchema,
|
|
113
|
+
updateServerRequestSchema,
|
|
114
|
+
updateServerResponseSchema,
|
|
115
|
+
deleteServerResponseSchema,
|
|
116
|
+
getServerMetricsResponseSchema,
|
|
117
|
+
serverMetricsSchema,
|
|
118
|
+
serverMetricsTimeSeriesValueSchema,
|
|
119
|
+
serverActionSchema,
|
|
120
|
+
listServerActionsResponseSchema,
|
|
121
|
+
getServerActionResponseSchema,
|
|
122
|
+
powerOnServerResponseSchema,
|
|
123
|
+
powerOffServerResponseSchema,
|
|
124
|
+
rebootServerResponseSchema,
|
|
125
|
+
resetServerResponseSchema,
|
|
126
|
+
shutdownServerResponseSchema,
|
|
127
|
+
attachISOToServerRequestSchema,
|
|
128
|
+
attachISOToServerResponseSchema,
|
|
129
|
+
detachISOFromServerResponseSchema,
|
|
130
|
+
enableRescueModeRequestSchema,
|
|
131
|
+
enableRescueModeResponseSchema,
|
|
132
|
+
disableRescueModeResponseSchema,
|
|
133
|
+
createImageFromServerRequestSchema,
|
|
134
|
+
createImageFromServerResponseSchema,
|
|
135
|
+
rebuildServerFromImageRequestSchema,
|
|
136
|
+
rebuildServerFromImageResponseSchema,
|
|
137
|
+
changeServerProtectionRequestSchema,
|
|
138
|
+
changeServerProtectionResponseSchema,
|
|
139
|
+
changeServerTypeRequestSchema,
|
|
140
|
+
changeServerTypeResponseSchema,
|
|
141
|
+
enableBackupsRequestSchema,
|
|
142
|
+
enableBackupsResponseSchema,
|
|
143
|
+
disableBackupsResponseSchema,
|
|
144
|
+
attachServerToNetworkRequestSchema,
|
|
145
|
+
attachServerToNetworkResponseSchema,
|
|
146
|
+
detachServerFromNetworkRequestSchema,
|
|
147
|
+
detachServerFromNetworkResponseSchema,
|
|
148
|
+
changeAliasIPsOfNetworkRequestSchema,
|
|
149
|
+
changeAliasIPsOfNetworkResponseSchema,
|
|
150
|
+
changeServerReverseDNSRequestSchema,
|
|
151
|
+
changeServerReverseDNSResponseSchema,
|
|
152
|
+
requestConsoleForServerRequestSchema,
|
|
153
|
+
requestConsoleForServerResponseSchema,
|
|
154
|
+
resetRootPasswordResponseSchema,
|
|
155
|
+
addServerToPlacementGroupRequestSchema,
|
|
156
|
+
addServerToPlacementGroupResponseSchema,
|
|
157
|
+
removeServerFromPlacementGroupRequestSchema,
|
|
158
|
+
removeServerFromPlacementGroupResponseSchema,
|
|
159
|
+
} from "./apis/servers/schemas";
|
|
160
|
+
|
|
161
|
+
// Images API
|
|
162
|
+
export { ImagesClient } from "./apis/images/index";
|
|
163
|
+
export type {
|
|
164
|
+
ImageStatus,
|
|
165
|
+
ImageType,
|
|
166
|
+
Image,
|
|
167
|
+
ListImagesParams,
|
|
168
|
+
ListImagesResponse,
|
|
169
|
+
GetImageResponse,
|
|
170
|
+
UpdateImageParams,
|
|
171
|
+
UpdateImageResponse,
|
|
172
|
+
DeleteImageResponse,
|
|
173
|
+
} from "./apis/images/types";
|
|
174
|
+
|
|
175
|
+
// Images Zod Schemas
|
|
176
|
+
export {
|
|
177
|
+
imageStatusSchema,
|
|
178
|
+
imageTypeSchema,
|
|
179
|
+
imageSchema,
|
|
180
|
+
imageCreatedFromSchema,
|
|
181
|
+
imageProtectionSchema,
|
|
182
|
+
imageDeprecationSchema,
|
|
183
|
+
listImagesResponseSchema,
|
|
184
|
+
updateImageRequestSchema,
|
|
185
|
+
getImageResponseSchema,
|
|
186
|
+
updateImageResponseSchema,
|
|
187
|
+
deleteImageResponseSchema,
|
|
188
|
+
} from "./apis/images/schemas";
|
|
189
|
+
|
|
190
|
+
// Actions API
|
|
191
|
+
export { ActionsClient } from "./apis/actions/index";
|
|
192
|
+
export type {
|
|
193
|
+
Action,
|
|
194
|
+
ActionStatus,
|
|
195
|
+
ActionResource,
|
|
196
|
+
ListActionsParams,
|
|
197
|
+
ListActionsResponse,
|
|
198
|
+
GetActionResponse,
|
|
199
|
+
} from "./apis/actions/types";
|
|
200
|
+
|
|
201
|
+
// Actions Zod Schemas
|
|
202
|
+
export {
|
|
203
|
+
actionSchema,
|
|
204
|
+
actionResourceSchema,
|
|
205
|
+
listActionsResponseSchema,
|
|
206
|
+
getActionResponseSchema,
|
|
207
|
+
} from "./apis/actions/schemas";
|
|
208
|
+
|
|
209
|
+
// Certificates API
|
|
210
|
+
export { CertificatesClient } from "./apis/certificates/index";
|
|
211
|
+
export type {
|
|
212
|
+
Certificate,
|
|
213
|
+
CertificateStatus,
|
|
214
|
+
CertificateType,
|
|
215
|
+
ListCertificatesParams,
|
|
216
|
+
ListCertificatesResponse,
|
|
217
|
+
CreateCertificateParams,
|
|
218
|
+
CreateCertificateResponse,
|
|
219
|
+
GetCertificateResponse,
|
|
220
|
+
UpdateCertificateParams,
|
|
221
|
+
UpdateCertificateResponse,
|
|
222
|
+
DeleteCertificateResponse,
|
|
223
|
+
ListCertificateActionsParams,
|
|
224
|
+
ListCertificateActionsResponse,
|
|
225
|
+
GetCertificateActionResponse,
|
|
226
|
+
RetryCertificateIssuanceResponse,
|
|
227
|
+
} from "./apis/certificates/types";
|
|
228
|
+
|
|
229
|
+
// Certificates Zod Schemas
|
|
230
|
+
export {
|
|
231
|
+
certificateStatusSchema,
|
|
232
|
+
certificateTypeSchema,
|
|
233
|
+
certificateSchema,
|
|
234
|
+
listCertificatesResponseSchema,
|
|
235
|
+
createCertificateRequestSchema,
|
|
236
|
+
createCertificateResponseSchema,
|
|
237
|
+
getCertificateResponseSchema,
|
|
238
|
+
updateCertificateRequestSchema,
|
|
239
|
+
updateCertificateResponseSchema,
|
|
240
|
+
deleteCertificateResponseSchema,
|
|
241
|
+
listCertificateActionsResponseSchema,
|
|
242
|
+
getCertificateActionResponseSchema,
|
|
243
|
+
retryCertificateIssuanceResponseSchema,
|
|
244
|
+
} from "./apis/certificates/schemas";
|
|
245
|
+
|
|
246
|
+
// SSH Keys API
|
|
247
|
+
export { SSHKeysClient } from "./apis/ssh-keys/index";
|
|
248
|
+
export type {
|
|
249
|
+
SSHKey,
|
|
250
|
+
ListSSHKeysParams,
|
|
251
|
+
ListSSHKeysResponse,
|
|
252
|
+
CreateSSHKeyParams,
|
|
253
|
+
CreateSSHKeyResponse,
|
|
254
|
+
GetSSHKeyResponse,
|
|
255
|
+
UpdateSSHKeyParams,
|
|
256
|
+
UpdateSSHKeyResponse,
|
|
257
|
+
DeleteSSHKeyResponse,
|
|
258
|
+
} from "./apis/ssh-keys/types";
|
|
259
|
+
|
|
260
|
+
// SSH Keys Zod Schemas
|
|
261
|
+
export {
|
|
262
|
+
sshKeySchema,
|
|
263
|
+
listSSHKeysResponseSchema,
|
|
264
|
+
createSSHKeyRequestSchema,
|
|
265
|
+
createSSHKeyResponseSchema,
|
|
266
|
+
getSSHKeyResponseSchema,
|
|
267
|
+
updateSSHKeyRequestSchema,
|
|
268
|
+
updateSSHKeyResponseSchema,
|
|
269
|
+
deleteSSHKeyResponseSchema,
|
|
270
|
+
} from "./apis/ssh-keys/schemas";
|
|
271
|
+
|
|
272
|
+
// Firewalls API
|
|
273
|
+
export { FirewallsClient } from "./apis/firewalls/index";
|
|
274
|
+
export type {
|
|
275
|
+
Firewall,
|
|
276
|
+
FirewallRule,
|
|
277
|
+
FirewallRuleDirection,
|
|
278
|
+
FirewallRuleProtocol,
|
|
279
|
+
FirewallAppliedToResource,
|
|
280
|
+
ListFirewallsParams,
|
|
281
|
+
ListFirewallsResponse,
|
|
282
|
+
CreateFirewallParams,
|
|
283
|
+
CreateFirewallResponse,
|
|
284
|
+
GetFirewallResponse,
|
|
285
|
+
UpdateFirewallParams,
|
|
286
|
+
UpdateFirewallResponse,
|
|
287
|
+
DeleteFirewallResponse,
|
|
288
|
+
ListFirewallActionsParams,
|
|
289
|
+
ListFirewallActionsResponse,
|
|
290
|
+
GetFirewallActionResponse,
|
|
291
|
+
ApplyFirewallToResourcesParams,
|
|
292
|
+
ApplyFirewallToResourcesResponse,
|
|
293
|
+
RemoveFirewallFromResourcesParams,
|
|
294
|
+
RemoveFirewallFromResourcesResponse,
|
|
295
|
+
SetFirewallRulesParams,
|
|
296
|
+
SetFirewallRulesResponse,
|
|
297
|
+
} from "./apis/firewalls/types";
|
|
298
|
+
|
|
299
|
+
// Firewalls Zod Schemas
|
|
300
|
+
export {
|
|
301
|
+
firewallSchema,
|
|
302
|
+
firewallRuleSchema,
|
|
303
|
+
firewallRuleDirectionSchema,
|
|
304
|
+
firewallRuleProtocolSchema,
|
|
305
|
+
firewallAppliedToResourceSchema,
|
|
306
|
+
listFirewallsResponseSchema,
|
|
307
|
+
createFirewallRequestSchema,
|
|
308
|
+
createFirewallResponseSchema,
|
|
309
|
+
getFirewallResponseSchema,
|
|
310
|
+
updateFirewallRequestSchema,
|
|
311
|
+
updateFirewallResponseSchema,
|
|
312
|
+
deleteFirewallResponseSchema,
|
|
313
|
+
listFirewallActionsResponseSchema,
|
|
314
|
+
getFirewallActionResponseSchema,
|
|
315
|
+
applyFirewallToResourcesRequestSchema,
|
|
316
|
+
applyFirewallToResourcesResponseSchema,
|
|
317
|
+
removeFirewallFromResourcesRequestSchema,
|
|
318
|
+
removeFirewallFromResourcesResponseSchema,
|
|
319
|
+
setFirewallRulesRequestSchema,
|
|
320
|
+
setFirewallRulesResponseSchema,
|
|
321
|
+
} from "./apis/firewalls/schemas";
|
|
322
|
+
|
|
323
|
+
// Floating IPs API
|
|
324
|
+
export { FloatingIPsClient } from "./apis/floating-ips/index";
|
|
325
|
+
export type {
|
|
326
|
+
FloatingIP,
|
|
327
|
+
FloatingIPType,
|
|
328
|
+
FloatingIPDnsPointer,
|
|
329
|
+
FloatingIPProtection,
|
|
330
|
+
ListFloatingIPsParams,
|
|
331
|
+
ListFloatingIPsResponse,
|
|
332
|
+
CreateFloatingIPParams,
|
|
333
|
+
CreateFloatingIPResponse,
|
|
334
|
+
GetFloatingIPResponse,
|
|
335
|
+
UpdateFloatingIPParams,
|
|
336
|
+
UpdateFloatingIPResponse,
|
|
337
|
+
DeleteFloatingIPResponse,
|
|
338
|
+
ListFloatingIPActionsParams,
|
|
339
|
+
ListFloatingIPActionsResponse,
|
|
340
|
+
GetFloatingIPActionResponse,
|
|
341
|
+
AssignFloatingIPToServerParams,
|
|
342
|
+
AssignFloatingIPToServerResponse,
|
|
343
|
+
ChangeFloatingIPReverseDNSParams,
|
|
344
|
+
ChangeFloatingIPReverseDNSResponse,
|
|
345
|
+
ChangeFloatingIPProtectionParams,
|
|
346
|
+
ChangeFloatingIPProtectionResponse,
|
|
347
|
+
UnassignFloatingIPResponse,
|
|
348
|
+
} from "./apis/floating-ips/types";
|
|
349
|
+
|
|
350
|
+
// Floating IPs Zod Schemas
|
|
351
|
+
export {
|
|
352
|
+
floatingIpSchema,
|
|
353
|
+
floatingIpTypeSchema,
|
|
354
|
+
floatingIpDnsPointerSchema,
|
|
355
|
+
floatingIpProtectionSchema,
|
|
356
|
+
listFloatingIPsResponseSchema,
|
|
357
|
+
createFloatingIPRequestSchema,
|
|
358
|
+
createFloatingIPResponseSchema,
|
|
359
|
+
getFloatingIPResponseSchema,
|
|
360
|
+
updateFloatingIPRequestSchema,
|
|
361
|
+
updateFloatingIPResponseSchema,
|
|
362
|
+
deleteFloatingIPResponseSchema,
|
|
363
|
+
listFloatingIPActionsResponseSchema,
|
|
364
|
+
getFloatingIPActionResponseSchema,
|
|
365
|
+
assignFloatingIPToServerRequestSchema,
|
|
366
|
+
assignFloatingIPToServerResponseSchema,
|
|
367
|
+
changeFloatingIPReverseDNSRequestSchema,
|
|
368
|
+
changeFloatingIPReverseDNSResponseSchema,
|
|
369
|
+
changeFloatingIPProtectionRequestSchema,
|
|
370
|
+
changeFloatingIPProtectionResponseSchema,
|
|
371
|
+
unassignFloatingIPRequestSchema,
|
|
372
|
+
unassignFloatingIPResponseSchema,
|
|
373
|
+
} from "./apis/floating-ips/schemas";
|
|
374
|
+
|
|
375
|
+
// ISOs API
|
|
376
|
+
export { ISOsClient } from "./apis/isos/index";
|
|
377
|
+
export type {
|
|
378
|
+
ISO,
|
|
379
|
+
ISOType,
|
|
380
|
+
ListISOsParams,
|
|
381
|
+
ListISOsResponse,
|
|
382
|
+
GetISOResponse,
|
|
383
|
+
} from "./apis/isos/types";
|
|
384
|
+
export {
|
|
385
|
+
isoSchema,
|
|
386
|
+
isoTypeSchema,
|
|
387
|
+
listISOsResponseSchema,
|
|
388
|
+
getISOResponseSchema,
|
|
389
|
+
} from "./apis/isos/schemas";
|
|
390
|
+
|
|
391
|
+
// Placement Groups API
|
|
392
|
+
export { PlacementGroupsClient } from "./apis/placement-groups/index";
|
|
393
|
+
export type {
|
|
394
|
+
PlacementGroup,
|
|
395
|
+
PlacementGroupType,
|
|
396
|
+
ListPlacementGroupsParams,
|
|
397
|
+
ListPlacementGroupsResponse,
|
|
398
|
+
CreatePlacementGroupParams,
|
|
399
|
+
CreatePlacementGroupResponse,
|
|
400
|
+
GetPlacementGroupResponse,
|
|
401
|
+
UpdatePlacementGroupParams,
|
|
402
|
+
UpdatePlacementGroupResponse,
|
|
403
|
+
DeletePlacementGroupResponse,
|
|
404
|
+
} from "./apis/placement-groups/types";
|
|
405
|
+
export {
|
|
406
|
+
placementGroupSchema,
|
|
407
|
+
placementGroupTypeSchema,
|
|
408
|
+
listPlacementGroupsResponseSchema,
|
|
409
|
+
createPlacementGroupRequestSchema,
|
|
410
|
+
createPlacementGroupResponseSchema,
|
|
411
|
+
getPlacementGroupResponseSchema,
|
|
412
|
+
updatePlacementGroupRequestSchema,
|
|
413
|
+
updatePlacementGroupResponseSchema,
|
|
414
|
+
deletePlacementGroupResponseSchema,
|
|
415
|
+
} from "./apis/placement-groups/schemas";
|
|
416
|
+
|
|
417
|
+
// Primary IPs API
|
|
418
|
+
export { PrimaryIPsClient } from "./apis/primary-ips/index";
|
|
419
|
+
export type {
|
|
420
|
+
PrimaryIP,
|
|
421
|
+
PrimaryIPType,
|
|
422
|
+
PrimaryIPDnsPointer,
|
|
423
|
+
PrimaryIPProtection,
|
|
424
|
+
PrimaryIPAssigneeType,
|
|
425
|
+
ListPrimaryIPsParams,
|
|
426
|
+
ListPrimaryIPsResponse,
|
|
427
|
+
CreatePrimaryIPParams,
|
|
428
|
+
CreatePrimaryIPResponse,
|
|
429
|
+
GetPrimaryIPResponse,
|
|
430
|
+
UpdatePrimaryIPParams,
|
|
431
|
+
UpdatePrimaryIPResponse,
|
|
432
|
+
DeletePrimaryIPResponse,
|
|
433
|
+
ListPrimaryIPActionsParams,
|
|
434
|
+
ListPrimaryIPActionsResponse,
|
|
435
|
+
GetPrimaryIPActionResponse,
|
|
436
|
+
AssignPrimaryIPToResourceParams,
|
|
437
|
+
AssignPrimaryIPToResourceResponse,
|
|
438
|
+
ChangePrimaryIPReverseDNSParams,
|
|
439
|
+
ChangePrimaryIPReverseDNSResponse,
|
|
440
|
+
ChangePrimaryIPProtectionParams,
|
|
441
|
+
ChangePrimaryIPProtectionResponse,
|
|
442
|
+
UnassignPrimaryIPResponse,
|
|
443
|
+
} from "./apis/primary-ips/types";
|
|
444
|
+
export {
|
|
445
|
+
primaryIpSchema,
|
|
446
|
+
primaryIpTypeSchema,
|
|
447
|
+
primaryIpDnsPointerSchema,
|
|
448
|
+
primaryIpProtectionSchema,
|
|
449
|
+
primaryIpAssigneeTypeSchema,
|
|
450
|
+
listPrimaryIPsResponseSchema,
|
|
451
|
+
createPrimaryIPRequestSchema,
|
|
452
|
+
createPrimaryIPResponseSchema,
|
|
453
|
+
getPrimaryIPResponseSchema,
|
|
454
|
+
updatePrimaryIPRequestSchema,
|
|
455
|
+
updatePrimaryIPResponseSchema,
|
|
456
|
+
deletePrimaryIPResponseSchema,
|
|
457
|
+
listPrimaryIPActionsResponseSchema,
|
|
458
|
+
getPrimaryIPActionResponseSchema,
|
|
459
|
+
assignPrimaryIPToResourceRequestSchema,
|
|
460
|
+
assignPrimaryIPToResourceResponseSchema,
|
|
461
|
+
changePrimaryIPReverseDNSRequestSchema,
|
|
462
|
+
changePrimaryIPReverseDNSResponseSchema,
|
|
463
|
+
changePrimaryIPProtectionRequestSchema,
|
|
464
|
+
changePrimaryIPProtectionResponseSchema,
|
|
465
|
+
unassignPrimaryIPRequestSchema,
|
|
466
|
+
unassignPrimaryIPResponseSchema,
|
|
467
|
+
} from "./apis/primary-ips/schemas";
|
|
468
|
+
|
|
469
|
+
// Server Types API
|
|
470
|
+
export { ServerTypesClient } from "./apis/server-types/index";
|
|
471
|
+
export type {
|
|
472
|
+
ListServerTypesParams,
|
|
473
|
+
ListServerTypesResponse,
|
|
474
|
+
GetServerTypeResponse,
|
|
475
|
+
} from "./apis/server-types/types";
|
|
476
|
+
export {
|
|
477
|
+
listServerTypesResponseSchema,
|
|
478
|
+
getServerTypeResponseSchema,
|
|
479
|
+
} from "./apis/server-types/schemas";
|
|
480
|
+
|
|
481
|
+
// Load Balancers API
|
|
482
|
+
export { LoadBalancersClient } from "./apis/load-balancers/index";
|
|
483
|
+
export type {
|
|
484
|
+
LoadBalancer,
|
|
485
|
+
LoadBalancerAlgorithmType,
|
|
486
|
+
LoadBalancerServiceProtocol,
|
|
487
|
+
LoadBalancerTargetType,
|
|
488
|
+
LoadBalancerServiceHealthCheckProtocol,
|
|
489
|
+
ListLoadBalancersParams,
|
|
490
|
+
ListLoadBalancersResponse,
|
|
491
|
+
CreateLoadBalancerParams,
|
|
492
|
+
CreateLoadBalancerResponse,
|
|
493
|
+
GetLoadBalancerResponse,
|
|
494
|
+
UpdateLoadBalancerParams,
|
|
495
|
+
UpdateLoadBalancerResponse,
|
|
496
|
+
DeleteLoadBalancerResponse,
|
|
497
|
+
ListLoadBalancerActionsParams,
|
|
498
|
+
ListLoadBalancerActionsResponse,
|
|
499
|
+
GetLoadBalancerActionResponse,
|
|
500
|
+
AddLoadBalancerServiceParams,
|
|
501
|
+
AddLoadBalancerServiceResponse,
|
|
502
|
+
UpdateLoadBalancerServiceParams,
|
|
503
|
+
UpdateLoadBalancerServiceResponse,
|
|
504
|
+
DeleteLoadBalancerServiceResponse,
|
|
505
|
+
AddLoadBalancerTargetParams,
|
|
506
|
+
AddLoadBalancerTargetResponse,
|
|
507
|
+
RemoveLoadBalancerTargetParams,
|
|
508
|
+
RemoveLoadBalancerTargetResponse,
|
|
509
|
+
ChangeLoadBalancerAlgorithmParams,
|
|
510
|
+
ChangeLoadBalancerAlgorithmResponse,
|
|
511
|
+
ChangeLoadBalancerReverseDNSParams,
|
|
512
|
+
ChangeLoadBalancerReverseDNSResponse,
|
|
513
|
+
ChangeLoadBalancerProtectionParams,
|
|
514
|
+
ChangeLoadBalancerProtectionResponse,
|
|
515
|
+
ChangeLoadBalancerTypeParams,
|
|
516
|
+
ChangeLoadBalancerTypeResponse,
|
|
517
|
+
AttachLoadBalancerToNetworkParams,
|
|
518
|
+
AttachLoadBalancerToNetworkResponse,
|
|
519
|
+
DetachLoadBalancerFromNetworkResponse,
|
|
520
|
+
EnableLoadBalancerPublicInterfaceResponse,
|
|
521
|
+
DisableLoadBalancerPublicInterfaceResponse,
|
|
522
|
+
GetLoadBalancerMetricsParams,
|
|
523
|
+
GetLoadBalancerMetricsResponse,
|
|
524
|
+
} from "./apis/load-balancers/types";
|
|
525
|
+
export {
|
|
526
|
+
loadBalancerSchema,
|
|
527
|
+
loadBalancerAlgorithmTypeSchema,
|
|
528
|
+
loadBalancerServiceProtocolSchema,
|
|
529
|
+
loadBalancerTargetTypeSchema,
|
|
530
|
+
listLoadBalancersResponseSchema,
|
|
531
|
+
createLoadBalancerRequestSchema,
|
|
532
|
+
createLoadBalancerResponseSchema,
|
|
533
|
+
getLoadBalancerResponseSchema,
|
|
534
|
+
updateLoadBalancerRequestSchema,
|
|
535
|
+
updateLoadBalancerResponseSchema,
|
|
536
|
+
deleteLoadBalancerResponseSchema,
|
|
537
|
+
listLoadBalancerActionsResponseSchema,
|
|
538
|
+
getLoadBalancerActionResponseSchema,
|
|
539
|
+
addLoadBalancerServiceRequestSchema,
|
|
540
|
+
addLoadBalancerServiceResponseSchema,
|
|
541
|
+
updateLoadBalancerServiceRequestSchema,
|
|
542
|
+
updateLoadBalancerServiceResponseSchema,
|
|
543
|
+
deleteLoadBalancerServiceRequestSchema,
|
|
544
|
+
deleteLoadBalancerServiceResponseSchema,
|
|
545
|
+
addLoadBalancerTargetRequestSchema,
|
|
546
|
+
addLoadBalancerTargetResponseSchema,
|
|
547
|
+
removeLoadBalancerTargetRequestSchema,
|
|
548
|
+
removeLoadBalancerTargetResponseSchema,
|
|
549
|
+
changeLoadBalancerAlgorithmRequestSchema,
|
|
550
|
+
changeLoadBalancerAlgorithmResponseSchema,
|
|
551
|
+
changeLoadBalancerReverseDNSRequestSchema,
|
|
552
|
+
changeLoadBalancerReverseDNSResponseSchema,
|
|
553
|
+
changeLoadBalancerProtectionRequestSchema,
|
|
554
|
+
changeLoadBalancerProtectionResponseSchema,
|
|
555
|
+
changeLoadBalancerTypeRequestSchema,
|
|
556
|
+
changeLoadBalancerTypeResponseSchema,
|
|
557
|
+
attachLoadBalancerToNetworkRequestSchema,
|
|
558
|
+
attachLoadBalancerToNetworkResponseSchema,
|
|
559
|
+
detachLoadBalancerFromNetworkRequestSchema,
|
|
560
|
+
detachLoadBalancerFromNetworkResponseSchema,
|
|
561
|
+
enableLoadBalancerPublicInterfaceRequestSchema,
|
|
562
|
+
enableLoadBalancerPublicInterfaceResponseSchema,
|
|
563
|
+
disableLoadBalancerPublicInterfaceRequestSchema,
|
|
564
|
+
disableLoadBalancerPublicInterfaceResponseSchema,
|
|
565
|
+
getLoadBalancerMetricsRequestSchema,
|
|
566
|
+
getLoadBalancerMetricsResponseSchema,
|
|
567
|
+
} from "./apis/load-balancers/schemas";
|
|
568
|
+
|
|
569
|
+
// Networks API
|
|
570
|
+
export { NetworksClient } from "./apis/networks/index";
|
|
571
|
+
export type {
|
|
572
|
+
Network,
|
|
573
|
+
NetworkSubnetType,
|
|
574
|
+
NetworkRoute,
|
|
575
|
+
NetworkSubnet,
|
|
576
|
+
NetworkProtection,
|
|
577
|
+
ListNetworksParams,
|
|
578
|
+
ListNetworksResponse,
|
|
579
|
+
CreateNetworkParams,
|
|
580
|
+
CreateNetworkResponse,
|
|
581
|
+
GetNetworkResponse,
|
|
582
|
+
UpdateNetworkParams,
|
|
583
|
+
UpdateNetworkResponse,
|
|
584
|
+
DeleteNetworkResponse,
|
|
585
|
+
ListNetworkActionsParams,
|
|
586
|
+
ListNetworkActionsResponse,
|
|
587
|
+
GetNetworkActionResponse,
|
|
588
|
+
AddNetworkRouteParams,
|
|
589
|
+
AddNetworkRouteResponse,
|
|
590
|
+
DeleteNetworkRouteParams,
|
|
591
|
+
DeleteNetworkRouteResponse,
|
|
592
|
+
AddNetworkSubnetParams,
|
|
593
|
+
AddNetworkSubnetResponse,
|
|
594
|
+
DeleteNetworkSubnetParams,
|
|
595
|
+
DeleteNetworkSubnetResponse,
|
|
596
|
+
ChangeNetworkIpRangeParams,
|
|
597
|
+
ChangeNetworkIpRangeResponse,
|
|
598
|
+
ChangeNetworkProtectionParams,
|
|
599
|
+
ChangeNetworkProtectionResponse,
|
|
600
|
+
} from "./apis/networks/types";
|
|
601
|
+
export {
|
|
602
|
+
networkSchema,
|
|
603
|
+
networkSubnetTypeSchema,
|
|
604
|
+
networkRouteSchema,
|
|
605
|
+
networkSubnetSchema,
|
|
606
|
+
networkProtectionSchema,
|
|
607
|
+
listNetworksResponseSchema,
|
|
608
|
+
createNetworkRequestSchema,
|
|
609
|
+
createNetworkResponseSchema,
|
|
610
|
+
getNetworkResponseSchema,
|
|
611
|
+
updateNetworkRequestSchema,
|
|
612
|
+
updateNetworkResponseSchema,
|
|
613
|
+
deleteNetworkResponseSchema,
|
|
614
|
+
listNetworkActionsResponseSchema,
|
|
615
|
+
getNetworkActionResponseSchema,
|
|
616
|
+
addNetworkRouteRequestSchema,
|
|
617
|
+
addNetworkRouteResponseSchema,
|
|
618
|
+
deleteNetworkRouteRequestSchema,
|
|
619
|
+
deleteNetworkRouteResponseSchema,
|
|
620
|
+
addNetworkSubnetRequestSchema,
|
|
621
|
+
addNetworkSubnetResponseSchema,
|
|
622
|
+
deleteNetworkSubnetRequestSchema,
|
|
623
|
+
deleteNetworkSubnetResponseSchema,
|
|
624
|
+
changeNetworkIpRangeRequestSchema,
|
|
625
|
+
changeNetworkIpRangeResponseSchema,
|
|
626
|
+
changeNetworkProtectionRequestSchema,
|
|
627
|
+
changeNetworkProtectionResponseSchema,
|
|
628
|
+
} from "./apis/networks/schemas";
|
|
629
|
+
|
|
630
|
+
// Pricing API
|
|
631
|
+
export { PricingClient } from "./apis/pricing/index";
|
|
632
|
+
export type {
|
|
633
|
+
Price,
|
|
634
|
+
PricingLocation,
|
|
635
|
+
ServerTypePricing,
|
|
636
|
+
LoadBalancerTypePricing,
|
|
637
|
+
VolumePricing,
|
|
638
|
+
FloatingIpPricing,
|
|
639
|
+
PrimaryIpPricing,
|
|
640
|
+
TrafficPricing,
|
|
641
|
+
ImagePricing,
|
|
642
|
+
GetPricingResponse,
|
|
643
|
+
} from "./apis/pricing/types";
|
|
644
|
+
export {
|
|
645
|
+
priceSchema,
|
|
646
|
+
pricingLocationSchema,
|
|
647
|
+
serverTypePricingSchema,
|
|
648
|
+
loadBalancerTypePricingSchema,
|
|
649
|
+
volumePricingSchema,
|
|
650
|
+
floatingIpPricingSchema,
|
|
651
|
+
primaryIpPricingSchema,
|
|
652
|
+
trafficPricingSchema,
|
|
653
|
+
imagePricingSchema,
|
|
654
|
+
getPricingResponseSchema,
|
|
655
|
+
} from "./apis/pricing/schemas";
|
|
656
|
+
|
|
657
|
+
// Volumes API
|
|
658
|
+
export { VolumesClient } from "./apis/volumes/index";
|
|
659
|
+
export type {
|
|
660
|
+
Volume,
|
|
661
|
+
VolumeStatus,
|
|
662
|
+
VolumeProtection,
|
|
663
|
+
ListVolumesParams,
|
|
664
|
+
ListVolumesResponse,
|
|
665
|
+
CreateVolumeParams,
|
|
666
|
+
CreateVolumeResponse,
|
|
667
|
+
GetVolumeResponse,
|
|
668
|
+
UpdateVolumeParams,
|
|
669
|
+
UpdateVolumeResponse,
|
|
670
|
+
DeleteVolumeResponse,
|
|
671
|
+
ListVolumeActionsParams,
|
|
672
|
+
ListVolumeActionsResponse,
|
|
673
|
+
GetVolumeActionResponse,
|
|
674
|
+
AttachVolumeToServerParams,
|
|
675
|
+
AttachVolumeToServerResponse,
|
|
676
|
+
DetachVolumeResponse,
|
|
677
|
+
ResizeVolumeParams,
|
|
678
|
+
ResizeVolumeResponse,
|
|
679
|
+
ChangeVolumeProtectionParams,
|
|
680
|
+
ChangeVolumeProtectionResponse,
|
|
681
|
+
} from "./apis/volumes/types";
|
|
682
|
+
export {
|
|
683
|
+
volumeSchema,
|
|
684
|
+
volumeStatusSchema,
|
|
685
|
+
volumeProtectionSchema,
|
|
686
|
+
listVolumesResponseSchema,
|
|
687
|
+
createVolumeRequestSchema,
|
|
688
|
+
createVolumeResponseSchema,
|
|
689
|
+
getVolumeResponseSchema,
|
|
690
|
+
updateVolumeRequestSchema,
|
|
691
|
+
updateVolumeResponseSchema,
|
|
692
|
+
deleteVolumeResponseSchema,
|
|
693
|
+
listVolumeActionsResponseSchema,
|
|
694
|
+
getVolumeActionResponseSchema,
|
|
695
|
+
attachVolumeToServerRequestSchema,
|
|
696
|
+
attachVolumeToServerResponseSchema,
|
|
697
|
+
detachVolumeRequestSchema,
|
|
698
|
+
detachVolumeResponseSchema,
|
|
699
|
+
resizeVolumeRequestSchema,
|
|
700
|
+
resizeVolumeResponseSchema,
|
|
701
|
+
changeVolumeProtectionRequestSchema,
|
|
702
|
+
changeVolumeProtectionResponseSchema,
|
|
703
|
+
} from "./apis/volumes/schemas";
|
|
704
|
+
|
|
705
|
+
// DNS (Zones) API
|
|
706
|
+
export { DNSClient } from "./apis/dns/index";
|
|
707
|
+
export type {
|
|
708
|
+
Zone,
|
|
709
|
+
ZoneStatus,
|
|
710
|
+
ZoneProtection,
|
|
711
|
+
RRSet,
|
|
712
|
+
RRSetRecord,
|
|
713
|
+
RRSetProtection,
|
|
714
|
+
ListZonesParams,
|
|
715
|
+
ListZonesResponse,
|
|
716
|
+
CreateZoneParams,
|
|
717
|
+
CreateZoneResponse,
|
|
718
|
+
GetZoneResponse,
|
|
719
|
+
UpdateZoneParams,
|
|
720
|
+
UpdateZoneResponse,
|
|
721
|
+
DeleteZoneResponse,
|
|
722
|
+
ExportZoneResponse,
|
|
723
|
+
ListZoneActionsParams,
|
|
724
|
+
ListZoneActionsResponse,
|
|
725
|
+
GetZoneActionResponse,
|
|
726
|
+
ChangeZonePrimaryNameserversParams,
|
|
727
|
+
ChangeZonePrimaryNameserversResponse,
|
|
728
|
+
ChangeZoneProtectionParams,
|
|
729
|
+
ChangeZoneProtectionResponse,
|
|
730
|
+
ChangeZoneDefaultTTLParams,
|
|
731
|
+
ChangeZoneDefaultTTLResponse,
|
|
732
|
+
ImportZoneFileParams,
|
|
733
|
+
ImportZoneFileResponse,
|
|
734
|
+
ListRRSetsParams,
|
|
735
|
+
ListRRSetsResponse,
|
|
736
|
+
GetRRSetResponse,
|
|
737
|
+
CreateRRSetParams,
|
|
738
|
+
CreateRRSetResponse,
|
|
739
|
+
UpdateRRSetParams,
|
|
740
|
+
UpdateRRSetResponse,
|
|
741
|
+
DeleteRRSetResponse,
|
|
742
|
+
ChangeRRSetProtectionParams,
|
|
743
|
+
ChangeRRSetProtectionResponse,
|
|
744
|
+
ChangeRRSetTTLParams,
|
|
745
|
+
ChangeRRSetTTLResponse,
|
|
746
|
+
SetRRSetRecordsParams,
|
|
747
|
+
SetRRSetRecordsResponse,
|
|
748
|
+
AddRRSetRecordsParams,
|
|
749
|
+
AddRRSetRecordsResponse,
|
|
750
|
+
RemoveRRSetRecordsParams,
|
|
751
|
+
RemoveRRSetRecordsResponse,
|
|
752
|
+
UpdateRRSetRecordsParams,
|
|
753
|
+
UpdateRRSetRecordsResponse,
|
|
754
|
+
} from "./apis/dns/types";
|
|
755
|
+
export {
|
|
756
|
+
zoneSchema,
|
|
757
|
+
zoneStatusSchema,
|
|
758
|
+
zoneProtectionSchema,
|
|
759
|
+
rrsetSchema,
|
|
760
|
+
rrsetRecordSchema,
|
|
761
|
+
rrsetProtectionSchema,
|
|
762
|
+
listZonesResponseSchema,
|
|
763
|
+
createZoneRequestSchema,
|
|
764
|
+
createZoneResponseSchema,
|
|
765
|
+
getZoneResponseSchema,
|
|
766
|
+
updateZoneRequestSchema,
|
|
767
|
+
updateZoneResponseSchema,
|
|
768
|
+
deleteZoneResponseSchema,
|
|
769
|
+
exportZoneResponseSchema,
|
|
770
|
+
listZoneActionsResponseSchema,
|
|
771
|
+
getZoneActionResponseSchema,
|
|
772
|
+
changeZonePrimaryNameserversRequestSchema,
|
|
773
|
+
changeZonePrimaryNameserversResponseSchema,
|
|
774
|
+
changeZoneProtectionRequestSchema,
|
|
775
|
+
changeZoneProtectionResponseSchema,
|
|
776
|
+
changeZoneDefaultTTLRequestSchema,
|
|
777
|
+
changeZoneDefaultTTLResponseSchema,
|
|
778
|
+
importZoneFileRequestSchema,
|
|
779
|
+
importZoneFileResponseSchema,
|
|
780
|
+
listRRSetsResponseSchema,
|
|
781
|
+
getRRSetResponseSchema,
|
|
782
|
+
createRRSetRequestSchema,
|
|
783
|
+
createRRSetResponseSchema,
|
|
784
|
+
updateRRSetRequestSchema,
|
|
785
|
+
updateRRSetResponseSchema,
|
|
786
|
+
deleteRRSetResponseSchema,
|
|
787
|
+
changeRRSetProtectionRequestSchema,
|
|
788
|
+
changeRRSetProtectionResponseSchema,
|
|
789
|
+
changeRRSetTTLRequestSchema,
|
|
790
|
+
changeRRSetTTLResponseSchema,
|
|
791
|
+
setRRSetRecordsRequestSchema,
|
|
792
|
+
setRRSetRecordsResponseSchema,
|
|
793
|
+
addRRSetRecordsRequestSchema,
|
|
794
|
+
addRRSetRecordsResponseSchema,
|
|
795
|
+
removeRRSetRecordsRequestSchema,
|
|
796
|
+
removeRRSetRecordsResponseSchema,
|
|
797
|
+
updateRRSetRecordsRequestSchema,
|
|
798
|
+
updateRRSetRecordsResponseSchema,
|
|
799
|
+
} from "./apis/dns/schemas";
|