1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getMulticloudExternalLocationMappingMetadata
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi

    This data source provides the list of External Location Mapping Metadata in Oracle Cloud Infrastructure Multicloud service.

    List externalLocation metadata from Oracle Cloud Infrastructure to the Cloud Service Provider for regions, Physical Availability Zones.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExternalLocationMappingMetadata = oci.oci.getMulticloudExternalLocationMappingMetadata({
        compartmentId: compartmentId,
        subscriptionServiceNames: subscriptionServiceNameList,
        subscriptionId: subscriptionId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_external_location_mapping_metadata = oci.oci.get_multicloud_external_location_mapping_metadata(compartment_id=compartment_id,
        subscription_service_names=subscription_service_name_list,
        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.GetMulticloudExternalLocationMappingMetadata(ctx, &oci.GetMulticloudExternalLocationMappingMetadataArgs{
    			CompartmentId:            compartmentId,
    			SubscriptionServiceNames: subscriptionServiceNameList,
    			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 testExternalLocationMappingMetadata = Oci.Oci.GetMulticloudExternalLocationMappingMetadata.Invoke(new()
        {
            CompartmentId = compartmentId,
            SubscriptionServiceNames = subscriptionServiceNameList,
            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.GetMulticloudExternalLocationMappingMetadataArgs;
    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 testExternalLocationMappingMetadata = OciFunctions.getMulticloudExternalLocationMappingMetadata(GetMulticloudExternalLocationMappingMetadataArgs.builder()
                .compartmentId(compartmentId)
                .subscriptionServiceNames(subscriptionServiceNameList)
                .subscriptionId(subscriptionId)
                .build());
    
        }
    }
    
    variables:
      testExternalLocationMappingMetadata:
        fn::invoke:
          function: oci:oci:getMulticloudExternalLocationMappingMetadata
          arguments:
            compartmentId: ${compartmentId}
            subscriptionServiceNames: ${subscriptionServiceNameList}
            subscriptionId: ${subscriptionId}
    

    Using getMulticloudExternalLocationMappingMetadata

    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 getMulticloudExternalLocationMappingMetadata(args: GetMulticloudExternalLocationMappingMetadataArgs, opts?: InvokeOptions): Promise<GetMulticloudExternalLocationMappingMetadataResult>
    function getMulticloudExternalLocationMappingMetadataOutput(args: GetMulticloudExternalLocationMappingMetadataOutputArgs, opts?: InvokeOptions): Output<GetMulticloudExternalLocationMappingMetadataResult>
    def get_multicloud_external_location_mapping_metadata(compartment_id: Optional[str] = None,
                                                          filters: Optional[Sequence[GetMulticloudExternalLocationMappingMetadataFilter]] = None,
                                                          limit: Optional[int] = None,
                                                          subscription_id: Optional[str] = None,
                                                          subscription_service_names: Optional[Sequence[str]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetMulticloudExternalLocationMappingMetadataResult
    def get_multicloud_external_location_mapping_metadata_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMulticloudExternalLocationMappingMetadataFilterArgs]]]] = None,
                                                          limit: Optional[pulumi.Input[int]] = None,
                                                          subscription_id: Optional[pulumi.Input[str]] = None,
                                                          subscription_service_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> Output[GetMulticloudExternalLocationMappingMetadataResult]
    func GetMulticloudExternalLocationMappingMetadata(ctx *Context, args *GetMulticloudExternalLocationMappingMetadataArgs, opts ...InvokeOption) (*GetMulticloudExternalLocationMappingMetadataResult, error)
    func GetMulticloudExternalLocationMappingMetadataOutput(ctx *Context, args *GetMulticloudExternalLocationMappingMetadataOutputArgs, opts ...InvokeOption) GetMulticloudExternalLocationMappingMetadataResultOutput

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

    public static class GetMulticloudExternalLocationMappingMetadata 
    {
        public static Task<GetMulticloudExternalLocationMappingMetadataResult> InvokeAsync(GetMulticloudExternalLocationMappingMetadataArgs args, InvokeOptions? opts = null)
        public static Output<GetMulticloudExternalLocationMappingMetadataResult> Invoke(GetMulticloudExternalLocationMappingMetadataInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMulticloudExternalLocationMappingMetadataResult> getMulticloudExternalLocationMappingMetadata(GetMulticloudExternalLocationMappingMetadataArgs args, InvokeOptions options)
    public static Output<GetMulticloudExternalLocationMappingMetadataResult> getMulticloudExternalLocationMappingMetadata(GetMulticloudExternalLocationMappingMetadataArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getMulticloudExternalLocationMappingMetadata:getMulticloudExternalLocationMappingMetadata
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    SubscriptionServiceNames List<string>
    The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]
    Filters List<GetMulticloudExternalLocationMappingMetadataFilter>
    Limit int
    SubscriptionId string
    The OCID of the subscription in which to list resources.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    SubscriptionServiceNames []string
    The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]
    Filters []GetMulticloudExternalLocationMappingMetadataFilter
    Limit int
    SubscriptionId string
    The OCID of the subscription in which to list resources.
    compartmentId String
    The OCID of the compartment in which to list resources.
    subscriptionServiceNames List<String>
    The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]
    filters List<GetMulticloudExternalLocationMappingMetadataFilter>
    limit Integer
    subscriptionId String
    The OCID of the subscription in which to list resources.
    compartmentId string
    The OCID of the compartment in which to list resources.
    subscriptionServiceNames string[]
    The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]
    filters GetMulticloudExternalLocationMappingMetadataFilter[]
    limit number
    subscriptionId string
    The OCID of the subscription in which to list resources.
    compartment_id str
    The OCID of the compartment in which to list resources.
    subscription_service_names Sequence[str]
    The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]
    filters Sequence[GetMulticloudExternalLocationMappingMetadataFilter]
    limit int
    subscription_id str
    The OCID of the subscription in which to list resources.
    compartmentId String
    The OCID of the compartment in which to list resources.
    subscriptionServiceNames List<String>
    The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]
    filters List<Property Map>
    limit Number
    subscriptionId String
    The OCID of the subscription in which to list resources.

    getMulticloudExternalLocationMappingMetadata Result

    The following output properties are available:

    compartmentId String
    externalLocationMappingMetadatumSummaryCollections List<Property Map>
    The list of ExternalLocationMappingMetadata.
    id String
    The provider-assigned unique ID for this managed resource.
    subscriptionServiceNames List<String>
    filters List<Property Map>
    limit Number
    subscriptionId String

    Supporting Types

    GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollection

    items List<Property Map>
    List of ExternalLocationMappingMetadatumSummary

    GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollectionItem

    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"}
    ExternalLocations List<GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollectionItemExternalLocation>
    External location for CSP Region, CSP-Physical-AZ
    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"}
    OciLogicalAd string
    Oracle Cloud Infrastructure logical ad name
    OciPhysicalAd string
    Oracle Cloud Infrastructure physical ad name
    OciRegion string
    Oracle Cloud Infrastructure region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
    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"}
    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"}
    ExternalLocations []GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollectionItemExternalLocation
    External location for CSP Region, CSP-Physical-AZ
    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"}
    OciLogicalAd string
    Oracle Cloud Infrastructure logical ad name
    OciPhysicalAd string
    Oracle Cloud Infrastructure physical ad name
    OciRegion string
    Oracle Cloud Infrastructure region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
    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"}
    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"}
    externalLocations List<GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollectionItemExternalLocation>
    External location for CSP Region, CSP-Physical-AZ
    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"}
    ociLogicalAd String
    Oracle Cloud Infrastructure logical ad name
    ociPhysicalAd String
    Oracle Cloud Infrastructure physical ad name
    ociRegion String
    Oracle Cloud Infrastructure region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
    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"}
    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"}
    externalLocations GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollectionItemExternalLocation[]
    External location for CSP Region, CSP-Physical-AZ
    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"}
    ociLogicalAd string
    Oracle Cloud Infrastructure logical ad name
    ociPhysicalAd string
    Oracle Cloud Infrastructure physical ad name
    ociRegion string
    Oracle Cloud Infrastructure region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
    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"}
    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"}
    external_locations Sequence[GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollectionItemExternalLocation]
    External location for CSP Region, CSP-Physical-AZ
    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"}
    oci_logical_ad str
    Oracle Cloud Infrastructure logical ad name
    oci_physical_ad str
    Oracle Cloud Infrastructure physical ad name
    oci_region str
    Oracle Cloud Infrastructure region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
    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"}
    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"}
    externalLocations List<Property Map>
    External location for CSP Region, CSP-Physical-AZ
    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"}
    ociLogicalAd String
    Oracle Cloud Infrastructure logical ad name
    ociPhysicalAd String
    Oracle Cloud Infrastructure physical ad name
    ociRegion String
    Oracle Cloud Infrastructure region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}

    GetMulticloudExternalLocationMappingMetadataExternalLocationMappingMetadatumSummaryCollectionItemExternalLocation

    CspPhysicalAz string
    A mapping of Oracle Cloud Infrastructure site group name to CSP physical availability zone name
    CspPhysicalAzDisplayName string
    User friendly display name for cspPhysicalAZ
    CspRegion string
    CSP region corresponding to the given Oracle Cloud Infrastructure region
    CspRegionDisplayName string
    CSP region display Name corresponding to the given Oracle Cloud Infrastructure region
    ServiceName string
    The serviceName that externalLocation map object belongs to
    CspPhysicalAz string
    A mapping of Oracle Cloud Infrastructure site group name to CSP physical availability zone name
    CspPhysicalAzDisplayName string
    User friendly display name for cspPhysicalAZ
    CspRegion string
    CSP region corresponding to the given Oracle Cloud Infrastructure region
    CspRegionDisplayName string
    CSP region display Name corresponding to the given Oracle Cloud Infrastructure region
    ServiceName string
    The serviceName that externalLocation map object belongs to
    cspPhysicalAz String
    A mapping of Oracle Cloud Infrastructure site group name to CSP physical availability zone name
    cspPhysicalAzDisplayName String
    User friendly display name for cspPhysicalAZ
    cspRegion String
    CSP region corresponding to the given Oracle Cloud Infrastructure region
    cspRegionDisplayName String
    CSP region display Name corresponding to the given Oracle Cloud Infrastructure region
    serviceName String
    The serviceName that externalLocation map object belongs to
    cspPhysicalAz string
    A mapping of Oracle Cloud Infrastructure site group name to CSP physical availability zone name
    cspPhysicalAzDisplayName string
    User friendly display name for cspPhysicalAZ
    cspRegion string
    CSP region corresponding to the given Oracle Cloud Infrastructure region
    cspRegionDisplayName string
    CSP region display Name corresponding to the given Oracle Cloud Infrastructure region
    serviceName string
    The serviceName that externalLocation map object belongs to
    csp_physical_az str
    A mapping of Oracle Cloud Infrastructure site group name to CSP physical availability zone name
    csp_physical_az_display_name str
    User friendly display name for cspPhysicalAZ
    csp_region str
    CSP region corresponding to the given Oracle Cloud Infrastructure region
    csp_region_display_name str
    CSP region display Name corresponding to the given Oracle Cloud Infrastructure region
    service_name str
    The serviceName that externalLocation map object belongs to
    cspPhysicalAz String
    A mapping of Oracle Cloud Infrastructure site group name to CSP physical availability zone name
    cspPhysicalAzDisplayName String
    User friendly display name for cspPhysicalAZ
    cspRegion String
    CSP region corresponding to the given Oracle Cloud Infrastructure region
    cspRegionDisplayName String
    CSP region display Name corresponding to the given Oracle Cloud Infrastructure region
    serviceName String
    The serviceName that externalLocation map object belongs to

    GetMulticloudExternalLocationMappingMetadataFilter

    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

    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.12.0 published on Friday, Nov 21, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate