import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Log Analytics Import Custom Content resource in Oracle Cloud Infrastructure Log Analytics service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/logan-api-spec/latest/LogAnalyticsImportCustomContent * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics * * Imports the specified custom content from the input in zip format. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogAnalyticsImportCustomContent = new oci.loganalytics.LogAnalyticsImportCustomContent("test_log_analytics_import_custom_content", { * importCustomContentFile: logAnalyticsImportCustomContentImportCustomContentFile, * namespace: logAnalyticsImportCustomContentNamespace, * expect: logAnalyticsImportCustomContentExpect, * isOverwrite: logAnalyticsImportCustomContentIsOverwrite === "true", * }); * ``` * * ## Import * * Import is not supported for LogAnalyticsImportCustomContent */ export declare class LogAnalyticsImportCustomContent extends pulumi.CustomResource { /** * Get an existing LogAnalyticsImportCustomContent 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?: LogAnalyticsImportCustomContentState, opts?: pulumi.CustomResourceOptions): LogAnalyticsImportCustomContent; /** * Returns true if the given object is an instance of LogAnalyticsImportCustomContent. 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 LogAnalyticsImportCustomContent; /** * LogAnalyticsImportCustomChangeList */ readonly changeLists: pulumi.Output; /** * The content name. */ readonly contentName: pulumi.Output; /** * A value of `100-continue` requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). * * ** 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 expect: pulumi.Output; /** * The field names. */ readonly fieldNames: pulumi.Output; /** * Path to the file to upload which contains the custom content. */ readonly importCustomContentFile: pulumi.Output; /** * A flag indicating whether or not to overwrite existing content if a conflict is found during import content operation. */ readonly isOverwrite: pulumi.Output; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ readonly namespace: pulumi.Output; /** * The parser names. */ readonly parserNames: pulumi.Output; /** * The source names. */ readonly sourceNames: pulumi.Output; /** * Create a LogAnalyticsImportCustomContent 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: LogAnalyticsImportCustomContentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogAnalyticsImportCustomContent resources. */ export interface LogAnalyticsImportCustomContentState { /** * LogAnalyticsImportCustomChangeList */ changeLists?: pulumi.Input[] | undefined>; /** * The content name. */ contentName?: pulumi.Input; /** * A value of `100-continue` requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). * * ** 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 */ expect?: pulumi.Input; /** * The field names. */ fieldNames?: pulumi.Input[] | undefined>; /** * Path to the file to upload which contains the custom content. */ importCustomContentFile?: pulumi.Input; /** * A flag indicating whether or not to overwrite existing content if a conflict is found during import content operation. */ isOverwrite?: pulumi.Input; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace?: pulumi.Input; /** * The parser names. */ parserNames?: pulumi.Input[] | undefined>; /** * The source names. */ sourceNames?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a LogAnalyticsImportCustomContent resource. */ export interface LogAnalyticsImportCustomContentArgs { /** * A value of `100-continue` requests preliminary verification of the request method, path, and headers before the request body is sent. If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. The only allowed value for this parameter is "100-Continue" (case-insensitive). * * ** 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 */ expect?: pulumi.Input; /** * Path to the file to upload which contains the custom content. */ importCustomContentFile: pulumi.Input; /** * A flag indicating whether or not to overwrite existing content if a conflict is found during import content operation. */ isOverwrite?: pulumi.Input; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: pulumi.Input; } //# sourceMappingURL=logAnalyticsImportCustomContent.d.ts.map