Viewing docs for SignalFx v7.29.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi
Viewing docs for SignalFx v7.29.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi
In order to make some of the time values easier to work with, this will parse the relative time signature (ie: -1h30m) and return the number of milliseconds that it represents.
Signature
parse_time_range(time_range string) number
Using parseTimeRange
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function parseTimeRange(args: ParseTimeRangeArgs, opts?: InvokeOptions): Promise<ParseTimeRangeResult>
function parseTimeRangeOutput(args: ParseTimeRangeOutputArgs, opts?: InvokeOutputOptions): Output<ParseTimeRangeResult>def parse_time_range(time_range: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ParseTimeRangeResult
def parse_time_range_output(time_range: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[ParseTimeRangeResult]func ParseTimeRange(ctx *Context, args *ParseTimeRangeArgs, opts ...InvokeOption) (*ParseTimeRangeResult, error)
func ParseTimeRangeOutput(ctx *Context, args *ParseTimeRangeOutputArgs, opts ...InvokeOption) ParseTimeRangeResultOutput> Note: This function is named ParseTimeRange in the Go SDK.
public static class ParseTimeRange
{
public static Task<ParseTimeRangeResult> InvokeAsync(ParseTimeRangeArgs args, InvokeOptions? opts = null)
public static Output<ParseTimeRangeResult> Invoke(ParseTimeRangeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ParseTimeRangeResult> parseTimeRange(ParseTimeRangeArgs args, InvokeOptions options)
public static Output<ParseTimeRangeResult> parseTimeRange(ParseTimeRangeArgs args, InvokeOptions options)
public static Output<ParseTimeRangeResult> parseTimeRange(ParseTimeRangeArgs args, InvokeOutputOptions options)
fn::invoke:
function: signalfx:index/parseTimeRange:parseTimeRange
arguments:
# arguments dictionarydata "signalfx_parse_time_range" "name" {
# arguments
}The following arguments are supported:
- Time
Range string - Used to parse the given relative time string into a the amount of milliseconds.
- Time
Range string - Used to parse the given relative time string into a the amount of milliseconds.
- time_
range string - Used to parse the given relative time string into a the amount of milliseconds.
- time
Range String - Used to parse the given relative time string into a the amount of milliseconds.
- time
Range string - Used to parse the given relative time string into a the amount of milliseconds.
- time_
range str - Used to parse the given relative time string into a the amount of milliseconds.
- time
Range String - Used to parse the given relative time string into a the amount of milliseconds.
parseTimeRange Result
The following output properties are available:
Package Details
- Repository
- SignalFx pulumi/pulumi-signalfx
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
signalfxTerraform Provider.
Viewing docs for SignalFx v7.29.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi