Creates a new Floating IP assigned to a Server. If you want to create a Floating IP that is not bound to a Server, you need to provide the home_location key instead of server. This can be either the ID or the name of the Location this IP shall be created in. Note that a Floating IP can be assigned to a Server in any Location later on. For optimal routing it is advised to use the Floating IP in the same Location it was created in.
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 Floating IP
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
{
"type": "object",
"required": [
"type"
],
"properties": {
"description": {
"type": "string"
},
"home_location": {
"type": "string",
"description": "Home Location (routing is optimized for that Location). Only optional if Server argument is passed."
},
"labels": {
"type": "object",
"description": "User-defined labels (key-value pairs)"
},
"name": {
"type": "string"
},
"server": {
"type": "integer",
"description": "Server to assign the Floating IP to"
},
"type": {
"type": "string",
"description": "Floating IP type",
"enum": [
"ipv4",
"ipv6"
]
}
}
}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
{
"type": "object",
"required": [
"floating_ip"
],
"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"
]
}
}
},
"floating_ip": {
"type": "object",
"required": [
"blocked",
"created",
"description",
"dns_ptr",
"home_location",
"id",
"ip",
"labels",
"name",
"protection",
"server",
"type"
],
"properties": {
"blocked": {
"type": "boolean",
"description": "Whether the IP is blocked"
},
"created": {
"type": "string",
"description": "Point in time when the Resource was created (in ISO-8601 format)"
},
"description": {
"type": "string",
"description": "Description of the Resource"
},
"dns_ptr": {
"type": "array",
"description": "Array of reverse DNS entries",
"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 IPv4 or IPv6 address"
}
}
}
},
"home_location": {
"type": "object",
"description": "Location the Floating IP was created in. Routing is optimized for this Location.",
"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"
}
}
},
"id": {
"type": "integer",
"description": "ID of the Resource"
},
"ip": {
"type": "string",
"description": "IP address"
},
"labels": {
"type": "object",
"description": "User-defined labels (key-value pairs)"
},
"name": {
"type": "string",
"description": "Name of the Resource. Must be unique per Project."
},
"protection": {
"type": "object",
"description": "Protection configuration for the Resource",
"required": [
"delete"
],
"properties": {
"delete": {
"type": "boolean",
"description": "If true, prevents the Resource from being deleted"
}
}
},
"server": {
"type": "integer",
"description": "ID of the Server the Floating IP is assigned to, null if it is not assigned at all"
},
"type": {
"type": "string",
"description": "Type of the Floating IP",
"enum": [
"ipv4",
"ipv6"
]
}
}
}
}
}