Creates a new Server. Returns preliminary information about the Server as well as an Action that covers progress of creation.
643 matches
100 actions
Hetzner Cloud
100 actions
- Add a route to a NetworkPOSTv1.0.0
- Add a Server to a Placement GroupPOSTv1.0.0
- Add a subnet to a NetworkPOSTv1.0.0
- Add ServicePOSTv1.0.0
- Add TargetPOSTv1.0.0
- Apply to ResourcesPOSTv1.0.0
- Assign a Floating IP to a ServerPOSTv1.0.0
- Assign a Primary IP to a resourcePOSTv1.0.0
- Attach a Load Balancer to a NetworkPOSTv1.0.0
- Attach a Server to a NetworkPOSTv1.0.0
- Attach an ISO to a ServerPOSTv1.0.0
- Change AlgorithmPOSTv1.0.0
- Change alias IPs of a NetworkPOSTv1.0.0
- Change Floating IP ProtectionPOSTv1.0.0
- Change Image ProtectionPOSTv1.0.0
- Change IP range of a NetworkPOSTv1.0.0
- Change Load Balancer ProtectionPOSTv1.0.0
- Change Network ProtectionPOSTv1.0.0
- Change Primary IP ProtectionPOSTv1.0.0
- Change reverse DNS entry for a Floating IPPOSTv1.0.0
- Change reverse DNS entry for a Primary IPPOSTv1.0.0
- Change reverse DNS entry for this Load BalancerPOSTv1.0.0
- Change reverse DNS entry for this ServerPOSTv1.0.0
- Change Server ProtectionPOSTv1.0.0
- Change the Type of a Load BalancerPOSTv1.0.0
- Change the Type of a ServerPOSTv1.0.0
- Create a CertificatePOSTv1.0.0
- Create a FirewallPOSTv1.0.0
- Create a Floating IPPOSTv1.0.0
- Create a Load BalancerPOSTv1.0.0
- Create a NetworkPOSTv1.0.0
- Create a PlacementGroupPOSTv1.0.0
- Create a Primary IPPOSTv1.0.0
- Create a ServerPOSTv1.0.0
- Create Image from a ServerPOSTv1.0.0
- Detach a Load Balancer from a NetworkPOSTv1.0.0
- Detach a Server from a NetworkPOSTv1.0.0
- Detach an ISO from a ServerPOSTv1.0.0
- Disable Backups for a ServerPOSTv1.0.0
- Disable Rescue Mode for a ServerPOSTv1.0.0
- Disable the public interface of a Load BalancerPOSTv1.0.0
- Enable the public interface of a Load BalancerPOSTv1.0.0
- Get a CertificateGETv1.0.0
- Get a DatacenterGETv1.0.0
- Get a FirewallGETv1.0.0
- Get a Floating IPGETv1.0.0
- Get a Load BalancerGETv1.0.0
- Get a Load Balancer TypeGETv1.0.0
- Get a LocationGETv1.0.0
- Get a NetworkGETv1.0.0
- Get a PlacementGroupGETv1.0.0
- Get a Primary IPGETv1.0.0
- Get a ServerGETv1.0.0
- Get a Server TypeGETv1.0.0
- Get a SSH keyGETv1.0.0
- Get a VolumeGETv1.0.0
- Get all ActionsGETv1.0.0
- Get all Actions for a CertificateGETv1.0.0
- Get all Actions for a FirewallGETv1.0.0
- Get all Actions for a Floating IPGETv1.0.0
- Get all Actions for a Load BalancerGETv1.0.0
- Get all Actions for a NetworkGETv1.0.0
- Get all Actions for a ServerGETv1.0.0
- Get all Actions for a VolumeGETv1.0.0
- Get all Actions for an ImageGETv1.0.0
- Get all CertificatesGETv1.0.0
- Get all DatacentersGETv1.0.0
- Get all FirewallsGETv1.0.0
- Get all Floating IPsGETv1.0.0
- Get all ImagesGETv1.0.0
- Get all ISOsGETv1.0.0
- Get all Load Balancer TypesGETv1.0.0
- Get all Load BalancersGETv1.0.0
- Get all LocationsGETv1.0.0
- Get all NetworksGETv1.0.0
- Get all PlacementGroupsGETv1.0.0
- Get all pricesGETv1.0.0
- Get all Primary IPsGETv1.0.0
- Get all Server TypesGETv1.0.0
- Get all ServersGETv1.0.0
- Get all SSH keysGETv1.0.0
- Get all VolumesGETv1.0.0
- Get an ActionGETv1.0.0
- Get an Action for a CertificateGETv1.0.0
- Get an Action for a FirewallGETv1.0.0
- Get an Action for a Floating IPGETv1.0.0
- Get an Action for a Load BalancerGETv1.0.0
- Get an Action for a NetworkGETv1.0.0
- Get an Action for a ServerGETv1.0.0
- Get an Action for a VolumeGETv1.0.0
- Get an Action for an ImageGETv1.0.0
- Get an ImageGETv1.0.0
- Get an ISOGETv1.0.0
- Get Metrics for a LoadBalancerGETv1.0.0
- Get Metrics for a ServerGETv1.0.0
- Retry Issuance or RenewalPOSTv1.0.0
- Set RulesPOSTv1.0.0
- Unassign a Floating IPPOSTv1.0.0
- Unassign a Primary IP from a resourcePOSTv1.0.0
- Update ServicePOSTv1.0.0
Infrastructure/Hetzner Cloud
Create a Server
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
{
"type": "object",
"required": [
"image",
"name",
"server_type"
],
"properties": {
"automount": {
"type": "boolean",
"description": "Auto-mount Volumes after attach"
},
"datacenter": {
"type": "string",
"description": "ID or name of Datacenter to create Server in (must not be used together with location)"
},
"firewalls": {
"type": "array",
"description": "Firewalls which should be applied on the Server's public network interface at creation time",
"items": {
"type": "object",
"properties": {
"firewall": {
"type": "integer",
"description": "ID of the Firewall"
}
}
}
},
"image": {
"type": "string",
"description": "ID or name of the Image the Server is created from"
},
"labels": {
"type": "object",
"description": "User-defined labels (key-value pairs)"
},
"location": {
"type": "string",
"description": "ID or name of Location to create Server in (must not be used together with datacenter)"
},
"name": {
"type": "string",
"description": "Name of the Server to create (must be unique per Project and a valid hostname as per RFC 1123)"
},
"networks": {
"type": "array",
"description": "Network IDs which should be attached to the Server private network interface at the creation time",
"items": {
"type": "integer"
}
},
"placement_group": {
"type": "integer",
"description": "ID of the Placement Group the server should be in"
},
"public_net": {
"type": "object",
"description": "Public Network options",
"properties": {
"enable_ipv4": {
"type": "boolean",
"description": "Attach an IPv4 on the public NIC. If false, no IPv4 address will be attached. Defaults to true."
},
"enable_ipv6": {
"type": "boolean",
"description": "Attach an IPv6 on the public NIC. If false, no IPv6 address will be attached. Defaults to true."
},
"ipv4": {
"type": "integer",
"description": "ID of the ipv4 Primary IP to use. If omitted and enable_ipv4 is true, a new ipv4 Primary IP will automatically be created."
},
"ipv6": {
"type": "integer",
"description": "ID of the ipv6 Primary IP to use. If omitted and enable_ipv6 is true, a new ipv6 Primary IP will automatically be created."
}
}
},
"server_type": {
"type": "string",
"description": "ID or name of the Server type this Server should be created with"
},
"ssh_keys": {
"type": "array",
"description": "SSH key IDs (`integer`) or names (`string`) which should be injected into the Server at creation time",
"items": {
"type": "string"
}
},
"start_after_create": {
"type": "boolean",
"description": "Start Server right after creation. Defaults to true."
},
"user_data": {
"type": "string",
"description": "Cloud-Init user data to use during Server creation. This field is limited to 32KiB."
},
"volumes": {
"type": "array",
"description": "Volume IDs which should be attached to the Server at the creation time. Volumes must be in the same Location.",
"items": {
"type": "integer"
}
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 309
- 310
- 311
- 312
- 313
- 314
- 315
- 316
- 317
- 318
- 319
- 320
- 321
- 322
- 323
- 324
- 325
- 326
- 327
- 328
- 329
- 330
- 331
- 332
- 333
- 334
- 335
- 336
- 337
- 338
- 339
- 340
- 341
- 342
- 343
- 344
- 345
- 346
- 347
- 348
- 349
- 350
- 351
- 352
- 353
- 354
- 355
- 356
- 357
- 358
- 359
- 360
- 361
- 362
- 363
- 364
- 365
- 366
- 367
- 368
- 369
- 370
- 371
- 372
- 373
- 374
- 375
- 376
- 377
- 378
- 379
- 380
- 381
- 382
- 383
- 384
- 385
- 386
- 387
- 388
- 389
- 390
- 391
- 392
- 393
- 394
- 395
- 396
- 397
- 398
- 399
- 400
- 401
- 402
- 403
- 404
- 405
- 406
- 407
- 408
- 409
- 410
- 411
- 412
- 413
- 414
- 415
- 416
- 417
- 418
- 419
- 420
- 421
- 422
- 423
- 424
- 425
- 426
- 427
- 428
- 429
- 430
- 431
- 432
- 433
- 434
- 435
- 436
- 437
- 438
- 439
- 440
- 441
- 442
- 443
- 444
- 445
- 446
- 447
- 448
- 449
- 450
- 451
- 452
- 453
- 454
- 455
- 456
- 457
- 458
- 459
- 460
- 461
- 462
- 463
- 464
- 465
- 466
- 467
- 468
- 469
- 470
- 471
- 472
- 473
- 474
- 475
- 476
- 477
- 478
- 479
- 480
- 481
- 482
- 483
- 484
- 485
- 486
- 487
- 488
- 489
- 490
- 491
- 492
- 493
- 494
- 495
- 496
- 497
- 498
- 499
- 500
- 501
- 502
- 503
- 504
- 505
- 506
- 507
- 508
- 509
- 510
- 511
- 512
- 513
- 514
- 515
- 516
- 517
- 518
- 519
- 520
- 521
- 522
- 523
- 524
- 525
- 526
- 527
- 528
- 529
- 530
- 531
- 532
- 533
- 534
- 535
- 536
- 537
- 538
- 539
- 540
- 541
- 542
- 543
- 544
- 545
- 546
- 547
- 548
- 549
- 550
- 551
- 552
- 553
- 554
- 555
- 556
- 557
- 558
- 559
- 560
- 561
- 562
- 563
- 564
- 565
- 566
- 567
- 568
- 569
- 570
- 571
- 572
- 573
- 574
- 575
- 576
- 577
- 578
- 579
- 580
- 581
- 582
- 583
- 584
- 585
- 586
- 587
- 588
- 589
- 590
- 591
- 592
- 593
- 594
- 595
- 596
- 597
- 598
- 599
- 600
- 601
- 602
- 603
- 604
- 605
- 606
- 607
- 608
- 609
- 610
- 611
- 612
- 613
- 614
- 615
- 616
- 617
- 618
- 619
- 620
- 621
- 622
- 623
- 624
- 625
- 626
- 627
- 628
- 629
- 630
- 631
- 632
- 633
- 634
- 635
- 636
- 637
- 638
- 639
- 640
- 641
- 642
- 643
- 644
- 645
- 646
- 647
- 648
- 649
- 650
- 651
- 652
- 653
- 654
- 655
- 656
- 657
- 658
- 659
- 660
- 661
- 662
- 663
- 664
- 665
- 666
- 667
- 668
- 669
- 670
- 671
- 672
- 673
- 674
- 675
- 676
- 677
- 678
- 679
- 680
- 681
- 682
- 683
- 684
- 685
- 686
- 687
- 688
- 689
- 690
- 691
- 692
- 693
- 694
- 695
- 696
- 697
- 698
- 699
- 700
- 701
- 702
- 703
- 704
- 705
- 706
- 707
- 708
- 709
- 710
- 711
- 712
- 713
- 714
- 715
- 716
- 717
- 718
- 719
- 720
- 721
- 722
- 723
- 724
- 725
- 726
- 727
- 728
- 729
- 730
- 731
- 732
- 733
- 734
- 735
- 736
- 737
- 738
- 739
- 740
- 741
- 742
- 743
- 744
- 745
- 746
- 747
- 748
- 749
- 750
- 751
- 752
- 753
- 754
- 755
- 756
- 757
- 758
- 759
- 760
- 761
- 762
- 763
- 764
- 765
- 766
- 767
- 768
- 769
- 770
- 771
- 772
- 773
- 774
- 775
- 776
- 777
- 778
- 779
- 780
- 781
- 782
- 783
- 784
- 785
- 786
- 787
- 788
- 789
- 790
- 791
- 792
- 793
- 794
- 795
- 796
- 797
- 798
- 799
- 800
- 801
- 802
- 803
- 804
- 805
- 806
- 807
- 808
- 809
- 810
- 811
- 812
- 813
- 814
- 815
- 816
- 817
- 818
- 819
- 820
- 821
- 822
- 823
- 824
- 825
- 826
- 827
- 828
- 829
- 830
- 831
- 832
- 833
- 834
- 835
- 836
- 837
- 838
- 839
- 840
- 841
- 842
- 843
- 844
- 845
- 846
- 847
- 848
- 849
- 850
- 851
- 852
- 853
- 854
- 855
- 856
- 857
- 858
- 859
- 860
- 861
- 862
- 863
- 864
- 865
- 866
- 867
{
"type": "object",
"required": [
"action",
"next_actions",
"root_password",
"server"
],
"properties": {
"action": {
"type": "object",
"required": [
"command",
"error",
"finished",
"id",
"progress",
"resources",
"started",
"status"
],
"properties": {
"command": {
"type": "string",
"description": "Command executed in the Action"
},
"error": {
"type": "object",
"description": "Error message for the Action if error occurred, otherwise null",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Fixed machine readable code"
},
"message": {
"type": "string",
"description": "Humanized error message"
}
}
},
"finished": {
"type": "string",
"description": "Point in time when the Action was finished (in ISO-8601 format). Only set if the Action is finished otherwise null."
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"progress": {
"type": "number",
"description": "Progress of Action in percent"
},
"resources": {
"type": "array",
"description": "Resources the Action relates to",
"items": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"type": {
"type": "string",
"description": "Type of resource referenced"
}
}
}
},
"started": {
"type": "string",
"description": "Point in time when the Action was started (in ISO-8601 format)"
},
"status": {
"type": "string",
"description": "Status of the Action",
"enum": [
"success",
"running",
"error"
]
}
}
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"command",
"status",
"progress",
"started",
"finished",
"resources",
"error"
],
"properties": {
"command": {
"type": "string",
"description": "Command executed in the Action"
},
"error": {
"type": "object",
"description": "Error message for the Action if error occurred, otherwise null",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Fixed machine readable code"
},
"message": {
"type": "string",
"description": "Humanized error message"
}
}
},
"finished": {
"type": "string",
"description": "Point in time when the Action was finished (in ISO-8601 format). Only set if the Action is finished otherwise null."
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"progress": {
"type": "number",
"description": "Progress of Action in percent"
},
"resources": {
"type": "array",
"description": "Resources the Action relates to",
"items": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"type": {
"type": "string",
"description": "Type of resource referenced"
}
}
}
},
"started": {
"type": "string",
"description": "Point in time when the Action was started (in ISO-8601 format)"
},
"status": {
"type": "string",
"description": "Status of the Action",
"enum": [
"success",
"running",
"error"
]
}
}
}
},
"root_password": {
"type": "string",
"description": "Root password when no SSH keys have been specified"
},
"server": {
"type": "object",
"required": [
"backup_window",
"created",
"datacenter",
"id",
"image",
"included_traffic",
"ingoing_traffic",
"iso",
"labels",
"locked",
"name",
"outgoing_traffic",
"primary_disk_size",
"private_net",
"protection",
"public_net",
"rescue_enabled",
"server_type",
"status"
],
"properties": {
"backup_window": {
"type": "string",
"description": "Time window (UTC) in which the backup will run, or null if the backups are not enabled"
},
"created": {
"type": "string",
"description": "Point in time when the Resource was created (in ISO-8601 format)"
},
"datacenter": {
"type": "object",
"description": "Datacenter this Resource is located at",
"required": [
"description",
"id",
"location",
"name",
"server_types"
],
"properties": {
"description": {
"type": "string",
"description": "Description of the Datacenter"
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"location": {
"type": "object",
"required": [
"city",
"country",
"description",
"id",
"latitude",
"longitude",
"name",
"network_zone"
],
"properties": {
"city": {
"type": "string",
"description": "City the Location is closest to"
},
"country": {
"type": "string",
"description": "ISO 3166-1 alpha-2 code of the country the Location resides in"
},
"description": {
"type": "string",
"description": "Description of the Location"
},
"id": {
"type": "number",
"description": "ID of the Location"
},
"latitude": {
"type": "number",
"description": "Latitude of the city closest to the Location"
},
"longitude": {
"type": "number",
"description": "Longitude of the city closest to the Location"
},
"name": {
"type": "string",
"description": "Unique identifier of the Location"
},
"network_zone": {
"type": "string",
"description": "Name of network zone this Location resides in"
}
}
},
"name": {
"type": "string",
"description": "Unique identifier of the Datacenter"
},
"server_types": {
"type": "object",
"description": "The Server types the Datacenter can handle",
"required": [
"available",
"available_for_migration",
"supported"
],
"properties": {
"available": {
"type": "array",
"description": "IDs of Server types that are supported and for which the Datacenter has enough resources left",
"items": {
"type": "number"
}
},
"available_for_migration": {
"type": "array",
"description": "IDs of Server types that are supported and for which the Datacenter has enough resources left",
"items": {
"type": "number"
}
},
"supported": {
"type": "array",
"description": "IDs of Server types that are supported in the Datacenter",
"items": {
"type": "number"
}
}
}
}
}
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"image": {
"type": "object",
"required": [
"bound_to",
"created",
"created_from",
"deleted",
"deprecated",
"description",
"disk_size",
"id",
"image_size",
"labels",
"name",
"os_flavor",
"os_version",
"protection",
"status",
"type"
],
"properties": {
"bound_to": {
"type": "integer",
"description": "ID of Server the Image is bound to. Only set for Images of type `backup`."
},
"created": {
"type": "string",
"description": "Point in time when the Resource was created (in ISO-8601 format)"
},
"created_from": {
"type": "object",
"description": "Information about the Server the Image was created from",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"description": "ID of the Server the Image was created from"
},
"name": {
"type": "string",
"description": "Server name at the time the Image was created"
}
}
},
"deleted": {
"type": "string",
"description": "Point in time where the Image was deleted (in ISO-8601 format)"
},
"deprecated": {
"type": "string",
"description": "Point in time when the Image is considered to be deprecated (in ISO-8601 format)"
},
"description": {
"type": "string",
"description": "Description of the Image"
},
"disk_size": {
"type": "number",
"description": "Size of the disk contained in the Image in GB"
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"image_size": {
"type": "number",
"description": "Size of the Image file in our storage in GB. For snapshot Images this is the value relevant for calculating costs for the Image."
},
"labels": {
"type": "object",
"description": "User-defined labels (key-value pairs)"
},
"name": {
"type": "string",
"description": "Unique identifier of the Image. This value is only set for system Images."
},
"os_flavor": {
"type": "string",
"description": "Flavor of operating system contained in the Image",
"enum": [
"ubuntu",
"centos",
"debian",
"fedora",
"unknown"
]
},
"os_version": {
"type": "string",
"description": "Operating system version"
},
"protection": {
"type": "object",
"description": "Protection configuration for the Resource",
"required": [
"delete"
],
"properties": {
"delete": {
"type": "boolean",
"description": "If true, prevents the Resource from being deleted"
}
}
},
"rapid_deploy": {
"type": "boolean",
"description": "Indicates that rapid deploy of the Image is available"
},
"status": {
"type": "string",
"description": "Whether the Image can be used or if it's still being created or unavailable",
"enum": [
"available",
"creating",
"unavailable"
]
},
"type": {
"type": "string",
"description": "Type of the Image",
"enum": [
"system",
"app",
"snapshot",
"backup",
"temporary"
]
}
}
},
"included_traffic": {
"type": "number",
"description": "Free Traffic for the current billing period in bytes"
},
"ingoing_traffic": {
"type": "number",
"description": "Inbound Traffic for the current billing period in bytes"
},
"iso": {
"type": "object",
"description": "ISO Image that is attached to this Server. Null if no ISO is attached.",
"required": [
"deprecated",
"description",
"id",
"name",
"type"
],
"properties": {
"deprecated": {
"type": "string",
"description": "ISO 8601 timestamp of deprecation, null if ISO is still available. After the deprecation time it will no longer be possible to attach the ISO to Servers."
},
"description": {
"type": "string",
"description": "Description of the ISO"
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"name": {
"type": "string",
"description": "Unique identifier of the ISO. Only set for public ISOs"
},
"type": {
"type": "string",
"description": "Type of the ISO",
"enum": [
"public",
"private"
]
}
}
},
"labels": {
"type": "object",
"description": "User-defined labels (key-value pairs)"
},
"load_balancers": {
"type": "array",
"items": {
"type": "integer"
}
},
"locked": {
"type": "boolean",
"description": "True if Server has been locked and is not available to user"
},
"name": {
"type": "string",
"description": "Name of the Server (must be unique per Project and a valid hostname as per RFC 1123)"
},
"outgoing_traffic": {
"type": "number",
"description": "Outbound Traffic for the current billing period in bytes"
},
"placement_group": {
"type": "object",
"required": [
"created",
"id",
"labels",
"name",
"servers",
"type"
],
"properties": {
"created": {
"type": "string",
"description": "Point in time when the Resource was created (in ISO-8601 format)"
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"labels": {
"type": "object",
"description": "User-defined labels (key-value pairs)"
},
"name": {
"type": "string",
"description": "Name of the Resource. Must be unique per Project."
},
"servers": {
"type": "array",
"description": "Array of IDs of Servers that are part of this Placement Group",
"items": {
"type": "integer"
}
},
"type": {
"type": "string",
"description": "Type of the Placement Group",
"enum": [
"spread"
]
}
}
},
"primary_disk_size": {
"type": "number",
"description": "Size of the primary Disk"
},
"private_net": {
"type": "array",
"description": "Private networks information",
"items": {
"type": "object",
"properties": {
"alias_ips": {
"type": "array",
"items": {
"type": "string"
}
},
"ip": {
"type": "string"
},
"mac_address": {
"type": "string"
},
"network": {
"type": "integer"
}
}
}
},
"protection": {
"type": "object",
"description": "Protection configuration for the Server",
"required": [
"delete",
"rebuild"
],
"properties": {
"delete": {
"type": "boolean",
"description": "If true, prevents the Server from being deleted"
},
"rebuild": {
"type": "boolean",
"description": "If true, prevents the Server from being rebuilt"
}
}
},
"public_net": {
"type": "object",
"description": "Public network information. The Server's IPv4 address can be found in `public_net->ipv4->ip`",
"required": [
"floating_ips",
"ipv4",
"ipv6"
],
"properties": {
"firewalls": {
"type": "array",
"description": "Firewalls applied to the public network interface of this Server",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"status": {
"type": "string",
"description": "Status of the Firewall on the Server",
"enum": [
"applied",
"pending"
]
}
}
}
},
"floating_ips": {
"type": "array",
"description": "IDs of Floating IPs assigned to this Server",
"items": {
"type": "integer"
}
},
"ipv4": {
"type": "object",
"description": "IP address (v4) and its reverse DNS entry of this Server",
"required": [
"blocked",
"dns_ptr",
"ip"
],
"properties": {
"blocked": {
"type": "boolean",
"description": "If the IP is blocked by our anti abuse dept"
},
"dns_ptr": {
"type": "string",
"description": "Reverse DNS PTR entry for the IPv4 addresses of this Server"
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"ip": {
"type": "string",
"description": "IP address (v4) of this Server"
}
}
},
"ipv6": {
"type": "object",
"description": "IPv6 network assigned to this Server and its reverse DNS entry",
"required": [
"blocked",
"dns_ptr",
"ip"
],
"properties": {
"blocked": {
"type": "boolean",
"description": "If the IP is blocked by our anti abuse dept"
},
"dns_ptr": {
"type": "array",
"description": "Reverse DNS PTR entries for the IPv6 addresses of this Server, `null` by default",
"items": {
"type": "object",
"required": [
"ip",
"dns_ptr"
],
"properties": {
"dns_ptr": {
"type": "string",
"description": "DNS pointer for the specific IP address"
},
"ip": {
"type": "string",
"description": "Single IPv6 address of this Server for which the reverse DNS entry has been set up"
}
}
}
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"ip": {
"type": "string",
"description": "IP address (v6) of this Server"
}
}
}
}
},
"rescue_enabled": {
"type": "boolean",
"description": "True if rescue mode is enabled. Server will then boot into rescue system on next reboot"
},
"server_type": {
"type": "object",
"description": "Type of Server - determines how much ram, disk and cpu a Server has",
"required": [
"cores",
"cpu_type",
"deprecated",
"description",
"disk",
"id",
"memory",
"name",
"prices",
"storage_type"
],
"properties": {
"cores": {
"type": "number",
"description": "Number of cpu cores a Server of this type will have"
},
"cpu_type": {
"type": "string",
"description": "Type of cpu",
"enum": [
"shared",
"dedicated"
]
},
"deprecated": {
"type": "boolean",
"description": "True if Server type is deprecated"
},
"description": {
"type": "string",
"description": "Description of the Server type"
},
"disk": {
"type": "number",
"description": "Disk size a Server of this type will have in GB"
},
"id": {
"type": "integer",
"description": "ID of the Server type"
},
"memory": {
"type": "number",
"description": "Memory a Server of this type will have in GB"
},
"name": {
"type": "string",
"description": "Unique identifier of the Server type"
},
"prices": {
"type": "array",
"description": "Prices in different Locations",
"items": {
"type": "object",
"required": [
"location",
"price_hourly",
"price_monthly"
],
"properties": {
"location": {
"type": "string",
"description": "Name of the Location the price is for"
},
"price_hourly": {
"type": "object",
"description": "Hourly costs for a Server type in this Location",
"required": [
"net",
"gross"
],
"properties": {
"gross": {
"type": "string",
"description": "Price with VAT added"
},
"net": {
"type": "string",
"description": "Price without VAT"
}
}
},
"price_monthly": {
"type": "object",
"description": "Monthly costs for a Server type in this Location",
"required": [
"net",
"gross"
],
"properties": {
"gross": {
"type": "string",
"description": "Price with VAT added"
},
"net": {
"type": "string",
"description": "Price without VAT"
}
}
}
}
}
},
"storage_type": {
"type": "string",
"description": "Type of Server boot drive. Local has higher speed. Network has better availability.",
"enum": [
"local",
"network"
]
}
}
},
"status": {
"type": "string",
"description": "Status of the Server",
"enum": [
"running",
"initializing",
"starting",
"stopping",
"off",
"deleting",
"migrating",
"rebuilding",
"unknown"
]
},
"volumes": {
"type": "array",
"description": "IDs of Volumes assigned to this Server",
"items": {
"type": "integer"
}
}
}
}
}
}