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 Managed Database Sql Tuning Sets in Oracle Cloud Infrastructure Database Management service. * * Lists the SQL tuning sets for the specified Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseSqlTuningSets = oci.databasemanagement.getManagedDatabaseSqlTuningSets({ * managedDatabaseId: testManagedDatabase.id, * nameContains: managedDatabaseSqlTuningSetNameContains, * opcNamedCredentialId: managedDatabaseSqlTuningSetOpcNamedCredentialId, * owner: managedDatabaseSqlTuningSetOwner, * }); * ``` */ export declare function getManagedDatabaseSqlTuningSets(args: GetManagedDatabaseSqlTuningSetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabaseSqlTuningSets. */ export interface GetManagedDatabaseSqlTuningSetsArgs { filters?: inputs.DatabaseManagement.GetManagedDatabaseSqlTuningSetsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: string; /** * Allow searching the name of the SQL tuning set by partial matching. The search is case insensitive. */ nameContains?: string; /** * The OCID of the Named Credential. */ opcNamedCredentialId?: string; /** * The owner of the SQL tuning set. */ owner?: string; } /** * A collection of values returned by getManagedDatabaseSqlTuningSets. */ export interface GetManagedDatabaseSqlTuningSetsResult { readonly filters?: outputs.DatabaseManagement.GetManagedDatabaseSqlTuningSetsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ readonly managedDatabaseId: string; readonly nameContains?: string; readonly opcNamedCredentialId?: string; /** * The owner of the SQL tuning set. */ readonly owner?: string; /** * The list of sql_tuning_set_collection. */ readonly sqlTuningSetCollections: outputs.DatabaseManagement.GetManagedDatabaseSqlTuningSetsSqlTuningSetCollection[]; } /** * This data source provides the list of Managed Database Sql Tuning Sets in Oracle Cloud Infrastructure Database Management service. * * Lists the SQL tuning sets for the specified Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseSqlTuningSets = oci.databasemanagement.getManagedDatabaseSqlTuningSets({ * managedDatabaseId: testManagedDatabase.id, * nameContains: managedDatabaseSqlTuningSetNameContains, * opcNamedCredentialId: managedDatabaseSqlTuningSetOpcNamedCredentialId, * owner: managedDatabaseSqlTuningSetOwner, * }); * ``` */ export declare function getManagedDatabaseSqlTuningSetsOutput(args: GetManagedDatabaseSqlTuningSetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabaseSqlTuningSets. */ export interface GetManagedDatabaseSqlTuningSetsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: pulumi.Input; /** * Allow searching the name of the SQL tuning set by partial matching. The search is case insensitive. */ nameContains?: pulumi.Input; /** * The OCID of the Named Credential. */ opcNamedCredentialId?: pulumi.Input; /** * The owner of the SQL tuning set. */ owner?: pulumi.Input; } //# sourceMappingURL=getManagedDatabaseSqlTuningSets.d.ts.map