DataSourceAccount #
A DataSourceAccount is a resource that for routing cost data from a specific account to a workspace, project, service account.
Package : spaceone.api.cost_analysis.v1
DataSourceAccount #
DataSourceAccount Methods:
update #
Update a DataSourceAccount with the specified DataSourceAccount ID related to the DataSource.
POST /cost-analysis/v1/data-source-account/update
UpdateDataSourceAccountRequest
data_source_id (string)
Requiredaccount_id (string)
Requiredaccount_id is the unique identifier of each CSP account.(e.g. Azure Tenant ID)
workspace_id (string)
{
"data_source_id": "ds-faaa11aa1111",
"account_id": "111069360300",
"workspace_id": "ws-aaaa11aa1111"
}reset #
Reset a DataSourceAccount state and linked workspace with the specified DataSourceAccount ID related to the DataSource.
POST /cost-analysis/v1/data-source-account/reset
data_source_id (string)
Requireddata_source_id is the unique identifier of each data source.
account_id (string)
reset_sync (bool)
if sync_state is true, it will reset the sync state of the data source account.
{
"data_source_id": "ds-faaa11aa1111",
"account_id": "111069360300",
"sync_state": true
}get #
Get a DataSourceAccount with the specified DataSourceAccount ID related to the DataSource.
POST /cost-analysis/v1/data-source-account/get
list #
POST /cost-analysis/v1/data-source-account/list
query (Query)
data_source_id (string)
account_id (string)
workspace_id (string)
project_id (string)
service_account_id (string)
{
"query": {}
}analyze #
POST /cost-analysis/v1/data-source-account/analyze
stat #
POST /cost-analysis/v1/data-source-account/stat
Message #
DataSourceAccountAnalyzeQuery #
query (TimeSeriesAnalyzeQuery)
Requireddata_source_id (string)
Requiredaccount_id (string)
Requiredworkspace_id (string)
Required
DataSourceAccountInfo #
account_id (string)
Requireddata_source_id (string)
Requiredname (string)
Requiredis_sync (bool)
Requiredis_linked (bool)
Requireddomain_id (string)
Requiredworkspace_id (string)
Requiredv_workspace_id (string)
Requiredcreated_at (string)
Requiredupdated_at (string)
Requiredlast_synced_at (string)
Required
DataSourceAccountQuery #
query (Query)
data_source_id (string)
account_id (string)
workspace_id (string)
project_id (string)
service_account_id (string)
DataSourceAccountRequest #
data_source_account_id (string)
Requiredaccount_id (string)
Required
DataSourceAccountStatQuery #
query (StatisticsQuery)
Required
DataSourceAccountsInfo #
results (DataSourceAccountInfo)
RepeatedRequiredtotal_count (int32)
Required
ResetDataSourceAccountRequest #
data_source_id (string)
Requireddata_source_id is the unique identifier of each data source.
account_id (string)
reset_sync (bool)
if sync_state is true, it will reset the sync state of the data source account.
UpdateDataSourceAccountRequest #
data_source_id (string)
Requiredaccount_id (string)
Requiredaccount_id is the unique identifier of each CSP account.(e.g. Azure Tenant ID)
workspace_id (string)