C# 클래스 Microsoft.Azure.Commands.Insights.Autoscale.GetAzureRmAutoscaleHistoryCommand

상속: EventCmdletBase
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

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 autoscale-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 autoscale-related events

protected ProcessParticularParameters ( string currentQueryFilter ) : string
currentQueryFilter string The current query filter
리턴 string