Region
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
Region Methods:
create
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
update
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
delete
Deletes a specific Region. You must specify the region_id of the Region to delete.
POST /inventory/v2/region/delete
get
Gets a specific Region. Prints detailed information about the Region, including name, region_code, and a location coordinate.
POST /inventory/v2/region/get
list
Gets a list of all Regions. You can use a query to get a filtered list of Regions.
POST /inventory/v2/region/list
stat
POST /inventory/v2/region/stat
Message
CreateRegionRequest
name (string)
Requiredregion_code (string)
Requiredprovider (string)
tags (Struct)
RegionInfo
region_id (string)
Requiredname (string)
Requiredregion_key (string)
Requiredregion_code (string)
Requiredprovider (string)
Requiredtags (Struct)
Requireddomain_id (string)
Requiredcreated_at (string)
Requiredupdated_at (string)
Required
RegionQuery
query (Query)
region_id (string)
name (string)
region_key (string)
region_code (string)
provider (string)
RegionRequest
region_id (string)
Required
RegionStatQuery
query (StatisticsQuery)
Required
RegionsInfo
results (RegionInfo)
RepeatedRequiredtotal_count (int32)
Required
UpdateRegionRequest
region_id (string)
Requiredname (string)
tags (Struct)
Last updated