import * as pulumi from "@pulumi/pulumi"; /** * Provides details about a specific Hetzner Cloud Datacenter. * * Use this resource to get detailed information about a specific Datacenter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const byId = hcloud.getDatacenter({ * id: 4, * }); * const byName = hcloud.getDatacenter({ * name: "fsn1-dc14", * }); * ``` */ export declare function getDatacenter(args?: GetDatacenterArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatacenter. */ export interface GetDatacenterArgs { /** * ID of the Datacenter. */ id?: number; /** * Name of the Datacenter. */ name?: string; } /** * A collection of values returned by getDatacenter. */ export interface GetDatacenterResult { /** * List of currently available Server Types in the Datacenter. * * @deprecated This attribute is deprecated and will be dropped after 2026-10-01. Use hcloud_server_types[].locations[].available instead. */ readonly availableServerTypeIds: number[]; /** * Description of the Datacenter. */ readonly description: string; /** * ID of the Datacenter. */ readonly id?: number; /** * Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. */ readonly location: { [key: string]: string; }; /** * Name of the Datacenter. */ readonly name?: string; /** * List of supported Server Types in the Datacenter. * * @deprecated This attribute is deprecated and will be dropped after 2026-10-01. Use hcloud_server_types[].locations[] instead. */ readonly supportedServerTypeIds: number[]; } /** * Provides details about a specific Hetzner Cloud Datacenter. * * Use this resource to get detailed information about a specific Datacenter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const byId = hcloud.getDatacenter({ * id: 4, * }); * const byName = hcloud.getDatacenter({ * name: "fsn1-dc14", * }); * ``` */ export declare function getDatacenterOutput(args?: GetDatacenterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatacenter. */ export interface GetDatacenterOutputArgs { /** * ID of the Datacenter. */ id?: pulumi.Input; /** * Name of the Datacenter. */ name?: pulumi.Input; }