1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getMulticloudResourceAnchors
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi

    This data source provides the list of Resource Anchors in Oracle Cloud Infrastructure Multicloud service.

    Gets a list of ResourceAnchors.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testResourceAnchors = oci.oci.getMulticloudResourceAnchors({
        compartmentId: compartmentId,
        linkedCompartmentId: linkedCompartmentId,
        lifecycleState: lifecycleState,
        displayName: resourceAnchorDisplayName,
        id: resourceAnchorId,
        isCompartmentIdInSubtree: isCompartmentIdInSubtree,
        shouldFetchCompartmentName: shouldFetchCompartmentName,
        subscriptionServiceName: subscriptionServiceName,
        subscriptionId: subscriptionId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_resource_anchors = oci.oci.get_multicloud_resource_anchors(compartment_id=compartment_id,
        linked_compartment_id=linked_compartment_id,
        lifecycle_state=lifecycle_state,
        display_name=resource_anchor_display_name,
        id=resource_anchor_id,
        is_compartment_id_in_subtree=is_compartment_id_in_subtree,
        should_fetch_compartment_name=should_fetch_compartment_name,
        subscription_service_name=subscription_service_name,
        subscription_id=subscription_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetMulticloudResourceAnchors(ctx, &oci.GetMulticloudResourceAnchorsArgs{
    			CompartmentId:              pulumi.StringRef(compartmentId),
    			LinkedCompartmentId:        pulumi.StringRef(linkedCompartmentId),
    			LifecycleState:             pulumi.StringRef(lifecycleState),
    			DisplayName:                pulumi.StringRef(resourceAnchorDisplayName),
    			Id:                         pulumi.StringRef(resourceAnchorId),
    			IsCompartmentIdInSubtree:   pulumi.BoolRef(isCompartmentIdInSubtree),
    			ShouldFetchCompartmentName: pulumi.BoolRef(shouldFetchCompartmentName),
    			SubscriptionServiceName:    pulumi.StringRef(subscriptionServiceName),
    			SubscriptionId:             pulumi.StringRef(subscriptionId),
    		}, nil)
    		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 testResourceAnchors = Oci.Oci.GetMulticloudResourceAnchors.Invoke(new()
        {
            CompartmentId = compartmentId,
            LinkedCompartmentId = linkedCompartmentId,
            LifecycleState = lifecycleState,
            DisplayName = resourceAnchorDisplayName,
            Id = resourceAnchorId,
            IsCompartmentIdInSubtree = isCompartmentIdInSubtree,
            ShouldFetchCompartmentName = shouldFetchCompartmentName,
            SubscriptionServiceName = subscriptionServiceName,
            SubscriptionId = subscriptionId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetMulticloudResourceAnchorsArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var testResourceAnchors = OciFunctions.getMulticloudResourceAnchors(GetMulticloudResourceAnchorsArgs.builder()
                .compartmentId(compartmentId)
                .linkedCompartmentId(linkedCompartmentId)
                .lifecycleState(lifecycleState)
                .displayName(resourceAnchorDisplayName)
                .id(resourceAnchorId)
                .isCompartmentIdInSubtree(isCompartmentIdInSubtree)
                .shouldFetchCompartmentName(shouldFetchCompartmentName)
                .subscriptionServiceName(subscriptionServiceName)
                .subscriptionId(subscriptionId)
                .build());
    
        }
    }
    
    variables:
      testResourceAnchors:
        fn::invoke:
          function: oci:oci:getMulticloudResourceAnchors
          arguments:
            compartmentId: ${compartmentId}
            linkedCompartmentId: ${linkedCompartmentId}
            lifecycleState: ${lifecycleState}
            displayName: ${resourceAnchorDisplayName}
            id: ${resourceAnchorId}
            isCompartmentIdInSubtree: ${isCompartmentIdInSubtree}
            shouldFetchCompartmentName: ${shouldFetchCompartmentName}
            subscriptionServiceName: ${subscriptionServiceName}
            subscriptionId: ${subscriptionId}
    

    Using getMulticloudResourceAnchors

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMulticloudResourceAnchors(args: GetMulticloudResourceAnchorsArgs, opts?: InvokeOptions): Promise<GetMulticloudResourceAnchorsResult>
    function getMulticloudResourceAnchorsOutput(args: GetMulticloudResourceAnchorsOutputArgs, opts?: InvokeOptions): Output<GetMulticloudResourceAnchorsResult>
    def get_multicloud_resource_anchors(compartment_id: Optional[str] = None,
                                        display_name: Optional[str] = None,
                                        filters: Optional[Sequence[GetMulticloudResourceAnchorsFilter]] = None,
                                        id: Optional[str] = None,
                                        is_compartment_id_in_subtree: Optional[bool] = None,
                                        lifecycle_state: Optional[str] = None,
                                        limit: Optional[int] = None,
                                        linked_compartment_id: Optional[str] = None,
                                        should_fetch_compartment_name: Optional[bool] = None,
                                        subscription_id: Optional[str] = None,
                                        subscription_service_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetMulticloudResourceAnchorsResult
    def get_multicloud_resource_anchors_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                        display_name: Optional[pulumi.Input[str]] = None,
                                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMulticloudResourceAnchorsFilterArgs]]]] = None,
                                        id: Optional[pulumi.Input[str]] = None,
                                        is_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                        lifecycle_state: Optional[pulumi.Input[str]] = None,
                                        limit: Optional[pulumi.Input[int]] = None,
                                        linked_compartment_id: Optional[pulumi.Input[str]] = None,
                                        should_fetch_compartment_name: Optional[pulumi.Input[bool]] = None,
                                        subscription_id: Optional[pulumi.Input[str]] = None,
                                        subscription_service_name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetMulticloudResourceAnchorsResult]
    func GetMulticloudResourceAnchors(ctx *Context, args *GetMulticloudResourceAnchorsArgs, opts ...InvokeOption) (*GetMulticloudResourceAnchorsResult, error)
    func GetMulticloudResourceAnchorsOutput(ctx *Context, args *GetMulticloudResourceAnchorsOutputArgs, opts ...InvokeOption) GetMulticloudResourceAnchorsResultOutput

    > Note: This function is named GetMulticloudResourceAnchors in the Go SDK.

    public static class GetMulticloudResourceAnchors 
    {
        public static Task<GetMulticloudResourceAnchorsResult> InvokeAsync(GetMulticloudResourceAnchorsArgs args, InvokeOptions? opts = null)
        public static Output<GetMulticloudResourceAnchorsResult> Invoke(GetMulticloudResourceAnchorsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMulticloudResourceAnchorsResult> getMulticloudResourceAnchors(GetMulticloudResourceAnchorsArgs args, InvokeOptions options)
    public static Output<GetMulticloudResourceAnchorsResult> getMulticloudResourceAnchors(GetMulticloudResourceAnchorsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getMulticloudResourceAnchors:getMulticloudResourceAnchors
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetMulticloudResourceAnchorsFilter>
    Id string
    The OCID of the ResourceAnchor.
    IsCompartmentIdInSubtree bool
    Check the sub-compartments of a given compartmentId
    LifecycleState string
    The current state of the ResourceAnchor.
    Limit int
    LinkedCompartmentId string
    The OCID of the compartment linked to the resource.
    ShouldFetchCompartmentName bool
    Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
    SubscriptionId string
    The OCID of the Multicloud subscription in which to list resources.
    SubscriptionServiceName string
    The subscription service name of the Cloud Service Provider.
    CompartmentId string
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetMulticloudResourceAnchorsFilter
    Id string
    The OCID of the ResourceAnchor.
    IsCompartmentIdInSubtree bool
    Check the sub-compartments of a given compartmentId
    LifecycleState string
    The current state of the ResourceAnchor.
    Limit int
    LinkedCompartmentId string
    The OCID of the compartment linked to the resource.
    ShouldFetchCompartmentName bool
    Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
    SubscriptionId string
    The OCID of the Multicloud subscription in which to list resources.
    SubscriptionServiceName string
    The subscription service name of the Cloud Service Provider.
    compartmentId String
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetMulticloudResourceAnchorsFilter>
    id String
    The OCID of the ResourceAnchor.
    isCompartmentIdInSubtree Boolean
    Check the sub-compartments of a given compartmentId
    lifecycleState String
    The current state of the ResourceAnchor.
    limit Integer
    linkedCompartmentId String
    The OCID of the compartment linked to the resource.
    shouldFetchCompartmentName Boolean
    Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
    subscriptionId String
    The OCID of the Multicloud subscription in which to list resources.
    subscriptionServiceName String
    The subscription service name of the Cloud Service Provider.
    compartmentId string
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetMulticloudResourceAnchorsFilter[]
    id string
    The OCID of the ResourceAnchor.
    isCompartmentIdInSubtree boolean
    Check the sub-compartments of a given compartmentId
    lifecycleState string
    The current state of the ResourceAnchor.
    limit number
    linkedCompartmentId string
    The OCID of the compartment linked to the resource.
    shouldFetchCompartmentName boolean
    Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
    subscriptionId string
    The OCID of the Multicloud subscription in which to list resources.
    subscriptionServiceName string
    The subscription service name of the Cloud Service Provider.
    compartment_id str
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[GetMulticloudResourceAnchorsFilter]
    id str
    The OCID of the ResourceAnchor.
    is_compartment_id_in_subtree bool
    Check the sub-compartments of a given compartmentId
    lifecycle_state str
    The current state of the ResourceAnchor.
    limit int
    linked_compartment_id str
    The OCID of the compartment linked to the resource.
    should_fetch_compartment_name bool
    Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
    subscription_id str
    The OCID of the Multicloud subscription in which to list resources.
    subscription_service_name str
    The subscription service name of the Cloud Service Provider.
    compartmentId String
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    id String
    The OCID of the ResourceAnchor.
    isCompartmentIdInSubtree Boolean
    Check the sub-compartments of a given compartmentId
    lifecycleState String
    The current state of the ResourceAnchor.
    limit Number
    linkedCompartmentId String
    The OCID of the compartment linked to the resource.
    shouldFetchCompartmentName Boolean
    Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
    subscriptionId String
    The OCID of the Multicloud subscription in which to list resources.
    subscriptionServiceName String
    The subscription service name of the Cloud Service Provider.

    getMulticloudResourceAnchors Result

    The following output properties are available:

    ResourceAnchorCollections List<GetMulticloudResourceAnchorsResourceAnchorCollection>
    The list of ResourceAnchorCollection.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    Filters List<GetMulticloudResourceAnchorsFilter>
    Id string
    The OCID of the ResourceAnchor.
    IsCompartmentIdInSubtree bool
    LifecycleState string
    The current state of the ResourceAnchor.
    Limit int
    LinkedCompartmentId string
    Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. This compartmentId is different from where resource Anchor live.
    ShouldFetchCompartmentName bool
    SubscriptionId string
    Oracle Cloud Infrastructure Subscription Id
    SubscriptionServiceName string
    ResourceAnchorCollections []GetMulticloudResourceAnchorsResourceAnchorCollection
    The list of ResourceAnchorCollection.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    Filters []GetMulticloudResourceAnchorsFilter
    Id string
    The OCID of the ResourceAnchor.
    IsCompartmentIdInSubtree bool
    LifecycleState string
    The current state of the ResourceAnchor.
    Limit int
    LinkedCompartmentId string
    Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. This compartmentId is different from where resource Anchor live.
    ShouldFetchCompartmentName bool
    SubscriptionId string
    Oracle Cloud Infrastructure Subscription Id
    SubscriptionServiceName string
    resourceAnchorCollections List<GetMulticloudResourceAnchorsResourceAnchorCollection>
    The list of ResourceAnchorCollection.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters List<GetMulticloudResourceAnchorsFilter>
    id String
    The OCID of the ResourceAnchor.
    isCompartmentIdInSubtree Boolean
    lifecycleState String
    The current state of the ResourceAnchor.
    limit Integer
    linkedCompartmentId String
    Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. This compartmentId is different from where resource Anchor live.
    shouldFetchCompartmentName Boolean
    subscriptionId String
    Oracle Cloud Infrastructure Subscription Id
    subscriptionServiceName String
    resourceAnchorCollections GetMulticloudResourceAnchorsResourceAnchorCollection[]
    The list of ResourceAnchorCollection.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters GetMulticloudResourceAnchorsFilter[]
    id string
    The OCID of the ResourceAnchor.
    isCompartmentIdInSubtree boolean
    lifecycleState string
    The current state of the ResourceAnchor.
    limit number
    linkedCompartmentId string
    Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. This compartmentId is different from where resource Anchor live.
    shouldFetchCompartmentName boolean
    subscriptionId string
    Oracle Cloud Infrastructure Subscription Id
    subscriptionServiceName string
    resource_anchor_collections Sequence[GetMulticloudResourceAnchorsResourceAnchorCollection]
    The list of ResourceAnchorCollection.
    compartment_id str
    The OCID of the compartment.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters Sequence[GetMulticloudResourceAnchorsFilter]
    id str
    The OCID of the ResourceAnchor.
    is_compartment_id_in_subtree bool
    lifecycle_state str
    The current state of the ResourceAnchor.
    limit int
    linked_compartment_id str
    Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. This compartmentId is different from where resource Anchor live.
    should_fetch_compartment_name bool
    subscription_id str
    Oracle Cloud Infrastructure Subscription Id
    subscription_service_name str
    resourceAnchorCollections List<Property Map>
    The list of ResourceAnchorCollection.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters List<Property Map>
    id String
    The OCID of the ResourceAnchor.
    isCompartmentIdInSubtree Boolean
    lifecycleState String
    The current state of the ResourceAnchor.
    limit Number
    linkedCompartmentId String
    Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. This compartmentId is different from where resource Anchor live.
    shouldFetchCompartmentName Boolean
    subscriptionId String
    Oracle Cloud Infrastructure Subscription Id
    subscriptionServiceName String

    Supporting Types

    GetMulticloudResourceAnchorsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetMulticloudResourceAnchorsResourceAnchorCollection

    items List<Property Map>
    List of ResourceAnchorSummary

    GetMulticloudResourceAnchorsResourceAnchorCollectionItem

    CompartmentId string
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    CompartmentName string
    The name assigned to the compartment during creation.
    CspAdditionalProperties Dictionary<string, string>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    CspResourceAnchorId string
    CSP resource anchor ID.
    CspResourceAnchorName string
    CSP resource anchor name.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the ResourceAnchor.
    LifecycleDetails string
    A message that describes the current state of the ResourceAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    LifecycleState string
    The current state of the ResourceAnchor.
    LinkedCompartmentId string
    The OCID of the compartment linked to the resource.
    LinkedCompartmentName string
    The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
    PartnerCloudAccountIdentifier string
    Partner Cloud Account Identifier of the Cloud Service Provider.
    SubscriptionId string
    The OCID of the Multicloud subscription in which to list resources.
    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 ResourceAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the ResourceAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    CompartmentName string
    The name assigned to the compartment during creation.
    CspAdditionalProperties map[string]string
    CSP Specific Additional Properties, AzureSubnetId for Azure
    CspResourceAnchorId string
    CSP resource anchor ID.
    CspResourceAnchorName string
    CSP resource anchor name.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the ResourceAnchor.
    LifecycleDetails string
    A message that describes the current state of the ResourceAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    LifecycleState string
    The current state of the ResourceAnchor.
    LinkedCompartmentId string
    The OCID of the compartment linked to the resource.
    LinkedCompartmentName string
    The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
    PartnerCloudAccountIdentifier string
    Partner Cloud Account Identifier of the Cloud Service Provider.
    SubscriptionId string
    The OCID of the Multicloud subscription in which to list resources.
    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 ResourceAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the ResourceAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    compartmentName String
    The name assigned to the compartment during creation.
    cspAdditionalProperties Map<String,String>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    cspResourceAnchorId String
    CSP resource anchor ID.
    cspResourceAnchorName String
    CSP resource anchor name.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the ResourceAnchor.
    lifecycleDetails String
    A message that describes the current state of the ResourceAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    lifecycleState String
    The current state of the ResourceAnchor.
    linkedCompartmentId String
    The OCID of the compartment linked to the resource.
    linkedCompartmentName String
    The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
    partnerCloudAccountIdentifier String
    Partner Cloud Account Identifier of the Cloud Service Provider.
    subscriptionId String
    The OCID of the Multicloud subscription in which to list resources.
    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 ResourceAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the ResourceAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    compartmentName string
    The name assigned to the compartment during creation.
    cspAdditionalProperties {[key: string]: string}
    CSP Specific Additional Properties, AzureSubnetId for Azure
    cspResourceAnchorId string
    CSP resource anchor ID.
    cspResourceAnchorName string
    CSP resource anchor name.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A filter to return only resources that match the given display name exactly.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the ResourceAnchor.
    lifecycleDetails string
    A message that describes the current state of the ResourceAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    lifecycleState string
    The current state of the ResourceAnchor.
    linkedCompartmentId string
    The OCID of the compartment linked to the resource.
    linkedCompartmentName string
    The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
    partnerCloudAccountIdentifier string
    Partner Cloud Account Identifier of the Cloud Service Provider.
    subscriptionId string
    The OCID of the Multicloud subscription in which to list resources.
    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 ResourceAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the ResourceAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartment_id str
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    compartment_name str
    The name assigned to the compartment during creation.
    csp_additional_properties Mapping[str, str]
    CSP Specific Additional Properties, AzureSubnetId for Azure
    csp_resource_anchor_id str
    CSP resource anchor ID.
    csp_resource_anchor_name str
    CSP resource anchor name.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    A filter to return only resources that match the given display name exactly.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the ResourceAnchor.
    lifecycle_details str
    A message that describes the current state of the ResourceAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    lifecycle_state str
    The current state of the ResourceAnchor.
    linked_compartment_id str
    The OCID of the compartment linked to the resource.
    linked_compartment_name str
    The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
    partner_cloud_account_identifier str
    Partner Cloud Account Identifier of the Cloud Service Provider.
    subscription_id str
    The OCID of the Multicloud subscription in which to list resources.
    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 ResourceAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the ResourceAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
    compartmentName String
    The name assigned to the compartment during creation.
    cspAdditionalProperties Map<String>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    cspResourceAnchorId String
    CSP resource anchor ID.
    cspResourceAnchorName String
    CSP resource anchor name.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name exactly.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the ResourceAnchor.
    lifecycleDetails String
    A message that describes the current state of the ResourceAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    lifecycleState String
    The current state of the ResourceAnchor.
    linkedCompartmentId String
    The OCID of the compartment linked to the resource.
    linkedCompartmentName String
    The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
    partnerCloudAccountIdentifier String
    Partner Cloud Account Identifier of the Cloud Service Provider.
    subscriptionId String
    The OCID of the Multicloud subscription in which to list resources.
    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 ResourceAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the ResourceAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate