SecurityCenterExtensions.GetResourceGroupSecurityAlerts 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 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.