Class OutputExtensions
Inheritance
System.Object
OutputExtensions
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()
Assembly: Pulumi.dll
Syntax
public static class OutputExtensions
Methods
View Source
AsT0<T0, T1>(Output<Union<T0, T1>>)
Declaration
public static Output<T0> AsT0<T0, T1>(this Output<Union<T0, T1>> output)
Parameters
Returns
Type Parameters
View Source
AsT1<T0, T1>(Output<Union<T0, T1>>)
Declaration
public static Output<T1> AsT1<T0, T1>(this Output<Union<T0, T1>> output)
Parameters
Returns
Type Parameters
View Source
First<T>(Output<ImmutableArray<T>>)
Convert an output containing an array to an output containing its first element.
Declaration
public static Output<T> First<T>(this Output<ImmutableArray<T>> array)
Parameters
Type |
Name |
Description |
Output<System.Collections.Immutable.ImmutableArray<T>> |
array |
An array wrapped into Output<T>.
|
Returns
Type |
Description |
Output<T> |
An Output<T> containing the first array element.
|
Type Parameters
Name |
Description |
T |
The type of elements in the array.
|
View Source
GetAt<T>(Output<ImmutableArray<T>>, Input<Int32>)
Convert an output containing an array to an output containing the array element
at the specified index.
Declaration
public static Output<T> GetAt<T>(this Output<ImmutableArray<T>> array, Input<int> index)
Parameters
Type |
Name |
Description |
Output<System.Collections.Immutable.ImmutableArray<T>> |
array |
An array wrapped into Output<T>.
|
Input<System.Int32> |
index |
An index to get an element at.
|
Returns
Type Parameters
Name |
Description |
T |
The type of elements in the array.
|
View Source
IsT0<T0, T1>(Output<Union<T0, T1>>)
Declaration
public static Output<bool> IsT0<T0, T1>(this Output<Union<T0, T1>> output)
Parameters
Returns
Type |
Description |
Output<System.Boolean> |
|
Type Parameters
View Source
IsT1<T0, T1>(Output<Union<T0, T1>>)
Declaration
public static Output<bool> IsT1<T0, T1>(this Output<Union<T0, T1>> output)
Parameters
Returns
Type |
Description |
Output<System.Boolean> |
|
Type Parameters
View Source
Length<T>(Output<ImmutableArray<T>>)
Convert an output containing an array to an output containing the length of the array.
Declaration
public static Output<int> Length<T>(this Output<ImmutableArray<T>> array)
Parameters
Type |
Name |
Description |
Output<System.Collections.Immutable.ImmutableArray<T>> |
array |
An array wrapped into Output<T>.
|
Returns
Type |
Description |
Output<System.Int32> |
An Output<T> containing the array length.
|
Type Parameters
Name |
Description |
T |
The type of elements in the array.
|
View Source
Value<T0, T1>(Output<Union<T0, T1>>)
Declaration
public static Output<object> Value<T0, T1>(this Output<Union<T0, T1>> output)
Parameters
Returns
Type |
Description |
Output<System.Object> |
|
Type Parameters