Show / Hide Table of Contents

Class PulumiNewOptions

Options for the pulumi new command.

Inheritance
object
BaseOptions
PulumiNewOptions
Inherited Members
BaseOptions.WorkDir
BaseOptions.EnvironmentVariables
BaseOptions.OnStandardOutput
BaseOptions.OnStandardError
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Automation.Commands
Assembly: Pulumi.Automation.dll
Syntax
public sealed class PulumiNewOptions : BaseOptions

Properties

View Source

AI

Prompt to use for Pulumi AI

Declaration
public string? AI { get; set; }
Property Value
Type Description
string
View Source

Color

Colorize output. Choices are: always, never, raw, auto

Declaration
public string? Color { get; set; }
Property Value
Type Description
string
View Source

Config

Config to save

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

ConfigPath

Config keys contain a path to a property in a map or list to set

Declaration
public bool? ConfigPath { get; set; }
Property Value
Type Description
bool?
View Source

Description

The project description; if not specified, a prompt will request it

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

Dir

The location to place the generated project; if not specified, the current directory is used

Declaration
public string? Dir { get; set; }
Property Value
Type Description
string
View Source

DisableIntegrityChecking

Disable integrity checking of checkpoint files

Declaration
public bool? DisableIntegrityChecking { get; set; }
Property Value
Type Description
bool?
View Source

Force

Forces content to be generated even if it would change existing files

Declaration
public bool? Force { get; set; }
Property Value
Type Description
bool?
View Source

FullyQualifyStackNames

Show fully-qualified stack names

Declaration
public bool? FullyQualifyStackNames { get; set; }
Property Value
Type Description
bool?
View Source

GenerateOnly

Generate the project only; do not create a stack, save config, or install dependencies

Declaration
public bool? GenerateOnly { get; set; }
Property Value
Type Description
bool?
View Source

Language

Language to use for Pulumi AI (must be one of TypeScript, JavaScript, Python, Go, C#, Java, or YAML)

Declaration
public string? Language { get; set; }
Property Value
Type Description
string
View Source

ListTemplates

List locally installed templates and exit

Declaration
public bool? ListTemplates { get; set; }
Property Value
Type Description
bool?
View Source

Logflow

Flow log settings to child processes (like plugins)

Declaration
public bool? Logflow { get; set; }
Property Value
Type Description
bool?
View Source

Logtostderr

Log to stderr instead of to files

Declaration
public bool? Logtostderr { get; set; }
Property Value
Type Description
bool?
View Source

Memprofilerate

Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate

Declaration
public int? Memprofilerate { get; set; }
Property Value
Type Description
int?
View Source

Name

The project name; if not specified, a prompt will request it

Declaration
public string? Name { get; set; }
Property Value
Type Description
string
View Source

Offline

Use locally cached templates without making any network requests

Declaration
public bool? Offline { get; set; }
Property Value
Type Description
bool?
View Source

OtelTraces

Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors

Declaration
public string? OtelTraces { get; set; }
Property Value
Type Description
string
View Source

Profiling

Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively

Declaration
public string? Profiling { get; set; }
Property Value
Type Description
string
View Source

RemoteStackConfig

Store stack configuration remotely

Declaration
public bool? RemoteStackConfig { get; set; }
Property Value
Type Description
bool?
View Source

RuntimeOptions

Additional options for the language runtime (format: key1=value1,key2=value2)

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

SecretsProvider

The type of the provider that should be used to encrypt and decrypt secrets (possible choices: default, passphrase, awskms, azurekeyvault, gcpkms, hashivault)

Declaration
public string? SecretsProvider { get; set; }
Property Value
Type Description
string
View Source

Stack

The stack name; either an existing stack or stack to create; if not specified, a prompt will request it

Declaration
public string? Stack { get; set; }
Property Value
Type Description
string
View Source

TemplateMode

Run in template mode, which will skip prompting for AI or Template functionality

Declaration
public bool? TemplateMode { get; set; }
Property Value
Type Description
bool?
View Source

Tracing

Emit tracing to the specified endpoint. Use the file: scheme to write tracing data to a local file

Declaration
public string? Tracing { get; set; }
Property Value
Type Description
string
View Source

TracingHeader

Include the tracing header with the given contents.

Declaration
public string? TracingHeader { get; set; }
Property Value
Type Description
string
View Source

Verbose

Enable verbose logging (e.g., v=3); anything >3 is very verbose

Declaration
public int? Verbose { get; set; }
Property Value
Type Description
int?

Version 3.108.0

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