@pulumi/hcloud
Version:
A Pulumi package for creating and managing hcloud cloud resources.
51 lines • 1.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Provides a list of available Hetzner Cloud Server Types.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const all = hcloud.getServerTypes({});
* ```
*/
export declare function getServerTypes(opts?: pulumi.InvokeOptions): Promise<GetServerTypesResult>;
/**
* A collection of values returned by getServerTypes.
*/
export interface GetServerTypesResult {
/**
* @deprecated Use serverTypes list instead
*/
readonly descriptions: string[];
/**
* The ID of this resource.
*/
readonly id: string;
/**
* @deprecated Use serverTypes list instead
*/
readonly names: string[];
/**
* @deprecated Use serverTypes list instead
*/
readonly serverTypeIds: string[];
readonly serverTypes: outputs.GetServerTypesServerType[];
}
/**
* Provides a list of available Hetzner Cloud Server Types.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const all = hcloud.getServerTypes({});
* ```
*/
export declare function getServerTypesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServerTypesResult>;
//# sourceMappingURL=getServerTypes.d.ts.map