Data Source Rule
Package : spaceone.api.cost_analysis.v1
DataSourceRule
DataSourceRule Methods:
Method | Request | Response |
---|---|---|
create
POST /cost-analysis/v1/data_source_rules
Type | Message |
---|---|
Request | |
Response |
update
PUT /cost-analysis/v1/data_source_rule/{data_source_rule_id}
Type | Message |
---|---|
Request | |
Response |
change_order
PUT /cost-analysis/v1/data_source_rule/{data_source_rule_id}/order
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /cost-analysis/v1/data_source_rule/{data_source_rule_id}
Type | Message |
---|---|
Request | |
Response |
get
GET /cost-analysis/v1/data_source_rule/{data_source_rule_id}
Type | Message |
---|---|
Request | |
Response |
list
GET /cost-analysis/v1/data_source_rules
POST /cost-analysis/v1/data_source_rules/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /cost-analysis/v1/data_source_rules/stat
Type | Message |
---|---|
Request | |
Response |
Message
ChangeDataSourceRuleOrderRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_rule_id | string | ✔ | |
order | ✔ | ||
domain_id | string | ✔ |
CreateDataSourceRuleRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✘ | |
conditions | ✘ | ||
conditions_policy |
| ✔ | |
actions | ✔ | ||
options | ✘ | ||
tags | ✘ | ||
data_source_id | string | ✔ | |
domain_id | string | ✔ |
DataSourceRuleActions
Field | Type | Description |
---|---|---|
change_project | string | |
match_project | ||
match_service_account | ||
add_additional_info |
DataSourceRuleCondition
Field | Type | Description |
---|---|---|
key | string | |
value | string | |
operator | string |
DataSourceRuleInfo
Field | Type | Description |
---|---|---|
data_source_rule_id | string | |
name | string | |
order | ||
conditions | ||
conditions_policy |
| |
actions | ||
options | ||
tags | ||
data_source_id | string | |
domain_id | string | |
created_at | string |
DataSourceRuleOptions
Field | Type | Description |
---|---|---|
stop_processing | bool |
DataSourceRuleQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
data_source_rule_id | string | ✘ | |
name | string | ✘ | |
data_source_id | string | ✘ | |
domain_id | string | ✔ |
DataSourceRuleRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_rule_id | string | ✔ | |
domain_id | string | ✔ |
DataSourceRuleStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
DataSourceRulesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
GetDataSourceRuleRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_rule_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
MatchRule
Field | Type | Description |
---|---|---|
source | string | |
target | string |
UpdateDataSourceRuleRequest
Field | Type | Required | Description |
---|---|---|---|
data_source_rule_id | string | ✔ | |
name | string | ✘ | |
conditions | ✘ | ||
conditions_policy |
| ✘ | |
actions | ✘ | ||
options | ✘ | ||
tags | ✘ | ||
domain_id | string | ✔ |
Last updated