Share via


SecurityAutomationCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations
  • Operation Id: Automations_ListByResourceGroup
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAutomationResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityAutomationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SecurityAutomationResource that may take multiple service requests to iterate over.

Applies to