Skip to content

Latest commit

 

History

History
157 lines (120 loc) · 3.25 KB

oci_optimizer_resource_action.md

File metadata and controls

157 lines (120 loc) · 3.25 KB

oci_optimizer_resource_action

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

top

Datasource

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

top

Outputs

output "action" {
  description = "returns a list of object"
  value       = data.oci_optimizer_resource_action.this.action
}

output "category_id" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.category_id
}

output "compartment_id" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.compartment_id
}

output "compartment_name" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.compartment_name
}

output "estimated_cost_saving" {
  description = "returns a number"
  value       = data.oci_optimizer_resource_action.this.estimated_cost_saving
}

output "extended_metadata" {
  description = "returns a map of string"
  value       = data.oci_optimizer_resource_action.this.extended_metadata
}

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

output "metadata" {
  description = "returns a map of string"
  value       = data.oci_optimizer_resource_action.this.metadata
}

output "name" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.name
}

output "recommendation_id" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.recommendation_id
}

output "resource_id" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.resource_id
}

output "resource_type" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.resource_type
}

output "state" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.state
}

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

output "time_created" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.time_created
}

output "time_status_begin" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.time_status_begin
}

output "time_status_end" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.time_status_end
}

output "time_updated" {
  description = "returns a string"
  value       = data.oci_optimizer_resource_action.this.time_updated
}

output "this" {
  value = oci_optimizer_resource_action.this
}

top