import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the News Report resource in Oracle Cloud Infrastructure Opsi service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operations-insights/latest/NewsReport
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osi
 *
 * Create a news report in Ops Insights. The report will be enabled in Ops Insights. Insights will be emailed as per selected frequency.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testNewsReport = new oci.opsi.NewsReport("test_news_report", {
 *     compartmentId: compartmentId,
 *     contentTypes: {
 *         actionableInsightsResources: newsReportContentTypesActionableInsightsResources,
 *         capacityPlanningResources: newsReportContentTypesCapacityPlanningResources,
 *         sqlInsightsFleetAnalysisResources: newsReportContentTypesSqlInsightsFleetAnalysisResources,
 *         sqlInsightsPerformanceDegradationResources: newsReportContentTypesSqlInsightsPerformanceDegradationResources,
 *         sqlInsightsPlanChangesResources: newsReportContentTypesSqlInsightsPlanChangesResources,
 *         sqlInsightsTopDatabasesResources: newsReportContentTypesSqlInsightsTopDatabasesResources,
 *         sqlInsightsTopSqlByInsightsResources: newsReportContentTypesSqlInsightsTopSqlByInsightsResources,
 *         sqlInsightsTopSqlResources: newsReportContentTypesSqlInsightsTopSqlResources,
 *     },
 *     description: newsReportDescription,
 *     locale: newsReportLocale,
 *     name: newsReportName,
 *     newsFrequency: newsReportNewsFrequency,
 *     onsTopicId: testOnsTopic.id,
 *     areChildCompartmentsIncluded: newsReportAreChildCompartmentsIncluded === "true",
 *     dayOfWeek: newsReportDayOfWeek,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     matchRule: newsReportMatchRule,
 *     status: newsReportStatus,
 *     tagFilters: newsReportTagFilters,
 * });
 * ```
 *
 * ## Import
 *
 * NewsReports can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Opsi/newsReport:NewsReport test_news_report "id"
 * ```
 */
export declare class NewsReport extends pulumi.CustomResource {
    /**
     * Get an existing NewsReport 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<pulumi.ID>, state?: NewsReportState, opts?: pulumi.CustomResourceOptions): NewsReport;
    /**
     * Returns true if the given object is an instance of NewsReport.  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 NewsReport;
    /**
     * (Updatable) A flag to consider the resources within a given compartment and all sub-compartments.
     */
    readonly areChildCompartmentsIncluded: pulumi.Output<boolean>;
    /**
     * (Updatable) Compartment Identifier where the news report will be created.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Content types that the news report can handle.
     */
    readonly contentTypes: pulumi.Output<outputs.Opsi.NewsReportContentTypes>;
    /**
     * (Updatable) Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
     */
    readonly dayOfWeek: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The description of the news report.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * (Updatable) Language of the news report.
     */
    readonly locale: pulumi.Output<string>;
    /**
     * (Updatable) Match rule used for tag filters.
     */
    readonly matchRule: pulumi.Output<string>;
    /**
     * (Updatable) The news report name.
     */
    readonly name: pulumi.Output<string>;
    /**
     * (Updatable) News report frequency.
     */
    readonly newsFrequency: pulumi.Output<string>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ONS topic.
     */
    readonly onsTopicId: pulumi.Output<string>;
    /**
     * The current state of the news report.
     */
    readonly state: pulumi.Output<string>;
    /**
     * (Updatable) Defines if the news report will be enabled or disabled.
     */
    readonly status: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) List of tag filters; each filter composed by a namespace, key, and value. Example for defined tags - '<TagNamespace>.<TagKey>=<TagValue>'. Example for freeform tags - '<TagKey>=<TagValue>'
     *
     *
     * ** 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 tagFilters: pulumi.Output<string[]>;
    /**
     * The time the the news report was first enabled. An RFC3339 formatted datetime string.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time the news report was updated. An RFC3339 formatted datetime string.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a NewsReport 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: NewsReportArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering NewsReport resources.
 */
export interface NewsReportState {
    /**
     * (Updatable) A flag to consider the resources within a given compartment and all sub-compartments.
     */
    areChildCompartmentsIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) Compartment Identifier where the news report will be created.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Content types that the news report can handle.
     */
    contentTypes?: pulumi.Input<inputs.Opsi.NewsReportContentTypes | undefined>;
    /**
     * (Updatable) Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
     */
    dayOfWeek?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the news report.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Language of the news report.
     */
    locale?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Match rule used for tag filters.
     */
    matchRule?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The news report name.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) News report frequency.
     */
    newsFrequency?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ONS topic.
     */
    onsTopicId?: pulumi.Input<string | undefined>;
    /**
     * The current state of the news report.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defines if the news report will be enabled or disabled.
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) List of tag filters; each filter composed by a namespace, key, and value. Example for defined tags - '<TagNamespace>.<TagKey>=<TagValue>'. Example for freeform tags - '<TagKey>=<TagValue>'
     *
     *
     * ** 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
     */
    tagFilters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The time the the news report was first enabled. An RFC3339 formatted datetime string.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time the news report was updated. An RFC3339 formatted datetime string.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a NewsReport resource.
 */
export interface NewsReportArgs {
    /**
     * (Updatable) A flag to consider the resources within a given compartment and all sub-compartments.
     */
    areChildCompartmentsIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) Compartment Identifier where the news report will be created.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Content types that the news report can handle.
     */
    contentTypes: pulumi.Input<inputs.Opsi.NewsReportContentTypes>;
    /**
     * (Updatable) Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
     */
    dayOfWeek?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The description of the news report.
     */
    description: pulumi.Input<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Language of the news report.
     */
    locale: pulumi.Input<string>;
    /**
     * (Updatable) Match rule used for tag filters.
     */
    matchRule?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The news report name.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) News report frequency.
     */
    newsFrequency: pulumi.Input<string>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ONS topic.
     */
    onsTopicId: pulumi.Input<string>;
    /**
     * (Updatable) Defines if the news report will be enabled or disabled.
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) List of tag filters; each filter composed by a namespace, key, and value. Example for defined tags - '<TagNamespace>.<TagKey>=<TagValue>'. Example for freeform tags - '<TagKey>=<TagValue>'
     *
     *
     * ** 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
     */
    tagFilters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=newsReport.d.ts.map