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

get_schedule

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

Type
Message

update_schedule

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

Type
Message

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

Field
Type
Required
Description

collector_id

string

secret_id

string

collect_mode

string

domain_id

string

use_cache

bool

CollectorInfo

Field
Type
Description

collector_id

string

name

string

state

  • NONE

  • ENABLED

  • DISABLED

plugin_info

priority

created_at

string

last_collected_at

string

domain_id

string

provider

string

is_public

bool

project_id

string

CollectorQuery

Field
Type
Description

collector_id

string

name

string

state

  • NONE

  • ENABLED

  • DISABLED

priority

plugin_id

string

domain_id

string

CollectorRequest

Field
Type
Required
Description

collector_id

string

domain_id

string

CollectorStatQuery

Field
Type
Required
Description

domain_id

string

CollectorsInfo

Field
Type
Description

total_count

CreateCollectorRequest

Field
Type
Required
Description

name

string

plugin_info

priority

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

DeleteScheduleRequest

Field
Type
Required
Description

domain_id

string

schedule_id

string

collector_id

string

ErrorInfo

Field
Type
Description

error_code

string

message

string

GetCollectorRequest

Field
Type
Required
Description

collector_id

string

domain_id

string

only

list of string

JobInfo

Field
Type
Description

job_id

string

status

  • NONE

  • CREATED

  • CANCELED

  • IN_PROGRESS

  • SUCCESS

  • ERROR

  • TIMEOUT

total_tasks

remained_tasks

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

secret_id

string

secret_group_id

string

provider

string

service_account_id

string

upgrade_mode

  • NONE

  • MANUAL

  • AUTO

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

ScheduleQuery

Field
Type
Required
Description

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

SchedulesInfo

Field
Type
Description

total_count

UpdateCollectorRequest

Field
Type
Required
Description

collector_id

string

name

string

plugin_info

priority

domain_id

string

UpdatePluginRequest

Field
Type
Required
Description

collector_id

string

version

string

domain_id

string

upgrade_mode

  • NONE

  • MANUAL

  • AUTO

UpdateScheduleRequest

Field
Type
Required
Description

domain_id

string

schedule_id

string

collector_id

string

name

string

collect_mode

string

schedule

VerifyInfo

Field
Type
Description

status

bool

VerifyPluginRequest

Field
Type
Required
Description

collector_id

string

secret_id

string

domain_id

string

Last updated