Udostępnij za pośrednictwem


HealthMonitorsOperationsExtensions.GetStateChange Method

Definition

Get the health state change of a monitor of a virtual machine at the provided timestamp. Optional parameter: $expand (retrieve the monitor's evidence and configuration).

public static Microsoft.Azure.Management.WorkloadMonitor.Models.HealthMonitorStateChange GetStateChange (this Microsoft.Azure.Management.WorkloadMonitor.IHealthMonitorsOperations operations, string subscriptionId, string resourceGroupName, string providerName, string resourceCollectionName, string resourceName, string monitorId, string timestampUnix, string expand = default);
static member GetStateChange : Microsoft.Azure.Management.WorkloadMonitor.IHealthMonitorsOperations * string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.WorkloadMonitor.Models.HealthMonitorStateChange
<Extension()>
Public Function GetStateChange (operations As IHealthMonitorsOperations, subscriptionId As String, resourceGroupName As String, providerName As String, resourceCollectionName As String, resourceName As String, monitorId As String, timestampUnix As String, Optional expand As String = Nothing) As HealthMonitorStateChange

Parameters

operations
IHealthMonitorsOperations

The operations group for this extension method.

subscriptionId
String

The subscription Id of the virtual machine.

resourceGroupName
String

The resource group of the virtual machine.

providerName
String

The provider name (ex: Microsoft.Compute for virtual machines).

resourceCollectionName
String

The resource collection name (ex: virtualMachines for virtual machines).

resourceName
String

The name of the virtual machine.

monitorId
String

The monitor Id of the virtual machine.

timestampUnix
String

The timestamp of the state change (unix format).

expand
String

Optionally expand the monitor’s evidence and/or configuration. Example: $expand=evidence,configuration.

Returns

Applies to