mirror of https://github.com/pulumi/pulumi.git
17 KiB
17 KiB
title: "Test" title_tag: "urnid.Test" meta_desc: "Documentation for the urnid.Test function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
It's fine for invokes to use urn and id
Using Test
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 test(args: TestArgs, opts?: InvokeOptions): Promise<TestResult>
function testOutput(args: TestOutputArgs, opts?: InvokeOptions): Output<TestResult>
def test(id: Optional[float] = None,
urn: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> TestResult
def test_output(id: Optional[pulumi.Input[float]] = None,
urn: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[TestResult]
func Test(ctx *Context, args *TestArgs, opts ...InvokeOption) (*TestResult, error)
func TestOutput(ctx *Context, args *TestOutputArgs, opts ...InvokeOption) TestResultOutput
public static class Test
{
public static Task<TestResult> InvokeAsync(TestArgs args, InvokeOptions? opts = null)
public static Output<TestResult> Invoke(TestInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<TestResult> test(TestArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: urnid:Test
arguments:
# arguments dictionary
The following arguments are supported:
Test Result
The following output properties are available:
Package Details
- Repository
- urnid
- License