SecurityCenterExtensions.GetSecurityAlertsSuppressionRules 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 SecurityAlertsSuppressionRuleResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityAlertsSuppressionRules() instead.
public static Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleCollection GetSecurityAlertsSuppressionRules (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetSecurityAlertsSuppressionRules : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleCollection
<Extension()>
Public Function GetSecurityAlertsSuppressionRules (subscriptionResource As SubscriptionResource) As SecurityAlertsSuppressionRuleCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
Returns
An object representing collection of SecurityAlertsSuppressionRuleResources and their operations over a SecurityAlertsSuppressionRuleResource.
Exceptions
subscriptionResource
is null.