共用方式為


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

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

Exceptions

tenantResource or options is null.

Applies to