import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTenancyAttachment = oci.oci.getResourceAnalyticsTenancyAttachment({ * tenancyAttachmentId: testTenancyAttachmentOciResourceAnalyticsTenancyAttachment.id, * }); * ``` */ export declare function getResourceAnalyticsTenancyAttachment(args: GetResourceAnalyticsTenancyAttachmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getResourceAnalyticsTenancyAttachment. */ export interface GetResourceAnalyticsTenancyAttachmentArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. */ tenancyAttachmentId: string; } /** * A collection of values returned by getResourceAnalyticsTenancyAttachment. */ export interface GetResourceAnalyticsTenancyAttachmentResult { /** * The overall status of the data population from the tenancy. */ readonly dataPopulationStatus: string; /** * A description of the tenancy. */ readonly description: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. */ readonly id: string; /** * Whether the tenancy is the tenancy used when creating Resource Analytics Instance. */ readonly isReportingTenancy: boolean; /** * 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. */ readonly lifecycleDetails: string; /** * List of monitored regions with their data population status. */ readonly monitoredRegions: outputs.oci.GetResourceAnalyticsTenancyAttachmentMonitoredRegion[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment. */ readonly resourceAnalyticsInstanceId: string; /** * The current state of the TenancyAttachment. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; readonly tenancyAttachmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment. */ readonly tenancyId: string; /** * The date and time the TenancyAttachment was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time the data population tasks completed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeDataPopulationEnded: string; /** * The date and time the data population tasks started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeDataPopulationStarted: string; /** * The date and time the TenancyAttachment was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTenancyAttachment = oci.oci.getResourceAnalyticsTenancyAttachment({ * tenancyAttachmentId: testTenancyAttachmentOciResourceAnalyticsTenancyAttachment.id, * }); * ``` */ export declare function getResourceAnalyticsTenancyAttachmentOutput(args: GetResourceAnalyticsTenancyAttachmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getResourceAnalyticsTenancyAttachment. */ export interface GetResourceAnalyticsTenancyAttachmentOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. */ tenancyAttachmentId: pulumi.Input; } //# sourceMappingURL=getResourceAnalyticsTenancyAttachment.d.ts.map