C# Класс Microsoft.Azure.Commands.Insights.Alerts.GetAzureRmAlertHistoryCommand

Наследование: EventCmdletBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Защищенные методы

Метод Описание
GetDefaultQueryTimeRange ( ) : System.TimeSpan

Gets the default query time range

KeepTheRecord ( Microsoft.Azure.Insights.Models.EventData record ) : bool

A predicate to filter in/out the records from original list of records obtained from the SDK.

This method is intended to allow descendants of this class to further filter the results.

An example of this is when the filtering is needed based on EventSource and ResourceUri at the same time. The SDK does not allow these two fields to be in the query filter togheter. So the call should filter by one and then use this function to filter by the second one.

ProcessParticularParameters ( string currentQueryFilter ) : string

Processes the particular parameters if this cmdlet.

In this case it adds the condition for eventSource to be of a particular value in order to retrive only alert-related events

Описание методов

GetDefaultQueryTimeRange() защищенный Метод

Gets the default query time range
protected GetDefaultQueryTimeRange ( ) : System.TimeSpan
Результат System.TimeSpan

KeepTheRecord() защищенный Метод

A predicate to filter in/out the records from original list of records obtained from the SDK.

This method is intended to allow descendants of this class to further filter the results.

An example of this is when the filtering is needed based on EventSource and ResourceUri at the same time. The SDK does not allow these two fields to be in the query filter togheter. So the call should filter by one and then use this function to filter by the second one.

protected KeepTheRecord ( Microsoft.Azure.Insights.Models.EventData record ) : bool
record Microsoft.Azure.Insights.Models.EventData A record from the original list of records obtained from the sdk
Результат bool

ProcessParticularParameters() защищенный Метод

Processes the particular parameters if this cmdlet.

In this case it adds the condition for eventSource to be of a particular value in order to retrive only alert-related events

protected ProcessParticularParameters ( string currentQueryFilter ) : string
currentQueryFilter string The current query filter
Результат string