Share via


SecurityInsightsAutomationRuleCollection.GetAll(CancellationToken) Method

Definition

Gets all automation rules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules
  • Operation Id: AutomationRules_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsAutomationRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityInsightsAutomationRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SecurityInsightsAutomationRuleResource that may take multiple service requests to iterate over.

Applies to