Struct Option<TType>
A wrapper for operation parameters which are not required
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public struct Option<TType>
Type Parameters
Constructors
View Source
Option(TType)
A wrapper for operation parameters which are not required
Declaration
public Option(TType value)
Parameters
| Type |
Name |
Description |
| TType |
value |
|
Properties
View Source
Value
The value to send to the server
Declaration
public readonly TType Value { get; }
Property Value
Operators
View Source
implicit operator TType(Option<TType>)
Implicitly converts this option to the contained type
Declaration
public static implicit operator TType(Option<TType> option)
Parameters
| Type |
Name |
Description |
| Option<TType> |
option |
|
Returns
View Source
implicit operator Option<TType>(TType)
Implicitly converts the provided value to an Option
Declaration
public static implicit operator Option<TType>(TType value)
Parameters
| Type |
Name |
Description |
| TType |
value |
|
Returns
| Type |
Description |
| Option<TType> |
|