Collector
Package : spaceone.api.inventory.v1
Collector
Collector Methods:
NO
Method
Request Type
Response Type
Description
create
POST /inventory/v1/collectors
update
PUT /inventory/v1/collector/{collector_id}
update_plugin
PUT /inventory/v1/collector/{collector_id}/plugin
verify_plugin
POST /inventory/v1/collector/{collector_id}/plugin/verify
delete
DELETE /inventory/v1/collector/{collector_id}
get
GET /inventory/v1/collector/{collector_id}
enable
PUT /inventory/v1/collector/{collector_id}/enable
disable
PUT /inventory/v1/collector/{collector_id}/disable
list
GET /inventory/v1/collectors
POST /inventory/v1/collectors/search
stat
POST /inventory/v1/collectors/stat
collect
POST /inventory/v1/collector/{collector_id}/collect
add_schedule
POST /inventory/v1/collector/{collector_id}/schedule
get_schedule
GET /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
update_schedule
POST /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
delete_schedule
DELETE /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
list_schedules
GET /inventory/v1/collector/{collector_id}/schedules
POST /inventory/v1/collector/{collector_id}/schedules/search
Message
CollectRequest
No
Field
Type
Required
Description
1
collector_id
string
✅
3
secret_id
string
❌
4
collect_mode
string
❌
5
domain_id
string
✅
6
use_cache
bool
❌
CollectorInfo
No
Field
Type
Description
1
collector_id
string
2
name
string
3
state
NONE
ENABLED
DISABLED
9
domain_id
string
10
provider
string
12
is_public
bool
13
project_id
string
CollectorQuery
No
Field
Type
Description
2
collector_id
string
3
name
string
4
state
NONE
ENABLED
DISABLED
6
plugin_id
string
7
domain_id
string
CollectorRequest
No
Field
Type
Required
Description
1
collector_id
string
✅
2
domain_id
string
✅
CollectorStatQuery
CollectorsInfo
CreateCollectorRequest
No
Field
Type
Required
Description
1
name
string
✅
5
domain_id
string
✅
6
is_public
bool
❌
default is true
7
project_id
string
❌
if is_public is false, project_id is required
CreateScheduleRequest
No
Field
Type
Required
Description
1
domain_id
string
✅
2
collector_id
string
✅
3
name
string
❌
4
collect_mode
string
❌
DeleteScheduleRequest
No
Field
Type
Required
Description
1
domain_id
string
✅
2
schedule_id
string
✅
3
collector_id
string
✅
ErrorInfo
GetCollectorRequest
No
Field
Type
Required
Description
1
collector_id
string
✅
2
domain_id
string
✅
3
only
list of string
❌
JobInfo
No
Field
Type
Description
1
job_id
string
2
status
NONE
CREATED
CANCELED
IN_PROGRESS
SUCCESS
ERROR
TIMEOUT
8
project_id
string
9
domain_id
string
PluginInfo
No
Field
Type
Description
1
plugin_id
string
2
version
string
4
secret_id
string
5
secret_group_id
string
6
provider
string
7
service_account_id
string
ScheduleInfo
No
Field
Type
Description
1
domain_id
string
2
schedule_id
string
3
name
string
4
collect_mode
string
ScheduleQuery
No
Field
Type
Required
Description
2
collector_id
string
✅
3
schedule_id
string
❌
4
domain_id
string
✅
ScheduleRequest
No
Field
Type
Required
Description
1
domain_id
string
✅
2
schedule_id
string
✅
3
collector_id
string
✅
Scheduled
SchedulesInfo
UpdateCollectorRequest
No
Field
Type
Required
Description
1
collector_id
string
✅
2
name
string
❌
6
domain_id
string
✅
UpdatePluginRequest
No
Field
Type
Required
Description
1
collector_id
string
✅
2
version
string
❌
4
domain_id
string
✅
UpdateScheduleRequest
No
Field
Type
Required
Description
1
domain_id
string
✅
2
schedule_id
string
✅
3
collector_id
string
✅
4
name
string
❌
5
collect_mode
string
❌
VerifyInfo
No
Field
Type
Description
1
status
bool
VerifyPluginRequest
No
Field
Type
Required
Description
1
collector_id
string
✅
2
secret_id
string
❌
3
domain_id
string
✅
Last updated