import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates an environment in an organization. */ export declare class Environment extends pulumi.CustomResource { /** * Get an existing Environment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Environment; /** * Returns true if the given object is an instance of Environment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Environment; /** * Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. */ readonly apiProxyType: pulumi.Output; /** * Creation time of this environment as milliseconds since epoch. */ readonly createdAt: pulumi.Output; /** * 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: pulumi.Output; /** * Optional. Description of the environment. */ readonly description: pulumi.Output; /** * Optional. Display name for this environment. */ readonly displayName: pulumi.Output; /** * 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: pulumi.Output; readonly hasAttachedFlowHooks: pulumi.Output; /** * Last modification time of this environment as milliseconds since epoch. */ readonly lastModifiedAt: pulumi.Output; /** * Optional. Name of the environment. */ readonly name: pulumi.Output; /** * Optional. NodeConfig of the environment. */ readonly nodeConfig: pulumi.Output; readonly organizationId: pulumi.Output; /** * Optional. Key-value pairs that may be used for customizing the environment. */ readonly properties: pulumi.Output; /** * State of the environment. Values other than ACTIVE means the resource is not ready to use. */ readonly state: pulumi.Output; /** * Optional. EnvironmentType selected for the environment. */ readonly type: pulumi.Output; /** * Create a Environment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EnvironmentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Environment resource. */ export interface EnvironmentArgs { /** * Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. */ apiProxyType?: pulumi.Input; /** * 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 */ deploymentType?: pulumi.Input; /** * Optional. Description of the environment. */ description?: pulumi.Input; /** * Optional. Display name for this environment. */ displayName?: pulumi.Input; /** * 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. */ forwardProxyUri?: pulumi.Input; hasAttachedFlowHooks?: pulumi.Input; /** * Name of the environment. Values must match the regular expression `^[.\\p{Alnum}-_]{1,255}$` */ name?: pulumi.Input; /** * Optional. NodeConfig of the environment. */ nodeConfig?: pulumi.Input; organizationId: pulumi.Input; /** * Optional. Key-value pairs that may be used for customizing the environment. */ properties?: pulumi.Input; /** * Optional. EnvironmentType selected for the environment. */ type?: pulumi.Input; }