You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The id of the resource experiencing policy violation.
entity_name
str
Name of the resource
region
str
Region of the resource
service
str
Service of the resource
service_display_name
str
Service name in UI
account_id
str
Account Id managing the resource
recommendation_unit_title
str
[optional]
policy_id
str
The unique identifier of the policy
policy_title
str
Policy name
policy_labels
List[str]
List of policy labels
[optional]
policy_violated_on
datetime
Datetime of the policy violation
potential_savings
float
Potential savings possible for the current policy violation
resource_id
str
[optional]
account_name
str
[optional]
Example
fromonelens_backend_client.models.get_single_policy_ticket_by_entity_id_responseimportGetSinglePolicyTicketByEntityIdResponse# TODO update the JSON string belowjson="{}"# create an instance of GetSinglePolicyTicketByEntityIdResponse from a JSON stringget_single_policy_ticket_by_entity_id_response_instance=GetSinglePolicyTicketByEntityIdResponse.from_json(json)
# print the JSON string representation of the objectprint(GetSinglePolicyTicketByEntityIdResponse.to_json())
# convert the object into a dictget_single_policy_ticket_by_entity_id_response_dict=get_single_policy_ticket_by_entity_id_response_instance.to_dict()
# create an instance of GetSinglePolicyTicketByEntityIdResponse from a dictget_single_policy_ticket_by_entity_id_response_form_dict=get_single_policy_ticket_by_entity_id_response.from_dict(get_single_policy_ticket_by_entity_id_response_dict)