Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 1.52 KB

oci_log_analytics_log_analytics_log_groups_summary.md

File metadata and controls

86 lines (64 loc) · 1.52 KB

oci_log_analytics_log_analytics_log_groups_summary

back

Index

Terraform

terraform {
  required_providers {
    oci = ">= 4.21.0"
  }
}

top

Example Usage

module "oci_log_analytics_log_analytics_log_groups_summary" {
  source = "./modules/oci/d/oci_log_analytics_log_analytics_log_groups_summary"

  # compartment_id - (required) is a type of string
  compartment_id = null
  # namespace - (required) is a type of string
  namespace = null
}

top

Variables

variable "compartment_id" {
  description = "(required)"
  type        = string
}

variable "namespace" {
  description = "(required)"
  type        = string
}

top

Datasource

data "oci_log_analytics_log_analytics_log_groups_summary" "this" {
  # compartment_id - (required) is a type of string
  compartment_id = var.compartment_id
  # namespace - (required) is a type of string
  namespace = var.namespace
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = data.oci_log_analytics_log_analytics_log_groups_summary.this.id
}

output "log_group_count" {
  description = "returns a number"
  value       = data.oci_log_analytics_log_analytics_log_groups_summary.this.log_group_count
}

output "this" {
  value = oci_log_analytics_log_analytics_log_groups_summary.this
}

top