Show / Hide Table of Contents

Class PulumiImportOptions

Options for the pulumi import command.

Inheritance
object
BaseOptions
PulumiImportOptions
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 PulumiImportOptions : BaseOptions

Properties

View Source

Color

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

Declaration
public string? Color { get; set; }
Property Value
Type Description
string
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
Type Description
string
View Source

Debug

Print detailed debugging output during resource operations

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

Diff

Display operation as a rich diff showing the overall change

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

DisableIntegrityChecking

Disable integrity checking of checkpoint files

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

ExecAgent

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

ExecKind

Declaration
public string? ExecKind { get; set; }
Property Value
Type Description
string
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
Type Description
string
View Source

From

Invoke a converter to import the resources

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

FullyQualifyStackNames

Show fully-qualified stack names

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

GenerateCode

Generate resource declaration code for the imported resources

Declaration
public bool? GenerateCode { get; set; }
Property Value
Type Description
bool?
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
Type Description
string
View Source

Json

Serialize the import diffs, operations, and overall output as JSON

Declaration
public bool? Json { 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

Message

Optional message to associate with the update operation

Declaration
public string? Message { get; set; }
Property Value
Type Description
string
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

Out

The path to the file that will contain the generated resource declarations

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

Output

Output format. Supported values are: default, json

Declaration
public string? Output { get; set; }
Property Value
Type Description
string
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
Type Description
int?
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
Type Description
string
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
Type Description
bool?
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

Properties

The property names to use for the import in the format name1,name2

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

Protect

Allow resources to be imported with protection from deletion enabled

Declaration
public bool? Protect { get; set; }
Property Value
Type Description
bool?
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
Type Description
string
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
Type Description
bool?
View Source

Stack

The name of the stack to operate on. Defaults to the current stack

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

SuppressOutputs

Suppress display of stack outputs (in case they contain sensitive values)

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

SuppressPermalink

Suppress display of the state permalink

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

SuppressProgress

Suppress display of periodic progress dots

Declaration
public bool? SuppressProgress { 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

Urns

Display full URNs instead of short resource names

Declaration
public bool? Urns { get; set; }
Property Value
Type Description
bool?
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.