共用方式為


CostManagementExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.CostManagementDimension> ByExternalCloudProviderTypeDimensionsAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.CostManagement.Models.TenantResourceByExternalCloudProviderTypeDimensionsOptions options, System.Threading.CancellationToken cancellationToken = default);
static member ByExternalCloudProviderTypeDimensionsAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.CostManagement.Models.TenantResourceByExternalCloudProviderTypeDimensionsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.Models.CostManagementDimension>
<Extension()>
Public Function ByExternalCloudProviderTypeDimensionsAsync (tenantResource As TenantResource, options As TenantResourceByExternalCloudProviderTypeDimensionsOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CostManagementDimension)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

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

tenantResource or options is null.

Applies to