SecurityCenterExtensions.GetResourceGroupSecurityTasks Method

Definition

Gets a collection of ResourceGroupSecurityTaskResources in the ResourceGroupResource. MockingTo mock this method, please mock GetResourceGroupSecurityTasks(AzureLocation) instead.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

ascLocation
AzureLocation

The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns

An object representing collection of ResourceGroupSecurityTaskResources and their operations over a ResourceGroupSecurityTaskResource.

Exceptions

resourceGroupResource is null.

Applies to