UNPKG

@pulumi/hcloud

Version:

A Pulumi package for creating and managing hcloud cloud resources.

37 lines (36 loc) 1.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides a list of available Hetzner Cloud Locations. * * This resource may be useful to create highly available infrastructure, distributed across several locations. */ export declare function getLocations(opts?: pulumi.InvokeOptions): Promise<GetLocationsResult>; /** * A collection of values returned by getLocations. */ export interface GetLocationsResult { /** * @deprecated Use locations list instead */ readonly descriptions: string[]; /** * The ID of this resource. */ readonly id: string; /** * @deprecated Use locations list instead */ readonly locationIds: string[]; readonly locations: outputs.GetLocationsLocation[]; /** * @deprecated Use locations list instead */ readonly names: string[]; } /** * Provides a list of available Hetzner Cloud Locations. * * This resource may be useful to create highly available infrastructure, distributed across several locations. */ export declare function getLocationsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLocationsResult>;