MockableCostManagementTenantResource.ByExternalCloudProviderTypeDimensionsAsync Method

Definition

Lists the dimensions by the external cloud provider type.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/dimensions
  • Operation Id: Dimensions_ByExternalCloudProviderType
public virtual Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.CostManagementDimension> ByExternalCloudProviderTypeDimensionsAsync (Azure.ResourceManager.CostManagement.Models.TenantResourceByExternalCloudProviderTypeDimensionsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member ByExternalCloudProviderTypeDimensionsAsync : Azure.ResourceManager.CostManagement.Models.TenantResourceByExternalCloudProviderTypeDimensionsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.CostManagementDimension>
override this.ByExternalCloudProviderTypeDimensionsAsync : Azure.ResourceManager.CostManagement.Models.TenantResourceByExternalCloudProviderTypeDimensionsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.CostManagementDimension>
Public Overridable Function ByExternalCloudProviderTypeDimensionsAsync (options As TenantResourceByExternalCloudProviderTypeDimensionsOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CostManagementDimension)

Parameters

options
TenantResourceByExternalCloudProviderTypeDimensionsOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

options is null.

Applies to