Server
Package : spaceone.api.inventory.v1
Server
Server Methods:
NO | Method | Request Type | Response Type | Description |
1 | ||||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 | ||||
7 |
create
POST /inventory/v1/servers
Type | Message |
Request | |
Response |
update
PUT /inventory/v1/server/{server_id}
Type | Message |
Request | |
Response |
pin_data
PUT /inventory/v1/server/{server_id}/pin-data
Type | Message |
Request | |
Response |
delete
DELETE /inventory/v1/server/{server_id}
Type | Message |
Request | |
Response |
get
GET /inventory/v1/server/{server_id}
Type | Message |
Request | |
Response |
list
GET /inventory/v1/servers
POST /inventory/v1/servers/search
Type | Message |
Request | |
Response |
stat
POST /inventory/v1/servers/stat
Type | Message |
Request | |
Response |
Message
CreateServerRequest
No | Field | Type | Required | Description |
1 | name | string | optional | optional |
2 | state | ServerState
| optional | optional |
3 | primary_ip_address | string | required | required |
4 | server_type | ServerType
| optional | optional |
5 | os_type | ServerOSType
| required | required |
6 | provider | string | optional | optional |
7 | data | optional | optional | |
8 | metadata | optional | optional | |
9 | nics | optional | optional | |
10 | disks | optional | optional | |
11 | reference | optional | optional | |
12 | tags | optional | optional | |
13 | asset_id | string | optional | optional |
14 | pool_id | string | optional | optional |
15 | zone_id | string | optional | optional |
16 | region_id | string | optional | optional |
17 | project_id | string | optional | optional |
18 | domain_id | string | required | required |
GetServerRequest
No | Field | Type | Required | Description |
1 | server_id | string | required | |
2 | domain_id | string | required | |
3 | only | string | optional |
PinServerDataRequest
No | Field | Type | Required | Description |
1 | server_id | string | required | |
2 | keys | string | required | |
3 | domain_id | string | required |
ServerInfo
No | Field | Type | Required | Description |
1 | server_id | string | ||
2 | name | string | ||
3 | state | ServerState
| ||
4 | primary_ip_address | string | ||
5 | ip_addresses | |||
6 | server_type | ServerType
| ||
7 | os_type | ServerOSType
| ||
8 | provider | string | ||
9 | data | |||
10 | metadata | |||
11 | nics | |||
12 | disks | |||
13 | reference | |||
14 | tags | |||
15 | collection_info | |||
16 | pool_info | |||
17 | zone_info | |||
18 | region_info | |||
19 | project_id | string | ||
20 | domain_id | string | ||
21 | created_at | |||
22 | updated_at | |||
23 | deleted_at |
ServerQuery
No | Field | Type | Required | Description |
1 | query | optional | optional | |
2 | server_id | string | optional | optional |
3 | name | string | optional | optional |
4 | state | string | optional | optional |
5 | primary_ip_address | string | optional | optional |
6 | ip_addresses | string | optional | optional |
7 | server_type | ServerType
| optional | optional |
8 | os_type | ServerOSType
| optional | optional |
9 | provider | string | optional | optional |
10 | asset_id | string | optional | optional |
11 | pool_id | string | optional | optional |
12 | zone_id | string | optional | optional |
13 | region_id | string | optional | optional |
14 | resource_group_id | string | optional | optional |
15 | project_id | string | optional | optional |
16 | domain_id | string | optional | optional |
ServerReference
No | Field | Type | Required | Description |
1 | resource_id | string | ||
2 | external_link | string |
ServerRequest
No | Field | Type | Required | Description |
1 | server_id | string | required | |
2 | domain_id | string | required |
ServerStatQuery
No | Field | Type | Required | Description |
1 | query | required | ||
2 | domain_id | string | required |
ServersInfo
No | Field | Type | Required | Description |
1 | results | |||
2 | total_count |
UpdateServerRequest
No | Field | Type | Required | Description |
1 | server_id | string | required | required |
2 | name | string | optional | optional |
3 | state | ServerState
| optional | optional |
4 | primary_ip_address | string | optional | optional |
5 | server_type | ServerType
| optional | optional |
6 | os_type | ServerOSType
| optional | optional |
7 | provider | string | optional | optional |
8 | data | optional | optional | |
9 | metadata | optional | optional | |
10 | nics | optional | optional | |
11 | disks | optional | optional | |
12 | reference | optional | optional | |
13 | tags | optional | optional | |
14 | asset_id | string | optional | optional |
15 | pool_id | string | optional | optional |
16 | zone_id | string | optional | optional |
17 | region_id | string | optional | optional |
18 | project_id | string | optional | optional |
19 | domain_id | string | required | required |
20 | release_region | bool | optional | optional |
21 | release_project | bool | optional | optional |
Last updated