{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"On creation, a floating IP must be either assigned to a Droplet or reserved to a region.\n* To create a new floating IP assigned to a Droplet, send a POST\n  request to `/v2/floating_ips` with the `droplet_id` attribute.\n\n* To create a new floating IP reserved to a region, send a POST request to\n  `/v2/floating_ips` with the `region` attribute.","properties":{"body":{"$ref":"#/definitions/floating_ip_create"}},"required":["body"],"additionalProperties":false,"definitions":{"floating_ip_create":{"oneOf":[{"title":"Assign to Droplet","type":"object","properties":{"droplet_id":{"type":"integer","description":"The ID of the Droplet that the floating IP will be assigned to.","examples":[2457247]}},"required":["droplet_id"]},{"title":"Reserve to Region","type":"object","properties":{"region":{"type":"string","description":"The slug identifier for the region the floating IP will be reserved to.","examples":["nyc3"]},"project_id":{"type":"string","format":"uuid","description":"The UUID of the project to which the floating IP will be assigned.","examples":["746c6152-2fa2-11ed-92d3-27aaa54e4988"]}},"required":["region"]}]}}},"name":"Create a New Floating IP","id":"digitalocean.floatingips_create","example":{"body":{"droplet_id":2457247}},"maxRequests":1,"summary":false}}