Class PulumiNewOptions
Options for the pulumi new command.
Inherited Members
Namespace: Pulumi.Automation.Commands
Assembly: Pulumi.Automation.dll
Syntax
public sealed class PulumiNewOptions : BaseOptions
Properties
View SourceAI
Prompt to use for Pulumi AI
Declaration
public string? AI { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Color
Colorize output. Choices are: always, never, raw, auto
Declaration
public string? Color { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Config
Config to save
Declaration
public List<string>? Config { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
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? |
Description
The project description; if not specified, a prompt will request it
Declaration
public string? Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
DisableIntegrityChecking
Disable integrity checking of checkpoint files
Declaration
public bool? DisableIntegrityChecking { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Force
Forces content to be generated even if it would change existing files
Declaration
public bool? Force { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
FullyQualifyStackNames
Show fully-qualified stack names
Declaration
public bool? FullyQualifyStackNames { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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? |
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 |
ListTemplates
List locally installed templates and exit
Declaration
public bool? ListTemplates { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Logflow
Flow log settings to child processes (like plugins)
Declaration
public bool? Logflow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Logtostderr
Log to stderr instead of to files
Declaration
public bool? Logtostderr { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Memprofilerate
Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
Declaration
public int? Memprofilerate { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Name
The project name; if not specified, a prompt will request it
Declaration
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Offline
Use locally cached templates without making any network requests
Declaration
public bool? Offline { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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 |
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 |
RemoteStackConfig
Store stack configuration remotely
Declaration
public bool? RemoteStackConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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> |
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 |
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 |
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? |
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 |
TracingHeader
Include the tracing header with the given contents.
Declaration
public string? TracingHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Verbose
Enable verbose logging (e.g., v=3); anything >3 is very verbose
Declaration
public int? Verbose { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |