Share via


AlertsManagementExtensions.GetServiceAlerts(SubscriptionResource) Method

Definition

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

public static Azure.ResourceManager.AlertsManagement.ServiceAlertCollection GetServiceAlerts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetServiceAlerts : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.AlertsManagement.ServiceAlertCollection
<Extension()>
Public Function GetServiceAlerts (subscriptionResource As SubscriptionResource) As ServiceAlertCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of ServiceAlertResources and their operations over a ServiceAlertResource.

Exceptions

subscriptionResource is null.

Applies to