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 Db Servers in Oracle Cloud Infrastructure Database service. * * Lists the Exadata DB servers in the ExadataInfrastructureId and specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbServers = oci.database.getDbServers({ * compartmentId: compartmentId, * exadataInfrastructureId: testExadataInfrastructure.id, * displayName: dbServerDisplayName, * state: dbServerState, * }); * ``` */ export declare function getDbServers(args: GetDbServersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbServers. */ export interface GetDbServersArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ExadataInfrastructure. */ exadataInfrastructureId: string; filters?: inputs.Database.GetDbServersFilter[]; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; } /** * A collection of values returned by getDbServers. */ export interface GetDbServersResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The list of db_servers. */ readonly dbServers: outputs.Database.GetDbServersDbServer[]; /** * The user-friendly name for the Db server. The name does not need to be unique. */ readonly displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ readonly exadataInfrastructureId: string; readonly filters?: outputs.Database.GetDbServersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the Db server. */ readonly state?: string; } /** * This data source provides the list of Db Servers in Oracle Cloud Infrastructure Database service. * * Lists the Exadata DB servers in the ExadataInfrastructureId and specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbServers = oci.database.getDbServers({ * compartmentId: compartmentId, * exadataInfrastructureId: testExadataInfrastructure.id, * displayName: dbServerDisplayName, * state: dbServerState, * }); * ``` */ export declare function getDbServersOutput(args: GetDbServersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbServers. */ export interface GetDbServersOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ExadataInfrastructure. */ exadataInfrastructureId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getDbServers.d.ts.map