Share via


MockableSecurityCenterSubscriptionResource.GetSecurityAutomations 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.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource> GetSecurityAutomations (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityAutomations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource>
override this.GetSecurityAutomations : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource>
Public Overridable Function GetSecurityAutomations (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityAutomationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to