Show / Hide Table of Contents

Struct Option<TType>

A wrapper for operation parameters which are not required

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Pulumi.Esc.Sdk.Client
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public struct Option<TType>
Type Parameters
Name Description
TType

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
Type Description
TType

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
Type Description
TType
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>

Version 0.13.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.