/
iacm_model_create_workspace_request_body.go
54 lines (53 loc) · 2.99 KB
/
iacm_model_create_workspace_request_body.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Infrastructure as Code Management
*
* Services for Harness IaCM Module.
*
* API version: 0.1.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
type IacmCreateWorkspaceRequestBody struct {
// cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully
CostBreakdownJson string `json:"cost_breakdown_json,omitempty"`
// cost_diff_json is the identifier to the diff cost file between the previous and current successful executions
CostDiffJson string `json:"cost_diff_json,omitempty"`
// define if cost estimation operations will be performed in this workspace
CostEstimationEnabled bool `json:"cost_estimation_enabled,omitempty"`
// Description provides long-form text about the resource.
Description string `json:"description,omitempty"`
// list of environment variables configured on the workspace.
EnvironmentVariables map[string]IacmVariable `json:"environment_variables"`
// Workspace identifier.
Identifier string `json:"identifier"`
// Name is the human readable name for the resource.
Name string `json:"name"`
// Provider Connector is the reference to the connector for the infrastructure provider.
ProviderConnector string `json:"provider_connector"`
// Provisioner defines the provisioning tool to use.
Provisioner string `json:"provisioner"`
// Provisioner Version defines the tool version to use.
ProvisionerVersion string `json:"provisioner_version,omitempty"`
// Repository is the name of the repository to use.
Repository string `json:"repository,omitempty"`
// Repository Branch in which the code should be accessed.
RepositoryBranch string `json:"repository_branch,omitempty"`
// Repository Commit/Tag in which the code should be accessed.
RepositoryCommit string `json:"repository_commit,omitempty"`
// Repository Connector is the reference to the connector to use for this code.
RepositoryConnector string `json:"repository_connector"`
// Repository Path is the path in which the infra code resides.
RepositoryPath string `json:"repository_path,omitempty"`
// terraform_plan is the identifier to the current state file.
TerraformPlan string `json:"terraform_plan,omitempty"`
// terraform_plan_json is the identifier to the current state file onl in JSON format.
TerraformPlanJson string `json:"terraform_plan_json,omitempty"`
// terraform_state is the identifier to the plan file used to create the latest state.
TerraformState string `json:"terraform_state,omitempty"`
// terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format.
TerraformStateJson string `json:"terraform_state_json,omitempty"`
// define an array of terraform variables files that belong to a different repository
TerraformVariableFiles []IacmWorkspaceTerraformVariableFiles `json:"terraform_variable_files,omitempty"`
// list of terraform variables configured on the workspace.
TerraformVariables map[string]IacmVariable `json:"terraform_variables"`
}