CostManagementExtensions.ByExternalCloudProviderTypeDimensions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.