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 Infrastructures in Oracle Cloud Infrastructure Datacc service. * * Obtain a list of Database Infrastructures. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInfrastructures = oci.oci.getDataccInfrastructures({ * compartmentId: compartmentId, * displayName: infrastructureDisplayName, * states: infrastructureState, * }); * ``` */ export declare function getDataccInfrastructures(args: GetDataccInfrastructuresArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataccInfrastructures. */ export interface GetDataccInfrastructuresArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied). */ compartmentId: string; /** * A filter to return resources that match the entire display name given. The match is case sensitive. */ displayName?: string; filters?: inputs.oci.GetDataccInfrastructuresFilter[]; /** * A filter to return resources that match the specified lifecycle state. */ states?: string[]; } /** * A collection of values returned by getDataccInfrastructures. */ export interface GetDataccInfrastructuresResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The user-friendly name for the Database Infrastructure. The name does not need to be unique. */ readonly displayName?: string; readonly filters?: outputs.oci.GetDataccInfrastructuresFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of infrastructure_collection. */ readonly infrastructureCollections: outputs.oci.GetDataccInfrastructuresInfrastructureCollection[]; /** * The current state of the Database Infrastructure. */ readonly states?: string[]; } /** * This data source provides the list of Infrastructures in Oracle Cloud Infrastructure Datacc service. * * Obtain a list of Database Infrastructures. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInfrastructures = oci.oci.getDataccInfrastructures({ * compartmentId: compartmentId, * displayName: infrastructureDisplayName, * states: infrastructureState, * }); * ``` */ export declare function getDataccInfrastructuresOutput(args: GetDataccInfrastructuresOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataccInfrastructures. */ export interface GetDataccInfrastructuresOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied). */ compartmentId: pulumi.Input; /** * A filter to return resources that match the entire display name given. The match is case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return resources that match the specified lifecycle state. */ states?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getDataccInfrastructures.d.ts.map