import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Tenancy Attachments in Oracle Cloud Infrastructure Resource Analytics service. * * Gets a list of TenancyAttachments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTenancyAttachments = oci.oci.getResourceAnalyticsTenancyAttachments({ * id: tenancyAttachmentId, * resourceAnalyticsInstanceId: testResourceAnalyticsInstance.id, * state: tenancyAttachmentState, * }); * ``` */ export declare function getResourceAnalyticsTenancyAttachments(args?: GetResourceAnalyticsTenancyAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getResourceAnalyticsTenancyAttachments. */ export interface GetResourceAnalyticsTenancyAttachmentsArgs { filters?: inputs.oci.GetResourceAnalyticsTenancyAttachmentsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. */ id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a ResourceAnalyticsInstance. */ resourceAnalyticsInstanceId?: string; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getResourceAnalyticsTenancyAttachments. */ export interface GetResourceAnalyticsTenancyAttachmentsResult { readonly filters?: outputs.oci.GetResourceAnalyticsTenancyAttachmentsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. */ readonly id?: string; /** * 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; /** * The list of tenancy_attachment_collection. */ readonly tenancyAttachmentCollections: outputs.oci.GetResourceAnalyticsTenancyAttachmentsTenancyAttachmentCollection[]; } /** * This data source provides the list of Tenancy Attachments in Oracle Cloud Infrastructure Resource Analytics service. * * Gets a list of TenancyAttachments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTenancyAttachments = oci.oci.getResourceAnalyticsTenancyAttachments({ * id: tenancyAttachmentId, * resourceAnalyticsInstanceId: testResourceAnalyticsInstance.id, * state: tenancyAttachmentState, * }); * ``` */ export declare function getResourceAnalyticsTenancyAttachmentsOutput(args?: GetResourceAnalyticsTenancyAttachmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getResourceAnalyticsTenancyAttachments. */ export interface GetResourceAnalyticsTenancyAttachmentsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. */ id?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a ResourceAnalyticsInstance. */ resourceAnalyticsInstanceId?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getResourceAnalyticsTenancyAttachments.d.ts.map