Delen via


Dimensions interface

Interface die een dimensie vertegenwoordigt.

Methoden

list(string, DimensionsListOptionalParams)

Hiermee worden de dimensies per gedefinieerd bereik weergegeven.

listByExternalCloudProviderType(string, string, DimensionsByExternalCloudProviderTypeOptionalParams)

Hiermee worden de dimensies weergegeven op basis van het type externe cloudprovider.

Methodedetails

list(string, DimensionsListOptionalParams)

Hiermee worden de dimensies per gedefinieerd bereik weergegeven.

function list(scope: string, options?: DimensionsListOptionalParams): PagedAsyncIterableIterator<Dimension, Dimension[], PageSettings>

Parameters

scope

string

Het bereik dat is gekoppeld aan dimensiebewerkingen. Dit omvat '/subscriptions/{subscriptionId}/' voor het abonnementsbereik, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' voor resourceGroup-bereik, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' voor factureringsaccountbereik, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' voor Afdelingsbereik, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId} voor EnrollmentAccount-bereik, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' voor het bereik van de beheergroep, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' voor billingProfile-bereik, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' voor invoiceSection-bereik en 'providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId} specifiek voor partners.

options
DimensionsListOptionalParams

De optiesparameters.

Retouren

listByExternalCloudProviderType(string, string, DimensionsByExternalCloudProviderTypeOptionalParams)

Hiermee worden de dimensies weergegeven op basis van het type externe cloudprovider.

function listByExternalCloudProviderType(externalCloudProviderType: string, externalCloudProviderId: string, options?: DimensionsByExternalCloudProviderTypeOptionalParams): PagedAsyncIterableIterator<Dimension, Dimension[], PageSettings>

Parameters

externalCloudProviderType

string

Het type externe cloudprovider dat is gekoppeld aan dimensie-/querybewerkingen. Dit omvat 'externalSubscriptions' voor een gekoppeld account en 'externalBillingAccounts' voor een geconsolideerd account.

externalCloudProviderId

string

Dit kan {externalSubscriptionId} zijn voor het gekoppelde account of {externalBillingAccountId} voor een geconsolideerd account dat wordt gebruikt met dimensie-/querybewerkingen.

Retouren