You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"oci_monitoring_metric_data" {
source="./modules/oci/d/oci_monitoring_metric_data"# compartment_id - (required) is a type of stringcompartment_id=null# compartment_id_in_subtree - (optional) is a type of boolcompartment_id_in_subtree=null# end_time - (optional) is a type of stringend_time=null# namespace - (required) is a type of stringnamespace=null# query - (required) is a type of stringquery=null# resolution - (optional) is a type of stringresolution=null# resource_group - (optional) is a type of stringresource_group=null# start_time - (optional) is a type of stringstart_time=nullfilter=[{
name =null
regex =null
values = []
}]
}
data"oci_monitoring_metric_data""this" {
# compartment_id - (required) is a type of stringcompartment_id=var.compartment_id# compartment_id_in_subtree - (optional) is a type of boolcompartment_id_in_subtree=var.compartment_id_in_subtree# end_time - (optional) is a type of stringend_time=var.end_time# namespace - (required) is a type of stringnamespace=var.namespace# query - (required) is a type of stringquery=var.query# resolution - (optional) is a type of stringresolution=var.resolution# resource_group - (optional) is a type of stringresource_group=var.resource_group# start_time - (optional) is a type of stringstart_time=var.start_timedynamic"filter" {
for_each=var.filtercontent {
# name - (required) is a type of stringname=filter.value["name"]
# regex - (optional) is a type of boolregex=filter.value["regex"]
# values - (required) is a type of list of stringvalues=filter.value["values"]
}
}
}
output"id" {
description="returns a string"value=data.oci_monitoring_metric_data.this.id
}
output"metric_data" {
description="returns a list of object"value=data.oci_monitoring_metric_data.this.metric_data
}
output"this" {
value=oci_monitoring_metric_data.this
}