共用方式為


AutomanageBestPracticeCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieve a list of Automanage best practices

  • Request Path: /providers/Microsoft.Automanage/bestPractices
  • Operation Id: BestPractices_ListByTenant
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automanage.AutomanageBestPracticeResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automanage.AutomanageBestPracticeResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automanage.AutomanageBestPracticeResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomanageBestPracticeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to