action hetzner_get_placement_groups { label: "Get all PlacementGroups" description: "Returns all PlacementGroup objects." provider: hetzner method: GET path: "/placement_groups" encoding: json input: { type: "object" properties: { label_selector: { type: "string" } name: { type: "string" } sort: { type: "string" enum: ["id", "id:asc", "id:desc", "name", "name:asc", "name:desc", "created", "created:asc", "created:desc"] } type: { type: "string" enum: ["spread"] } } additionalProperties: false } output: { type: "object" required: ["placement_groups"] properties: { meta: { type: "object" required: ["pagination"] properties: { pagination: { type: "object" required: ["last_page", "next_page", "page", "per_page", "previous_page", "total_entries"] properties: { last_page: { type: "number" description: "ID of the last page available. Can be null if the current page is the last one." } next_page: { type: "number" description: "ID of the next page. Can be null if the current page is the last one." } page: { type: "number" description: "Current page number" } per_page: { type: "number" description: "Maximum number of items shown per page in the response" } previous_page: { type: "number" description: "ID of the previous page. Can be null if the current page is the first one." } total_entries: { type: "number" description: "The total number of entries that exist in the database for this query. Nullable if unknown." } } } } } placement_groups: { type: "array" items: { type: "object" required: ["id", "name", "labels", "type", "created", "servers"] 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"] } } } } } } }