Resource Group
Package : spaceone.api.inventory.v1
ResourceGroup
ResourceGroup Methods:
Method | Request | Response |
---|---|---|
create
POST /inventory/v1/resource-groups
Type | Message |
---|---|
Request | |
Response |
update
PUT /inventory/v1/resource-group/{resource_group_id}
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /inventory/v1/resource-group/{resource_group_id}
Type | Message |
---|---|
Request | |
Response |
get
GET /inventory/v1/resource-group/{resource_group_id}
Type | Message |
---|---|
Request | |
Response |
list
GET /inventory/v1/resource-groups
POST /inventory/v1/resource-groups/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /inventory/v1/resource-groups/stat
Type | Message |
---|---|
Request | |
Response |
Message
CreateResourceGroupRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
resources | ✔ | ||
options | ✘ | ||
tags | ✘ | ||
project_id | string | ✔ | |
domain_id | string | ✔ |
GetResourceGroupRequest
Field | Type | Required | Description |
---|---|---|---|
resource_group_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
Resource
Field | Type | Required | Description |
---|---|---|---|
resource_type | string | ✔ | |
filter | ✘ | ||
keyword | string | ✘ |
ResourceGroupInfo
Field | Type | Description |
---|---|---|
resource_group_id | string | |
name | string | |
resources | ||
options | ||
tags | ||
project_id | string | |
domain_id | string | |
created_at | string |
ResourceGroupQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
resource_group_id | string | ✘ | |
name | string | ✘ | |
project_id | string | ✘ | |
domain_id | string | ✔ |
ResourceGroupRequest
Field | Type | Required | Description |
---|---|---|---|
resource_group_id | string | ✔ | |
domain_id | string | ✔ |
ResourceGroupStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
ResourceGroupsInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
UpdateResourceGroupRequest
Field | Type | Required | Description |
---|---|---|---|
resource_group_id | string | ✔ | |
name | string | ✘ | |
resources | ✘ | ||
options | ✘ | ||
tags | ✘ | ||
release_project | bool | ✘ | |
project_id | string | ✘ | |
domain_id | string | ✔ |
Last updated