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
STATE_NONE
PENDING
INSERVICE
MAINTENANCE
CLOSED
DELETED
❌
3
primary_ip_address
string
❌
4
server_type
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
❌
5
os_type
OS_TYPE_NONE
LINUX
WINDOWS
✅
6
provider
string
❌
7
data
❌
8
metadata
❌
9
nics
❌
10
disks
❌
11
reference
❌
12
tags
❌
13
region_id
string
❌
14
project_id
string
❌
15
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
STATE_NONE
PENDING
INSERVICE
MAINTENANCE
CLOSED
DELETED
4
primary_ip_address
string
5
ip_addresses
6
server_type
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
7
os_type
OS_TYPE_NONE
LINUX
WINDOWS
8
provider
string
9
data
10
metadata
11
nics
12
disks
13
reference
14
tags
15
collection_info
16
region_info
17
project_id
string
18
domain_id
string
19
created_at
20
updated_at
21
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
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
❌
8
os_type
OS_TYPE_NONE
LINUX
WINDOWS
❌
9
provider
string
❌
10
region_id
string
❌
11
project_id
string
❌
12
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
STATE_NONE
PENDING
INSERVICE
MAINTENANCE
CLOSED
DELETED
❌
4
primary_ip_address
string
❌
5
server_type
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
❌
6
os_type
OS_TYPE_NONE
LINUX
WINDOWS
❌
7
provider
string
❌
8
data
❌
9
metadata
❌
10
nics
❌
11
disks
❌
12
reference
❌
13
tags
❌
14
region_id
string
❌
15
project_id
string
❌
16
domain_id
string
✅
17
release_region
bool
❌
18
release_project
bool
❌
Last updated