ResourceHealthExtensions.GetTenantResourceHealthEvents(TenantResource) 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 TenantResourceHealthEventResources in the TenantResource. MockingTo mock this method, please mock GetTenantResourceHealthEvents() instead.
public static Azure.ResourceManager.ResourceHealth.TenantResourceHealthEventCollection GetTenantResourceHealthEvents (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetTenantResourceHealthEvents : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.ResourceHealth.TenantResourceHealthEventCollection
<Extension()>
Public Function GetTenantResourceHealthEvents (tenantResource As TenantResource) As TenantResourceHealthEventCollection
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
Returns
An object representing collection of TenantResourceHealthEventResources and their operations over a TenantResourceHealthEventResource.
Exceptions
tenantResource
is null.
Applies to
Azure SDK for .NET