import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Data File resource in Oracle Cloud Infrastructure Apm Config service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/apm-config/latest/DataFile * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/apm/apm_config * * Creates a new data file or replaces an existing one with the same name and type. * * ## Import * * DataFiles can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ApmConfig/dataFile:DataFile test_data_file "dataFiles/{dataFileName}/apmDomainId/{apmDomainId}/apmType/{apmType}" * ``` */ export declare class DataFile extends pulumi.CustomResource { /** * Get an existing DataFile resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DataFileState, opts?: pulumi.CustomResourceOptions): DataFile; /** * Returns true if the given object is an instance of DataFile. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DataFile; /** * (Updatable) The APM Domain ID the request is intended for. */ readonly apmDomainId: pulumi.Output; /** * (Updatable) The type of the data file. */ readonly apmType: pulumi.Output; /** * The object to upload to the object store. Cannot be defined if `source` is defined. Either one should be defined. */ readonly content: pulumi.Output; /** * (Updatable) Optional parameter that provides presentation information for how the content should be displayed or handled by the recipient. * * For example, to prompt a file download with a custom filename: `attachment; filename="example.txt"` */ readonly contentDisposition: pulumi.Output; /** * (Updatable) Optional parameter indicating the content encodings applied to the request body (e.g., gzip, deflate). This value can be used by recipients to determine how to decode the content. */ readonly contentEncoding: pulumi.Output; /** * (Updatable) Optional parameter that indicates the natural language of the content. This value can be used by clients or intermediaries to select or display content based on language preferences. */ readonly contentLanguage: pulumi.Output; readonly contentLength: pulumi.Output; /** * (Updatable) Optional base64-encoded MD5 hash of the request body. If provided, the server will perform a data integrity check by computing the MD5 of the received content and comparing it to the supplied value. * * If the values do not match, the request will be rejected with an HTTP 400 error and a message such as: * * "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" */ readonly contentMd5: pulumi.Output; /** * (Updatable) Optional parameter specifying the media type (MIME type) of the request or response body. If not specified, the default is `application/octet-stream`. * * This value can be used by recipients to determine how to interpret or render the content. */ readonly contentType: pulumi.Output; /** * The name of the data file. */ readonly dataFileName: pulumi.Output; /** * (Updatable) Optional user-defined metadata key and value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * An absolute path to a file on the local system. Cannot be defined if `content` is defined. Either one should be defined. */ readonly source: pulumi.Output; readonly timeLastModified: pulumi.Output; /** * Create a DataFile resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DataFileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DataFile resources. */ export interface DataFileState { /** * (Updatable) The APM Domain ID the request is intended for. */ apmDomainId?: pulumi.Input; /** * (Updatable) The type of the data file. */ apmType?: pulumi.Input; /** * The object to upload to the object store. Cannot be defined if `source` is defined. Either one should be defined. */ content?: pulumi.Input; /** * (Updatable) Optional parameter that provides presentation information for how the content should be displayed or handled by the recipient. * * For example, to prompt a file download with a custom filename: `attachment; filename="example.txt"` */ contentDisposition?: pulumi.Input; /** * (Updatable) Optional parameter indicating the content encodings applied to the request body (e.g., gzip, deflate). This value can be used by recipients to determine how to decode the content. */ contentEncoding?: pulumi.Input; /** * (Updatable) Optional parameter that indicates the natural language of the content. This value can be used by clients or intermediaries to select or display content based on language preferences. */ contentLanguage?: pulumi.Input; contentLength?: pulumi.Input; /** * (Updatable) Optional base64-encoded MD5 hash of the request body. If provided, the server will perform a data integrity check by computing the MD5 of the received content and comparing it to the supplied value. * * If the values do not match, the request will be rejected with an HTTP 400 error and a message such as: * * "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" */ contentMd5?: pulumi.Input; /** * (Updatable) Optional parameter specifying the media type (MIME type) of the request or response body. If not specified, the default is `application/octet-stream`. * * This value can be used by recipients to determine how to interpret or render the content. */ contentType?: pulumi.Input; /** * The name of the data file. */ dataFileName?: pulumi.Input; /** * (Updatable) Optional user-defined metadata key and value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * An absolute path to a file on the local system. Cannot be defined if `content` is defined. Either one should be defined. */ source?: pulumi.Input; timeLastModified?: pulumi.Input; } /** * The set of arguments for constructing a DataFile resource. */ export interface DataFileArgs { /** * (Updatable) The APM Domain ID the request is intended for. */ apmDomainId: pulumi.Input; /** * (Updatable) The type of the data file. */ apmType: pulumi.Input; /** * The object to upload to the object store. Cannot be defined if `source` is defined. Either one should be defined. */ content?: pulumi.Input; /** * (Updatable) Optional parameter that provides presentation information for how the content should be displayed or handled by the recipient. * * For example, to prompt a file download with a custom filename: `attachment; filename="example.txt"` */ contentDisposition?: pulumi.Input; /** * (Updatable) Optional parameter indicating the content encodings applied to the request body (e.g., gzip, deflate). This value can be used by recipients to determine how to decode the content. */ contentEncoding?: pulumi.Input; /** * (Updatable) Optional parameter that indicates the natural language of the content. This value can be used by clients or intermediaries to select or display content based on language preferences. */ contentLanguage?: pulumi.Input; /** * (Updatable) Optional base64-encoded MD5 hash of the request body. If provided, the server will perform a data integrity check by computing the MD5 of the received content and comparing it to the supplied value. * * If the values do not match, the request will be rejected with an HTTP 400 error and a message such as: * * "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" */ contentMd5?: pulumi.Input; /** * (Updatable) Optional parameter specifying the media type (MIME type) of the request or response body. If not specified, the default is `application/octet-stream`. * * This value can be used by recipients to determine how to interpret or render the content. */ contentType?: pulumi.Input; /** * The name of the data file. */ dataFileName: pulumi.Input; /** * (Updatable) Optional user-defined metadata key and value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * An absolute path to a file on the local system. Cannot be defined if `content` is defined. Either one should be defined. */ source?: pulumi.Input; } //# sourceMappingURL=dataFile.d.ts.map