Server

Package : spaceone.api.inventory.v1

Server

Server Methods:

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

cloud_service_group

string

8

cloud_service_type

string

9

region_code

string

10

data

11

metadata

12

nics

13

disks

14

reference

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

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

cloud_service_group

string

10

cloud_service_type

string

11

region_code

string

12

data

13

metadata

14

nics

15

disks

16

reference

17

tags

list of spaceone.api.core.v1.Tag

18

collection_info

19

project_id

string

20

domain_id

string

21

created_at

22

updated_at

23

deleted_at

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

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

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

1

query

2

domain_id

string

3

resource_group_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

cloud_service_group

string

9

cloud_service_type

string

10

region_code

string

11

data

12

metadata

13

nics

14

disks

15

reference

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