Collector

Package : spaceone.api.inventory.v1

Collector

Collector Methods:

create

POST /inventory/v1/collectors

Type

Message

update

PUT /inventory/v1/collector/{collector_id}

Type

Message

update_plugin

PUT /inventory/v1/collector/{collector_id}/plugin

Type

Message

verify_plugin

POST /inventory/v1/collector/{collector_id}/plugin/verify

delete

DELETE /inventory/v1/collector/{collector_id}

Type

Message

get

GET /inventory/v1/collector/{collector_id}

Type

Message

enable

PUT /inventory/v1/collector/{collector_id}/enable

Type

Message

disable

PUT /inventory/v1/collector/{collector_id}/disable

Type

Message

list

GET /inventory/v1/collectors

POST /inventory/v1/collectors/search

Type

Message

stat

POST /inventory/v1/collectors/stat

collect

POST /inventory/v1/collector/{collector_id}/collect

Type

Message

Response

add_schedule

POST /inventory/v1/collector/{collector_id}/schedule

Type

Message

Response

get_schedule

GET /inventory/v1/collector/{collector_id}/schedule/{schedule_id}

Type

Message

Response

update_schedule

POST /inventory/v1/collector/{collector_id}/schedule/{schedule_id}

Type

Message

Response

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

Type

Message

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

4

plugin_info

5

priority

8

last_collected_at

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

5

priority

6

plugin_id

string

7

domain_id

string

CollectorRequest

No

Field

Type

Required

Description

1

collector_id

string

2

domain_id

string

CollectorStatQuery

No

Field

Type

Required

Description

2

domain_id

string

CollectorsInfo

No

Field

Type

Description

2

total_count

CreateCollectorRequest

No

Field

Type

Required

Description

1

name

string

2

plugin_info

3

priority

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

5

schedule

DeleteScheduleRequest

No

Field

Type

Required

Description

1

domain_id

string

2

schedule_id

string

3

collector_id

string

ErrorInfo

No

Field

Type

Description

1

error_code

string

2

message

string

GetCollectorRequest

No

Field

Type

Required

Description

1

collector_id

string

2

domain_id

string

3

only

string

JobInfo

No

Field

Type

Description

1

domain_id

string

2

job_id

string

3

state

  • NONE

  • CREATED

  • CANCELED

  • IN_PROGRESS

  • FINISHED

  • FAILURE

  • TIMEOUT

4

created_count

5

updated_count

6

collect_mode

string

9

collector_info

11

errors

12

total_tasks

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

5

schedule

7

last_scheduled_at

8

collector_info

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

No

Field

Type

Description

1

cron

string

2

interval

3

minutes

4

hours

SchedulesInfo

No

Field

Type

Description

1

results

2

total_count

UpdateCollectorRequest

No

Field

Type

Required

Description

1

collector_id

string

2

name

string

3

plugin_info

4

priority

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

6

schedule

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