action hetzner_get_volumes_id { label: "Get a Volume" description: "Gets a specific Volume object." provider: hetzner method: GET path: "/volumes/{id}" encoding: json input: { type: "object" properties: { id: { type: "integer" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["volume"] properties: { volume: { type: "object" required: ["created", "format", "id", "labels", "linux_device", "location", "name", "protection", "server", "size", "status"] properties: { created: { type: "string" description: "Point in time when the Resource was created (in ISO-8601 format)" } format: { type: "string" description: "Filesystem of the Volume if formatted on creation, null if not formatted on creation" } id: { type: "integer" description: "ID of the Resource" } labels: { type: "object" description: "User-defined labels (key-value pairs)" } linux_device: { type: "string" description: "Device path on the file system for the Volume" } location: { type: "object" description: "Location of the Volume. Volume can only be attached to Servers in the same 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" } } } 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 Volume is attached to, null if it is not attached at all" } size: { type: "number" description: "Size in GB of the Volume" } status: { type: "string" description: "Current status of the Volume" enum: ["creating", "available"] } } } } } }