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
optional
optional
2
state
ServerState
STATE_NONE
PENDING
INSERVICE
MAINTENANCE
CLOSED
DELETED
optional
optional
3
primary_ip_address
string
required
required
4
server_type
ServerType
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
optional
optional
5
os_type
ServerOSType
OS_TYPE_NONE
LINUX
WINDOWS
required
required
6
provider
string
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
STATE_NONE
PENDING
INSERVICE
MAINTENANCE
CLOSED
DELETED
4
primary_ip_address
string
6
server_type
ServerType
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
7
os_type
ServerOSType
OS_TYPE_NONE
LINUX
WINDOWS
8
provider
string
19
project_id
string
20
domain_id
string
ServerQuery
No
Field
Type
Required
Description
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
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
optional
optional
8
os_type
ServerOSType
OS_TYPE_NONE
LINUX
WINDOWS
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
2
domain_id
string
required
ServersInfo
UpdateServerRequest
No
Field
Type
Required
Description
1
server_id
string
required
required
2
name
string
optional
optional
3
state
ServerState
STATE_NONE
PENDING
INSERVICE
MAINTENANCE
CLOSED
DELETED
optional
optional
4
primary_ip_address
string
optional
optional
5
server_type
ServerType
SERVER_TYPE_NONE
BAREMETAL
VM
HYPERVISOR
UNKNOWN
optional
optional
6
os_type
ServerOSType
OS_TYPE_NONE
LINUX
WINDOWS
optional
optional
7
provider
string
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