Data Source

A DataSource is a plugin instance collecting `metric` and `log` data from Cloudforet.

Package : spaceone.api.monitoring.v1

DataSource

DataSource Methods:

register

POST /monitoring/v1/data-sources

Registers a DataSource with information of the plugin to use. Information of the plugin includes version, provider, upgrade_mode.

Type
Message

update

PUT /monitoring/v1/data-source/{data_source_id}

Updates a specific DataSource. You can make changes in DataSource settings, including name and tags.

Type
Message

enable

PUT /monitoring/v1/data-source/{data_source_id}/enable

Enables a specific DataSource. By enabling a DataSource, you can communicate with an external cloud service via the plugin.

Type
Message

disable

PUT /monitoring/v1/data-source/{data_source_id}/disable

Disables a specific DataSource. By disabling a DataSource, you can block communication with an external cloud service via the plugin.

Type
Message

deregister

DELETE /monitoring/v1/data-source/{data_source_id}

Deregisters and deletes a specific DataSource. You must specify the data_source_id of the DataSource to deregister.

Type
Message

update_plugin

PUT /monitoring/v1/data-source/{data_source_id}/plugin

Updates the plugin of a specific DataSource. This method resets the plugin data in the DataSource to update the metadata.

verify_plugin

PUT /monitoring/v1/data-source/{data_source_id}/plugin/verify

Verifies the plugin of a specific DataSource. This method validates the plugin data, version and endpoint.

Type
Message

get

GET /monitoring/v1/data-source/{data_source_id}

Gets a specific DataSource. Prints detailed information about the DataSource, including name, state, and plugin_info.

Type
Message

list

GET /monitoring/v1/data-sources

POST /monitoring/v1/data-sources/search

Gets a list of all DataSources. You can use a query to get a filtered list of DataSources.

Type
Message

stat

POST /monitoring/v1/data-sources/stat

Message

DataSourceInfo

Field
Type
Description

data_source_id

string

name

string

state

  • NONE

  • ENABLED

  • DISABLED

monitoring_type

  • NONE

  • METRIC

  • LOG

provider

string

domain_id

string

created_at

string

DataSourcePluginInfo

Field
Type
Description

plugin_id

string

version

string

upgrade_mode

  • NONE

  • MANUAL

  • AUTO

secret_id

string

provider

string

DataSourceQuery

Field
Type
Required
Description

data_source_id

string

name

string

state

string

monitoring_type

  • NONE

  • METRIC

  • LOG

provider

string

domain_id

string

DataSourceRequest

Field
Type
Required
Description

data_source_id

string

domain_id

string

DataSourceStatQuery

Field
Type
Required
Description

domain_id

string

DataSourcesInfo

Field
Type
Description

total_count

GetDataSourceRequest

Field
Type
Required
Description

data_source_id

string

domain_id

string

only

list of string

RegisterDataSourceRequest

Field
Type
Required
Description

name

string

plugin_info

domain_id

string

UpdateDataSourcePluginRequest

Field
Type
Required
Description

data_source_id

string

version

string

upgrade_mode

  • NONE

  • MANUAL

  • AUTO

domain_id

string

UpdateDataSourceRequest

Field
Type
Required
Description

data_source_id

string

name

string

domain_id

string

Last updated

Was this helpful?