mirror of https://github.com/pulumi/pulumi.git
31 lines
770 B
C#
31 lines
770 B
C#
// Copyright 2016-2021, Pulumi Corporation. All rights reserved.
|
|
|
|
// Exposes the Random resource from the testprovider.
|
|
// Requires running `make test_build` and having the built provider on PATH.
|
|
|
|
using Pulumi;
|
|
|
|
public partial class Random : Pulumi.CustomResource
|
|
{
|
|
[Output("length")]
|
|
public Output<int> Length { get; private set; } = null!;
|
|
|
|
[Output("result")]
|
|
public Output<string> Result { get; private set; } = null!;
|
|
|
|
public Random(string name, RandomArgs args, CustomResourceOptions? options = null)
|
|
: base("testprovider:index:Random", name, args ?? new RandomArgs(), options)
|
|
{
|
|
}
|
|
}
|
|
|
|
public sealed class RandomArgs : Pulumi.ResourceArgs
|
|
{
|
|
[Input("length", required: true)]
|
|
public Input<int> Length { get; set; } = null!;
|
|
|
|
public RandomArgs()
|
|
{
|
|
}
|
|
}
|