Show / Hide Table of Contents

Class ImportOptions

Inheritance
object
ImportOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Automation
Assembly: Pulumi.Automation.dll
Syntax
public sealed class ImportOptions

Properties

View Source

Converter

Specify the name of a converter to import resources from.

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

ConverterArgs

Additional arguments to pass to the converter, if the user specified one.

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

GenerateCode

Generate resource declaration code for the imported resources. Set to true by default.

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

NameTable

The name table maps language names to parent and provider URNs. These names are used in the generated definitions, and should match the corresponding declarations in the source program. This table is required if any parents or providers are specified by the resources to import.

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

OnStandardError

Optional callback which is invoked whenever StandardError is written into

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

OnStandardOutput

Optional callback which is invoked whenever StandardOutput is written into

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

Protect

Allow resources to be imported with protection from deletion enabled. Set to true by default.

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

Resources

The resource definitions to import into the stack.

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

ShowSecrets

Show config secrets when they appear.

Declaration
public bool? ShowSecrets { get; set; }
Property Value
Type Description
bool?
  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.