Collector

Package : spaceone.api.inventory.v1

Collector

Collector Methods:

NO

Method

Request Type

Response Type

Description

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

create

POST /inventory/v1/collectors

Type

Message

Request

Response

update

PUT /inventory/v1/collector/{collector_id}

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

verify_plugin

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

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

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

optional

CollectorInfo

No

Field

Type

Required

Description

1

collector_id

string

2

name

string

3

state

CollectorInfo.State

  • NONE

  • ENABLED

  • DISABLED

4

plugin_info

5

priority

6

tags

7

created_at

8

last_collected_at

9

domain_id

string

10

provider

string

11

capability

CollectorQuery

No

Field

Type

Required

Description

1

query

2

collector_id

string

3

name

string

4

state

CollectorQuery.State

  • NONE

  • ENABLED

  • DISABLED

5

priority

6

plugin_id

string

7

domain_id

string

CollectorRequest

No

Field

Type

Required

Description

1

collector_id

string

required

2

domain_id

string

required

CollectorStatQuery

No

Field

Type

Required

Description

1

query

required

2

domain_id

string

required

CollectorsInfo

No

Field

Type

Required

Description

1

results

2

total_count

CreateCollectorRequest

No

Field

Type

Required

Description

1

name

string

required

2

plugin_info

required

3

priority

optional

4

tags

optional

5

domain_id

string

required

CreateScheduleRequest

No

Field

Type

Required

Description

1

domain_id

string

2

collector_id

string

3

name

string

4

collect_mode

string

5

schedule

6

filter

DeleteScheduleRequest

No

Field

Type

Required

Description

1

domain_id

string

2

schedule_id

string

3

collector_id

string

GetCollectorRequest

No

Field

Type

Required

Description

1

collector_id

string

required

2

domain_id

string

required

3

only

string

optional

JobInfo

No

Field

Type

Required

Description

1

domain_id

string

2

job_id

string

3

state

JobInfo.State

  • NONE

  • CREATED

  • CANCELED

  • IN_PROGRESS

  • FINISHED

  • FAILURE

  • TIMEOUT

4

created_count

5

updated_count

6

collect_mode

string

7

created_at

8

finished_at

9

collector_info

10

filter

11

collected_resources

string

PluginInfo

No

Field

Type

Required

Description

1

plugin_id

string

2

version

string

3

options

4

secret_id

string

5

secret_group_id

string

6

provider

string

ScheduleInfo

No

Field

Type

Required

Description

1

domain_id

string

2

schedule_id

string

3

name

string

4

collect_mode

string

5

schedule

6

created_at

7

last_scheduled_at

8

collector_info

9

filter

ScheduleQuery

No

Field

Type

Required

Description

1

query

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

Required

Description

1

cron

string

2

interval

3

minutes

4

hours

SchedulesInfo

No

Field

Type

Required

Description

1

results

2

total_count

UpdateCollectorRequest

No

Field

Type

Required

Description

1

collector_id

string

required

2

name

string

required

3

plugin_info

required

4

priority

optional

5

tags

optional

6

domain_id

string

required

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

7

filter

VerifyInfo

No

Field

Type

Required

Description

1

status

bool

VerifyPluginRequest

No

Field

Type

Required

Description

1

collector_id

string

required

2

secret_id

string

required

3

domain_id

string

Last updated