oracle / oracle/oci-python-sdk

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

Open
#598 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Usage
Dominant language
Python
Stars
474
Forks
321
Avg merge
23m
Merged PRs (30d)
4

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the OCI usageapi documentation and the resource-information API response described in the issue. Trace how resource region and metered usage fields are represented, then check whether an endpoint or field identifies the geographical scope of bandwidth usage. Done means documenting the relevant terminology and API path, or clearly confirming that OCI does not expose it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.