import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets environment details. */ export declare function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetEnvironmentArgs { environmentId: string; organizationId: string; } export interface GetEnvironmentResult { /** * Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. */ readonly apiProxyType: string; /** * Creation time of this environment as milliseconds since epoch. */ readonly createdAt: string; /** * Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be **prevented from performing** a [subset of actions](/apigee/docs/api-platform/local-development/overview#prevented-actions) within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers */ readonly deploymentType: string; /** * Optional. Description of the environment. */ readonly description: string; /** * Optional. Display name for this environment. */ readonly displayName: string; /** * Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of "http" or "https", and port must be supplied. */ readonly forwardProxyUri: string; readonly hasAttachedFlowHooks: boolean; /** * Last modification time of this environment as milliseconds since epoch. */ readonly lastModifiedAt: string; /** * Name of the environment. Values must match the regular expression `^[.\\p{Alnum}-_]{1,255}$` */ readonly name: string; /** * Optional. NodeConfig of the environment. */ readonly nodeConfig: outputs.apigee.v1.GoogleCloudApigeeV1NodeConfigResponse; /** * Optional. Key-value pairs that may be used for customizing the environment. */ readonly properties: outputs.apigee.v1.GoogleCloudApigeeV1PropertiesResponse; /** * State of the environment. Values other than ACTIVE means the resource is not ready to use. */ readonly state: string; /** * Optional. EnvironmentType selected for the environment. */ readonly type: string; } /** * Gets environment details. */ export declare function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetEnvironmentOutputArgs { environmentId: pulumi.Input; organizationId: pulumi.Input; }