共用方式為


SecurityCenterExtensions.GetSecurityAlertsSuppressionRules Method

Definition

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.

Applies to