Data Source
Package : spaceone.api.cost_analysis.v1
DataSource
DataSource Methods:
Method | Request | Response |
---|---|---|
JobInfo | ||
register
POST /cost-analysis/v1/data-sources
Type | Message |
---|---|
Request | |
Response |
update
PUT /cost-analysis/v1/data-source/{data_source_id}
Type | Message |
---|---|
Request | |
Response |
update_plugin
PUT /cost-analysis/v1/data-source/{data_source_id}/plugin
Type | Message |
---|---|
Request | |
Response |
verify_plugin
POST /cost-analysis/v1/data-source/{data_source_id}/plugin/verify
Type | Message |
---|---|
Request | |
Response |
enable
PUT /cost-analysis/v1/data-source/{data_source_id}/enable
Type | Message |
---|---|
Request | |
Response |
disable
PUT /cost-analysis/v1/data-source/{data_source_id}/disable
Type | Message |
---|---|
Request | |
Response |
deregister
DELETE /cost-analysis/v1/data-source/{data_source_id}
Type | Message |
---|---|
Request | |
Response |
sync
POST /cost-analysis/v1/data-source/{data_source_id}/sync
Type | Message |
---|---|
Request | |
Response | JobInfo |
get
GET /cost-analysis/v1/data-source/{data_source_id}
Type | Message |
---|---|
Request | |
Response |
list
GET /cost-analysis/v1/data-sources
POST /cost-analysis/v1/data-sources/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /cost-analysis/v1/data-sources/stat
Type | Message |
---|---|
Request | |
Response |
Message
DataSourceInfo
Field | Type | Description |
---|---|---|
data_source_id | string | |
name | string | |
state |
| |
data_source_type |
| |
provider | string | |
plugin_info | ||
template | ||
tags | ||
domain_id | string | |
created_at | string | |
last_synchronized_at | string |
DataSourceQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
data_source_id | string | ✘ | |
name | string | ✘ | |
state | string | ✘ | |
data_source_type |
| ✘ | |
provider | string | ✘ | |
domain_id | string | ✔ |
DataSourceRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_id | string | ✔ | |
domain_id | string | ✔ |
DataSourceStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
DataSourcesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
GetDataSourceRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
PluginInfo
Field | Type | Description |
---|---|---|
plugin_id | string | |
version | string | |
options | ||
metadata | ||
secret_data | ||
schema | string | |
secret_id | string | |
upgrade_mode |
|
RegisterDataSourceRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
data_source_type |
| ✔ | |
provider | string | ✘ | |
template | ✘ | ||
plugin_info | ✘ | ||
tags | ✘ | ||
domain_id | string | ✔ |
SyncDataSourceRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_id | string | ✔ | |
start | string | ✘ | |
no_preload_cache | bool | ✘ | |
domain_id | string | ✔ |
UpdateDataSourcePluginRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_id | string | ✔ | |
version | string | ✘ | |
options | ✘ | ||
upgrade_mode |
| ✘ | |
domain_id | string | ✔ |
UpdateDataSourceRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_id | string | ✔ | |
name | string | ✘ | |
template | ✘ | ||
tags | ✘ | ||
domain_id | string | ✔ |
Last updated