Dimensions interface
表示維度的介面。
方法
| list(string, Dimensions |
依定義的範圍列出維度。 |
| list |
依外部雲端提供者類型列出維度。 |
方法詳細資料
list(string, DimensionsListOptionalParams)
依定義的範圍列出維度。
function list(scope: string, options?: DimensionsListOptionalParams): PagedAsyncIterableIterator<Dimension, Dimension[], PageSettings>
參數
- scope
-
string
與維度作業相關聯的範圍。 這包括訂用帳戶範圍的 '/subscriptions/{subscriptionId}/' 、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' 資源群組範圍、 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 範圍的 enrollmentAccount 範圍, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, billingProfile 範圍的 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'、'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' 和 'providers/Microsoft。Billing/billingAccounts/{billingAccountId}/customers/{customerId}' 特定合作夥伴。
- options
- DimensionsListOptionalParams
選項參數。
傳回
listByExternalCloudProviderType(string, string, DimensionsByExternalCloudProviderTypeOptionalParams)
依外部雲端提供者類型列出維度。
function listByExternalCloudProviderType(externalCloudProviderType: string, externalCloudProviderId: string, options?: DimensionsByExternalCloudProviderTypeOptionalParams): PagedAsyncIterableIterator<Dimension, Dimension[], PageSettings>
參數
- externalCloudProviderType
-
string
與維度/查詢作業相關聯的外部雲端提供者類型。 這包括鏈接帳戶的 'externalSubscriptions',以及合併帳戶的 'externalBillingAccounts'。
- externalCloudProviderId
-
string
鏈接帳戶的 '{externalSubscriptionId}' 或 '{externalBillingAccountId}' 可用於維度/查詢作業的合併帳戶。
選項參數。