Share via


CostManagementExtensions.GetAllTenantsCostManagementViews Method

Definition

Gets a collection of TenantsCostManagementViewsResources in the TenantResource. MockingTo mock this method, please mock GetAllTenantsCostManagementViews() instead.

public static Azure.ResourceManager.CostManagement.TenantsCostManagementViewsCollection GetAllTenantsCostManagementViews (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetAllTenantsCostManagementViews : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.CostManagement.TenantsCostManagementViewsCollection
<Extension()>
Public Function GetAllTenantsCostManagementViews (tenantResource As TenantResource) As TenantsCostManagementViewsCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of TenantsCostManagementViewsResources and their operations over a TenantsCostManagementViewsResource.

Exceptions

tenantResource is null.

Applies to