SecurityCenterExtensions.GetResourceGroupSecurityAlerts Method

Definition

Gets a collection of ResourceGroupSecurityAlerts in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetResourceGroupSecurityAlerts(AzureLocation) instead. </item>

public static Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityAlertCollection GetResourceGroupSecurityAlerts(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation);
static member GetResourceGroupSecurityAlerts : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation -> Azure.ResourceManager.SecurityCenter.ResourceGroupSecurityAlertCollection
<Extension()>
Public Function GetResourceGroupSecurityAlerts (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation) As ResourceGroupSecurityAlertCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

ascLocation
AzureLocation

The ascLocation for the resource.

Returns

An object representing collection of ResourceGroupSecurityAlerts and their operations over a ResourceGroupSecurityAlertResource.

Exceptions

resourceGroupResource is null.

Applies to