Device

Package : spaceone.api.inventory.v1

Device

Device Methods:

create

POST /inventory/v1/devices

Type

Message

Request

Response

update

PUT /inventory/v1/device/{device_id}

Type

Message

Request

Response

pin_data

PUT /inventory/v1/device/{device_id}/pin-data

Type

Message

Request

Response

delete

DELETE /inventory/v1/device/{device_id}

Type

Message

Request

Response

get

GET /inventory/v1/device/{device_id}

Type

Message

Request

Response

list

GET /inventory/v1/devices

POST /inventory/v1/devices/search

Type

Message

Request

Response

stat

POST /inventory/v1/devices/stat

Type

Message

Request

Response

Message

CreateDeviceRequest

No

Field

Type

Required

Description

1

device_type_id

string

2

project_id

string

3

region_code

string

4

region_type

string

5

data

6

reference

7

tags

8

domain_id

string

DeviceInfo

No

Field

Type

Description

1

device_id

string

2

state

  • STATE_NONE

  • INSTOCK

  • INSERVICE

  • DELETED

3

project_id

string

4

region_code

string

5

region_type

string

6

data

7

device_type_info

8

reference

9

tags

10

collection_info

11

domain_id

string

12

created_at

13

updated_at

DeviceQuery

No

Field

Type

Required

Description

1

query

2

device_id

string

3

device_type_id

string

4

project_id

string

5

region_code

string

6

region_type

string

7

domain_id

string

DeviceReference

No

Field

Type

Description

1

resource_id

string

2

external_link

string

DeviceRequest

No

Field

Type

Required

Description

1

device_id

string

2

domain_id

string

DeviceStatQuery

No

Field

Type

Required

Description

1

query

2

domain_id

string

DevicesInfo

No

Field

Type

Description

1

results

2

total_count

GetDeviceRequest

No

Field

Type

Required

Description

1

device_id

string

2

domain_id

string

3

only

list of string

PinDeviceRequest

No

Field

Type

Required

Description

1

device_id

string

2

keys

list of string

3

domain_id

string

UpdateDeviceRequest

No

Field

Type

Required

Description

1

device_id

string

2

project_id

string

3

region_code

string

4

region_type

string

5

release_project

bool

6

release_region

bool

7

data

8

reference

9

tags

10

domain_id

string

Last updated