import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Log Analytics Resource Categories Management 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/LogAnalyticsResourceCategoriesManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics * * Updates the category assignments of DASHBOARD and SAVEDSEARCH resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogAnalyticsResourceCategoriesManagement = new oci.loganalytics.LogAnalyticsResourceCategoriesManagement("test_log_analytics_resource_categories_management", { * namespace: logAnalyticsResourceCategoriesManagementNamespace, * resourceId: ociLogAnalyticsResourceCategoriesManagementResourceId, * resourceType: logAnalyticsResourceCategoriesManagementResourceType, * resourceCategories: logAnalyticsResourceCategoriesManagementResourceCategories, * }); * ``` * * ## Import * * LogAnalyticsResourceCategoriesManagement cannot be imported. */ export declare class LogAnalyticsResourceCategoriesManagement extends pulumi.CustomResource { /** * Get an existing LogAnalyticsResourceCategoriesManagement 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?: LogAnalyticsResourceCategoriesManagementState, opts?: pulumi.CustomResourceOptions): LogAnalyticsResourceCategoriesManagement; /** * Returns true if the given object is an instance of LogAnalyticsResourceCategoriesManagement. 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 LogAnalyticsResourceCategoriesManagement; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ readonly namespace: pulumi.Output; /** * The list of categories to be assigned to the resource. */ readonly resourceCategories: pulumi.Output; /** * The resource unique identifier for which catagories are managed. */ readonly resourceId: pulumi.Output; /** * The resource type of the resource for which categories are managed. * * ** 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 resourceType: pulumi.Output; /** * Create a LogAnalyticsResourceCategoriesManagement 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: LogAnalyticsResourceCategoriesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogAnalyticsResourceCategoriesManagement resources. */ export interface LogAnalyticsResourceCategoriesManagementState { /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace?: pulumi.Input; /** * The list of categories to be assigned to the resource. */ resourceCategories?: pulumi.Input[] | undefined>; /** * The resource unique identifier for which catagories are managed. */ resourceId?: pulumi.Input; /** * The resource type of the resource for which categories are managed. * * ** 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 */ resourceType?: pulumi.Input; } /** * The set of arguments for constructing a LogAnalyticsResourceCategoriesManagement resource. */ export interface LogAnalyticsResourceCategoriesManagementArgs { /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: pulumi.Input; /** * The list of categories to be assigned to the resource. */ resourceCategories: pulumi.Input[]>; /** * The resource unique identifier for which catagories are managed. */ resourceId: pulumi.Input; /** * The resource type of the resource for which categories are managed. * * ** 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 */ resourceType: pulumi.Input; } //# sourceMappingURL=logAnalyticsResourceCategoriesManagement.d.ts.map