Share via


CustomAssessmentAutomationCollection.GetAllAsync(CancellationToken) Method

Definition

List custom assessment automations by provided subscription and resource group

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to