AlertsGetAllOptionalParams interface

Optional parameters.

Extends

Properties

alertRule

Filter by specific alert rule. Default value is to select all.

alertState

Filter by state of the alert instance. Default value is to select all.

customTimeRange

Filter by custom time range in the format <start-time>/<end-time> where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.

includeContext

Include context which has contextual data specific to the monitor service. Default value is false'

includeEgressConfig

Include egress config which would be used for displaying the content in portal. Default value is 'false'.

monitorCondition

Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.

monitorService

Filter by monitor service which generates the alert instance. Default value is select all.

pageCount

Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the "includeContent" filter is selected, maximum value allowed is 25. Default value is 25.

select

This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project only the required fields rather than getting entire content. Default is to fetch all the fields in the essentials section.

severity

Filter by severity. Default value is select all.

smartGroupId

Filter the alerts list by the Smart Group Id. Default value is none.

sortBy

Sort the query results by input field, Default value is 'lastModifiedDateTime'.

sortOrder

Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others.

targetResource

Filter by target resource( which is full ARM ID) Default value is select all.

targetResourceGroup

Filter by target resource group name. Default value is select all.

targetResourceType

Filter by target resource type. Default value is select all.

timeRange

Filter by time range by below listed values. Default value is 1 day.

Inherited Properties

abortSignal

The signal which can be used to abort requests.

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

requestOptions

Options used when creating and sending HTTP requests for this operation.

tracingOptions

Options used when tracing is enabled.

Property Details

alertRule

Filter by specific alert rule. Default value is to select all.

alertRule?: string

Property Value

string

alertState

Filter by state of the alert instance. Default value is to select all.

alertState?: string

Property Value

string

customTimeRange

Filter by custom time range in the format <start-time>/<end-time> where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.

customTimeRange?: string

Property Value

string

includeContext

Include context which has contextual data specific to the monitor service. Default value is false'

includeContext?: boolean

Property Value

boolean

includeEgressConfig

Include egress config which would be used for displaying the content in portal. Default value is 'false'.

includeEgressConfig?: boolean

Property Value

boolean

monitorCondition

Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.

monitorCondition?: string

Property Value

string

monitorService

Filter by monitor service which generates the alert instance. Default value is select all.

monitorService?: string

Property Value

string

pageCount

Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the "includeContent" filter is selected, maximum value allowed is 25. Default value is 25.

pageCount?: number

Property Value

number

select

This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project only the required fields rather than getting entire content. Default is to fetch all the fields in the essentials section.

select?: string

Property Value

string

severity

Filter by severity. Default value is select all.

severity?: string

Property Value

string

smartGroupId

Filter the alerts list by the Smart Group Id. Default value is none.

smartGroupId?: string

Property Value

string

sortBy

Sort the query results by input field, Default value is 'lastModifiedDateTime'.

sortBy?: string

Property Value

string

sortOrder

Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others.

sortOrder?: string

Property Value

string

targetResource

Filter by target resource( which is full ARM ID) Default value is select all.

targetResource?: string

Property Value

string

targetResourceGroup

Filter by target resource group name. Default value is select all.

targetResourceGroup?: string

Property Value

string

targetResourceType

Filter by target resource type. Default value is select all.

targetResourceType?: string

Property Value

string

timeRange

Filter by time range by below listed values. Default value is 1 day.

timeRange?: string

Property Value

string

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

Inherited From OperationOptions.abortSignal

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

onResponse?: RawResponseCallback

Property Value

Inherited From OperationOptions.onResponse

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

Inherited From OperationOptions.requestOptions

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

Inherited From OperationOptions.tracingOptions