Udostępnij za pośrednictwem


ServiceAlertCollectionGetAllOptions Class

Definition

The ServiceAlertCollectionGetAllOptions.

public class ServiceAlertCollectionGetAllOptions
type ServiceAlertCollectionGetAllOptions = class
Public Class ServiceAlertCollectionGetAllOptions
Inheritance
ServiceAlertCollectionGetAllOptions

Constructors

ServiceAlertCollectionGetAllOptions()

Initializes a new instance of ServiceAlertCollectionGetAllOptions.

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.

Applies to