Learn R Programming

paws.compute (version 0.7.0)

lightsail_get_cost_estimate: Retrieves information about the cost estimate for a specified resource

Description

Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.

See https://www.paws-r-sdk.com/docs/lightsail_get_cost_estimate/ for full documentation.

Usage

lightsail_get_cost_estimate(resourceName, startTime, endTime)

Arguments

resourceName

[required] The resource name.

startTime

[required] The cost estimate start time.

Constraints:

  • Specified in Coordinated Universal Time (UTC).

  • Specified in the Unix time format.

    For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify 1538424000 as the start time.

You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

endTime

[required] The cost estimate end time.

Constraints:

  • Specified in Coordinated Universal Time (UTC).

  • Specified in the Unix time format.

    For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify 1538427600 as the end time.

You can convert a human-friendly time to Unix time format using a converter like Epoch converter.