oracle/oci-python-sdk

How to find the physical location and geographical region of the particular resource

Gopichand785 opened this issue · 7 comments

For Azure: while getting the resource information from the cloud we are getting the following example-

  1. resource_region: useast , 2. meter_region: North East , meter_type: Bandwidth.
    when the meter type is bandwidth[it is the parameter the datatrasfer is happening in that resource] we were calculating the network traffic cost.
    For OCI:
    In the same way, the resource location is coming from the API response. But how to get the another location for the same resource. Is their any terminology difference to get that regions in OCI.
    As per my knowledge, resource region means physical location of the resource. meter_region means the geographical scope of the usage being metered. By using these two locations and usage quantity we want to calculate the network traffic cost.
    My query is, how to get the geographical scope of the usage being metered.
    Is their any terminology difference in the OCI?
    will you please provide the API to get the another region from where the data transfer is happening?
    currently, we were using usageapi

Can you specify which specific OCI service or API you are using for obtaining resource and meter information?