CostManagementViewsCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all views at the given scope.

  • Request Path. : /{scope}/providers/Microsoft.CostManagement/views.
  • Operation Id. : ViewOperationGroup_ListByScope.
  • Default Api Version. : 2025-03-01.
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

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

Applies to