Data Source: oci_multicloud_external_locations_metadata
This data source provides the list of External Locations Metadata in Oracle Cloud Infrastructure Multicloud service.
List externalLocationDetail metadata from Oracle Cloud Infrastructure to Cloud Service Provider for regions, Availability Zones, and Cluster Placement Group ID.
Example Usage
data "oci_multicloud_external_locations_metadata" "test_external_locations_metadata" {
#Required
compartment_id = var.compartment_id
subscription_id = var.subscription_id
subscription_service_name = var.subscription_service_name
#Optional
entity_type = var.external_locations_metadata_entity_type
linked_compartment_id = var.linked_compartment_id
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment in which to list resources.subscription_id
- (Required) The OCID of the subscription in which to list resources.subscription_service_name
- (Required) The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]entity_type
- (Optional) The resource type query (i.e. dbsystem, instance etc.)linked_compartment_id
- (Optional) The OCID of the compartment in which linked to Resource.
Attributes Reference
The following attributes are exported:
external_locations_metadatum_collection
- The list of ExternalLocationsMetadata.
ExternalLocationsMetadata Reference
The following attributes are exported:
items
- List of ExternalLocationsMetadatumSummarycpg_id
- Cluster Placement Group OCIDdefined_tags
- 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_location
- External location for CSP Region, CSP-Physical-AZ, CSP-Logical-AZcsp_logical_az
- A mapping of CSP physical availability zone to CSP logical availability zone.csp_physical_az
- A mapping of Oracle Cloud Infrastructure site group name to CSP physical availability zone namecsp_physical_az_display_name
- User friendly display name for cspPhysicalAZcsp_region
- CSP region corresponding to the given Oracle Cloud Infrastructure regioncsp_region_display_name
- CSP region display Name corresponding to the given Oracle Cloud Infrastructure regioncsp_zone_key_reference_id
- This is CSP zone key referencekey_name
- KeyName for Azure=AzureSubscriptionId Aws=AwsAccountId GCP=GcpProjectNamekey_value
- Value of keyName GcpProjectName: A human-readable name for your project. The project name isn’t used by any Google APIs. You can edit the project name at any time during or after project creation. Project names do not need to be unique. AzureSubscriptionId: A unique alphanumeric string that identifies your Azure subscription. AwsAccountId: a unique 12-digit number that identifies an Amazon Web Services (AWS) account
service_name
- The serviceName that externalLocation map object belongs to.
freeform_tags
- 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
- Oracle Cloud Infrastructure logical ad nameoci_physical_ad
- Oracle Cloud Infrastructure physical ad nameoci_region
- Oracle Cloud Infrastructure region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htmsystem_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}