Class ImportOptions
Inherited Members
Namespace: Pulumi.Automation
Assembly: Pulumi.Automation.dll
Syntax
public sealed class ImportOptions
Properties
View SourceConverter
Specify the name of a converter to import resources from.
Declaration
public string? Converter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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> |
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? |
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> |
OnStandardError
Optional callback which is invoked whenever StandardError is written into
Declaration
public Action<string>? OnStandardError { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<string> |
OnStandardOutput
Optional callback which is invoked whenever StandardOutput is written into
Declaration
public Action<string>? OnStandardOutput { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<string> |
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? |
Resources
The resource definitions to import into the stack.
Declaration
public List<ImportResource>? Resources { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ImportResource> |
ShowSecrets
Show config secrets when they appear.
Declaration
public bool? ShowSecrets { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |