Class PulumiImportOptions
Options for the pulumi import command.
Inheritance
PulumiImportOptions
Assembly: Pulumi.Automation.dll
Syntax
public sealed class PulumiImportOptions : BaseOptions
Properties
View Source
Color
Colorize output. Choices are: always, never, raw, auto
Declaration
public string? Color { get; set; }
Property Value
View Source
ConfigFile
Use the configuration values in the specified file rather than detecting the file name
Declaration
public string? ConfigFile { get; set; }
Property Value
View Source
Debug
Print detailed debugging output during resource operations
Declaration
public bool? Debug { get; set; }
Property Value
View Source
Diff
Display operation as a rich diff showing the overall change
Declaration
public bool? Diff { get; set; }
Property Value
View Source
DisableIntegrityChecking
Disable integrity checking of checkpoint files
Declaration
public bool? DisableIntegrityChecking { get; set; }
Property Value
View Source
ExecAgent
Declaration
public string? ExecAgent { get; set; }
Property Value
View Source
ExecKind
Declaration
public string? ExecKind { get; set; }
Property Value
View Source
File
The path to a JSON-encoded file containing a list of resources to import
Declaration
public string? File { get; set; }
Property Value
View Source
From
Invoke a converter to import the resources
Declaration
public string? From { get; set; }
Property Value
View Source
FullyQualifyStackNames
Show fully-qualified stack names
Declaration
public bool? FullyQualifyStackNames { get; set; }
Property Value
View Source
GenerateCode
Generate resource declaration code for the imported resources
Declaration
public bool? GenerateCode { get; set; }
Property Value
View Source
GenerateResources
When used with --from, always write a JSON-encoded file containing a list of importable resources discovered by conversion to the specified path
Declaration
public string? GenerateResources { get; set; }
Property Value
View Source
Json
Serialize the import diffs, operations, and overall output as JSON
Declaration
public bool? Json { get; set; }
Property Value
View Source
Logflow
Flow log settings to child processes (like plugins)
Declaration
public bool? Logflow { get; set; }
Property Value
View Source
Logtostderr
Log to stderr instead of to files
Declaration
public bool? Logtostderr { get; set; }
Property Value
View Source
Memprofilerate
Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
Declaration
public int? Memprofilerate { get; set; }
Property Value
View Source
Message
Optional message to associate with the update operation
Declaration
public string? Message { get; set; }
Property Value
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
View Source
Out
The path to the file that will contain the generated resource declarations
Declaration
public string? Out { get; set; }
Property Value
View Source
Output
Output format. Supported values are: default, json
Declaration
public string? Output { get; set; }
Property Value
View Source
Parallel
Allow P resource operations to run in parallel at once (1 for no parallelism).
Declaration
public int? Parallel { get; set; }
Property Value
View Source
Parent
The name and URN of the parent resource in the format name=urn, where name is the variable name of the parent resource
Declaration
public string? Parent { get; set; }
Property Value
View Source
PreviewOnly
Only show a preview of the import, but don't perform the import itself
Declaration
public bool? PreviewOnly { get; set; }
Property Value
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
View Source
Properties
The property names to use for the import in the format name1,name2
Declaration
public List<string>? Properties { get; set; }
Property Value
View Source
Protect
Allow resources to be imported with protection from deletion enabled
Declaration
public bool? Protect { get; set; }
Property Value
View Source
Provider
The name and URN of the provider to use for the import in the format name=urn, where name is the variable name for the provider resource
Declaration
public string? Provider { get; set; }
Property Value
View Source
SkipPluginPreInstall
Skip the up-front provider plugin install step; missing plugins are installed lazily by the engine
Declaration
public bool? SkipPluginPreInstall { get; set; }
Property Value
View Source
Stack
The name of the stack to operate on. Defaults to the current stack
Declaration
public string? Stack { get; set; }
Property Value
View Source
SuppressOutputs
Suppress display of stack outputs (in case they contain sensitive values)
Declaration
public bool? SuppressOutputs { get; set; }
Property Value
View Source
SuppressPermalink
Suppress display of the state permalink
Declaration
public string? SuppressPermalink { get; set; }
Property Value
View Source
SuppressProgress
Suppress display of periodic progress dots
Declaration
public bool? SuppressProgress { get; set; }
Property Value
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
View Source
TracingHeader
Include the tracing header with the given contents.
Declaration
public string? TracingHeader { get; set; }
Property Value
View Source
Urns
Display full URNs instead of short resource names
Declaration
public bool? Urns { get; set; }
Property Value
View Source
Verbose
Enable verbose logging (e.g., v=3); anything >3 is very verbose
Declaration
public int? Verbose { get; set; }
Property Value