costDSVM: Calculate cost of using a specific DSVM instance of Azure for...

Description Usage Arguments Value See Also

Description

Note if difference between time.start and time.end 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.

Usage

1
2
3
costDSVM(context, hostname = "", time.start, time.end,
  granularity = "Daily", currency = "USD", locale = "en-US", offerId,
  region = "US", verbose = FALSE)

Arguments

context

Authentication context of AzureSMR encapsulating the TID, CID, and key obtained from Azure Actrive Directory.

hostname

Name of the DSVM. Lowercase characters or numbers only. Special characters are not permitted.

time.start

Start time.

time.end

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.

Value

Total cost measured in the given currency of the specified DSVM instance in the period.

See Also

Other Cost.functions: dataConsumptionDSVM


Azure/AzureDSVM documentation built on May 20, 2019, 2:03 p.m.