Class CloneEnvironment
CloneEnvironment
Implements
Inherited Members
Namespace: Pulumi.Esc.Sdk.Model
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class CloneEnvironment : IValidatableObject
Constructors
View SourceCloneEnvironment(string, string, Option<bool?>, Option<bool?>, Option<bool?>, Option<bool?>)
Initializes a new instance of the CloneEnvironment class.
Declaration
[JsonConstructor]
public CloneEnvironment(string name, string project, Option<bool?> preserveAccess = default, Option<bool?> preserveEnvironmentTags = default, Option<bool?> preserveHistory = default, Option<bool?> preserveRevisionTags = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | name |
| string | project | project |
| Option<bool?> | preserveAccess | preserveAccess |
| Option<bool?> | preserveEnvironmentTags | preserveEnvironmentTags |
| Option<bool?> | preserveHistory | preserveHistory |
| Option<bool?> | preserveRevisionTags | preserveRevisionTags |
Properties
View SourceName
Gets or Sets Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PreserveAccess
Gets or Sets PreserveAccess
Declaration
[JsonPropertyName("preserveAccess")]
public bool? PreserveAccess { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
PreserveEnvironmentTags
Gets or Sets PreserveEnvironmentTags
Declaration
[JsonPropertyName("preserveEnvironmentTags")]
public bool? PreserveEnvironmentTags { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
PreserveHistory
Gets or Sets PreserveHistory
Declaration
[JsonPropertyName("preserveHistory")]
public bool? PreserveHistory { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
PreserveRevisionTags
Gets or Sets PreserveRevisionTags
Declaration
[JsonPropertyName("preserveRevisionTags")]
public bool? PreserveRevisionTags { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Project
Gets or Sets Project
Declaration
[JsonPropertyName("project")]
public string Project { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |