次の方法で共有


HealthMonitorStateChangeCollection.Get メソッド

定義

指定されたタイムスタンプで、仮想マシンのモニターの正常性状態の変化を取得します。 省略可能なパラメーター: $expand (モニターの証拠と構成を取得します)。

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

パラメーター

timestampUnix
String

状態変更のタイムスタンプ (unix 形式)。

expand
String

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

cancellationToken
CancellationToken

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

戻り値

例外

timestampUnix は空の文字列であり、空でないと予想されていました。

timestampUnix が null です。

適用対象