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

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

7

data

optional

optional

8

metadata

optional

optional

9

nics

optional

optional

10

disks

optional

optional

11

reference

optional

optional

12

tags

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

13

reference

15

collection_info

16

pool_info

17

zone_info

18

region_info

19

project_id

string

20

domain_id

string

ServerQuery

No

Field

Type

Required

Description

1

query

optional

optional

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

No

Field

Type

Required

Description

1

results

2

total_count

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

8

data

optional

optional

9

metadata

optional

optional

10

nics

optional

optional

11

disks

optional

optional

12

reference

optional

optional

13

tags

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