pulumi/tests/testdata/codegen/urn-id-properties/docs/test/_index.md

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:

Id double
Urn double
Id float64
Urn float64
id Double
urn Double
id number
urn number
id float
urn float
id Number
urn Number

Test Result

The following output properties are available:

Urn double
Id double
Urn float64
Id float64
urn Double
id Double
urn number
id number
urn float
id float
urn Number
id Number

Package Details

Repository
urnid
License