Freigeben über


Dimensions interface

Schnittstelle, die dimensionen darstellt.

Methoden

list(string, DimensionsListOptionalParams)

Listet die Dimensionen nach dem definierten Bereich auf.

listByExternalCloudProviderType(string, string, DimensionsByExternalCloudProviderTypeOptionalParams)

Listet die Dimensionen des externen Cloudanbietertyps auf.

Details zur Methode

list(string, DimensionsListOptionalParams)

Listet die Dimensionen nach dem definierten Bereich auf.

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

Parameter

scope

string

Der Bereich, der Mit Dimensionsvorgängen verknüpft ist. Dies schließt "/subscriptions/{subscriptionId}/" für den Abonnementbereich ein, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' für den Ressourcengruppenbereich, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' für Abrechnungskontobereich, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' für Abteilungsbereich, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' für enrollmentAccount-Bereich, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' für den Verwaltungsgruppenbereich, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' für billingProfile scope, 'providers/Microsoft.Billing/BillingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' für invoiceSection scope, and 'providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId}' speziell für Partner.

options
DimensionsListOptionalParams

Die Optionsparameter.

Gibt zurück

listByExternalCloudProviderType(string, string, DimensionsByExternalCloudProviderTypeOptionalParams)

Listet die Dimensionen des externen Cloudanbietertyps auf.

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

Parameter

externalCloudProviderType

string

Der externe Cloudanbietertyp, der Dimensions-/Abfragevorgängen zugeordnet ist. Dies schließt "externalSubscriptions" für verknüpftes Konto und "externalBillingAccounts" für konsolidierte Konten ein.

externalCloudProviderId

string

Dies kann '{externalSubscriptionId}' für verknüpftes Konto oder '{externalBillingAccountId}' für konsolidiertes Konto sein, das mit Dimensions-/Abfragevorgängen verwendet wird.

Gibt zurück