1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getMulticloudNetworkAnchors
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi

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

    Gets a list of NetworkAnchors.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNetworkAnchors = oci.oci.getMulticloudNetworkAnchors({
        compartmentId: compartmentId,
        subscriptionId: subscriptionId,
        subscriptionServiceName: subscriptionServiceName,
        networkAnchorLifecycleState: networkAnchorLifecycleState,
        displayName: displayName,
        externalLocation: externalLocation,
        networkAnchorOciSubnetId: networkAnchorOciSubnetId,
        compartmentIdInSubtree: compartmentIdInSubtree,
        networkAnchorOciVcnId: networkAnchorOciVcnId,
        id: id,
        shouldFetchVcnName: shouldFetchVcnName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_network_anchors = oci.oci.get_multicloud_network_anchors(compartment_id=compartment_id,
        subscription_id=subscription_id,
        subscription_service_name=subscription_service_name,
        network_anchor_lifecycle_state=network_anchor_lifecycle_state,
        display_name=display_name,
        external_location=external_location,
        network_anchor_oci_subnet_id=network_anchor_oci_subnet_id,
        compartment_id_in_subtree=compartment_id_in_subtree,
        network_anchor_oci_vcn_id=network_anchor_oci_vcn_id,
        id=id,
        should_fetch_vcn_name=should_fetch_vcn_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetMulticloudNetworkAnchors(ctx, &oci.GetMulticloudNetworkAnchorsArgs{
    			CompartmentId:               pulumi.StringRef(compartmentId),
    			SubscriptionId:              pulumi.StringRef(subscriptionId),
    			SubscriptionServiceName:     pulumi.StringRef(subscriptionServiceName),
    			NetworkAnchorLifecycleState: pulumi.StringRef(networkAnchorLifecycleState),
    			DisplayName:                 pulumi.StringRef(displayName),
    			ExternalLocation:            pulumi.StringRef(externalLocation),
    			NetworkAnchorOciSubnetId:    pulumi.StringRef(networkAnchorOciSubnetId),
    			CompartmentIdInSubtree:      pulumi.BoolRef(compartmentIdInSubtree),
    			NetworkAnchorOciVcnId:       pulumi.StringRef(networkAnchorOciVcnId),
    			Id:                          pulumi.StringRef(id),
    			ShouldFetchVcnName:          pulumi.BoolRef(shouldFetchVcnName),
    		}, 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 testNetworkAnchors = Oci.Oci.GetMulticloudNetworkAnchors.Invoke(new()
        {
            CompartmentId = compartmentId,
            SubscriptionId = subscriptionId,
            SubscriptionServiceName = subscriptionServiceName,
            NetworkAnchorLifecycleState = networkAnchorLifecycleState,
            DisplayName = displayName,
            ExternalLocation = externalLocation,
            NetworkAnchorOciSubnetId = networkAnchorOciSubnetId,
            CompartmentIdInSubtree = compartmentIdInSubtree,
            NetworkAnchorOciVcnId = networkAnchorOciVcnId,
            Id = id,
            ShouldFetchVcnName = shouldFetchVcnName,
        });
    
    });
    
    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.GetMulticloudNetworkAnchorsArgs;
    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 testNetworkAnchors = OciFunctions.getMulticloudNetworkAnchors(GetMulticloudNetworkAnchorsArgs.builder()
                .compartmentId(compartmentId)
                .subscriptionId(subscriptionId)
                .subscriptionServiceName(subscriptionServiceName)
                .networkAnchorLifecycleState(networkAnchorLifecycleState)
                .displayName(displayName)
                .externalLocation(externalLocation)
                .networkAnchorOciSubnetId(networkAnchorOciSubnetId)
                .compartmentIdInSubtree(compartmentIdInSubtree)
                .networkAnchorOciVcnId(networkAnchorOciVcnId)
                .id(id)
                .shouldFetchVcnName(shouldFetchVcnName)
                .build());
    
        }
    }
    
    variables:
      testNetworkAnchors:
        fn::invoke:
          function: oci:oci:getMulticloudNetworkAnchors
          arguments:
            compartmentId: ${compartmentId}
            subscriptionId: ${subscriptionId}
            subscriptionServiceName: ${subscriptionServiceName}
            networkAnchorLifecycleState: ${networkAnchorLifecycleState}
            displayName: ${displayName}
            externalLocation: ${externalLocation}
            networkAnchorOciSubnetId: ${networkAnchorOciSubnetId}
            compartmentIdInSubtree: ${compartmentIdInSubtree}
            networkAnchorOciVcnId: ${networkAnchorOciVcnId}
            id: ${id}
            shouldFetchVcnName: ${shouldFetchVcnName}
    

    Using getMulticloudNetworkAnchors

    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 getMulticloudNetworkAnchors(args: GetMulticloudNetworkAnchorsArgs, opts?: InvokeOptions): Promise<GetMulticloudNetworkAnchorsResult>
    function getMulticloudNetworkAnchorsOutput(args: GetMulticloudNetworkAnchorsOutputArgs, opts?: InvokeOptions): Output<GetMulticloudNetworkAnchorsResult>
    def get_multicloud_network_anchors(compartment_id: Optional[str] = None,
                                       compartment_id_in_subtree: Optional[bool] = None,
                                       display_name: Optional[str] = None,
                                       external_location: Optional[str] = None,
                                       id: Optional[str] = None,
                                       limit: Optional[int] = None,
                                       network_anchor_lifecycle_state: Optional[str] = None,
                                       network_anchor_oci_subnet_id: Optional[str] = None,
                                       network_anchor_oci_vcn_id: Optional[str] = None,
                                       should_fetch_vcn_name: Optional[bool] = None,
                                       subscription_id: Optional[str] = None,
                                       subscription_service_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetMulticloudNetworkAnchorsResult
    def get_multicloud_network_anchors_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                       compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                       display_name: Optional[pulumi.Input[str]] = None,
                                       external_location: Optional[pulumi.Input[str]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       limit: Optional[pulumi.Input[int]] = None,
                                       network_anchor_lifecycle_state: Optional[pulumi.Input[str]] = None,
                                       network_anchor_oci_subnet_id: Optional[pulumi.Input[str]] = None,
                                       network_anchor_oci_vcn_id: Optional[pulumi.Input[str]] = None,
                                       should_fetch_vcn_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[GetMulticloudNetworkAnchorsResult]
    func GetMulticloudNetworkAnchors(ctx *Context, args *GetMulticloudNetworkAnchorsArgs, opts ...InvokeOption) (*GetMulticloudNetworkAnchorsResult, error)
    func GetMulticloudNetworkAnchorsOutput(ctx *Context, args *GetMulticloudNetworkAnchorsOutputArgs, opts ...InvokeOption) GetMulticloudNetworkAnchorsResultOutput

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

    public static class GetMulticloudNetworkAnchors 
    {
        public static Task<GetMulticloudNetworkAnchorsResult> InvokeAsync(GetMulticloudNetworkAnchorsArgs args, InvokeOptions? opts = null)
        public static Output<GetMulticloudNetworkAnchorsResult> Invoke(GetMulticloudNetworkAnchorsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMulticloudNetworkAnchorsResult> getMulticloudNetworkAnchors(GetMulticloudNetworkAnchorsArgs args, InvokeOptions options)
    public static Output<GetMulticloudNetworkAnchorsResult> getMulticloudNetworkAnchors(GetMulticloudNetworkAnchorsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getMulticloudNetworkAnchors:getMulticloudNetworkAnchors
      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).
    CompartmentIdInSubtree bool
    If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    ExternalLocation string
    The Cloud Service Provider region.
    Id string
    The OCID of the NetworkAnchor.
    Limit int
    NetworkAnchorLifecycleState string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    NetworkAnchorOciSubnetId string
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id.
    NetworkAnchorOciVcnId string
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id.
    ShouldFetchVcnName bool

    Whether to fetch and include the vcn display name, which may introduce additional latency.

    Note: one of the arguments compartment_id or id must be specified.

    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).
    CompartmentIdInSubtree bool
    If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    ExternalLocation string
    The Cloud Service Provider region.
    Id string
    The OCID of the NetworkAnchor.
    Limit int
    NetworkAnchorLifecycleState string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    NetworkAnchorOciSubnetId string
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id.
    NetworkAnchorOciVcnId string
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id.
    ShouldFetchVcnName bool

    Whether to fetch and include the vcn display name, which may introduce additional latency.

    Note: one of the arguments compartment_id or id must be specified.

    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).
    compartmentIdInSubtree Boolean
    If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter.
    displayName String
    A filter to return only resources that match the given display name exactly.
    externalLocation String
    The Cloud Service Provider region.
    id String
    The OCID of the NetworkAnchor.
    limit Integer
    networkAnchorLifecycleState String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    networkAnchorOciSubnetId String
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id.
    networkAnchorOciVcnId String
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id.
    shouldFetchVcnName Boolean

    Whether to fetch and include the vcn display name, which may introduce additional latency.

    Note: one of the arguments compartment_id or id must be specified.

    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).
    compartmentIdInSubtree boolean
    If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter.
    displayName string
    A filter to return only resources that match the given display name exactly.
    externalLocation string
    The Cloud Service Provider region.
    id string
    The OCID of the NetworkAnchor.
    limit number
    networkAnchorLifecycleState string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    networkAnchorOciSubnetId string
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id.
    networkAnchorOciVcnId string
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id.
    shouldFetchVcnName boolean

    Whether to fetch and include the vcn display name, which may introduce additional latency.

    Note: one of the arguments compartment_id or id must be specified.

    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).
    compartment_id_in_subtree bool
    If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter.
    display_name str
    A filter to return only resources that match the given display name exactly.
    external_location str
    The Cloud Service Provider region.
    id str
    The OCID of the NetworkAnchor.
    limit int
    network_anchor_lifecycle_state str
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    network_anchor_oci_subnet_id str
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id.
    network_anchor_oci_vcn_id str
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id.
    should_fetch_vcn_name bool

    Whether to fetch and include the vcn display name, which may introduce additional latency.

    Note: one of the arguments compartment_id or id must be specified.

    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).
    compartmentIdInSubtree Boolean
    If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter.
    displayName String
    A filter to return only resources that match the given display name exactly.
    externalLocation String
    The Cloud Service Provider region.
    id String
    The OCID of the NetworkAnchor.
    limit Number
    networkAnchorLifecycleState String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    networkAnchorOciSubnetId String
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id.
    networkAnchorOciVcnId String
    A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id.
    shouldFetchVcnName Boolean

    Whether to fetch and include the vcn display name, which may introduce additional latency.

    Note: one of the arguments compartment_id or id must be specified.

    subscriptionId String
    The OCID of the Multicloud subscription in which to list resources.
    subscriptionServiceName String
    The subscription service name of the Cloud Service Provider.

    getMulticloudNetworkAnchors Result

    The following output properties are available:

    NetworkAnchorCollections List<GetMulticloudNetworkAnchorsNetworkAnchorCollection>
    The list of NetworkAnchor.
    CompartmentId string
    The OCID of the compartment.
    CompartmentIdInSubtree bool
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    ExternalLocation string
    Id string
    The OCID of the NetworkAnchor.
    Limit int
    NetworkAnchorLifecycleState string
    The current state of the NetworkAnchor.
    NetworkAnchorOciSubnetId string
    NetworkAnchorOciVcnId string
    ShouldFetchVcnName bool
    SubscriptionId string
    SubscriptionServiceName string
    NetworkAnchorCollections []GetMulticloudNetworkAnchorsNetworkAnchorCollection
    The list of NetworkAnchor.
    CompartmentId string
    The OCID of the compartment.
    CompartmentIdInSubtree bool
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    ExternalLocation string
    Id string
    The OCID of the NetworkAnchor.
    Limit int
    NetworkAnchorLifecycleState string
    The current state of the NetworkAnchor.
    NetworkAnchorOciSubnetId string
    NetworkAnchorOciVcnId string
    ShouldFetchVcnName bool
    SubscriptionId string
    SubscriptionServiceName string
    networkAnchorCollections List<GetMulticloudNetworkAnchorsNetworkAnchorCollection>
    The list of NetworkAnchor.
    compartmentId String
    The OCID of the compartment.
    compartmentIdInSubtree Boolean
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    externalLocation String
    id String
    The OCID of the NetworkAnchor.
    limit Integer
    networkAnchorLifecycleState String
    The current state of the NetworkAnchor.
    networkAnchorOciSubnetId String
    networkAnchorOciVcnId String
    shouldFetchVcnName Boolean
    subscriptionId String
    subscriptionServiceName String
    networkAnchorCollections GetMulticloudNetworkAnchorsNetworkAnchorCollection[]
    The list of NetworkAnchor.
    compartmentId string
    The OCID of the compartment.
    compartmentIdInSubtree boolean
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    externalLocation string
    id string
    The OCID of the NetworkAnchor.
    limit number
    networkAnchorLifecycleState string
    The current state of the NetworkAnchor.
    networkAnchorOciSubnetId string
    networkAnchorOciVcnId string
    shouldFetchVcnName boolean
    subscriptionId string
    subscriptionServiceName string
    network_anchor_collections Sequence[GetMulticloudNetworkAnchorsNetworkAnchorCollection]
    The list of NetworkAnchor.
    compartment_id str
    The OCID of the compartment.
    compartment_id_in_subtree bool
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    external_location str
    id str
    The OCID of the NetworkAnchor.
    limit int
    network_anchor_lifecycle_state str
    The current state of the NetworkAnchor.
    network_anchor_oci_subnet_id str
    network_anchor_oci_vcn_id str
    should_fetch_vcn_name bool
    subscription_id str
    subscription_service_name str
    networkAnchorCollections List<Property Map>
    The list of NetworkAnchor.
    compartmentId String
    The OCID of the compartment.
    compartmentIdInSubtree Boolean
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    externalLocation String
    id String
    The OCID of the NetworkAnchor.
    limit Number
    networkAnchorLifecycleState String
    The current state of the NetworkAnchor.
    networkAnchorOciSubnetId String
    networkAnchorOciVcnId String
    shouldFetchVcnName Boolean
    subscriptionId String
    subscriptionServiceName String

    Supporting Types

    GetMulticloudNetworkAnchorsNetworkAnchorCollection

    items List<Property Map>
    List of NetworkAnchorSummary

    GetMulticloudNetworkAnchorsNetworkAnchorCollectionItem

    ClusterPlacementGroupId string
    The CPG ID in which Network Anchor will be created.
    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).
    CspAdditionalProperties Dictionary<string, string>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    CspNetworkAnchorId string
    Network Anchor Id in the Cloud Service Provider.
    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 NetworkAnchor.
    LifecycleDetails string
    A message that describes the current state of the NetworkAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    NetworkAnchorConnectionStatus string
    Defines status of the Network Anchor.
    NetworkAnchorLifecycleState string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    NetworkAnchorUri string
    CSP network anchor Uri
    ResourceAnchorId string
    Oracle Cloud Infrastructure resource anchor Id (OCID).
    SubscriptionType string
    Oracle Cloud Infrastructure Subscription Type.
    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 NetworkAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the NetworkAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    VcnId string
    Oracle Cloud Infrastructure VCN OCID. CSP can not set this property.
    VcnName string
    Name of the VCN associated to the Network Anchor.
    ClusterPlacementGroupId string
    The CPG ID in which Network Anchor will be created.
    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).
    CspAdditionalProperties map[string]string
    CSP Specific Additional Properties, AzureSubnetId for Azure
    CspNetworkAnchorId string
    Network Anchor Id in the Cloud Service Provider.
    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 NetworkAnchor.
    LifecycleDetails string
    A message that describes the current state of the NetworkAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    NetworkAnchorConnectionStatus string
    Defines status of the Network Anchor.
    NetworkAnchorLifecycleState string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    NetworkAnchorUri string
    CSP network anchor Uri
    ResourceAnchorId string
    Oracle Cloud Infrastructure resource anchor Id (OCID).
    SubscriptionType string
    Oracle Cloud Infrastructure Subscription Type.
    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 NetworkAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the NetworkAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    VcnId string
    Oracle Cloud Infrastructure VCN OCID. CSP can not set this property.
    VcnName string
    Name of the VCN associated to the Network Anchor.
    clusterPlacementGroupId String
    The CPG ID in which Network Anchor will be created.
    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).
    cspAdditionalProperties Map<String,String>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    cspNetworkAnchorId String
    Network Anchor Id in the Cloud Service Provider.
    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 NetworkAnchor.
    lifecycleDetails String
    A message that describes the current state of the NetworkAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    networkAnchorConnectionStatus String
    Defines status of the Network Anchor.
    networkAnchorLifecycleState String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    networkAnchorUri String
    CSP network anchor Uri
    resourceAnchorId String
    Oracle Cloud Infrastructure resource anchor Id (OCID).
    subscriptionType String
    Oracle Cloud Infrastructure Subscription Type.
    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 NetworkAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the NetworkAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    vcnId String
    Oracle Cloud Infrastructure VCN OCID. CSP can not set this property.
    vcnName String
    Name of the VCN associated to the Network Anchor.
    clusterPlacementGroupId string
    The CPG ID in which Network Anchor will be created.
    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).
    cspAdditionalProperties {[key: string]: string}
    CSP Specific Additional Properties, AzureSubnetId for Azure
    cspNetworkAnchorId string
    Network Anchor Id in the Cloud Service Provider.
    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 NetworkAnchor.
    lifecycleDetails string
    A message that describes the current state of the NetworkAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    networkAnchorConnectionStatus string
    Defines status of the Network Anchor.
    networkAnchorLifecycleState string
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    networkAnchorUri string
    CSP network anchor Uri
    resourceAnchorId string
    Oracle Cloud Infrastructure resource anchor Id (OCID).
    subscriptionType string
    Oracle Cloud Infrastructure Subscription Type.
    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 NetworkAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the NetworkAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    vcnId string
    Oracle Cloud Infrastructure VCN OCID. CSP can not set this property.
    vcnName string
    Name of the VCN associated to the Network Anchor.
    cluster_placement_group_id str
    The CPG ID in which Network Anchor will be created.
    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).
    csp_additional_properties Mapping[str, str]
    CSP Specific Additional Properties, AzureSubnetId for Azure
    csp_network_anchor_id str
    Network Anchor Id in the Cloud Service Provider.
    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 NetworkAnchor.
    lifecycle_details str
    A message that describes the current state of the NetworkAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    network_anchor_connection_status str
    Defines status of the Network Anchor.
    network_anchor_lifecycle_state str
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    network_anchor_uri str
    CSP network anchor Uri
    resource_anchor_id str
    Oracle Cloud Infrastructure resource anchor Id (OCID).
    subscription_type str
    Oracle Cloud Infrastructure Subscription Type.
    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 NetworkAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the NetworkAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    vcn_id str
    Oracle Cloud Infrastructure VCN OCID. CSP can not set this property.
    vcn_name str
    Name of the VCN associated to the Network Anchor.
    clusterPlacementGroupId String
    The CPG ID in which Network Anchor will be created.
    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).
    cspAdditionalProperties Map<String>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    cspNetworkAnchorId String
    Network Anchor Id in the Cloud Service Provider.
    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 NetworkAnchor.
    lifecycleDetails String
    A message that describes the current state of the NetworkAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    networkAnchorConnectionStatus String
    Defines status of the Network Anchor.
    networkAnchorLifecycleState String
    A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
    networkAnchorUri String
    CSP network anchor Uri
    resourceAnchorId String
    Oracle Cloud Infrastructure resource anchor Id (OCID).
    subscriptionType String
    Oracle Cloud Infrastructure Subscription Type.
    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 NetworkAnchor was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the NetworkAnchor was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    vcnId String
    Oracle Cloud Infrastructure VCN OCID. CSP can not set this property.
    vcnName String
    Name of the VCN associated to the Network Anchor.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.2.0
    published on Friday, Mar 6, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.