Microsoft.WorkloadMonitor (preview:2020-01-13)

2025/09/19 • 5 new, 5 deleted methods

Operations_List (new)
Description Get a list of all available REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.WorkloadMonitor/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_List (new)
Description Get the current health status of all monitors of a virtual machine. Optional parameters: $expand (retrieve the monitor's evidence and configuration) and $filter (filter by monitor name).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
$filter: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
parentMonitorName: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
lastReportedTimestamp: string ,
evidence: object ,
monitorConfiguration: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_Get (new)
Description Get the current health status of a monitor of a virtual machine. Optional parameter: $expand (retrieve the monitor's evidence and configuration).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
monitorId: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
parentMonitorName: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
lastReportedTimestamp: string ,
evidence: object ,
monitorConfiguration: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_ListStateChanges (new)
Description Get the health state changes of a monitor of a virtual machine within the provided time window (default is the last 24 hours). Optional parameters: $expand (retrieve the monitor's evidence and configuration) and $filter (filter by heartbeat condition).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}/history
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
monitorId: string ,
$filter: string ,
$expand: string ,
startTimestampUtc: string ,
endTimestampUtc: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evidence: object ,
monitorConfiguration: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_GetStateChange (new)
Description 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).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}/history/{timestampUnix}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
monitorId: string ,
timestampUnix: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evidence: object ,
monitorConfiguration: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Get a list of all available REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.WorkloadMonitor/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_List (removed)
Description Get the current health status of all monitors of a virtual machine. Optional parameters: $expand (retrieve the monitor's evidence and configuration) and $filter (filter by monitor name).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
$filter: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
parentMonitorName: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
lastReportedTimestamp: string ,
evidence: object ,
monitorConfiguration: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_Get (removed)
Description Get the current health status of a monitor of a virtual machine. Optional parameter: $expand (retrieve the monitor's evidence and configuration).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
monitorId: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
parentMonitorName: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
lastReportedTimestamp: string ,
evidence: object ,
monitorConfiguration: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_ListStateChanges (removed)
Description Get the health state changes of a monitor of a virtual machine within the provided time window (default is the last 24 hours). Optional parameters: $expand (retrieve the monitor's evidence and configuration) and $filter (filter by heartbeat condition).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}/history
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
monitorId: string ,
$filter: string ,
$expand: string ,
startTimestampUtc: string ,
endTimestampUtc: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evidence: object ,
monitorConfiguration: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}
HealthMonitors_GetStateChange (removed)
Description 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).
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}/history/{timestampUnix}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
providerName: string ,
resourceCollectionName: string ,
resourceName: string ,
monitorId: string ,
timestampUnix: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
monitorName: string ,
monitorType: string ,
monitoredObject: string ,
evaluationTimestamp: string ,
currentStateFirstObservedTimestamp: string ,
previousMonitorState: enum ,
currentMonitorState: enum ,
evidence: object ,
monitorConfiguration: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
}