Data Source: oci_stack_monitoring_configs
This data source provides the list of Configs in Oracle Cloud Infrastructure Stack Monitoring service.
Get a list of configurations in a compartment.
Example Usage
data "oci_stack_monitoring_configs" "test_configs" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.config_display_name
state = var.config_state
type = var.config_type
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The ID of the compartment in which data is listed.display_name
- (Optional) A filter to return only resources that match the entire display name given.state
- (Optional) The current state of the Config.type
- (Optional) A filter to return only configuration items for a given config type. The only valid config type is"AUTO_PROMOTE"
Attributes Reference
The following attributes are exported:
config_collection
- The list of config_collection.
Config Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment containing the configuration.config_type
- The type of configuration.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- The Unique Oracle ID (OCID) that is immutable on creation.is_enabled
- True if automatic promotion or enterprise extensibility is enabled, false if it is not enabled.license
- License edition.resource_type
- The type of resource to configure for automatic promotion.state
- The current state of the configuration.system_tags
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The time the configuration was created. An RFC3339 formatted datetime string.time_updated
- The time the Config was updated.