Share via


MockableSecurityCenterSubscriptionResource.GetSecurityAutomationsAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/automations
  • Operation Id: Automations_List
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAutomationResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource> GetSecurityAutomationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityAutomationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource>
override this.GetSecurityAutomationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource>
Public Overridable Function GetSecurityAutomationsAsync (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