CustomRecommendationCollection.GetAllAsync(CancellationToken) Method

Definition

Get a list of all relevant custom recommendations over a scope

  • Request Path. : /{scope}/providers/Microsoft.Security/customRecommendations.
  • Operation Id. : CustomRecommendations_List.
  • Default Api Version. : 2024-08-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.CustomRecommendationResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.CustomRecommendationResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.CustomRecommendationResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CustomRecommendationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to