Collector
Package : spaceone.api.inventory.v1
Collector
Collector Methods:
Method | Request | Response |
---|---|---|
create
POST /inventory/v1/collectors
Type | Message |
---|---|
Request | |
Response |
update
PUT /inventory/v1/collector/{collector_id}
Type | Message |
---|---|
Request | |
Response |
update_plugin
PUT /inventory/v1/collector/{collector_id}/plugin
Type | Message |
---|---|
Request | |
Response |
verify_plugin
POST /inventory/v1/collector/{collector_id}/plugin/verify
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /inventory/v1/collector/{collector_id}
Type | Message |
---|---|
Request | |
Response |
get
GET /inventory/v1/collector/{collector_id}
Type | Message |
---|---|
Request | |
Response |
enable
PUT /inventory/v1/collector/{collector_id}/enable
Type | Message |
---|---|
Request | |
Response |
disable
PUT /inventory/v1/collector/{collector_id}/disable
Type | Message |
---|---|
Request | |
Response |
list
GET /inventory/v1/collectors
POST /inventory/v1/collectors/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /inventory/v1/collectors/stat
Type | Message |
---|---|
Request | |
Response |
collect
POST /inventory/v1/collector/{collector_id}/collect
Type | Message |
---|---|
Request | |
Response |
add_schedule
POST /inventory/v1/collector/{collector_id}/schedule
Type | Message |
---|---|
Request | |
Response |
get_schedule
GET /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
Type | Message |
---|---|
Request | |
Response |
update_schedule
POST /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
Type | Message |
---|---|
Request | |
Response |
delete_schedule
DELETE /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
Type | Message |
---|---|
Request | |
Response |
list_schedules
GET /inventory/v1/collector/{collector_id}/schedules
POST /inventory/v1/collector/{collector_id}/schedules/search
Type | Message |
---|---|
Request | |
Response |
Message
CollectRequest
Field | Type | Required | Description |
---|---|---|---|
collector_id | string | ✔ | |
filter | ✘ | ||
secret_id | string | ✘ | |
collect_mode | string | ✘ | |
domain_id | string | ✔ | |
use_cache | bool | ✘ |
CollectorInfo
Field | Type | Description |
---|---|---|
collector_id | string | |
name | string | |
state |
| |
plugin_info | ||
priority | ||
tags | ||
created_at | string | |
last_collected_at | string | |
domain_id | string | |
provider | string | |
capability | ||
is_public | bool | |
project_id | string |
CollectorQuery
Field | Type | Description |
---|---|---|
query | ||
collector_id | string | |
name | string | |
state |
| |
priority | ||
plugin_id | string | |
domain_id | string |
CollectorRequest
Field | Type | Required | Description |
---|---|---|---|
collector_id | string | ✔ | |
domain_id | string | ✔ |
CollectorStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
CollectorsInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
CreateCollectorRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
plugin_info | ✔ | ||
priority | ✘ | ||
tags | ✘ | ||
domain_id | string | ✔ | |
is_public | bool | ✘ | default is true |
project_id | string | ✔ | if is_public is false, project_id is requireremained as is_public |
CreateScheduleRequest
Field | Type | Required | Description |
---|---|---|---|
domain_id | string | ✔ | |
collector_id | string | ✔ | |
name | string | ✘ | |
collect_mode | string | ✘ | |
schedule | ✔ | ||
filter | ✘ |
DeleteScheduleRequest
Field | Type | Required | Description |
---|---|---|---|
domain_id | string | ✔ | |
schedule_id | string | ✔ | |
collector_id | string | ✔ |
ErrorInfo
Field | Type | Description |
---|---|---|
error_code | string | |
message | string | |
additional |
GetCollectorRequest
Field | Type | Required | Description |
---|---|---|---|
collector_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
JobInfo
Field | Type | Description |
---|---|---|
job_id | string | |
status |
| |
filter | ||
total_tasks | ||
remained_tasks | ||
errors | ||
collector_info | ||
project_id | string | |
domain_id | string | |
created_at | string | |
updated_at | string | |
finished_at | string |
PluginInfo
Field | Type | Description |
---|---|---|
plugin_id | string | |
version | string | |
options | ||
secret_id | string | |
secret_group_id | string | |
provider | string | |
service_account_id | string | |
metadata | ||
upgrade_mode |
|
ScheduleInfo
Field | Type | Description |
---|---|---|
domain_id | string | |
schedule_id | string | |
name | string | |
collect_mode | string | |
schedule | ||
created_at | string | |
last_scheduled_at | string | |
collector_info | ||
filter |
ScheduleQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
collector_id | string | ✔ | |
schedule_id | string | ✘ | |
domain_id | string | ✔ |
ScheduleRequest
Field | Type | Required | Description |
---|---|---|---|
domain_id | string | ✔ | |
schedule_id | string | ✔ | |
collector_id | string | ✔ |
Scheduled
Field | Type | Description |
---|---|---|
cron | string | |
interval | ||
minutes | ||
hours |
SchedulesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
UpdateCollectorRequest
Field | Type | Required | Description |
---|---|---|---|
collector_id | string | ✔ | |
name | string | ✘ | |
plugin_info | ✘ | ||
priority | ✘ | ||
tags | ✘ | ||
domain_id | string | ✔ |
UpdatePluginRequest
Field | Type | Required | Description |
---|---|---|---|
collector_id | string | ✔ | |
version | string | ✘ | |
options | ✘ | ||
domain_id | string | ✔ | |
upgrade_mode |
| ✘ |
UpdateScheduleRequest
Field | Type | Required | Description |
---|---|---|---|
domain_id | string | ✔ | |
schedule_id | string | ✔ | |
collector_id | string | ✔ | |
name | string | ✘ | |
collect_mode | string | ✘ | |
schedule | ✘ | ||
filter | ✘ |
VerifyInfo
Field | Type | Description |
---|---|---|
status | bool |
VerifyPluginRequest
Field | Type | Required | Description |
---|---|---|---|
collector_id | string | ✔ | |
secret_id | string | ✘ | |
domain_id | string | ✔ |
Last updated