The updateIPFilter() GraphQL mutation may be used to update an IP filter in LogScale.

For more information on IP filters, see the IP Filter reference page.

Syntax

Below is the syntax for the updateIPFilter() mutation field:

updateIPFilter(input: IPFilterUpdateInput!): IPFilter!

Given Datatypes

For the given datatype, IPFilterUpdateInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: IPFilterUpdateInput

ParameterTypeRequired[a]DefaultDescription
idstringyes The unique identifier of the filter.
namestring  The name of the filter.
ipFilterstring  An IP filter to use, if there is one.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.


Returned Datatypes

The returned datatype IPFilter has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: IPFilter

ParameterTypeRequired[a]DefaultDescription
idstringyes The unique identifier for the IP filter.
namestringyes The name for the IP filter.
ipFilterstringyes The IP filter itself.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.