@formalco/pulumi
Version:
A Pulumi package for creating and managing Formal resources.
69 lines (68 loc) • 1.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for looking up a Resource by name.
*/
export declare function getResource(args: GetResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceResult>;
/**
* A collection of arguments for invoking getResource.
*/
export interface GetResourceArgs {
/**
* The name of the Resource.
*/
name: string;
}
/**
* A collection of values returned by getResource.
*/
export interface GetResourceResult {
/**
* Creation time of the Resource.
*/
readonly createdAt: number;
/**
* Environment for the Resource.
*/
readonly environment: string;
/**
* Hostname of the Resource.
*/
readonly hostname: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of the Resource.
*/
readonly name: string;
/**
* The port your Resource is listening on.
*/
readonly port: number;
/**
* The ID of the Space the Resource is in.
*/
readonly spaceId: string;
/**
* Technology of the Resource.
*/
readonly technology: string;
/**
* If set to true, the Resource cannot be deleted.
*/
readonly terminationProtection: boolean;
}
/**
* Data source for looking up a Resource by name.
*/
export declare function getResourceOutput(args: GetResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceResult>;
/**
* A collection of arguments for invoking getResource.
*/
export interface GetResourceOutputArgs {
/**
* The name of the Resource.
*/
name: pulumi.Input<string>;
}