'Gets a list of user-induced fault operations filtered by provided
input.
Gets the a list of user-induced fault operations filtered by provided
input.
:param type_filter: Used to filter on OperationType for user-induced
operations.
65535 - select all
1     - select PartitionDataLoss.
2     - select PartitionQuorumLoss.
4     - select PartitionRestart.
8     - select NodeTransition.
:type type_filter: int
:param state_filter: Used to filter on OperationState\'s for
user-induced operations.
65535 - select All
1     - select Running
2     - select RollingBack
8     - select Completed
16    - select Faulted
32    - select Cancelled
64    - select ForceCancelled
:type state_filter: int
:param timeout: The server timeout for performing the operation in
seconds. This specifies the time duration that the client is willing
to wait for the requested operation to complete. The default value
for this parameter is 60 seconds.
:type timeout: long
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:rtype: list of :class:`OperationStatus
<azure.servicefabric.models.OperationStatus>`
:rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>`
if raw=true
:raises:
:class:`FabricErrorException<azure.servicefabric.models.FabricErrorException>`'

def get_fault_operation_list(self, type_filter=65535, state_filter=65535, timeout=60, custom_headers=None, raw=False, **operation_config):

    api_version = '3.0'
    url = '/Faults/'
    query_parameters = {}
    query_parameters['api-version'] = self._serialize.query('api_version', api_version, 'str')
    query_parameters['TypeFilter'] = self._serialize.query('type_filter', type_filter, 'int')
    query_parameters['StateFilter'] = self._serialize.query('state_filter', state_filter, 'int')
    if (timeout is not None):
        query_parameters['timeout'] = self._serialize.query('timeout', timeout, 'long', maximum=4294967295, minimum=1)
    header_parameters = {}
    header_parameters['Content-Type'] = 'application/json;    charset=utf-8'
    if custom_headers:
        header_parameters.update(custom_headers)
    request = self._client.get(url, query_parameters)
    response = self._client.send(request, header_parameters, **operation_config)
    if (response.status_code not in [200]):
        raise models.FabricErrorException(self._deserialize, response)
    deserialized = None
    if (response.status_code == 200):
        deserialized = self._deserialize('[OperationStatus]', response)
    if raw:
        client_raw_response = ClientRawResponse(deserialized, response)
        return client_raw_response
    return deserialized
