Show / Hide Table of Contents

Class InputUnion<T0, T1>

Represents an Input<T> value that can be one of two different types. For example, it might potentially be an System.Int32 some of the time or a System.String in other cases.

Inheritance
System.Object
Input<Union<T0, T1>>
InputUnion<T0, T1>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public sealed class InputUnion<T0, T1> : Input<Union<T0, T1>>
Type Parameters
Name Description
T0
T1

Constructors

View Source

InputUnion()

Declaration
public InputUnion()

Operators

View Source

Implicit(T0 to InputUnion<T0, T1>)

Declaration
public static implicit operator InputUnion<T0, T1>(T0 value)
Parameters
Type Name Description
T0 value
Returns
Type Description
InputUnion<T0, T1>
View Source

Implicit(T1 to InputUnion<T0, T1>)

Declaration
public static implicit operator InputUnion<T0, T1>(T1 value)
Parameters
Type Name Description
T1 value
Returns
Type Description
InputUnion<T0, T1>
View Source

Implicit(Output<T0> to InputUnion<T0, T1>)

Declaration
public static implicit operator InputUnion<T0, T1>(Output<T0> value)
Parameters
Type Name Description
Output<T0> value
Returns
Type Description
InputUnion<T0, T1>
View Source

Implicit(Output<T1> to InputUnion<T0, T1>)

Declaration
public static implicit operator InputUnion<T0, T1>(Output<T1> value)
Parameters
Type Name Description
Output<T1> value
Returns
Type Description
InputUnion<T0, T1>
View Source

Implicit(Output<Union<T0, T1>> to InputUnion<T0, T1>)

Declaration
public static implicit operator InputUnion<T0, T1>(Output<Union<T0, T1>> value)
Parameters
Type Name Description
Output<Union<T0, T1>> value
Returns
Type Description
InputUnion<T0, T1>
View Source

Implicit(Union<T0, T1> to InputUnion<T0, T1>)

Declaration
public static implicit operator InputUnion<T0, T1>(Union<T0, T1> value)
Parameters
Type Name Description
Union<T0, T1> value
Returns
Type Description
InputUnion<T0, T1>

Extension Methods

InputExtensions.Apply<T, U>(Input<T>, Func<T, U>)
InputExtensions.Apply<T, U>(Input<T>, Func<T, Task<U>>)
InputExtensions.Apply<T, U>(Input<T>, Func<T, Input<U>>)
InputExtensions.Apply<T, U>(Input<T>, Func<T, Output<U>>)
InputExtensions.ToOutput<T>(Input<T>)
  • View Source
Back to top Copyright 2016-2022, Pulumi Corporation.