CostManagementViewsCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all views at the given scope.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/views
  • Operation Id: Views_ListByScope
public virtual Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementViewsResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementViewsResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementViewsResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CostManagementViewsResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to