Share via


AlertsManagementExtensions.GetSmartGroups(SubscriptionResource) Method

Definition

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

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of SmartGroupResources and their operations over a SmartGroupResource.

Exceptions

subscriptionResource is null.

Applies to