1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. ResourceAnalyticsTenancyAttachment
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi

    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

    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 pulumi
    import pulumi_oci as oci
    
    test_tenancy_attachment = oci.oci.ResourceAnalyticsTenancyAttachment("test_tenancy_attachment",
        resource_analytics_instance_id=test_resource_analytics_instance["id"],
        tenancy_id=test_tenancy["id"],
        description=tenancy_attachment_description)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.NewResourceAnalyticsTenancyAttachment(ctx, "test_tenancy_attachment", &oci.ResourceAnalyticsTenancyAttachmentArgs{
    			ResourceAnalyticsInstanceId: pulumi.Any(testResourceAnalyticsInstance.Id),
    			TenancyId:                   pulumi.Any(testTenancy.Id),
    			Description:                 pulumi.Any(tenancyAttachmentDescription),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testTenancyAttachment = new Oci.Oci.ResourceAnalyticsTenancyAttachment("test_tenancy_attachment", new()
        {
            ResourceAnalyticsInstanceId = testResourceAnalyticsInstance.Id,
            TenancyId = testTenancy.Id,
            Description = tenancyAttachmentDescription,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.ResourceAnalyticsTenancyAttachment;
    import com.pulumi.oci.oci.ResourceAnalyticsTenancyAttachmentArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testTenancyAttachment = new ResourceAnalyticsTenancyAttachment("testTenancyAttachment", ResourceAnalyticsTenancyAttachmentArgs.builder()
                .resourceAnalyticsInstanceId(testResourceAnalyticsInstance.get("id"))
                .tenancyId(testTenancy.get("id"))
                .description(tenancyAttachmentDescription)
                .build());
    
        }
    }
    
    resources:
      testTenancyAttachment:
        type: oci:oci:ResourceAnalyticsTenancyAttachment
        name: test_tenancy_attachment
        properties:
          resourceAnalyticsInstanceId: ${testResourceAnalyticsInstance.id}
          tenancyId: ${testTenancy.id}
          description: ${tenancyAttachmentDescription}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_oci_resource_analytics_tenancy_attachment" "test_tenancy_attachment" {
      lifecycle {
        create_before_destroy = true
      }
      resource_analytics_instance_id = testResourceAnalyticsInstance.id
      tenancy_id                     = testTenancy.id
      description                    = tenancyAttachmentDescription
    }
    

    Create ResourceAnalyticsTenancyAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourceAnalyticsTenancyAttachment(name: string, args: ResourceAnalyticsTenancyAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceAnalyticsTenancyAttachment(resource_name: str,
                                           args: ResourceAnalyticsTenancyAttachmentArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceAnalyticsTenancyAttachment(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           resource_analytics_instance_id: Optional[str] = None,
                                           tenancy_id: Optional[str] = None,
                                           description: Optional[str] = None)
    func NewResourceAnalyticsTenancyAttachment(ctx *Context, name string, args ResourceAnalyticsTenancyAttachmentArgs, opts ...ResourceOption) (*ResourceAnalyticsTenancyAttachment, error)
    public ResourceAnalyticsTenancyAttachment(string name, ResourceAnalyticsTenancyAttachmentArgs args, CustomResourceOptions? opts = null)
    public ResourceAnalyticsTenancyAttachment(String name, ResourceAnalyticsTenancyAttachmentArgs args)
    public ResourceAnalyticsTenancyAttachment(String name, ResourceAnalyticsTenancyAttachmentArgs args, CustomResourceOptions options)
    
    type: oci:oci:ResourceAnalyticsTenancyAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_oci_resource_analytics_tenancy_attachment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ResourceAnalyticsTenancyAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResourceAnalyticsTenancyAttachmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ResourceAnalyticsTenancyAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceAnalyticsTenancyAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceAnalyticsTenancyAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var resourceAnalyticsTenancyAttachmentResource = new Oci.Oci.ResourceAnalyticsTenancyAttachment("resourceAnalyticsTenancyAttachmentResource", new()
    {
        ResourceAnalyticsInstanceId = "string",
        TenancyId = "string",
        Description = "string",
    });
    
    example, err := oci.NewResourceAnalyticsTenancyAttachment(ctx, "resourceAnalyticsTenancyAttachmentResource", &oci.ResourceAnalyticsTenancyAttachmentArgs{
    	ResourceAnalyticsInstanceId: pulumi.String("string"),
    	TenancyId:                   pulumi.String("string"),
    	Description:                 pulumi.String("string"),
    })
    
    resource "oci_oci_resource_analytics_tenancy_attachment" "resourceAnalyticsTenancyAttachmentResource" {
      lifecycle {
        create_before_destroy = true
      }
      resource_analytics_instance_id = "string"
      tenancy_id                     = "string"
      description                    = "string"
    }
    
    var resourceAnalyticsTenancyAttachmentResource = new ResourceAnalyticsTenancyAttachment("resourceAnalyticsTenancyAttachmentResource", ResourceAnalyticsTenancyAttachmentArgs.builder()
        .resourceAnalyticsInstanceId("string")
        .tenancyId("string")
        .description("string")
        .build());
    
    resource_analytics_tenancy_attachment_resource = oci.oci.ResourceAnalyticsTenancyAttachment("resourceAnalyticsTenancyAttachmentResource",
        resource_analytics_instance_id="string",
        tenancy_id="string",
        description="string")
    
    const resourceAnalyticsTenancyAttachmentResource = new oci.oci.ResourceAnalyticsTenancyAttachment("resourceAnalyticsTenancyAttachmentResource", {
        resourceAnalyticsInstanceId: "string",
        tenancyId: "string",
        description: "string",
    });
    
    type: oci:oci:ResourceAnalyticsTenancyAttachment
    properties:
        description: string
        resourceAnalyticsInstanceId: string
        tenancyId: string
    

    ResourceAnalyticsTenancyAttachment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ResourceAnalyticsTenancyAttachment resource accepts the following input properties:

    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    TenancyId string

    The OCID 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

    Description string
    (Updatable) A description of the tenancy.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    TenancyId string

    The OCID 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

    Description string
    (Updatable) A description of the tenancy.
    resource_analytics_instance_id string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    tenancy_id string

    The OCID 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

    description string
    (Updatable) A description of the tenancy.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    tenancyId String

    The OCID 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

    description String
    (Updatable) A description of the tenancy.
    resourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    tenancyId string

    The OCID 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

    description string
    (Updatable) A description of the tenancy.
    resource_analytics_instance_id str
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    tenancy_id str

    The OCID 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

    description str
    (Updatable) A description of the tenancy.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    tenancyId String

    The OCID 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

    description String
    (Updatable) A description of the tenancy.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourceAnalyticsTenancyAttachment resource produces the following output properties:

    DataPopulationStatus string
    The overall status of the data population from the tenancy.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsReportingTenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    LifecycleDetails string
    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.
    MonitoredRegions List<ResourceAnalyticsTenancyAttachmentMonitoredRegion>
    List of monitored regions with their data population status.
    State string
    The current state of the TenancyAttachment.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationEnded string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationStarted string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    DataPopulationStatus string
    The overall status of the data population from the tenancy.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsReportingTenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    LifecycleDetails string
    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.
    MonitoredRegions []ResourceAnalyticsTenancyAttachmentMonitoredRegion
    List of monitored regions with their data population status.
    State string
    The current state of the TenancyAttachment.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationEnded string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationStarted string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    data_population_status string
    The overall status of the data population from the tenancy.
    id string
    The provider-assigned unique ID for this managed resource.
    is_reporting_tenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycle_details string
    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.
    monitored_regions list(object)
    List of monitored regions with their data population status.
    state string
    The current state of the TenancyAttachment.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_ended string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_started string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    dataPopulationStatus String
    The overall status of the data population from the tenancy.
    id String
    The provider-assigned unique ID for this managed resource.
    isReportingTenancy Boolean
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycleDetails String
    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.
    monitoredRegions List<ResourceAnalyticsTenancyAttachmentMonitoredRegion>
    List of monitored regions with their data population status.
    state String
    The current state of the TenancyAttachment.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationEnded String
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationStarted String
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    dataPopulationStatus string
    The overall status of the data population from the tenancy.
    id string
    The provider-assigned unique ID for this managed resource.
    isReportingTenancy boolean
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycleDetails string
    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.
    monitoredRegions ResourceAnalyticsTenancyAttachmentMonitoredRegion[]
    List of monitored regions with their data population status.
    state string
    The current state of the TenancyAttachment.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationEnded string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationStarted string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    data_population_status str
    The overall status of the data population from the tenancy.
    id str
    The provider-assigned unique ID for this managed resource.
    is_reporting_tenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycle_details str
    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.
    monitored_regions Sequence[ResourceAnalyticsTenancyAttachmentMonitoredRegion]
    List of monitored regions with their data population status.
    state str
    The current state of the TenancyAttachment.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_ended str
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_started str
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    dataPopulationStatus String
    The overall status of the data population from the tenancy.
    id String
    The provider-assigned unique ID for this managed resource.
    isReportingTenancy Boolean
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycleDetails String
    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.
    monitoredRegions List<Property Map>
    List of monitored regions with their data population status.
    state String
    The current state of the TenancyAttachment.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationEnded String
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationStarted String
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing ResourceAnalyticsTenancyAttachment Resource

    Get an existing ResourceAnalyticsTenancyAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ResourceAnalyticsTenancyAttachmentState, opts?: CustomResourceOptions): ResourceAnalyticsTenancyAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            data_population_status: Optional[str] = None,
            description: Optional[str] = None,
            is_reporting_tenancy: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            monitored_regions: Optional[Sequence[ResourceAnalyticsTenancyAttachmentMonitoredRegionArgs]] = None,
            resource_analytics_instance_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            tenancy_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_data_population_ended: Optional[str] = None,
            time_data_population_started: Optional[str] = None,
            time_updated: Optional[str] = None) -> ResourceAnalyticsTenancyAttachment
    func GetResourceAnalyticsTenancyAttachment(ctx *Context, name string, id IDInput, state *ResourceAnalyticsTenancyAttachmentState, opts ...ResourceOption) (*ResourceAnalyticsTenancyAttachment, error)
    public static ResourceAnalyticsTenancyAttachment Get(string name, Input<string> id, ResourceAnalyticsTenancyAttachmentState? state, CustomResourceOptions? opts = null)
    public static ResourceAnalyticsTenancyAttachment get(String name, Output<String> id, ResourceAnalyticsTenancyAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:ResourceAnalyticsTenancyAttachment    get:      id: ${id}
    import {
      to = oci_oci_resource_analytics_tenancy_attachment.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DataPopulationStatus string
    The overall status of the data population from the tenancy.
    Description string
    (Updatable) A description of the tenancy.
    IsReportingTenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    LifecycleDetails string
    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.
    MonitoredRegions List<ResourceAnalyticsTenancyAttachmentMonitoredRegion>
    List of monitored regions with their data population status.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    State string
    The current state of the TenancyAttachment.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenancyId string

    The OCID 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

    TimeCreated string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationEnded string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationStarted string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    DataPopulationStatus string
    The overall status of the data population from the tenancy.
    Description string
    (Updatable) A description of the tenancy.
    IsReportingTenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    LifecycleDetails string
    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.
    MonitoredRegions []ResourceAnalyticsTenancyAttachmentMonitoredRegionArgs
    List of monitored regions with their data population status.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    State string
    The current state of the TenancyAttachment.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenancyId string

    The OCID 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

    TimeCreated string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationEnded string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeDataPopulationStarted string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    data_population_status string
    The overall status of the data population from the tenancy.
    description string
    (Updatable) A description of the tenancy.
    is_reporting_tenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycle_details string
    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.
    monitored_regions list(object)
    List of monitored regions with their data population status.
    resource_analytics_instance_id string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    state string
    The current state of the TenancyAttachment.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancy_id string

    The OCID 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

    time_created string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_ended string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_started string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    dataPopulationStatus String
    The overall status of the data population from the tenancy.
    description String
    (Updatable) A description of the tenancy.
    isReportingTenancy Boolean
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycleDetails String
    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.
    monitoredRegions List<ResourceAnalyticsTenancyAttachmentMonitoredRegion>
    List of monitored regions with their data population status.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    state String
    The current state of the TenancyAttachment.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String

    The OCID 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

    timeCreated String
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationEnded String
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationStarted String
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    dataPopulationStatus string
    The overall status of the data population from the tenancy.
    description string
    (Updatable) A description of the tenancy.
    isReportingTenancy boolean
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycleDetails string
    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.
    monitoredRegions ResourceAnalyticsTenancyAttachmentMonitoredRegion[]
    List of monitored regions with their data population status.
    resourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    state string
    The current state of the TenancyAttachment.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId string

    The OCID 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

    timeCreated string
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationEnded string
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationStarted string
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    data_population_status str
    The overall status of the data population from the tenancy.
    description str
    (Updatable) A description of the tenancy.
    is_reporting_tenancy bool
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycle_details str
    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.
    monitored_regions Sequence[ResourceAnalyticsTenancyAttachmentMonitoredRegionArgs]
    List of monitored regions with their data population status.
    resource_analytics_instance_id str
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    state str
    The current state of the TenancyAttachment.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancy_id str

    The OCID 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

    time_created str
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_ended str
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_data_population_started str
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    dataPopulationStatus String
    The overall status of the data population from the tenancy.
    description String
    (Updatable) A description of the tenancy.
    isReportingTenancy Boolean
    Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
    lifecycleDetails String
    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.
    monitoredRegions List<Property Map>
    List of monitored regions with their data population status.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance associated with this TenancyAttachment.
    state String
    The current state of the TenancyAttachment.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String

    The OCID 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

    timeCreated String
    The date and time the TenancyAttachment was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationEnded String
    The date and time the data population tasks completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeDataPopulationStarted String
    The date and time the data population tasks started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the TenancyAttachment was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    ResourceAnalyticsTenancyAttachmentMonitoredRegion, ResourceAnalyticsTenancyAttachmentMonitoredRegionArgs

    DataPopulations List<ResourceAnalyticsTenancyAttachmentMonitoredRegionDataPopulation>
    Data population status for a monitored region in the tenancy.
    RegionId string
    The Region Identifier of the monitored region. E.g. us-ashburn-1
    DataPopulations []ResourceAnalyticsTenancyAttachmentMonitoredRegionDataPopulation
    Data population status for a monitored region in the tenancy.
    RegionId string
    The Region Identifier of the monitored region. E.g. us-ashburn-1
    data_populations list(object)
    Data population status for a monitored region in the tenancy.
    region_id string
    The Region Identifier of the monitored region. E.g. us-ashburn-1
    dataPopulations List<ResourceAnalyticsTenancyAttachmentMonitoredRegionDataPopulation>
    Data population status for a monitored region in the tenancy.
    regionId String
    The Region Identifier of the monitored region. E.g. us-ashburn-1
    dataPopulations ResourceAnalyticsTenancyAttachmentMonitoredRegionDataPopulation[]
    Data population status for a monitored region in the tenancy.
    regionId string
    The Region Identifier of the monitored region. E.g. us-ashburn-1
    data_populations Sequence[ResourceAnalyticsTenancyAttachmentMonitoredRegionDataPopulation]
    Data population status for a monitored region in the tenancy.
    region_id str
    The Region Identifier of the monitored region. E.g. us-ashburn-1
    dataPopulations List<Property Map>
    Data population status for a monitored region in the tenancy.
    regionId String
    The Region Identifier of the monitored region. E.g. us-ashburn-1

    ResourceAnalyticsTenancyAttachmentMonitoredRegionDataPopulation, ResourceAnalyticsTenancyAttachmentMonitoredRegionDataPopulationArgs

    InProgressCount int
    The number of data population tasks currently in progress.
    Status string
    The overall status of the data population from the monitored region of the tenancy.
    SucceededCount int
    The number of data population tasks that have succeeded.
    TimeEnded string
    The date and time the data population task completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarted string
    The date and time the data population task was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TotalCount int
    The total number of data population tasks.
    InProgressCount int
    The number of data population tasks currently in progress.
    Status string
    The overall status of the data population from the monitored region of the tenancy.
    SucceededCount int
    The number of data population tasks that have succeeded.
    TimeEnded string
    The date and time the data population task completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarted string
    The date and time the data population task was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TotalCount int
    The total number of data population tasks.
    in_progress_count number
    The number of data population tasks currently in progress.
    status string
    The overall status of the data population from the monitored region of the tenancy.
    succeeded_count number
    The number of data population tasks that have succeeded.
    time_ended string
    The date and time the data population task completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_started string
    The date and time the data population task was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    total_count number
    The total number of data population tasks.
    inProgressCount Integer
    The number of data population tasks currently in progress.
    status String
    The overall status of the data population from the monitored region of the tenancy.
    succeededCount Integer
    The number of data population tasks that have succeeded.
    timeEnded String
    The date and time the data population task completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted String
    The date and time the data population task was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    totalCount Integer
    The total number of data population tasks.
    inProgressCount number
    The number of data population tasks currently in progress.
    status string
    The overall status of the data population from the monitored region of the tenancy.
    succeededCount number
    The number of data population tasks that have succeeded.
    timeEnded string
    The date and time the data population task completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted string
    The date and time the data population task was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    totalCount number
    The total number of data population tasks.
    in_progress_count int
    The number of data population tasks currently in progress.
    status str
    The overall status of the data population from the monitored region of the tenancy.
    succeeded_count int
    The number of data population tasks that have succeeded.
    time_ended str
    The date and time the data population task completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_started str
    The date and time the data population task was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    total_count int
    The total number of data population tasks.
    inProgressCount Number
    The number of data population tasks currently in progress.
    status String
    The overall status of the data population from the monitored region of the tenancy.
    succeededCount Number
    The number of data population tasks that have succeeded.
    timeEnded String
    The date and time the data population task completed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted String
    The date and time the data population task was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    totalCount Number
    The total number of data population tasks.

    Import

    TenancyAttachments can be imported using the id, e.g.

    $ pulumi import oci:oci/resourceAnalyticsTenancyAttachment:ResourceAnalyticsTenancyAttachment test_tenancy_attachment "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.3.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial