Region
Last updated
Last updated
A Region is a resource storing regional information from each cloud service provider. Regional data stored by the resource includes the latitude and longitude of the region.
Package : spaceone.api.inventory.v2
Region Methods:
Method | Request | Response |
---|---|---|
Creates a new Region. As the parameter region_key
, which is automatically created when a Region is created, is in a form of {provider}.{region_code}
, it is unique regardless of providers. You can also specify the latitude, longitude, and continent information in tags
.
POST /inventory/v2/region/create
Updates a specific Region. You can make changes in Region settings, including name
and tags
. The tags
contain the continent, latitude, and longitude.
POST /inventory/v2/region/update
Deletes a specific Region. You must specify the region_id
of the Region to delete.
POST /inventory/v2/region/delete
Gets a specific Region. Prints detailed information about the Region, including name
, region_code
, and a location coordinate.
POST /inventory/v2/region/get
Gets a list of all Regions. You can use a query to get a filtered list of Regions.
POST /inventory/v2/region/list
POST /inventory/v2/region/stat
name (string) Required
region_code (string) Required
provider (string)
tags (Struct)
region_id (string) Required
name (string) Required
region_key (string) Required
region_code (string) Required
provider (string) Required
tags (Struct) Required
domain_id (string) Required
created_at (string) Required
updated_at (string) Required
query (Query)
region_id (string)
name (string)
region_key (string)
region_code (string)
provider (string)
region_id (string) Required
query (StatisticsQuery) Required
results (RegionInfo) Repeated
Required
total_count (int32) Required
region_id (string) Required
name (string)
tags (Struct)