oci_log_analytics_namespace

This resource provides the Namespace resource in Oracle Cloud Infrastructure Log Analytics service.

Onboards a tenancy with Log Analytics or Offboards a tenancy from Log Analytics functionality.

Example Usage

resource "oci_log_analytics_namespace" "test_namespace" {
    #Required
    compartment_id = var.compartment_id
    is_onboarded = var.is_onboarded
    namespace = var.namespace_namespace
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Namespace can be imported using the namespace, e.g.

$ terraform import oci_log_analytics_namespace.test_namespace "namespace"