Device Type
Package : spaceone.api.inventory.v1
DeviceType
DeviceType Methods:
NO | Method | Request Type | Response Type | Description |
1 | ||||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 |
create
POST /inventory/v1/device-types
Type | Message |
Request | |
Response |
update
PUT /inventory/v1/device-type/{device_type_id}
Type | Message |
Request | |
Response |
delete
DELETE /inventory/v1/device-type/{device_type_id}
Type | Message |
Request | |
Response |
get
GET /inventory/v1/device-type/{device_type_id}
Type | Message |
Request | |
Response |
list
GET /inventory/v1/device-types
POST /inventory/v1/device-types/search
Type | Message |
Request | |
Response |
stat
POST /inventory/v1/device-types/stat
Type | Message |
Request | |
Response |
Message
CreateDeviceTypeRequest
No | Field | Type | Required | Description |
1 | name | string | ✅ | |
2 | parent_device_type_id | string | ❌ | |
3 | labels | ❌ | ||
4 | template | ❌ | ||
5 | metadata | ❌ | ||
6 | tags | ❌ | ||
7 | domain_id | string | ✅ |
DeviceTypeInfo
No | Field | Type | Description |
1 | device_type_id | string | |
2 | name | string | |
3 | labels | list of string | |
4 | parent_device_type_info | ||
5 | template | ||
6 | metadata | ||
7 | tags | ||
8 | domain_id | string | |
9 | created_at | ||
10 | updated_at |
DeviceTypeQuery
No | Field | Type | Required | Description |
1 | query | ❌ | ||
2 | device_type_id | string | ❌ | |
3 | name | string | ❌ | |
4 | domain_id | string | ❌ |
DeviceTypeRequest
No | Field | Type | Required | Description |
1 | device_type_id | string | ✅ | |
2 | domain_id | string | ✅ |
DeviceTypeStatQuery
No | Field | Type | Required | Description |
1 | query | ✅ | ||
2 | domain_id | string | ✅ |
DeviceTypesInfo
No | Field | Type | Description |
1 | results | ||
2 | total_count |
GetDeviceTypeRequest
No | Field | Type | Required | Description |
1 | device_type_id | string | ✅ | |
2 | domain_id | string | ✅ | |
3 | only | list of string | ❌ |
UpdateDeviceTypeRequest
No | Field | Type | Required | Description |
1 | device_type_id | string | ✅ | |
2 | force | bool | ❌ | |
3 | labels | ❌ | ||
4 | template | ❌ | ||
5 | metadata | ❌ | ||
6 | tags | ❌ | ||
7 | domain_id | string | ✅ |
Last updated