Device
Package : spaceone.api.inventory.v1
Device
Device Methods:
create
POST /inventory/v1/devices
update
PUT /inventory/v1/device/{device_id}
pin_data
PUT /inventory/v1/device/{device_id}/pin-data
delete
DELETE /inventory/v1/device/{device_id}
get
GET /inventory/v1/device/{device_id}
list
GET /inventory/v1/devices
POST /inventory/v1/devices/search
stat
POST /inventory/v1/devices/stat
Message
CreateDeviceRequest
No
Field
Type
Required
Description
1
device_type_id
string
✅
2
project_id
string
❌
3
region_code
string
❌
4
region_type
string
❌
7
tags
list of spaceone.api.core.v1.Tag
❌
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
9
tags
list of spaceone.api.core.v1.Tag
11
domain_id
string
DeviceQuery
No
Field
Type
Required
Description
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
DevicesInfo
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
❌
9
tags
list of spaceone.api.core.v1.Tag
❌
10
domain_id
string
✅
Last updated