def get_state_exitcode_details(self, resource_group, name):
current_state = self._get_instance_view(resource_group, name).current_state<EOL>return (current_state.state,<EOL>current_state.exit_code,<EOL>current_state.detail_status)<EOL>
Get the state and exitcode of a container group

:param resource_group: the name of the resource group
:type resource_group: str
:param name: the name of the container group
:type name: str
:return: A tuple with the state, exitcode, and details.
    If the exitcode is unknown 0 is returned.
:rtype: tuple(state,exitcode,details)