Share via


ResourceHealthExtensions.GetResourceHealthEvents(SubscriptionResource) Method

Definition

Gets a collection of ResourceHealthEventResources in the SubscriptionResource. MockingTo mock this method, please mock GetResourceHealthEvents() instead.

public static Azure.ResourceManager.ResourceHealth.ResourceHealthEventCollection GetResourceHealthEvents (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetResourceHealthEvents : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.ResourceHealth.ResourceHealthEventCollection
<Extension()>
Public Function GetResourceHealthEvents (subscriptionResource As SubscriptionResource) As ResourceHealthEventCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of ResourceHealthEventResources and their operations over a ResourceHealthEventResource.

Exceptions

subscriptionResource is null.

Applies to