Region
Package : spaceone.api.inventory.v1
Region
Region Methods:
Method | Request | Response |
---|---|---|
create
POST /inventory/v1/regions
Type | Message |
---|---|
Request | |
Response |
update
PUT /inventory/v1/region/{region_id}
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /inventory/v1/region/{region_id}
Type | Message |
---|---|
Request | |
Response |
get
GET /inventory/v1/region/{region_id}
Type | Message |
---|---|
Request | |
Response |
list
GET /inventory/v1/regions
POST /inventory/v1/regions/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /inventory/v1/regions/stat
Type | Message |
---|---|
Request | |
Response |
Message
CreateRegionRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
region_code | string | ✔ | |
provider | string | ✘ | |
tags | ✘ | ||
domain_id | string | ✔ |
GetRegionRequest
Field | Type | Required | Description |
---|---|---|---|
region_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
RegionInfo
Field | Type | Description |
---|---|---|
region_id | string | |
name | string | |
region_key | string | |
region_code | string | |
provider | string | |
tags | ||
domain_id | string | |
created_at | string | |
updated_at | string |
RegionQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
region_id | string | ✘ | |
name | string | ✘ | |
region_key | string | ✘ | |
region_code | string | ✘ | |
provider | string | ✘ | |
domain_id | string | ✔ |
RegionRequest
Field | Type | Required | Description |
---|---|---|---|
region_id | string | ✔ | |
domain_id | string | ✔ |
RegionStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
RegionsInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
UpdateRegionRequest
Field | Type | Required | Description |
---|---|---|---|
region_id | string | ✔ | |
name | string | ✘ | |
tags | ✘ | ||
domain_id | string | ✔ |
Last updated