Share via


MockableSecurityCenterSubscriptionResource.GetCustomAssessmentAutomations Method

Definition

List custom assessment automations by provided subscription

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to