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 Environments in Oracle Cloud Infrastructure Cloud Bridge service. * * Returns a list of source environments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEnvironments = oci.cloudbridge.getEnvironments({ * compartmentId: compartmentId, * displayName: environmentDisplayName, * environmentId: testEnvironment.id, * state: environmentState, * }); * ``` */ export declare function getEnvironments(args: GetEnvironmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEnvironments. */ export interface GetEnvironmentsArgs { /** * The ID 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; /** * A filter to return only resources that match the given environment ID. */ environmentId?: string; filters?: inputs.CloudBridge.GetEnvironmentsFilter[]; /** * A filter to return only resources where their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getEnvironments. */ export interface GetEnvironmentsResult { /** * Compartment identifier. */ readonly compartmentId: string; /** * Environment identifier, which can be renamed. */ readonly displayName?: string; /** * The list of environment_collection. */ readonly environmentCollections: outputs.CloudBridge.GetEnvironmentsEnvironmentCollection[]; readonly environmentId?: string; readonly filters?: outputs.CloudBridge.GetEnvironmentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the source environment. */ readonly state?: string; } /** * This data source provides the list of Environments in Oracle Cloud Infrastructure Cloud Bridge service. * * Returns a list of source environments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEnvironments = oci.cloudbridge.getEnvironments({ * compartmentId: compartmentId, * displayName: environmentDisplayName, * environmentId: testEnvironment.id, * state: environmentState, * }); * ``` */ export declare function getEnvironmentsOutput(args: GetEnvironmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEnvironments. */ export interface GetEnvironmentsOutputArgs { /** * The ID 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; /** * A filter to return only resources that match the given environment ID. */ environmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources where their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getEnvironments.d.ts.map