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 Exports in Oracle Cloud Infrastructure File Storage service. * * Lists export resources by compartment, file system, or export * set. You must specify an export set ID, a file system ID, and * / or a compartment ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExports = oci.filestorage.getExports({ * compartmentId: compartmentId, * exportSetId: testExportSet.id, * fileSystemId: testFileSystem.id, * id: exportId, * state: exportState, * }); * ``` */ export declare function getExports(args?: GetExportsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExports. */ export interface GetExportsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. */ exportSetId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. */ fileSystemId?: string; filters?: inputs.FileStorage.GetExportsFilter[]; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resouce type. */ id?: string; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: string; } /** * A collection of values returned by getExports. */ export interface GetExportsResult { readonly compartmentId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's export set. */ readonly exportSetId?: string; /** * The list of exports. */ readonly exports: outputs.FileStorage.GetExportsExport[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's file system. */ readonly fileSystemId?: string; readonly filters?: outputs.FileStorage.GetExportsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export. */ readonly id?: string; /** * The current state of this export. */ readonly state?: string; } /** * This data source provides the list of Exports in Oracle Cloud Infrastructure File Storage service. * * Lists export resources by compartment, file system, or export * set. You must specify an export set ID, a file system ID, and * / or a compartment ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExports = oci.filestorage.getExports({ * compartmentId: compartmentId, * exportSetId: testExportSet.id, * fileSystemId: testFileSystem.id, * id: exportId, * state: exportState, * }); * ``` */ export declare function getExportsOutput(args?: GetExportsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExports. */ export interface GetExportsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. */ exportSetId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. */ fileSystemId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resouce type. */ id?: pulumi.Input; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: pulumi.Input; } //# sourceMappingURL=getExports.d.ts.map