Server
Package : spaceone.api.inventory.v1
Server
Server Methods:
create
POST /inventory/v1/servers
update
PUT /inventory/v1/server/{server_id}
pin_data
PUT /inventory/v1/server/{server_id}/pin-data
delete
DELETE /inventory/v1/server/{server_id}
get
GET /inventory/v1/server/{server_id}
list
GET /inventory/v1/servers
POST /inventory/v1/servers/search
stat
POST /inventory/v1/servers/stat
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
cloud_service_group
string
❌
8
cloud_service_type
string
❌
9
region_code
string
❌
15
tags
list of spaceone.api.core.v1.Tag
❌
16
project_id
string
❌
17
domain_id
string
✅
GetServerRequest
No
Field
Type
Required
Description
1
server_id
string
✅
2
domain_id
string
✅
3
only
list of string
❌
PinServerDataRequest
No
Field
Type
Required
Description
1
server_id
string
✅
2
keys
list of string
✅
3
domain_id
string
✅
ServerDisk
No
Field
Type
Required
Description
2
device
string
❌
3
disk_type
string
❌
4
size
float
❌
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
6
server_type
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
7
os_type
OS_TYPE_NONE
LINUX
WINDOWS
8
provider
string
9
cloud_service_group
string
10
cloud_service_type
string
11
region_code
string
17
tags
list of spaceone.api.core.v1.Tag
19
project_id
string
20
domain_id
string
ServerNIC
No
Field
Type
Required
Description
2
device
string
❌
3
nic_type
string
❌
4
ip_addresses
list of string
✅
5
cidr
string
❌
6
mac_address
string
❌
7
public_ip_address
string
❌
ServerQuery
No
Field
Type
Required
Description
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
cloud_service_group
string
❌
11
cloud_service_type
string
❌
12
region_code
string
❌
13
resource_group_id
string
❌
14
project_id
string
❌
15
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
2
domain_id
string
✅
3
resource_group_id
string
❌
ServersInfo
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
cloud_service_group
string
❌
9
cloud_service_type
string
❌
10
region_code
string
❌
16
tags
list of spaceone.api.core.v1.Tag
❌
17
project_id
string
❌
18
domain_id
string
✅
19
release_region
bool
❌
20
release_project
bool
❌
Last updated