Skip to content

Latest commit

 

History

History
97 lines (72 loc) · 1.77 KB

oci_load_balancer_health.md

File metadata and controls

97 lines (72 loc) · 1.77 KB

oci_load_balancer_health

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

top

Datasource

data "oci_load_balancer_health" "this" {
  # load_balancer_id - (required) is a type of string
  load_balancer_id = var.load_balancer_id
}

top

Outputs

output "critical_state_backend_set_names" {
  description = "returns a list of string"
  value       = data.oci_load_balancer_health.this.critical_state_backend_set_names
}

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

output "status" {
  description = "returns a string"
  value       = data.oci_load_balancer_health.this.status
}

output "total_backend_set_count" {
  description = "returns a number"
  value       = data.oci_load_balancer_health.this.total_backend_set_count
}

output "unknown_state_backend_set_names" {
  description = "returns a list of string"
  value       = data.oci_load_balancer_health.this.unknown_state_backend_set_names
}

output "warning_state_backend_set_names" {
  description = "returns a list of string"
  value       = data.oci_load_balancer_health.this.warning_state_backend_set_names
}

output "this" {
  value = oci_load_balancer_health.this
}

top