Show / Hide Table of Contents

Class BaseOptions

The invocation configuration shared by every command: where to run the CLI, what environment to run it with, and where to send its output. Every generated options class derives from this so a single argument carries both the command's flags and its invocation configuration.

Inheritance
object
BaseOptions
PulumiCancelOptions
PulumiImportOptions
PulumiNewOptions
PulumiOrgGetDefaultOptions
PulumiOrgOptions
PulumiOrgSearchAIOptions
PulumiOrgSearchOptions
PulumiOrgSetDefaultOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Automation.Commands
Assembly: Pulumi.Automation.dll
Syntax
public abstract class BaseOptions

Properties

View Source

EnvironmentVariables

Environment variables to set for the CLI process, merged over the inherited environment.

Declaration
public IDictionary<string, string?>? EnvironmentVariables { get; set; }
Property Value
Type Description
IDictionary<string, string>
View Source

OnStandardError

A callback invoked with each line the CLI writes to standard error.

Declaration
public Action<string>? OnStandardError { get; set; }
Property Value
Type Description
Action<string>
View Source

OnStandardOutput

A callback invoked with each line the CLI writes to standard output.

Declaration
public Action<string>? OnStandardOutput { get; set; }
Property Value
Type Description
Action<string>
View Source

WorkDir

The working directory in which to run the CLI. Defaults to the current process directory when null.

Declaration
public string? WorkDir { get; set; }
Property Value
Type Description
string

Version 3.108.0

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