import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single Instance. */ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetInstanceArgs { instanceId: string; location: string; project?: string; } export interface GetInstanceResult { /** * Build info of the Instance if it's in `ACTIVE` state. */ readonly build: outputs.apigeeregistry.v1.BuildResponse; /** * Config of the Instance. */ readonly config: outputs.apigeeregistry.v1.ConfigResponse; /** * Creation timestamp. */ readonly createTime: string; /** * Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported. */ readonly name: string; /** * The current state of the Instance. */ readonly state: string; /** * Extra information of Instance.State if the state is `FAILED`. */ readonly stateMessage: string; /** * Last update timestamp. */ readonly updateTime: string; } /** * Gets details of a single Instance. */ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetInstanceOutputArgs { instanceId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }