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