Returns a UTC timestamp string of the current time in RFC 3339 format
Using timestamp
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 timestamp(args: TimestampArgs, opts?: InvokeOptions): Promise<TimestampResult>
function timestampOutput(args: TimestampOutputArgs, opts?: InvokeOptions): Output<TimestampResult>def timestamp(opts: Optional[InvokeOptions] = None) -> TimestampResult
def timestamp_output(opts: Optional[InvokeOptions] = None) -> Output[TimestampResult]func Timestamp(ctx *Context, args *TimestampArgs, opts ...InvokeOption) (*TimestampResult, error)
func TimestampOutput(ctx *Context, args *TimestampOutputArgs, opts ...InvokeOption) TimestampResultOutput> Note: This function is named Timestamp in the Go SDK.
public static class Timestamp
{
public static Task<TimestampResult> InvokeAsync(TimestampArgs args, InvokeOptions? opts = null)
public static Output<TimestampResult> Invoke(TimestampInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<TimestampResult> timestamp(TimestampArgs args, InvokeOptions options)
public static Output<TimestampResult> timestamp(TimestampArgs args, InvokeOptions options)
fn::invoke:
function: std:timestamp
arguments:
# arguments dictionaryThe following arguments are supported:
timestamp Result
The following output properties are available:
- Result string
- Result string
- result String
- result string
- result str
- result String
Package Details
- Repository
- std pulumi/pulumi-std
- License
