oci_stack_monitoring_process_set

This resource provides the Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service.

API to create Process Set.

Example Usage

resource "oci_stack_monitoring_process_set" "test_process_set" {
    #Required
    compartment_id = var.compartment_id
    display_name = var.process_set_display_name
    specification {
        #Required
        items {

            #Optional
            label = var.process_set_specification_items_label
            process_command = var.process_set_specification_items_process_command
            process_line_regex_pattern = var.process_set_specification_items_process_line_regex_pattern
            process_user = var.process_set_specification_items_process_user
        }
    }

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    freeform_tags = {"bar-key"= "value"}
}

Argument Reference

The following arguments are supported:

* 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

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Process Set * update - (Defaults to 20 minutes), when updating the Process Set * delete - (Defaults to 20 minutes), when destroying the Process Set

Import

ProcessSets can be imported using the id, e.g.

$ terraform import oci_stack_monitoring_process_set.test_process_set "id"