import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Environment resource in Oracle Cloud Infrastructure Cloud Bridge service. * * Gets a source environment by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEnvironment = oci.cloudbridge.getEnvironment({ * environmentId: testEnvironmentOciCloudBridgeEnvironment.id, * }); * ``` */ export declare function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEnvironment. */ export interface GetEnvironmentArgs { /** * Unique environment identifier. */ environmentId: string; } /** * A collection of values returned by getEnvironment. */ export interface GetEnvironmentResult { /** * Compartment identifier. */ readonly compartmentId: string; /** * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * Environment identifier, which can be renamed. */ readonly displayName: string; readonly environmentId: string; /** * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * Unique identifier that is immutable on creation. */ readonly id: string; /** * A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; /** * The current state of the source environment. */ readonly state: string; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: { [key: string]: string; }; /** * The time when the source environment was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time when the source environment was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Environment resource in Oracle Cloud Infrastructure Cloud Bridge service. * * Gets a source environment by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEnvironment = oci.cloudbridge.getEnvironment({ * environmentId: testEnvironmentOciCloudBridgeEnvironment.id, * }); * ``` */ export declare function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEnvironment. */ export interface GetEnvironmentOutputArgs { /** * Unique environment identifier. */ environmentId: pulumi.Input; } //# sourceMappingURL=getEnvironment.d.ts.map