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 User Data Access Containers in Oracle Cloud Infrastructure Database Management service. * * Gets the list of containers for a specific user. This is only applicable if ALL_CONTAINERS !='Y'. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseUserDataAccessContainers = oci.databasemanagement.getManagedDatabaseUserDataAccessContainers({ * managedDatabaseId: testManagedDatabase.id, * userName: testUser.name, * name: managedDatabaseUserDataAccessContainerName, * opcNamedCredentialId: managedDatabaseUserDataAccessContainerOpcNamedCredentialId, * }); * ``` */ export declare function getManagedDatabaseUserDataAccessContainers(args: GetManagedDatabaseUserDataAccessContainersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabaseUserDataAccessContainers. */ export interface GetManagedDatabaseUserDataAccessContainersArgs { filters?: inputs.DatabaseManagement.GetManagedDatabaseUserDataAccessContainersFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: string; /** * A filter to return only resources that match the entire name. */ name?: string; /** * The OCID of the Named Credential. */ opcNamedCredentialId?: string; /** * The name of the user whose details are to be viewed. */ userName: string; } /** * A collection of values returned by getManagedDatabaseUserDataAccessContainers. */ export interface GetManagedDatabaseUserDataAccessContainersResult { /** * The list of data_access_container_collection. */ readonly dataAccessContainerCollections: outputs.DatabaseManagement.GetManagedDatabaseUserDataAccessContainersDataAccessContainerCollection[]; readonly filters?: outputs.DatabaseManagement.GetManagedDatabaseUserDataAccessContainersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly managedDatabaseId: string; /** * The name of the container included in the attribute. */ readonly name?: string; readonly opcNamedCredentialId?: string; readonly userName: string; } /** * This data source provides the list of Managed Database User Data Access Containers in Oracle Cloud Infrastructure Database Management service. * * Gets the list of containers for a specific user. This is only applicable if ALL_CONTAINERS !='Y'. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseUserDataAccessContainers = oci.databasemanagement.getManagedDatabaseUserDataAccessContainers({ * managedDatabaseId: testManagedDatabase.id, * userName: testUser.name, * name: managedDatabaseUserDataAccessContainerName, * opcNamedCredentialId: managedDatabaseUserDataAccessContainerOpcNamedCredentialId, * }); * ``` */ export declare function getManagedDatabaseUserDataAccessContainersOutput(args: GetManagedDatabaseUserDataAccessContainersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabaseUserDataAccessContainers. */ export interface GetManagedDatabaseUserDataAccessContainersOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: pulumi.Input; /** * A filter to return only resources that match the entire name. */ name?: pulumi.Input; /** * The OCID of the Named Credential. */ opcNamedCredentialId?: pulumi.Input; /** * The name of the user whose details are to be viewed. */ userName: pulumi.Input; } //# sourceMappingURL=getManagedDatabaseUserDataAccessContainers.d.ts.map