Class CustomResourceOptions
CustomResourceOptions is a bag of optional settings that control a CustomResource's behavior.
Inherited Members
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public sealed class CustomResourceOptions : ResourceOptions
Properties
View SourceAdditionalSecretOutputs
The names of outputs for this resource that should be treated as secrets. This augments the list that the resource provider and pulumi engine already determine based on inputs to your resource. It can be used to mark certain outputs as a secrets on a per resource basis.
Declaration
public List<string> AdditionalSecretOutputs { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
DeleteBeforeReplace
When set to true
, indicates that this resource should be deleted before its
replacement is created when replacement is necessary.
Declaration
public bool? DeleteBeforeReplace { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ImportId
When provided with a resource ID, import indicates that this resource's provider should import its state from the cloud resource with the given ID.The inputs to the resource's constructor must align with the resource's current state.Once a resource has been imported, the import property must be removed from the resource's options.
Declaration
public string? ImportId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceMerge(CustomResourceOptions?, CustomResourceOptions?)
Takes two CustomResourceOptions values and produces a new
CustomResourceOptions with the respective
properties of options2
merged over the same properties in options1
. The original options objects will be unchanged.
Declaration
public static CustomResourceOptions Merge(CustomResourceOptions? options1, CustomResourceOptions? options2)
Parameters
Type | Name | Description |
---|---|---|
CustomResourceOptions | options1 | |
CustomResourceOptions | options2 |
Returns
Type | Description |
---|---|
CustomResourceOptions |