@upcloud/pulumi-upcloud
Version:
A Pulumi package for creating and managing UpCloud resources.
43 lines (42 loc) • 1.15 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides details on given zone.
*/
export declare function getZone(args?: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetZoneResult>;
/**
* A collection of arguments for invoking getZone.
*/
export interface GetZoneArgs {
id?: string;
/**
* @deprecated Contains the same value as `id`. Use `id` instead.
*/
name?: string;
}
/**
* A collection of values returned by getZone.
*/
export interface GetZoneResult {
readonly description: string;
readonly id: string;
/**
* @deprecated Contains the same value as `id`. Use `id` instead.
*/
readonly name: string;
readonly parentZone: string;
readonly public: boolean;
}
/**
* Provides details on given zone.
*/
export declare function getZoneOutput(args?: GetZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetZoneResult>;
/**
* A collection of arguments for invoking getZone.
*/
export interface GetZoneOutputArgs {
id?: pulumi.Input<string>;
/**
* @deprecated Contains the same value as `id`. Use `id` instead.
*/
name?: pulumi.Input<string>;
}