Collector
Last updated
Last updated
Package : spaceone.api.inventory.v1
Collector Methods:
POST /inventory/v1/collectors
PUT /inventory/v1/collector/{collector_id}
PUT /inventory/v1/collector/{collector_id}/plugin
POST /inventory/v1/collector/{collector_id}/plugin/verify
DELETE /inventory/v1/collector/{collector_id}
GET /inventory/v1/collector/{collector_id}
PUT /inventory/v1/collector/{collector_id}/enable
PUT /inventory/v1/collector/{collector_id}/disable
GET /inventory/v1/collectors
POST /inventory/v1/collectors/search
POST /inventory/v1/collectors/stat
POST /inventory/v1/collector/{collector_id}/collect
POST /inventory/v1/collector/{collector_id}/schedule
GET /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
POST /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
DELETE /inventory/v1/collector/{collector_id}/schedule/{schedule_id}
GET /inventory/v1/collector/{collector_id}/schedules
POST /inventory/v1/collector/{collector_id}/schedules/search
NO
Method
Request Type
Response Type
Description
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
Type
Message
Request
Response
No
Field
Type
Required
Description
1
collector_id
string
✅
2
filter
❌
3
secret_id
string
❌
4
collect_mode
string
❌
5
domain_id
string
✅
6
use_cache
bool
❌
No
Field
Type
Description
1
collector_id
string
2
name
string
3
state
NONE
ENABLED
DISABLED
4
plugin_info
5
priority
6
tags
7
created_at
string
8
last_collected_at
string
9
domain_id
string
10
provider
string
11
capability
12
is_public
bool
13
project_id
string
No
Field
Type
Description
1
query
2
collector_id
string
3
name
string
4
state
NONE
ENABLED
DISABLED
5
priority
6
plugin_id
string
7
domain_id
string
No
Field
Type
Required
Description
1
collector_id
string
✅
2
domain_id
string
✅
No
Field
Type
Required
Description
1
query
✅
2
domain_id
string
✅
No
Field
Type
Description
1
results
2
total_count
No
Field
Type
Required
Description
1
name
string
✅
2
plugin_info
✅
3
priority
❌
4
tags
❌
5
domain_id
string
✅
6
is_public
bool
❌
default is true
7
project_id
string
❌
if is_public is false, project_id is required
No
Field
Type
Required
Description
1
domain_id
string
✅
2
collector_id
string
✅
3
name
string
❌
4
collect_mode
string
❌
5
schedule
✅
6
filter
❌
No
Field
Type
Required
Description
1
domain_id
string
✅
2
schedule_id
string
✅
3
collector_id
string
✅
No
Field
Type
Description
1
error_code
string
2
message
string
3
additional
No
Field
Type
Required
Description
1
collector_id
string
✅
2
domain_id
string
✅
3
only
list of string
❌
No
Field
Type
Description
1
job_id
string
2
status
NONE
CREATED
CANCELED
IN_PROGRESS
SUCCESS
ERROR
TIMEOUT
3
filter
4
total_tasks
5
remained_tasks
6
errors
7
collector_info
8
project_id
string
9
domain_id
string
10
created_at
string
11
updated_at
string
12
finished_at
string
No
Field
Type
Description
1
plugin_id
string
2
version
string
3
options
4
secret_id
string
5
secret_group_id
string
6
provider
string
7
service_account_id
string
8
metadata
No
Field
Type
Description
1
domain_id
string
2
schedule_id
string
3
name
string
4
collect_mode
string
5
schedule
6
created_at
string
7
last_scheduled_at
string
8
collector_info
9
filter
No
Field
Type
Required
Description
1
query
❌
2
collector_id
string
✅
3
schedule_id
string
❌
4
domain_id
string
✅
No
Field
Type
Required
Description
1
domain_id
string
✅
2
schedule_id
string
✅
3
collector_id
string
✅
No
Field
Type
Description
1
cron
string
2
interval
3
minutes
4
hours
No
Field
Type
Description
1
results
2
total_count
No
Field
Type
Required
Description
1
collector_id
string
✅
2
name
string
❌
3
plugin_info
❌
4
priority
❌
5
tags
❌
6
domain_id
string
✅
No
Field
Type
Required
Description
1
collector_id
string
✅
2
version
string
❌
3
options
❌
4
domain_id
string
✅
No
Field
Type
Required
Description
1
domain_id
string
✅
2
schedule_id
string
✅
3
collector_id
string
✅
4
name
string
❌
5
collect_mode
string
❌
6
schedule
❌
7
filter
❌
No
Field
Type
Description
1
status
bool
No
Field
Type
Required
Description
1
collector_id
string
✅
2
secret_id
string
❌
3
domain_id
string
✅