ResourceHealthExtensions.GetResourceHealthEvents(SubscriptionResource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET