import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Deploy Environments in Oracle Cloud Infrastructure Devops service. * * Returns a list of deployment environments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeployEnvironments = oci.devops.getDeployEnvironments({ * compartmentId: compartmentId, * displayName: deployEnvironmentDisplayName, * id: deployEnvironmentId, * projectId: testProject.id, * state: deployEnvironmentState, * }); * ``` */ export declare function getDeployEnvironments(args?: GetDeployEnvironmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDeployEnvironments. */ export interface GetDeployEnvironmentsArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.DevOps.GetDeployEnvironmentsFilter[]; /** * Unique identifier or OCID for listing a single resource by ID. */ id?: string; /** * unique project identifier */ projectId?: string; /** * A filter to return only DeployEnvironments that matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getDeployEnvironments. */ export interface GetDeployEnvironmentsResult { /** * The OCID of a compartment. */ readonly compartmentId?: string; /** * The list of deploy_environment_collection. */ readonly deployEnvironmentCollections: outputs.DevOps.GetDeployEnvironmentsDeployEnvironmentCollection[]; /** * Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.DevOps.GetDeployEnvironmentsFilter[]; /** * Unique identifier that is immutable on creation. */ readonly id?: string; /** * The OCID of a project. */ readonly projectId?: string; /** * The current state of the deployment environment. */ readonly state?: string; } /** * This data source provides the list of Deploy Environments in Oracle Cloud Infrastructure Devops service. * * Returns a list of deployment environments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeployEnvironments = oci.devops.getDeployEnvironments({ * compartmentId: compartmentId, * displayName: deployEnvironmentDisplayName, * id: deployEnvironmentId, * projectId: testProject.id, * state: deployEnvironmentState, * }); * ``` */ export declare function getDeployEnvironmentsOutput(args?: GetDeployEnvironmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDeployEnvironments. */ export interface GetDeployEnvironmentsOutputArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique identifier or OCID for listing a single resource by ID. */ id?: pulumi.Input; /** * unique project identifier */ projectId?: pulumi.Input; /** * A filter to return only DeployEnvironments that matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getDeployEnvironments.d.ts.map