Data Source
A DataSource is a plugin instance collecting `metric` and `log` data from Cloudforet.
Package : spaceone.api.monitoring.v1
DataSource
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.
Request
Response
update
PUT /monitoring/v1/data-source/{data_source_id}
Updates a specific DataSource. You can make changes in DataSource settings, including
nameandtags.
Request
Response
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.
Request
Response
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.
Request
Response
deregister
DELETE /monitoring/v1/data-source/{data_source_id}
Deregisters and deletes a specific DataSource. You must specify the
data_source_idof the DataSource to deregister.
Request
Response
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.
Response
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,
versionandendpoint.
Request
Response
get
GET /monitoring/v1/data-source/{data_source_id}
Gets a specific DataSource. Prints detailed information about the DataSource, including
name,state, andplugin_info.
Request
Response
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.
Request
Response
stat
POST /monitoring/v1/data-sources/stat
Request
Response
Message
DataSourceInfo
data_source_id
string
name
string
state
NONE
ENABLED
DISABLED
monitoring_type
NONE
METRIC
LOG
provider
string
domain_id
string
created_at
string
DataSourcePluginInfo
plugin_id
string
version
string
upgrade_mode
NONE
MANUAL
AUTO
secret_id
string
provider
string
DataSourceQuery
data_source_id
string
✘
name
string
✘
state
string
✘
monitoring_type
NONE
METRIC
LOG
✘
provider
string
✘
domain_id
string
✔
DataSourceRequest
data_source_id
string
✔
domain_id
string
✔
DataSourceStatQuery
domain_id
string
✔
DataSourcesInfo
GetDataSourceRequest
data_source_id
string
✔
domain_id
string
✔
only
list of string
✘
RegisterDataSourceRequest
UpdateDataSourcePluginRequest
data_source_id
string
✔
version
string
✘
upgrade_mode
NONE
MANUAL
AUTO
✘
domain_id
string
✔
UpdateDataSourceRequest
Last updated
Was this helpful?