Data Source: oci_resource_analytics_tenancy_attachment
This data source provides details about a specific Tenancy Attachment resource in Oracle Cloud Infrastructure Resource Analytics service.
Gets information about a TenancyAttachment.
Example Usage
data "oci_resource_analytics_tenancy_attachment" "test_tenancy_attachment" {
#Required
tenancy_attachment_id = oci_resource_analytics_tenancy_attachment.test_tenancy_attachment.id
}
Argument Reference
The following arguments are supported:
tenancy_attachment_id
- (Required) The OCID of the TenancyAttachment.
Attributes Reference
The following attributes are exported:
description
- A description of the tenancy.id
- The OCID of the TenancyAttachment.is_reporting_tenancy
- Whether the tenancy is the tenancy used when creating Resource Analytics Instance.lifecycle_details
- A message that describes the current state of the TenancyAttachment in more detail. For example, can be used to provide actionable information for a resource in the Failed state.resource_analytics_instance_id
- The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.state
- The current state of the TenancyAttachment.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
tenancy_id
- The OCID of the tenancy associated with this TenancyAttachment.time_created
- The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z
time_updated
- The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z