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