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 Target Databases Schemas in Oracle Cloud Infrastructure Data Safe service. * * Returns list of schema. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetDatabasesSchemas = oci.datasafe.getTargetDatabasesSchemas({ * targetDatabaseId: testTargetDatabase.id, * isOracleMaintained: targetDatabasesSchemaIsOracleMaintained === "true", * schemaNames: targetDatabasesSchemaSchemaName, * schemaNameContains: targetDatabasesSchemaSchemaNameContains, * }); * ``` */ export declare function getTargetDatabasesSchemas(args: GetTargetDatabasesSchemasArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTargetDatabasesSchemas. */ export interface GetTargetDatabasesSchemasArgs { filters?: inputs.DataSafe.GetTargetDatabasesSchemasFilter[]; /** * A filter to return only items related to specific type of schema. */ isOracleMaintained?: boolean; /** * A filter to return only items if schema name contains a specific string. */ schemaNameContains?: string; /** * A filter to return only items related to specific schema name. */ schemaNames?: string[]; /** * The OCID of the Data Safe target database. */ targetDatabaseId: string; } /** * A collection of values returned by getTargetDatabasesSchemas. */ export interface GetTargetDatabasesSchemasResult { readonly filters?: outputs.DataSafe.GetTargetDatabasesSchemasFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates if the schema is oracle supplied. */ readonly isOracleMaintained?: boolean; readonly schemaNameContains?: string; /** * Name of the schema. */ readonly schemaNames?: string[]; /** * The list of schemas. */ readonly schemas: outputs.DataSafe.GetTargetDatabasesSchemasSchema[]; readonly targetDatabaseId: string; } /** * This data source provides the list of Target Databases Schemas in Oracle Cloud Infrastructure Data Safe service. * * Returns list of schema. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetDatabasesSchemas = oci.datasafe.getTargetDatabasesSchemas({ * targetDatabaseId: testTargetDatabase.id, * isOracleMaintained: targetDatabasesSchemaIsOracleMaintained === "true", * schemaNames: targetDatabasesSchemaSchemaName, * schemaNameContains: targetDatabasesSchemaSchemaNameContains, * }); * ``` */ export declare function getTargetDatabasesSchemasOutput(args: GetTargetDatabasesSchemasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTargetDatabasesSchemas. */ export interface GetTargetDatabasesSchemasOutputArgs { filters?: pulumi.Input[] | undefined>; /** * A filter to return only items related to specific type of schema. */ isOracleMaintained?: pulumi.Input; /** * A filter to return only items if schema name contains a specific string. */ schemaNameContains?: pulumi.Input; /** * A filter to return only items related to specific schema name. */ schemaNames?: pulumi.Input[] | undefined>; /** * The OCID of the Data Safe target database. */ targetDatabaseId: pulumi.Input; } //# sourceMappingURL=getTargetDatabasesSchemas.d.ts.map