Dimensions interface
Interface die een dimensie vertegenwoordigt.
Methoden
| list(string, Dimensions |
Geeft een lijst weer van de dimensies op basis van het gedefinieerde bereik. |
| list |
Geeft de dimensies weer op basis van het type externe cloudprovider. |
Methodedetails
list(string, DimensionsListOptionalParams)
Geeft een lijst weer van de dimensies op basis van het gedefinieerde bereik.
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 het bereik van de factureringsrekening, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/afdelingen/{departmentId}' voor afdelingsbereik, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId} voor het bereik EnrollmentAccount, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' voor het bereik van de beheergroep, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' voor het bereik billingProfile, providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId} voor het bereik van invoiceSection en providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specifiek voor partners.
- options
- DimensionsListOptionalParams
De optiesparameters.
Retouren
listByExternalCloudProviderType(string, string, DimensionsByExternalCloudProviderTypeOptionalParams)
Geeft de dimensies weer 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 gekoppelde accounts en 'externalBillingAccounts' voor een geconsolideerd account.
- externalCloudProviderId
-
string
Dit kan {externalSubscriptionId} zijn voor een gekoppeld account of {externalBillingAccountId} voor een geconsolideerd account dat wordt gebruikt met dimensie-/querybewerkingen.
De optiesparameters.