openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 161 kB
JSON
{"openapi":"3.0.0","info":{"description":"Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions.","title":"ConsumptionManagementClient","version":"2019-06-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-06-01/consumption.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"consumption","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances":{"get":{"description":"Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Balances_GetForBillingPeriodByBillingAccount","parameters":[{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/billingAccountIdParameter"},{"$ref":"#/components/parameters/billingPeriodNameParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Balance"},"examples":{"Balances":{"$ref":"#/components/examples/Balances"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Balances"]}},"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/balances":{"get":{"description":"Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Balances_GetByBillingAccount","parameters":[{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/billingAccountIdParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Balance"},"examples":{"Balances":{"$ref":"#/components/examples/Balances"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Balances"]}},"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/reservationDetails":{"get":{"description":"Lists the reservations details for provided date range.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationsDetails_ListByBillingAccountId","parameters":[{"$ref":"#/components/parameters/billingAccountIdParameter"},{"description":"Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ","in":"query","name":"$filter","required":true,"schema":{"type":"string"},"examples":{"ReservationDetails":{"value":"properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"}}},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationDetailsListResult"},"examples":{"ReservationDetails":{"$ref":"#/components/examples/ReservationDetails"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservedInstances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/reservationSummaries":{"get":{"description":"Lists the reservations summaries for daily or monthly grain.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationsSummaries_ListByBillingAccountId","parameters":[{"$ref":"#/components/parameters/billingAccountIdParameter"},{"$ref":"#/components/parameters/grainParameter"},{"description":"Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"ReservationSummariesDailyWithReservationId":{"value":"properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"}}},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationSummariesListResult"},"examples":{"ReservationSummariesDailyWithReservationId":{"$ref":"#/components/examples/ReservationSummariesDailyWithReservationId"},"ReservationSummariesMonthlyWithReservationId":{"$ref":"#/components/examples/ReservationSummariesMonthlyWithReservationId"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservedInstances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/reservationTransactions":{"get":{"description":"List of transactions for reserved instances on billing account scope","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationTransactions_ListByBillingAccountId","parameters":[{"description":"Filter reservation transactions by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"ReservationTransaction":{"value":"properties/usageDate ge '2019-09-09' AND properties/usageDate le '2019-09-10'"}}},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/billingAccountIdParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationTransactionsListResult"},"examples":{"ReservationTransaction":{"$ref":"#/components/examples/ReservationTransaction"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservedInstances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/microsoft.consumption/ReservationRecommendations":{"get":{"description":"List of recommendations for purchasing reserved instances on billing account scope","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationRecommendations_ListByBillingAccountId","parameters":[{"description":"May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.","in":"query","name":"$filter","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/billingAccountIdParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationRecommendationsListResult"},"examples":{"ReservationRecommendations":{"$ref":"#/components/examples/ReservationRecommendations"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservationRecommendations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails":{"get":{"description":"Lists the reservations details for provided date range.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationsDetails_ListByReservationOrder","parameters":[{"$ref":"#/components/parameters/reservationOrderIdParameter"},{"description":"Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ","in":"query","name":"$filter","required":true,"schema":{"type":"string"},"examples":{"ReservationDetails":{"value":"properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"}}},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationDetailsListResult"},"examples":{"ReservationDetails":{"$ref":"#/components/examples/ReservationDetails"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservedInstances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries":{"get":{"description":"Lists the reservations summaries for daily or monthly grain.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationsSummaries_ListByReservationOrder","parameters":[{"$ref":"#/components/parameters/reservationOrderIdParameter"},{"$ref":"#/components/parameters/grainParameter"},{"description":"Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"ReservationSummariesDaily":{"value":"properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"}}},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationSummariesListResult"},"examples":{"ReservationSummariesDaily":{"$ref":"#/components/examples/ReservationSummariesDaily"},"ReservationSummariesMonthly":{"$ref":"#/components/examples/ReservationSummariesMonthly"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservedInstances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails":{"get":{"description":"Lists the reservations details for provided date range.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationsDetails_ListByReservationOrderAndReservation","parameters":[{"$ref":"#/components/parameters/reservationOrderIdParameter"},{"$ref":"#/components/parameters/reservationIdParameter"},{"description":"Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ","in":"query","name":"$filter","required":true,"schema":{"type":"string"},"examples":{"ReservationDetailsWithReservationId":{"value":"properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"}}},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationDetailsListResult"},"examples":{"ReservationDetailsWithReservationId":{"$ref":"#/components/examples/ReservationDetailsWithReservationId"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservedInstances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries":{"get":{"description":"Lists the reservations summaries for daily or monthly grain.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationsSummaries_ListByReservationOrderAndReservation","parameters":[{"$ref":"#/components/parameters/reservationOrderIdParameter"},{"$ref":"#/components/parameters/reservationIdParameter"},{"$ref":"#/components/parameters/grainParameter"},{"description":"Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"ReservationSummariesDailyWithReservationId":{"value":"properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"}}},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationSummariesListResult"},"examples":{"ReservationSummariesDailyWithReservationId":{"$ref":"#/components/examples/ReservationSummariesDailyWithReservationId"},"ReservationSummariesMonthlyWithReservationId":{"$ref":"#/components/examples/ReservationSummariesMonthlyWithReservationId"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservedInstances"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Consumption/operations":{"get":{"description":"Lists all of the available consumption REST API operations.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/Microsoft.Consumption/aggregatedcost":{"get":{"description":"Provides the aggregate cost of a management group and all child management groups by specified billing period","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"AggregatedCost_GetForBillingPeriodByManagementGroup","parameters":[{"$ref":"#/components/parameters/managementGroupIdParameter"},{"$ref":"#/components/parameters/billingPeriodNameParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementGroupAggregatedCostResult"},"examples":{"AggregatedCostListForBillingPeriodByManagementGroup":{"$ref":"#/components/examples/AggregatedCostListForBillingPeriodByManagementGroup"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["AggregatedCost"]}},"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Consumption/aggregatedcost":{"get":{"description":"Provides the aggregate cost of a management group and all child management groups by current billing period.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"AggregatedCost_GetByManagementGroup","parameters":[{"$ref":"#/components/parameters/managementGroupIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"},{"description":"May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"AggregatedCostByManagementGroupFilterByDate":{"value":"usageStart ge '2018-08-15' and properties/usageStart le '2018-08-31'"}}}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementGroupAggregatedCostResult"},"examples":{"AggregatedCostByManagementGroup":{"$ref":"#/components/examples/AggregatedCostByManagementGroup"},"AggregatedCostByManagementGroupFilterByDate":{"$ref":"#/components/examples/AggregatedCostByManagementGroupFilterByDate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["AggregatedCost"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default":{"get":{"description":"Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"PriceSheet_GetByBillingPeriod","parameters":[{"description":"May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.","in":"query","name":"$expand","required":false,"schema":{"type":"string"},"examples":{"PriceSheetExpand":{"value":"meterDetails"}}},{"description":"Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.","in":"query","name":"$skiptoken","required":false,"schema":{"type":"string"}},{"description":"May be used to limit the number of results to the top N results.","in":"query","name":"$top","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/billingPeriodNameParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceSheetResult"},"examples":{"PriceSheetExpand":{"$ref":"#/components/examples/PriceSheetExpand"},"PriceSheetForBillingPeriod":{"$ref":"#/components/examples/PriceSheetForBillingPeriod"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PriceSheet"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/forecasts":{"get":{"description":"Lists the forecast charges by subscriptionId.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Forecasts_List","parameters":[{"description":"May be used to filter forecasts by properties/usageDate (Utc time), properties/chargeType or properties/grain. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"ForecastsListFilterByDates":{"value":"usagedate ge '2018-04-01' AND usagedate le '2018-04-02'"},"ForecastsListFilterByGrain":{"value":"Grain eq 'Monthly'"}}},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/subscriptionIdParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastsListResult"},"examples":{"ForecastsList":{"$ref":"#/components/examples/ForecastsList"},"ForecastsListFilterByDates":{"$ref":"#/components/examples/ForecastsListFilterByDates"},"ForecastsListFilterByGrain":{"$ref":"#/components/examples/ForecastsListFilterByGrain"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forecasts"],"x-ms-odata":"#/components/schemas/Forecast","x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default":{"get":{"description":"Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"PriceSheet_Get","parameters":[{"description":"May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.","in":"query","name":"$expand","required":false,"schema":{"type":"string"}},{"description":"Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.","in":"query","name":"$skiptoken","required":false,"schema":{"type":"string"}},{"description":"May be used to limit the number of results to the top N results.","in":"query","name":"$top","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceSheetResult"},"examples":{"PriceSheet":{"$ref":"#/components/examples/PriceSheet"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PriceSheet"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/reservationRecommendations":{"get":{"description":"List of recommendations for purchasing reserved instances.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"ReservationRecommendations_List","parameters":[{"description":"May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"ReservationRecommendationsFilterByScopeLookBackPeriod":{"value":"properties/scope eq 'Single' AND properties/lookBackPeriod eq 'Last7Days'"}}},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/subscriptionIdParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationRecommendationsListResult"},"examples":{"ReservationRecommendations":{"$ref":"#/components/examples/ReservationRecommendations"},"ReservationRecommendationsFilterByScopeLookBackPeriod":{"$ref":"#/components/examples/ReservationRecommendationsFilterByScopeLookBackPeriod"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ReservationRecommendations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{scope}/providers/Microsoft.Consumption/budgets":{"get":{"description":"Lists all budgets for the defined scope.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Budgets_List","parameters":[{"$ref":"#/components/parameters/scopeBudgetParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetsListResult"},"examples":{"BudgetsList":{"$ref":"#/components/examples/BudgetsList"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Budgets"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{scope}/providers/Microsoft.Consumption/budgets/{budgetName}":{"delete":{"description":"The operation to delete a budget.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Budgets_Delete","parameters":[{"$ref":"#/components/parameters/scopeBudgetParameter"},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/budgetNameParameter"}],"responses":{"200":{"description":"OK. The request has succeeded."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Budgets"]},"get":{"description":"Gets the budget for the scope by budget name.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Budgets_Get","parameters":[{"$ref":"#/components/parameters/scopeBudgetParameter"},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/budgetNameParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Budget"},"examples":{"Budget":{"$ref":"#/components/examples/Budget"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Budgets"]},"put":{"description":"The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Budgets_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/scopeBudgetParameter"},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/budgetNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Budget"}}},"description":"Parameters supplied to the Create Budget operation.","required":true},"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Budget"},"examples":{"CreateOrUpdateBudget":{"$ref":"#/components/examples/CreateOrUpdateBudget"}}}}},"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Budget"},"examples":{"CreateOrUpdateBudget":{"$ref":"#/components/examples/CreateOrUpdateBudget"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Budgets"]}},"/{scope}/providers/Microsoft.Consumption/charges":{"get":{"description":"Lists the charges based for the defined scope.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Charges_ListByScope","parameters":[{"$ref":"#/components/parameters/scopeChargesParameter"},{"$ref":"#/components/parameters/apiVersionParameter"},{"description":"May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"ChargesListByDepartment":{"value":"usageStart eq '2018-04-01' AND usageEnd eq '2018-05-30'"}}}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChargeSummary"},"examples":{"ChangesForBillingPeriodByDepartment":{"$ref":"#/components/examples/ChangesForBillingPeriodByDepartment"},"ChangesForBillingPeriodByEnrollmentAccount":{"$ref":"#/components/examples/ChangesForBillingPeriodByEnrollmentAccount"},"ChargesListByDepartment":{"$ref":"#/components/examples/ChargesListByDepartment"},"ChargesListForEnrollmentAccount":{"$ref":"#/components/examples/ChargesListForEnrollmentAccount"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Charges"]}},"/{scope}/providers/Microsoft.Consumption/marketplaces":{"get":{"description":"Lists the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Marketplaces_List","parameters":[{"description":"May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.","in":"query","name":"$filter","required":false,"schema":{"type":"string"}},{"description":"May be used to limit the number of results to the most recent N marketplaces.","in":"query","name":"$top","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000}},{"description":"Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.","in":"query","name":"$skiptoken","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/scopeMarketplaceParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplacesListResult"},"examples":{"BillingAccountMarketplacesList":{"$ref":"#/components/examples/BillingAccountMarketplacesList"},"BillingAccountMarketplacesListForBillingPeriod":{"$ref":"#/components/examples/BillingAccountMarketplacesListForBillingPeriod"},"DepartmentMarketplacesList":{"$ref":"#/components/examples/DepartmentMarketplacesList"},"DepartmentMarketplacesListForBillingPeriod":{"$ref":"#/components/examples/DepartmentMarketplacesListForBillingPeriod"},"EnrollmentAccountMarketplacesList":{"$ref":"#/components/examples/EnrollmentAccountMarketplacesList"},"EnrollmentAccountMarketplacesListForBillingPeriod":{"$ref":"#/components/examples/EnrollmentAccountMarketplacesListForBillingPeriod"},"ManagementGroupMarketplacesList":{"$ref":"#/components/examples/ManagementGroupMarketplacesList"},"ManagementGroupMarketplacesListForBillingPeriod":{"$ref":"#/components/examples/ManagementGroupMarketplacesListForBillingPeriod"},"SubscriptionMarketplacesList":{"$ref":"#/components/examples/SubscriptionMarketplacesList"},"SubscriptionMarketplacesListForBillingPeriod":{"$ref":"#/components/examples/SubscriptionMarketplacesListForBillingPeriod"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Marketplaces"],"x-ms-odata":"#/components/schemas/Marketplace","x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{scope}/providers/Microsoft.Consumption/tags":{"get":{"description":"Get all available tag keys for the defined scope","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"Tags_Get","parameters":[{"$ref":"#/components/parameters/scopeTagsParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagsResult"},"examples":{"Tags_Get":{"$ref":"#/components/examples/Tags_Get"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Tags"]}},"/{scope}/providers/Microsoft.Consumption/usageDetails":{"get":{"description":"Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.","externalDocs":{"url":"https://docs.microsoft.com/en-us/rest/api/consumption/"},"operationId":"UsageDetails_List","parameters":[{"$ref":"#/components/parameters/scopeUsageDetailsParameter"},{"description":"May be used to expand the properties/additionalInfo or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details.","in":"query","name":"$expand","required":false,"schema":{"type":"string"},"examples":{"UsageDetailsExpand":{"value":"meterDetails,additionalInfo"}}},{"description":"May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"UsageDetailsExpand":{"value":"tags eq 'dev:tools'"},"UsageDetailsListFilterByTag":{"value":"tags eq 'dev:tools'"}}},{"description":"Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.","in":"query","name":"$skiptoken","required":false,"schema":{"type":"string"}},{"description":"May be used to limit the number of results to the most recent N usageDetails.","in":"query","name":"$top","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000},"examples":{"UsageDetailsExpand":{"value":1}}},{"$ref":"#/components/parameters/apiVersionParameter"},{"$ref":"#/components/parameters/metricParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageDetailsListResult"},"examples":{"BillingAccountUsageDetailsList":{"$ref":"#/components/examples/BillingAccountUsageDetailsList"},"BillingAccountUsageDetailsListForBillingPeriod":{"$ref":"#/components/examples/BillingAccountUsageDetailsListForBillingPeriod"},"DepartmentUsageDetailsList":{"$ref":"#/components/examples/DepartmentUsageDetailsList"},"DepartmentUsageDetailsListForBillingPeriod":{"$ref":"#/components/examples/DepartmentUsageDetailsListForBillingPeriod"},"EnrollmentAccountUsageDetailsList":{"$ref":"#/components/examples/EnrollmentAccountUsageDetailsList"},"EnrollmentAccountUsageDetailsListForBillingPeriod":{"$ref":"#/components/examples/EnrollmentAccountUsageDetailsListForBillingPeriod"},"ManagementGroupUsageDetailsList":{"$ref":"#/components/examples/ManagementGroupUsageDetailsList"},"ManagementGroupUsageDetailsListForBillingPeriod":{"$ref":"#/components/examples/ManagementGroupUsageDetailsListForBillingPeriod"},"UsageDetailsExpand":{"$ref":"#/components/examples/UsageDetailsExpand"},"UsageDetailsList":{"$ref":"#/components/examples/UsageDetailsList"},"UsageDetailsListByMetricActualCost":{"$ref":"#/components/examples/UsageDetailsListByMetricActualCost"},"UsageDetailsListByMetricAmortizedCost":{"$ref":"#/components/examples/UsageDetailsListByMetricAmortizedCost"},"UsageDetailsListByMetricUsage":{"$ref":"#/components/examples/UsageDetailsListByMetricUsage"},"UsageDetailsListFilterByTag":{"$ref":"#/components/examples/UsageDetailsListFilterByTag"},"UsageDetailsListForBillingPeriod":{"$ref":"#/components/examples/UsageDetailsListForBillingPeriod"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["UsageDetails"],"x-ms-pageable":{"nextLinkName":"nextLink"}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Balances":{"value":{"id":"/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1","name":"balanceId1","properties":{"adjustmentDetails":[{"name":"Promo Credit","value":1.1},{"name":"SIE Credit","value":1}],"adjustments":0,"azureMarketplaceServiceCharges":609.82,"beginningBalance":3396469.19,"billingFrequency":"Month","chargesBilledSeparately":0,"currency":"USD ","endingBalance":2922371.02,"newPurchases":0,"newPurchasesDetails":[{"name":"Promo Purchase","value":1}],"priceHidden":false,"serviceOverage":0,"totalOverage":0,"totalUsage":474098.17,"utilized":474098.17},"type":"Microsoft.Consumption/balances"}},"ReservationDetails":{"value":{"value":[{"id":"providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129","name":"00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129","properties":{"instanceFlexibilityGroup":"DSv2 Series","instanceFlexibilityRatio":"0.25","instanceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/abc-sql2014sp33","reservationId":"00000000-0000-0000-0000-000000000000","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservedHours":24,"skuName":"Standard_D2_v2","totalReservedQuantity":1,"usageDate":"2017-11-29T00:00:00Z","usedHours":24},"tags":{"dev":"tools","env":"newcrp"},"type":"Microsoft.Consumption/reservationDetails"}]}},"ReservationSummariesDailyWithReservationId":{"value":{"value":[{"id":"providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001","name":"00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001","properties":{"avgUtilizationPercentage":0,"kind":"Reservation","maxUtilizationPercentage":0,"minUtilizationPercentage":0,"purchasedQuantity":0,"remainingQuantity":0,"reservationId":"00000000-0000-0000-0000-000000000000","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservedHours":0,"skuName":"Standard_D8s_v3","totalReservedQuantity":155,"usageDate":"2017-10-01T00:00:00Z","usedHours":0,"usedQuantity":0,"utilizedPercentage":0},"tags":{"dev":"tools","env":"newcrp"},"type":"Microsoft.Consumption/reservationSummaries"}]}},"ReservationSummariesMonthlyWithReservationId":{"value":{"value":[{"id":"providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001","name":"00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001","properties":{"avgUtilizationPercentage":0,"kind":"Reservation","maxUtilizationPercentage":0,"minUtilizationPercentage":0,"purchasedQuantity":0,"remainingQuantity":0,"reservationId":"00000000-0000-0000-0000-000000000000","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservedHours":0,"skuName":"Standard_D8s_v3","totalReservedQuantity":155,"usageDate":"2017-10-01T00:00:00Z","usedHours":0,"usedQuantity":0,"utilizedPercentage":0},"tags":{"dev":"tools","env":"newcrp"},"type":"Microsoft.Consumption/reservationSummaries"}]}},"ReservationTransaction":{"value":{"value":[{"id":"/billingAccounts/123456/providers/Microsoft.Consumption/reservationtransactions/201909091919","name":"201909091919","properties":{"accountName":"Microsoft Infrastructure","accountOwnerEmail":"admin@microsoft.com","amount":-21,"armSkuName":"Standard_DS1_v2","costCenter":"","currency":"USD","currentEnrollment":"123456","departmentName":"Unassigned","description":"Standard_DS1_v2 westus 1 Year","eventDate":"2019-09-09T19:19:04Z","eventType":"Cancel","purchasingEnrollment":"123456","purchasingSubscriptionGuid":"11111111-1111-1111-1111-11111111111","purchasingSubscriptionName":"Infrastructure Subscription","quantity":1,"region":"westus","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservationOrderName":"Transaction-DS1_v2","term":"P1Y"},"tags":{},"type":"Microsoft.Consumption/reservationTransactions"},{"id":"/billingAccounts/123456/providers/Microsoft.Consumption/reservationtransactions/201909091919","name":"201909091919","properties":{"accountName":"Microsoft Infrastructure","accountOwnerEmail":"admin@microsoft.com","amount":21,"armSkuName":"Standard_DS1_v2","costCenter":"","currency":"USD","currentEnrollment":"123456","departmentName":"Unassigned","description":"Standard_DS1_v2 westus 1 Year","eventDate":"2019-09-09T19:19:04Z","eventType":"Purchase","purchasingEnrollment":"123456","purchasingSubscriptionGuid":"11111111-1111-1111-1111-11111111111","purchasingSubscriptionName":"Infrastructure Subscription","quantity":1,"region":"westus","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservationOrderName":"Transaction-DS1_v2","term":"P1Y"},"tags":{},"type":"Microsoft.Consumption/reservationTransactions"}]}},"ReservationRecommendations":{"value":{"nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&","value":[{"id":"subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1","location":"northeurope","name":"reservationRecommendations1","properties":{"costWithNoReservedInstances":0,"firstUsageDate":"2018-03-06T00:00:00Z","lookBackPeriod":"Last7Days","meterId":"00000000-0000-0000-0000-000000000000","netSavings":4.634521202630137,"recommendedQuantity":1,"scope":"Single","term":"P1Y","totalCostWithReservedInstances":0},"sku":"Standard_DS1_v2","type":"Microsoft.Consumption/reservationRecommendations"},{"id":"subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2","location":"northeurope","name":"reservationRecommendations2","properties":{"costWithNoReservedInstances":0,"firstUsageDate":"2018-03-06T00:00:00Z","lookBackPeriod":"Last7Days","meterId":"00000000-0000-0000-0000-000000000000","netSavings":7.289315723178081,"recommendedQuantity":1,"scope":"Single","term":"P3Y","totalCostWithReservedInstances":0},"sku":"Standard_DS1_v2","type":"Microsoft.Consumption/reservationRecommendations"}]}},"ReservationSummariesDaily":{"value":{"value":[{"id":"providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001","name":"00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001","properties":{"avgUtilizationPercentage":0,"kind":"Reservation","maxUtilizationPercentage":0,"minUtilizationPercentage":0,"purchasedQuantity":0,"remainingQuantity":0,"reservationId":"00000000-0000-0000-0000-000000000000","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservedHours":0,"skuName":"Standard_D8s_v3","totalReservedQuantity":155,"usageDate":"2017-10-01T00:00:00Z","usedHours":0,"usedQuantity":0,"utilizedPercentage":0},"tags":{"dev":"tools","env":"newcrp"},"type":"Microsoft.Consumption/reservationSummaries"}]}},"ReservationSummariesMonthly":{"value":{"value":[{"id":"providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001","name":"00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001","properties":{"avgUtilizationPercentage":0,"kind":"Reservation","maxUtilizationPercentage":0,"minUtilizationPercentage":0,"purchasedQuantity":0,"remainingQuantity":0,"reservationId":"00000000-0000-0000-0000-000000000000","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservedHours":0,"skuName":"Standard_D8s_v3","totalReservedQuantity":155,"usageDate":"2017-10-01T00:00:00Z","usedHours":0,"usedQuantity":0,"utilizedPercentage":0},"tags":{"dev":"tools","env":"newcrp"},"type":"Microsoft.Consumption/reservationSummaries"}]}},"ReservationDetailsWithReservationId":{"value":{"value":[{"id":"providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129","name":"00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129","properties":{"instanceFlexibilityGroup":"D2v2 Series","instanceFlexibilityRatio":"1","instanceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/wvn-sql2014sp33","kind":"Reservation","reservationId":"00000000-0000-0000-0000-000000000000","reservationOrderId":"00000000-0000-0000-0000-000000000000","reservedHours":24,"skuName":"Standard_D2_v2","totalReservedQuantity":1,"usageDate":"2017-11-29T00:00:00Z","usedHours":24},"tags":{"dev":"tools","env":"newcrp"},"type":"Microsoft.Consumption/reservationDetails"}]}},"AggregatedCostListForBillingPeriodByManagementGroup":{"value":{"id":"/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1","name":"aggregatedcostId1","properties":{"azureCharges":250.9876,"chargesBilledSeparately":120.345,"children":[{"id":"/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2","name":"aggregatedcostId2","properties":{"azureCharges":150,"chargesBilledSeparately":30.345,"children":[],"currency":"USD","marketplaceCharges":50.786,"usageEnd":"2018-07-31T00:00:00.0000000Z","usageStart":"2018-07-01T00:00:00.0000000Z"},"type":"Microsoft.Consumption/aggregatedcost"}],"currency":"USD","marketplaceCharges":150.786,"usageEnd":"2018-07-31T00:00:00.0000000Z","usageStart":"2018-07-01T00:00:00.0000000Z"},"type":"Microsoft.Consumption/aggregatedcost"}},"AggregatedCostByManagementGroup":{"value":{"id":"/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1","name":"aggregatedcostId1","properties":{"azureCharges":250.9876,"chargesBilledSeparately":120.345,"children":[{"id":"/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2","name":"aggregatedcostId2","properties":{"azureCharges":150,"chargesBilledSeparately":30.345,"children":[],"currency":"USD","excludedSubscriptions":[],"includedSubscriptions":["c349567d-c83a-48c9-ab0e-578c69dc97a4"],"marketplaceCharges":50.786,"usageEnd":"2018-10-31T00:00:00.0000000Z","usageStart":"2019-06-01T00:00:00.0000000Z"},"type":"Microsoft.Consumption/aggregatedcost"}],"currency":"USD","excludedSubscriptions":[],"includedSubscriptions":["1caaa5a3-2b66-438e-8ab4-bce37d518c5d"],"marketplaceCharges":150.786,"usageEnd":"2018-10-31T00:00:00.0000000Z","usageStart":"2019-06-01T00:00:00.0000000Z"},"type":"Microsoft.Consumption/aggregatedcost"}},"AggregatedCostByManagementGroupFilterByDate":{"value":{"id":"/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1","name":"aggregatedcostId1","properties":{"azureCharges":150.9876,"chargesBilledSeparately":90.345,"children":[{"id":"/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2","name":"aggregatedcostId2","properties":{"azureCharges":50,"chargesBilledSeparately":30.345,"children":[],"currency":"USD","excludedSubscriptions":[],"includedSubscriptions":["c349567d-c83a-48c9-ab0e-578c69dc97a4"],"marketplaceCharges":10.786,"usageEnd":"2018-08-31T00:00:00.0000000Z","usageStart":"2018-08-15T00:00:00.0000000Z"},"type":"Microsoft.Consumption/aggregatedcost"}],"currency":"USD","excludedSubscriptions":[],"includedSubscriptions":["1caaa5a3-2b66-438e-8ab4-bce37d518c5d"],"marketplaceCharges":80.786,"usageEnd":"2018-08-31T00:00:00.0000000Z","usageStart":"2018-08-15T00:00:00.0000000Z"},"type":"Microsoft.Consumption/aggregatedcost"}},"PriceSheetExpand":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default","name":"default","properties":{"nextLink":"https://management.azure.co