Details of the ticket
Name | Type | Description | Notes |
---|---|---|---|
policy_id | str | The id of the policy being violated. | |
policy_template_id | str | The id of the policy template being violated. | |
policy_config | object | The config of the policy being violated. | |
policy_config_hash | str | [optional] | |
policy_config_version | int | The config version of the policy being violated. | |
violation_attributes | object | The attributes of the violation. | |
potential_cost_saving | float | The potential cost accrued because of the violation. | |
preferred_recommendation_id | str | [optional] | |
rule_definition_hash | str | [optional] | |
anomalies | List[AnomalyRcaIdsMixin] | List of anomaly ids and rca ids. | |
total_cost_impact | float | Total cost incurred due to the anomaly. | |
rca_hash | str | The hash of the RCA associated with the anomaly. | |
deviation | Deviation | ||
duration | float | The duration of the anomaly. | |
duration_unit | str | The duration unit of the anomaly. | |
source_type | AnomalySourceType | The source type of the anomaly. | |
usage_type | str | The usage type of the anomaly. | |
operation_type | str | The operation type of the anomaly. | |
is_continuous | bool | Is the anomaly continuous. |
from onelens_backend_client.models.details1 import Details1
# TODO update the JSON string below
json = "{}"
# create an instance of Details1 from a JSON string
details1_instance = Details1.from_json(json)
# print the JSON string representation of the object
print(Details1.to_json())
# convert the object into a dict
details1_dict = details1_instance.to_dict()
# create an instance of Details1 from a dict
details1_form_dict = details1.from_dict(details1_dict)