import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Tenancy Attachment resource in Oracle Cloud Infrastructure Resource Analytics service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/resource-analytics/latest/TenancyAttachment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * * Creates a TenancyAttachment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTenancyAttachment = new oci.oci.ResourceAnalyticsTenancyAttachment("test_tenancy_attachment", { * resourceAnalyticsInstanceId: testResourceAnalyticsInstance.id, * tenancyId: testTenancy.id, * description: tenancyAttachmentDescription, * }); * ``` * * ## Import * * TenancyAttachments can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/resourceAnalyticsTenancyAttachment:ResourceAnalyticsTenancyAttachment test_tenancy_attachment "id" * ``` */ export declare class ResourceAnalyticsTenancyAttachment extends pulumi.CustomResource { /** * Get an existing ResourceAnalyticsTenancyAttachment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ResourceAnalyticsTenancyAttachmentState, opts?: pulumi.CustomResourceOptions): ResourceAnalyticsTenancyAttachment; /** * Returns true if the given object is an instance of ResourceAnalyticsTenancyAttachment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ResourceAnalyticsTenancyAttachment; /** * The overall status of the data population from the tenancy. */ readonly dataPopulationStatus: pulumi.Output; /** * (Updatable) A description of the tenancy. */ readonly description: pulumi.Output; /** * Whether the tenancy is the tenancy used when creating Resource Analytics Instance. */ readonly isReportingTenancy: pulumi.Output; /** * 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: pulumi.Output; /** * List of monitored regions with their data population status. */ readonly monitoredRegions: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment. */ readonly resourceAnalyticsInstanceId: pulumi.Output; /** * The current state of the TenancyAttachment. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly tenancyId: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * Create a ResourceAnalyticsTenancyAttachment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ResourceAnalyticsTenancyAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourceAnalyticsTenancyAttachment resources. */ export interface ResourceAnalyticsTenancyAttachmentState { /** * The overall status of the data population from the tenancy. */ dataPopulationStatus?: pulumi.Input; /** * (Updatable) A description of the tenancy. */ description?: pulumi.Input; /** * Whether the tenancy is the tenancy used when creating Resource Analytics Instance. */ isReportingTenancy?: pulumi.Input; /** * 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. */ lifecycleDetails?: pulumi.Input; /** * List of monitored regions with their data population status. */ monitoredRegions?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment. */ resourceAnalyticsInstanceId?: pulumi.Input; /** * The current state of the TenancyAttachment. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ tenancyId?: pulumi.Input; /** * 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` */ timeCreated?: pulumi.Input; /** * 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` */ timeDataPopulationEnded?: pulumi.Input; /** * 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` */ timeDataPopulationStarted?: pulumi.Input; /** * 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` */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a ResourceAnalyticsTenancyAttachment resource. */ export interface ResourceAnalyticsTenancyAttachmentArgs { /** * (Updatable) A description of the tenancy. */ description?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment. */ resourceAnalyticsInstanceId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ tenancyId: pulumi.Input; } //# sourceMappingURL=resourceAnalyticsTenancyAttachment.d.ts.map