Description Usage Arguments Value See Also
Note if difference between timeStart
and timeEnd
is less than the finest granularity, e.g., "Hourly" (we notice this is a usual case when one needs to be aware of the charges of a job that takes less than an hour), the expense will be estimated based solely on computation hour. That is, the total expense is the multiplication of computation hour and pricing rate of the requested instance.
1 2 3 | azureExpenseCalculator(azureActiveContext, instance = "", timeStart, timeEnd,
granularity, currency, locale, offerId, region, verbose = FALSE,
warn = TRUE)
|
azureActiveContext |
A container used for caching variables used by |
instance |
Instance name that one would like to check expense. It is by default empty, which returns data consumption for all instances under subscription. |
timeStart |
Start time. |
timeEnd |
End time. |
granularity |
Aggregation granularity. Can be either "Daily" or "Hourly". |
currency |
Currency in which price rating is measured. |
locale |
Locality information of subscription. |
offerId |
Offer ID of the subscription. For more information see https://azure.microsoft.com/en-us/support/legal/offer-details/ |
region |
region information about the subscription. |
verbose |
If TRUE, prints verbose messages |
warn |
If FALSE, suppresses warnings about truncated data |
Total cost measured in the given currency of the specified Azure instance in the period.
Other Cost functions: azureDataConsumption
,
azurePricingRates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.