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 | ❌ | |
2 | state |
| ❌ | |
3 | primary_ip_address | string | ❌ | |
4 | server_type |
| ❌ | |
5 | os_type |
| ✅ | |
6 | provider | string | ❌ | |
7 | region_code | string | ❌ | |
8 | region_type | string | ❌ | |
9 | data | ❌ | ||
10 | metadata | ❌ | ||
11 | nics | ❌ | ||
12 | disks | ❌ | ||
13 | reference | ❌ | ||
14 | tags | ❌ | ||
15 | project_id | string | ❌ | |
16 | domain_id | string | ✅ |
GetServerRequest
No | Field | Type | Required | Description |
1 | server_id | string | ✅ | |
2 | domain_id | string | ✅ | |
3 | only | string | ❌ |
PinServerDataRequest
No | Field | Type | Required | Description |
1 | server_id | string | ✅ | |
2 | keys | string | ✅ | |
3 | domain_id | string | ✅ |
ServerDisk
No | Field | Type | Required | Description |
1 | device_index | ✅ | ||
2 | device | string | ❌ | |
3 | disk_type | string | ❌ | |
4 | size | float | ❌ | |
5 | tags | ❌ |
ServerInfo
No | Field | Type | Description |
1 | server_id | string | |
2 | name | string | |
3 | state |
| |
4 | primary_ip_address | string | |
5 | ip_addresses | ||
6 | server_type |
| |
7 | os_type |
| |
8 | provider | string | |
9 | region_code | string | |
10 | region_type | string | |
11 | data | ||
12 | metadata | ||
13 | nics | ||
14 | disks | ||
15 | reference | ||
16 | tags | ||
17 | collection_info | ||
18 | project_id | string | |
19 | domain_id | string | |
20 | created_at | ||
21 | updated_at | ||
22 | deleted_at |
ServerNIC
No | Field | Type | Required | Description |
1 | device_index | ✅ | ||
2 | device | string | ❌ | |
3 | nic_type | string | ❌ | |
4 | ip_addresses | string | ✅ | |
5 | cidr | string | ❌ | |
6 | mac_address | string | ❌ | |
7 | public_ip_address | string | ❌ | |
8 | tags | ❌ |
ServerQuery
No | Field | Type | Required | Description |
1 | query | ❌ | ||
2 | server_id | string | ❌ | |
3 | name | string | ❌ | |
4 | state | string | ❌ | |
5 | primary_ip_address | string | ❌ | |
6 | ip_addresses | string | ❌ | |
7 | server_type |
| ❌ | |
8 | os_type |
| ❌ | |
9 | provider | string | ❌ | |
10 | region_code | string | ❌ | |
11 | region_type | string | ❌ | |
12 | project_id | string | ❌ | |
13 | domain_id | string | ✅ |
ServerReference
No | Field | Type | Description |
1 | resource_id | string | |
2 | external_link | string |
ServerRequest
No | Field | Type | Required | Description |
1 | server_id | string | ✅ | |
2 | domain_id | string | ✅ |
ServerStatQuery
No | Field | Type | Required | Description |
1 | query | ✅ | ||
2 | domain_id | string | ✅ |
ServersInfo
No | Field | Type | Description |
1 | results | ||
2 | total_count |
UpdateServerRequest
No | Field | Type | Required | Description |
1 | server_id | string | ✅ | server unique id |
2 | name | string | ❌ | |
3 | state |
| ❌ | |
4 | primary_ip_address | string | ❌ | |
5 | server_type |
| ❌ | |
6 | os_type |
| ❌ | |
7 | provider | string | ❌ | |
8 | data | ❌ | ||
9 | metadata | ❌ | ||
10 | nics | ❌ | ||
11 | disks | ❌ | ||
12 | reference | ❌ | ||
13 | tags | ❌ | ||
14 | project_id | string | ❌ | |
15 | domain_id | string | ✅ | |
16 | release_region | bool | ❌ | |
17 | release_project | bool | ❌ |
Last updated