Server

Package : spaceone.api.inventory.v1

Server

Server Methods:

create

POST /inventory/v1/servers

Type

Message

Response

update

PUT /inventory/v1/server/{server_id}

Type

Message

Response

pin_data

PUT /inventory/v1/server/{server_id}/pin-data

Type

Message

Response

delete

DELETE /inventory/v1/server/{server_id}

Type

Message

get

GET /inventory/v1/server/{server_id}

Type

Message

Response

list

GET /inventory/v1/servers

POST /inventory/v1/servers/search

Type

Message

Response

stat

POST /inventory/v1/servers/stat

Type

Message

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

region_code

string

8

region_type

string

13

reference

15

project_id

string

16

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

1

device_index

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

region_code

string

10

region_type

string

15

reference

17

collection_info

18

project_id

string

19

domain_id

string

ServerNIC

No

Field

Type

Required

Description

1

device_index

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

region_code

string

11

region_type

string

12

resource_group_id

string

13

project_id

string

14

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

No

Field

Type

Description

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

12

reference

14

region_code

string

15

region_type

string

16

project_id

string

17

domain_id

string

18

release_region

bool

19

release_project

bool

Last updated