import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Data File resource in Oracle Cloud Infrastructure Apm Config service. * * Retrieves the Data file with the specified name and type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataFile = oci.apmconfig.getDataFile({ * apmDomainId: testApmDomain.id, * apmType: dataFileApmType, * dataFileName: testDataFileOciApmConfigDataFile.name, * }); * ``` */ export declare function getDataFile(args: GetDataFileArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataFile. */ export interface GetDataFileArgs { /** * The APM Domain ID the request is intended for. */ apmDomainId: string; /** * The type of the data file. */ apmType: string; /** * Encodes the downloaded content in base64. */ base64EncodeContent?: boolean; /** * The name of the data file. */ dataFileName: string; } /** * A collection of values returned by getDataFile. */ export interface GetDataFileResult { readonly apmDomainId: string; readonly apmType: string; readonly base64EncodeContent?: boolean; readonly content: string; readonly contentDisposition: string; readonly contentEncoding: string; readonly contentLanguage: string; readonly contentLength: number; readonly contentMd5: string; readonly contentType: string; readonly dataFileName: string; readonly id: string; readonly metadata: { [key: string]: string; }; readonly source: string; readonly timeLastModified: string; } /** * This data source provides details about a specific Data File resource in Oracle Cloud Infrastructure Apm Config service. * * Retrieves the Data file with the specified name and type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataFile = oci.apmconfig.getDataFile({ * apmDomainId: testApmDomain.id, * apmType: dataFileApmType, * dataFileName: testDataFileOciApmConfigDataFile.name, * }); * ``` */ export declare function getDataFileOutput(args: GetDataFileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataFile. */ export interface GetDataFileOutputArgs { /** * The APM Domain ID the request is intended for. */ apmDomainId: pulumi.Input; /** * The type of the data file. */ apmType: pulumi.Input; /** * Encodes the downloaded content in base64. */ base64EncodeContent?: pulumi.Input; /** * The name of the data file. */ dataFileName: pulumi.Input; } //# sourceMappingURL=getDataFile.d.ts.map