Class InputUnion<T0, T1>
Represents an Input<T> value that can be one of two different types. For
example, it might potentially be an int some of the time or a string in other cases.
Inheritance
InputUnion<T0, T1>
Assembly: Pulumi.dll
public sealed class InputUnion<T0, T1> : Input<Union<T0, T1>>
Type Parameters
Constructors
View Source
Declaration
Operators
View Source
Declaration
public static implicit operator InputUnion<T0, T1>(T0 value)
Parameters
Type |
Name |
Description |
T0 |
value |
|
Returns
View Source
Declaration
public static implicit operator InputUnion<T0, T1>(T1 value)
Parameters
Type |
Name |
Description |
T1 |
value |
|
Returns
View Source
Declaration
public static implicit operator InputUnion<T0, T1>(Output<T0> value)
Parameters
Type |
Name |
Description |
Output<T0> |
value |
|
Returns
View Source
Declaration
public static implicit operator InputUnion<T0, T1>(Output<T1> value)
Parameters
Type |
Name |
Description |
Output<T1> |
value |
|
Returns
View Source
Declaration
public static implicit operator InputUnion<T0, T1>(Output<Union<T0, T1>> value)
Parameters
Returns
View Source
Declaration
public static implicit operator InputUnion<T0, T1>(Union<T0, T1> value)
Parameters
Type |
Name |
Description |
Union<T0, T1> |
value |
|
Returns
Extension Methods