SpaceONE APIs
Latest Version
Latest Version
  • README
  • Board
    • V1
      • Board
      • Post
  • Config
    • V1
      • Domain Config
      • User Config
  • Core
    • V1
      • Handler
      • Query
      • Server Info
  • Cost Analysis
    • Plugin
      • Cost
      • Data Source
      • Job
    • V1
      • Budget
      • Budget Usage
      • Cost
      • Cost Query Set
      • Custom Widget
      • Data Source
      • Data Source Rule
      • Exchange Rate
      • Job
      • Job Task
      • Public Dashboard
      • Schedule
      • User Dashboard
  • Identity
    • Plugin
      • Auth
    • V1
      • Api Key
      • Authorization
      • Domain
      • Domain Owner
      • Endpoint
      • Policy
      • Project
      • Project Group
      • Provider
      • Role
      • Role Binding
      • Service Account
      • Token
      • User
  • Inventory
    • Plugin
      • Collector
    • V1
      • Change History
      • Cloud Service
      • Cloud Service Type
      • Collector
      • Job
      • Job Task
      • Note
      • Region
      • Resource Group
      • Server
  • Monitoring
    • Plugin
      • Data Source
      • Event
      • Log
      • Metric
      • Webhook
    • V1
      • Alert
      • Data Source
      • Escalation Policy
      • Event
      • Event Rule
      • Log
      • Maintenance Window
      • Metric
      • Note
      • Project Alert Config
      • Webhook
  • Notification
    • Plugin
      • Notification
      • Protocol
    • V1
      • Notification
      • Notification Usage
      • Project Channel
      • Protocol
      • Quota
      • User Channel
  • Plugin
    • V1
      • Plugin
      • Supervisor
  • Repository
    • V1
      • Plugin
      • Policy
      • Repository
      • Schema
  • Sample
    • V1
      • Helloworld
  • Secret
    • V1
      • Secret
      • Secret Group
  • Statistics
    • Plugin
      • Storage
    • V1
      • History
      • Resource
      • Schedule
      • Storage
Powered by GitBook
On this page
  • Collector
  • create
  • update
  • update_plugin
  • verify_plugin
  • delete
  • get
  • enable
  • disable
  • list
  • stat
  • collect
  • add_schedule
  • get_schedule
  • update_schedule
  • delete_schedule
  • list_schedules
  • Message
  • CollectRequest
  • CollectorInfo
  • CollectorQuery
  • CollectorRequest
  • CollectorStatQuery
  • CollectorsInfo
  • CreateCollectorRequest
  • CreateScheduleRequest
  • DeleteScheduleRequest
  • ErrorInfo
  • GetCollectorRequest
  • JobInfo
  • PluginInfo
  • ScheduleInfo
  • ScheduleQuery
  • ScheduleRequest
  • Scheduled
  • SchedulesInfo
  • UpdateCollectorRequest
  • UpdatePluginRequest
  • UpdateScheduleRequest
  • VerifyInfo
  • VerifyPluginRequest

Was this helpful?

  1. Inventory
  2. V1

Collector

Package : spaceone.api.inventory.v1

Collector

Collector Methods:

Method
Request
Response

create

POST /inventory/v1/collectors

Type
Message

Request

Response

update

PUT /inventory/v1/collector/{collector_id}

Type
Message

Request

Response

update_plugin

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

Type
Message

Request

Response

verify_plugin

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

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

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

Field
Type
Required
Description

collector_id

string

✔

filter

✘

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

tags

created_at

string

last_collected_at

string

domain_id

string

provider

string

capability

is_public

bool

project_id

string

CollectorQuery

Field
Type
Description

query

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

query

✔

domain_id

string

✔

CollectorsInfo

Field
Type
Description

results

total_count

CreateCollectorRequest

Field
Type
Required
Description

name

string

✔

plugin_info

✔

priority

✘

tags

✘

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

✔

filter

✘

DeleteScheduleRequest

Field
Type
Required
Description

domain_id

string

✔

schedule_id

string

✔

collector_id

string

✔

ErrorInfo

Field
Type
Description

error_code

string

message

string

additional

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

filter

total_tasks

remained_tasks

errors

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

options

secret_id

string

secret_group_id

string

provider

string

service_account_id

string

metadata

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

filter

ScheduleQuery

Field
Type
Required
Description

query

✘

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

minutes

hours

SchedulesInfo

Field
Type
Description

results

total_count

UpdateCollectorRequest

Field
Type
Required
Description

collector_id

string

✔

name

string

✘

plugin_info

✘

priority

✘

tags

✘

domain_id

string

✔

UpdatePluginRequest

Field
Type
Required
Description

collector_id

string

✔

version

string

✘

options

✘

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

✘

filter

✘

VerifyInfo

Field
Type
Description

status

bool

VerifyPluginRequest

Field
Type
Required
Description

collector_id

string

✔

secret_id

string

✘

domain_id

string

✔

PreviousCloud Service TypeNextJob

Last updated 3 years ago

Was this helpful?

create
CreateCollectorRequest
CollectorInfo
update
UpdateCollectorRequest
CollectorInfo
update_plugin
UpdatePluginRequest
CollectorInfo
verify_plugin
VerifyPluginRequest
google.protobuf.Empty
delete
CollectorRequest
google.protobuf.Empty
get
GetCollectorRequest
CollectorInfo
enable
CollectorRequest
CollectorInfo
disable
CollectorRequest
CollectorInfo
list
CollectorQuery
CollectorsInfo
stat
CollectorStatQuery
google.protobuf.Struct
collect
CollectRequest
JobInfo
add_schedule
CreateScheduleRequest
ScheduleInfo
get_schedule
ScheduleRequest
ScheduleInfo
update_schedule
UpdateScheduleRequest
ScheduleInfo
delete_schedule
DeleteScheduleRequest
google.protobuf.Empty
list_schedules
ScheduleQuery
SchedulesInfo
CreateCollectorRequest
CollectorInfo
UpdateCollectorRequest
CollectorInfo
UpdatePluginRequest
CollectorInfo
VerifyPluginRequest
google.protobuf.Empty
CollectorRequest
google.protobuf.Empty
GetCollectorRequest
CollectorInfo
CollectorRequest
CollectorInfo
CollectorRequest
CollectorInfo
CollectorQuery
CollectorsInfo
CollectorStatQuery
google.protobuf.Struct
CollectRequest
JobInfo
CreateScheduleRequest
ScheduleInfo
ScheduleRequest
ScheduleInfo
UpdateScheduleRequest
ScheduleInfo
DeleteScheduleRequest
google.protobuf.Empty
ScheduleQuery
SchedulesInfo
google.protobuf.Struct
PluginInfo
int32
google.protobuf.Struct
google.protobuf.Struct
spaceone.api.core.v1.Query
int32
spaceone.api.core.v1.StatisticsQuery
list of CollectorInfo
int32
PluginInfo
int32
google.protobuf.Struct
Scheduled
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
int32
int32
list of ErrorInfo
CollectorInfo
google.protobuf.Struct
google.protobuf.Struct
Scheduled
CollectorInfo
google.protobuf.Struct
spaceone.api.core.v1.Query
int32
list of int32
list of int32
list of ScheduleInfo
int32
PluginInfo
int32
google.protobuf.Struct
google.protobuf.Struct
Scheduled
google.protobuf.Struct