次の方法で共有


HealthMonitorStateChangeCollection.GetAll メソッド

定義

指定された時間枠内の仮想マシンのモニターの正常性状態の変更を取得します (既定値は過去 24 時間です)。 省略可能なパラメーター: $expand (モニターの証拠と構成を取得する) と$filter (ハートビート条件でフィルター処理)。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}/history
  • 操作IdHealthMonitors_ListStateChanges
public virtual Azure.Pageable<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource> GetAll (string filter = default, string expand = default, DateTimeOffset? startTimestampUtc = default, DateTimeOffset? endTimestampUtc = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource>
override this.GetAll : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional expand As String = Nothing, Optional startTimestampUtc As Nullable(Of DateTimeOffset) = Nothing, Optional endTimestampUtc As Nullable(Of DateTimeOffset) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HealthMonitorStateChangeResource)

パラメーター

filter
String

必要に応じて、ハートビート条件でフィルター処理します。 例: $filter=isHeartbeat eq false。

expand
String

必要に応じて、モニターの証拠や構成を展開します。 例: $expand=evidence,configuration。

startTimestampUtc
Nullable<DateTimeOffset>

時間枠の開始。

endTimestampUtc
Nullable<DateTimeOffset>

時間枠の終わり。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の HealthMonitorStateChangeResource サービス要求を受け取る可能性がある のコレクション。

適用対象