@pulumi/harness 0.9.0-alpha.1760681338 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/cluster/getOrchestratorConfig.d.ts +12 -0
  2. package/cluster/getOrchestratorConfig.js +2 -0
  3. package/cluster/getOrchestratorConfig.js.map +1 -1
  4. package/cluster/orchestratorConfig.d.ts +13 -0
  5. package/cluster/orchestratorConfig.js +3 -0
  6. package/cluster/orchestratorConfig.js.map +1 -1
  7. package/package.json +2 -2
  8. package/platform/dbInstance.d.ts +19 -19
  9. package/platform/dbInstance.js +3 -3
  10. package/platform/dbInstance.js.map +1 -1
  11. package/platform/getDbInstance.d.ts +18 -18
  12. package/platform/getDbInstance.js +2 -2
  13. package/platform/getDbInstance.js.map +1 -1
  14. package/platform/getInfraModule.d.ts +110 -0
  15. package/platform/getInfraModule.js +18 -0
  16. package/platform/getInfraModule.js.map +1 -1
  17. package/platform/getInfraModuleTesting.d.ts +225 -0
  18. package/platform/getInfraModuleTesting.js +50 -0
  19. package/platform/getInfraModuleTesting.js.map +1 -0
  20. package/platform/getInfraModules.d.ts +41 -0
  21. package/platform/getInfraModules.js +42 -0
  22. package/platform/getInfraModules.js.map +1 -0
  23. package/platform/getPipelineCentralNotificationRule.d.ts +0 -36
  24. package/platform/getPipelineCentralNotificationRule.js.map +1 -1
  25. package/platform/gitOpsApplications.d.ts +0 -2
  26. package/platform/gitOpsApplications.js +0 -2
  27. package/platform/gitOpsApplications.js.map +1 -1
  28. package/platform/gitopsApplicationset.d.ts +157 -3
  29. package/platform/gitopsApplicationset.js +157 -3
  30. package/platform/gitopsApplicationset.js.map +1 -1
  31. package/platform/index.d.ts +9 -0
  32. package/platform/index.js +16 -5
  33. package/platform/index.js.map +1 -1
  34. package/platform/infraModuleTesting.d.ts +304 -0
  35. package/platform/infraModuleTesting.js +133 -0
  36. package/platform/infraModuleTesting.js.map +1 -0
  37. package/platform/pipelineCentralNotificationRule.d.ts +9 -0
  38. package/platform/pipelineCentralNotificationRule.js.map +1 -1
  39. package/types/input.d.ts +1143 -74
  40. package/types/output.d.ts +1201 -126
@@ -28,6 +28,10 @@ export interface GetOrchestratorConfigArgs {
28
28
  * Commitment integration configuration for Cluster Orchestrator
29
29
  */
30
30
  commitmentIntegration?: inputs.cluster.GetOrchestratorConfigCommitmentIntegration;
31
+ /**
32
+ * Whether the cluster orchestrator is disabled
33
+ */
34
+ disabled?: boolean;
31
35
  /**
32
36
  * Spot and Ondemand Distribution Preferences for workload replicas
33
37
  */
@@ -57,6 +61,10 @@ export interface GetOrchestratorConfigResult {
57
61
  * Commitment integration configuration for Cluster Orchestrator
58
62
  */
59
63
  readonly commitmentIntegration?: outputs.cluster.GetOrchestratorConfigCommitmentIntegration;
64
+ /**
65
+ * Whether the cluster orchestrator is disabled
66
+ */
67
+ readonly disabled?: boolean;
60
68
  /**
61
69
  * Spot and Ondemand Distribution Preferences for workload replicas
62
70
  */
@@ -105,6 +113,10 @@ export interface GetOrchestratorConfigOutputArgs {
105
113
  * Commitment integration configuration for Cluster Orchestrator
106
114
  */
107
115
  commitmentIntegration?: pulumi.Input<inputs.cluster.GetOrchestratorConfigCommitmentIntegrationArgs>;
116
+ /**
117
+ * Whether the cluster orchestrator is disabled
118
+ */
119
+ disabled?: pulumi.Input<boolean>;
108
120
  /**
109
121
  * Spot and Ondemand Distribution Preferences for workload replicas
110
122
  */
@@ -24,6 +24,7 @@ function getOrchestratorConfig(args, opts) {
24
24
  return pulumi.runtime.invoke("harness:cluster/getOrchestratorConfig:getOrchestratorConfig", {
25
25
  "binpacking": args.binpacking,
26
26
  "commitmentIntegration": args.commitmentIntegration,
27
+ "disabled": args.disabled,
27
28
  "distribution": args.distribution,
28
29
  "nodePreferences": args.nodePreferences,
29
30
  "orchestratorId": args.orchestratorId,
@@ -50,6 +51,7 @@ function getOrchestratorConfigOutput(args, opts) {
50
51
  return pulumi.runtime.invokeOutput("harness:cluster/getOrchestratorConfig:getOrchestratorConfig", {
51
52
  "binpacking": args.binpacking,
52
53
  "commitmentIntegration": args.commitmentIntegration,
54
+ "disabled": args.disabled,
53
55
  "distribution": args.distribution,
54
56
  "nodePreferences": args.nodePreferences,
55
57
  "orchestratorId": args.orchestratorId,
@@ -1 +1 @@
1
- {"version":3,"file":"getOrchestratorConfig.js","sourceRoot":"","sources":["../../cluster/getOrchestratorConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC;AAiED;;;;;;;;;;;;;GAaG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6DAA6D,EAAE;QAC9F,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,iB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QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kEAWC"}
@@ -12,6 +12,7 @@ import * as outputs from "../types/output";
12
12
  *
13
13
  * const example = new harness.cluster.OrchestratorConfig("example", {
14
14
  * orchestratorId: "orch-cvifpfl9rbg8neldj97g",
15
+ * disabled: false,
15
16
  * distribution: {
16
17
  * baseOndemandCapacity: 2,
17
18
  * ondemandReplicaPercentage: 50,
@@ -105,6 +106,10 @@ export declare class OrchestratorConfig extends pulumi.CustomResource {
105
106
  * Commitment integration configuration for Cluster Orchestrator
106
107
  */
107
108
  readonly commitmentIntegration: pulumi.Output<outputs.cluster.OrchestratorConfigCommitmentIntegration | undefined>;
109
+ /**
110
+ * Whether the cluster orchestrator is disabled
111
+ */
112
+ readonly disabled: pulumi.Output<boolean | undefined>;
108
113
  /**
109
114
  * Spot and Ondemand Distribution Preferences for workload replicas
110
115
  */
@@ -142,6 +147,10 @@ export interface OrchestratorConfigState {
142
147
  * Commitment integration configuration for Cluster Orchestrator
143
148
  */
144
149
  commitmentIntegration?: pulumi.Input<inputs.cluster.OrchestratorConfigCommitmentIntegration>;
150
+ /**
151
+ * Whether the cluster orchestrator is disabled
152
+ */
153
+ disabled?: pulumi.Input<boolean>;
145
154
  /**
146
155
  * Spot and Ondemand Distribution Preferences for workload replicas
147
156
  */
@@ -171,6 +180,10 @@ export interface OrchestratorConfigArgs {
171
180
  * Commitment integration configuration for Cluster Orchestrator
172
181
  */
173
182
  commitmentIntegration?: pulumi.Input<inputs.cluster.OrchestratorConfigCommitmentIntegration>;
183
+ /**
184
+ * Whether the cluster orchestrator is disabled
185
+ */
186
+ disabled?: pulumi.Input<boolean>;
174
187
  /**
175
188
  * Spot and Ondemand Distribution Preferences for workload replicas
176
189
  */
@@ -16,6 +16,7 @@ const utilities = require("../utilities");
16
16
  *
17
17
  * const example = new harness.cluster.OrchestratorConfig("example", {
18
18
  * orchestratorId: "orch-cvifpfl9rbg8neldj97g",
19
+ * disabled: false,
19
20
  * distribution: {
20
21
  * baseOndemandCapacity: 2,
21
22
  * ondemandReplicaPercentage: 50,
@@ -115,6 +116,7 @@ class OrchestratorConfig extends pulumi.CustomResource {
115
116
  const state = argsOrState;
116
117
  resourceInputs["binpacking"] = state?.binpacking;
117
118
  resourceInputs["commitmentIntegration"] = state?.commitmentIntegration;
119
+ resourceInputs["disabled"] = state?.disabled;
118
120
  resourceInputs["distribution"] = state?.distribution;
119
121
  resourceInputs["nodePreferences"] = state?.nodePreferences;
120
122
  resourceInputs["orchestratorId"] = state?.orchestratorId;
@@ -130,6 +132,7 @@ class OrchestratorConfig extends pulumi.CustomResource {
130
132
  }
131
133
  resourceInputs["binpacking"] = args?.binpacking;
132
134
  resourceInputs["commitmentIntegration"] = args?.commitmentIntegration;
135
+ resourceInputs["disabled"] = args?.disabled;
133
136
  resourceInputs["distribution"] = args?.distribution;
134
137
  resourceInputs["nodePreferences"] = args?.nodePreferences;
135
138
  resourceInputs["orchestratorId"] = args?.orchestratorId;
@@ -1 +1 @@
1
- {"version":3,"file":"orchestratorConfig.js","sourceRoot":"","sources":["../../cluster/orchestratorConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,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G,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA/FL,gDAgGC;AAlFG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/harness",
3
- "version": "0.9.0-alpha.1760681338",
3
+ "version": "0.9.0",
4
4
  "description": "A Pulumi package for creating and managing Harness resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,7 +23,7 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "harness",
26
- "version": "0.9.0-alpha.1760681338",
26
+ "version": "0.9.0",
27
27
  "server": "github://api.github.com/pulumi"
28
28
  }
29
29
  }
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * branch: "main",
22
22
  * connector: "jdbcConnector",
23
23
  * context: "ctx",
24
- * liquibaseSubstituteProperties: {
24
+ * substituteProperties: {
25
25
  * key1: "value1",
26
26
  * key2: "value2",
27
27
  * },
@@ -74,12 +74,6 @@ export declare class DbInstance extends pulumi.CustomResource {
74
74
  * Unique identifier of the resource.
75
75
  */
76
76
  readonly identifier: pulumi.Output<string>;
77
- /**
78
- * The properties to substitute in liquibase changelog
79
- */
80
- readonly liquibaseSubstituteProperties: pulumi.Output<{
81
- [key: string]: string;
82
- } | undefined>;
83
77
  /**
84
78
  * Name of the resource.
85
79
  */
@@ -96,6 +90,12 @@ export declare class DbInstance extends pulumi.CustomResource {
96
90
  * The identifier of the parent database schema
97
91
  */
98
92
  readonly schema: pulumi.Output<string>;
93
+ /**
94
+ * The properties to substitute in changelog/migration script
95
+ */
96
+ readonly substituteProperties: pulumi.Output<{
97
+ [key: string]: string;
98
+ } | undefined>;
99
99
  /**
100
100
  * Tags to associate with the resource.
101
101
  */
@@ -133,12 +133,6 @@ export interface DbInstanceState {
133
133
  * Unique identifier of the resource.
134
134
  */
135
135
  identifier?: pulumi.Input<string>;
136
- /**
137
- * The properties to substitute in liquibase changelog
138
- */
139
- liquibaseSubstituteProperties?: pulumi.Input<{
140
- [key: string]: pulumi.Input<string>;
141
- }>;
142
136
  /**
143
137
  * Name of the resource.
144
138
  */
@@ -155,6 +149,12 @@ export interface DbInstanceState {
155
149
  * The identifier of the parent database schema
156
150
  */
157
151
  schema?: pulumi.Input<string>;
152
+ /**
153
+ * The properties to substitute in changelog/migration script
154
+ */
155
+ substituteProperties?: pulumi.Input<{
156
+ [key: string]: pulumi.Input<string>;
157
+ }>;
158
158
  /**
159
159
  * Tags to associate with the resource.
160
160
  */
@@ -184,12 +184,6 @@ export interface DbInstanceArgs {
184
184
  * Unique identifier of the resource.
185
185
  */
186
186
  identifier: pulumi.Input<string>;
187
- /**
188
- * The properties to substitute in liquibase changelog
189
- */
190
- liquibaseSubstituteProperties?: pulumi.Input<{
191
- [key: string]: pulumi.Input<string>;
192
- }>;
193
187
  /**
194
188
  * Name of the resource.
195
189
  */
@@ -206,6 +200,12 @@ export interface DbInstanceArgs {
206
200
  * The identifier of the parent database schema
207
201
  */
208
202
  schema: pulumi.Input<string>;
203
+ /**
204
+ * The properties to substitute in changelog/migration script
205
+ */
206
+ substituteProperties?: pulumi.Input<{
207
+ [key: string]: pulumi.Input<string>;
208
+ }>;
209
209
  /**
210
210
  * Tags to associate with the resource.
211
211
  */
@@ -27,7 +27,7 @@ const utilities = require("../utilities");
27
27
  * branch: "main",
28
28
  * connector: "jdbcConnector",
29
29
  * context: "ctx",
30
- * liquibaseSubstituteProperties: {
30
+ * substituteProperties: {
31
31
  * key1: "value1",
32
32
  * key2: "value2",
33
33
  * },
@@ -77,11 +77,11 @@ class DbInstance extends pulumi.CustomResource {
77
77
  resourceInputs["context"] = state?.context;
78
78
  resourceInputs["description"] = state?.description;
79
79
  resourceInputs["identifier"] = state?.identifier;
80
- resourceInputs["liquibaseSubstituteProperties"] = state?.liquibaseSubstituteProperties;
81
80
  resourceInputs["name"] = state?.name;
82
81
  resourceInputs["orgId"] = state?.orgId;
83
82
  resourceInputs["projectId"] = state?.projectId;
84
83
  resourceInputs["schema"] = state?.schema;
84
+ resourceInputs["substituteProperties"] = state?.substituteProperties;
85
85
  resourceInputs["tags"] = state?.tags;
86
86
  }
87
87
  else {
@@ -106,11 +106,11 @@ class DbInstance extends pulumi.CustomResource {
106
106
  resourceInputs["context"] = args?.context;
107
107
  resourceInputs["description"] = args?.description;
108
108
  resourceInputs["identifier"] = args?.identifier;
109
- resourceInputs["liquibaseSubstituteProperties"] = args?.liquibaseSubstituteProperties;
110
109
  resourceInputs["name"] = args?.name;
111
110
  resourceInputs["orgId"] = args?.orgId;
112
111
  resourceInputs["projectId"] = args?.projectId;
113
112
  resourceInputs["schema"] = args?.schema;
113
+ resourceInputs["substituteProperties"] = args?.substituteProperties;
114
114
  resourceInputs["tags"] = args?.tags;
115
115
  }
116
116
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"dbInstance.js","sourceRoot":"","sources":["../../platform/dbInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc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AAY,GAAG,wCAAwC,CAAC"}
@@ -25,12 +25,6 @@ export interface GetDbInstanceArgs {
25
25
  * Unique identifier of the resource.
26
26
  */
27
27
  identifier: string;
28
- /**
29
- * The properties to substitute in liquibase changelog
30
- */
31
- liquibaseSubstituteProperties?: {
32
- [key: string]: string;
33
- };
34
28
  /**
35
29
  * Name of the resource.
36
30
  */
@@ -47,6 +41,12 @@ export interface GetDbInstanceArgs {
47
41
  * The identifier of the parent database schema
48
42
  */
49
43
  schema: string;
44
+ /**
45
+ * The properties to substitute in changelog/migration script
46
+ */
47
+ substituteProperties?: {
48
+ [key: string]: string;
49
+ };
50
50
  }
51
51
  /**
52
52
  * A collection of values returned by getDbInstance.
@@ -76,12 +76,6 @@ export interface GetDbInstanceResult {
76
76
  * Unique identifier of the resource.
77
77
  */
78
78
  readonly identifier: string;
79
- /**
80
- * The properties to substitute in liquibase changelog
81
- */
82
- readonly liquibaseSubstituteProperties?: {
83
- [key: string]: string;
84
- };
85
79
  /**
86
80
  * Name of the resource.
87
81
  */
@@ -98,6 +92,12 @@ export interface GetDbInstanceResult {
98
92
  * The identifier of the parent database schema
99
93
  */
100
94
  readonly schema: string;
95
+ /**
96
+ * The properties to substitute in changelog/migration script
97
+ */
98
+ readonly substituteProperties?: {
99
+ [key: string]: string;
100
+ };
101
101
  /**
102
102
  * Tags to associate with the resource.
103
103
  */
@@ -129,12 +129,6 @@ export interface GetDbInstanceOutputArgs {
129
129
  * Unique identifier of the resource.
130
130
  */
131
131
  identifier: pulumi.Input<string>;
132
- /**
133
- * The properties to substitute in liquibase changelog
134
- */
135
- liquibaseSubstituteProperties?: pulumi.Input<{
136
- [key: string]: pulumi.Input<string>;
137
- }>;
138
132
  /**
139
133
  * Name of the resource.
140
134
  */
@@ -151,4 +145,10 @@ export interface GetDbInstanceOutputArgs {
151
145
  * The identifier of the parent database schema
152
146
  */
153
147
  schema: pulumi.Input<string>;
148
+ /**
149
+ * The properties to substitute in changelog/migration script
150
+ */
151
+ substituteProperties?: pulumi.Input<{
152
+ [key: string]: pulumi.Input<string>;
153
+ }>;
154
154
  }
@@ -26,11 +26,11 @@ function getDbInstance(args, opts) {
26
26
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
27
  return pulumi.runtime.invoke("harness:platform/getDbInstance:getDbInstance", {
28
28
  "identifier": args.identifier,
29
- "liquibaseSubstituteProperties": args.liquibaseSubstituteProperties,
30
29
  "name": args.name,
31
30
  "orgId": args.orgId,
32
31
  "projectId": args.projectId,
33
32
  "schema": args.schema,
33
+ "substituteProperties": args.substituteProperties,
34
34
  }, opts);
35
35
  }
36
36
  exports.getDbInstance = getDbInstance;
@@ -55,11 +55,11 @@ function getDbInstanceOutput(args, opts) {
55
55
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
56
56
  return pulumi.runtime.invokeOutput("harness:platform/getDbInstance:getDbInstance", {
57
57
  "identifier": args.identifier,
58
- "liquibaseSubstituteProperties": args.liquibaseSubstituteProperties,
59
58
  "name": args.name,
60
59
  "orgId": args.orgId,
61
60
  "projectId": args.projectId,
62
61
  "schema": args.schema,
62
+ "substituteProperties": args.substituteProperties,
63
63
  }, opts);
64
64
  }
65
65
  exports.getDbInstanceOutput = getDbInstanceOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"getDbInstance.js","sourceRoot":"","sources":["../../platform/getDbInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,+BAA+B,EAAE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CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AAqFD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC"}
@@ -1,4 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
2
4
  /**
3
5
  * Data source for retrieving modules from the module registry.
4
6
  *
@@ -9,6 +11,10 @@ export declare function getInfraModule(args: GetInfraModuleArgs, opts?: pulumi.I
9
11
  * A collection of arguments for invoking getInfraModule.
10
12
  */
11
13
  export interface GetInfraModuleArgs {
14
+ /**
15
+ * Account that owns the module
16
+ */
17
+ account: string;
12
18
  /**
13
19
  * Timestamp when the module was created
14
20
  */
@@ -17,14 +23,30 @@ export interface GetInfraModuleArgs {
17
23
  * Description of the module
18
24
  */
19
25
  description?: string;
26
+ /**
27
+ * Git Tag Style
28
+ */
29
+ gitTagStyle?: string;
20
30
  /**
21
31
  * Identifier of the module
22
32
  */
23
33
  id: string;
34
+ /**
35
+ * Error while retrieving the module
36
+ */
37
+ moduleError?: string;
24
38
  /**
25
39
  * Name of the module
26
40
  */
27
41
  name: string;
42
+ /**
43
+ * Organization that owns the module
44
+ */
45
+ org?: string;
46
+ /**
47
+ * Project that owns the module
48
+ */
49
+ project?: string;
28
50
  /**
29
51
  * For account connectors, the repository where the module is stored
30
52
  */
@@ -61,11 +83,31 @@ export interface GetInfraModuleArgs {
61
83
  * Tags associated with the module
62
84
  */
63
85
  tags?: string;
86
+ /**
87
+ * Whether testing is enabled for the module
88
+ */
89
+ testingEnabled?: boolean;
90
+ /**
91
+ * Testing metadata for the module
92
+ */
93
+ testingMetadata?: inputs.platform.GetInfraModuleTestingMetadata;
94
+ /**
95
+ * Timestamp when the module was last modified
96
+ */
97
+ updated?: number;
98
+ /**
99
+ * Versions of the module
100
+ */
101
+ versions?: string[];
64
102
  }
65
103
  /**
66
104
  * A collection of values returned by getInfraModule.
67
105
  */
68
106
  export interface GetInfraModuleResult {
107
+ /**
108
+ * Account that owns the module
109
+ */
110
+ readonly account: string;
69
111
  /**
70
112
  * Timestamp when the module was created
71
113
  */
@@ -74,14 +116,30 @@ export interface GetInfraModuleResult {
74
116
  * Description of the module
75
117
  */
76
118
  readonly description: string;
119
+ /**
120
+ * Git Tag Style
121
+ */
122
+ readonly gitTagStyle: string;
77
123
  /**
78
124
  * Identifier of the module
79
125
  */
80
126
  readonly id: string;
127
+ /**
128
+ * Error while retrieving the module
129
+ */
130
+ readonly moduleError: string;
81
131
  /**
82
132
  * Name of the module
83
133
  */
84
134
  readonly name: string;
135
+ /**
136
+ * Organization that owns the module
137
+ */
138
+ readonly org: string;
139
+ /**
140
+ * Project that owns the module
141
+ */
142
+ readonly project: string;
85
143
  /**
86
144
  * For account connectors, the repository where the module is stored
87
145
  */
@@ -118,6 +176,22 @@ export interface GetInfraModuleResult {
118
176
  * Tags associated with the module
119
177
  */
120
178
  readonly tags: string;
179
+ /**
180
+ * Whether testing is enabled for the module
181
+ */
182
+ readonly testingEnabled: boolean;
183
+ /**
184
+ * Testing metadata for the module
185
+ */
186
+ readonly testingMetadata: outputs.platform.GetInfraModuleTestingMetadata;
187
+ /**
188
+ * Timestamp when the module was last modified
189
+ */
190
+ readonly updated: number;
191
+ /**
192
+ * Versions of the module
193
+ */
194
+ readonly versions: string[];
121
195
  }
122
196
  /**
123
197
  * Data source for retrieving modules from the module registry.
@@ -129,6 +203,10 @@ export declare function getInfraModuleOutput(args: GetInfraModuleOutputArgs, opt
129
203
  * A collection of arguments for invoking getInfraModule.
130
204
  */
131
205
  export interface GetInfraModuleOutputArgs {
206
+ /**
207
+ * Account that owns the module
208
+ */
209
+ account: pulumi.Input<string>;
132
210
  /**
133
211
  * Timestamp when the module was created
134
212
  */
@@ -137,14 +215,30 @@ export interface GetInfraModuleOutputArgs {
137
215
  * Description of the module
138
216
  */
139
217
  description?: pulumi.Input<string>;
218
+ /**
219
+ * Git Tag Style
220
+ */
221
+ gitTagStyle?: pulumi.Input<string>;
140
222
  /**
141
223
  * Identifier of the module
142
224
  */
143
225
  id: pulumi.Input<string>;
226
+ /**
227
+ * Error while retrieving the module
228
+ */
229
+ moduleError?: pulumi.Input<string>;
144
230
  /**
145
231
  * Name of the module
146
232
  */
147
233
  name: pulumi.Input<string>;
234
+ /**
235
+ * Organization that owns the module
236
+ */
237
+ org?: pulumi.Input<string>;
238
+ /**
239
+ * Project that owns the module
240
+ */
241
+ project?: pulumi.Input<string>;
148
242
  /**
149
243
  * For account connectors, the repository where the module is stored
150
244
  */
@@ -181,4 +275,20 @@ export interface GetInfraModuleOutputArgs {
181
275
  * Tags associated with the module
182
276
  */
183
277
  tags?: pulumi.Input<string>;
278
+ /**
279
+ * Whether testing is enabled for the module
280
+ */
281
+ testingEnabled?: pulumi.Input<boolean>;
282
+ /**
283
+ * Testing metadata for the module
284
+ */
285
+ testingMetadata?: pulumi.Input<inputs.platform.GetInfraModuleTestingMetadataArgs>;
286
+ /**
287
+ * Timestamp when the module was last modified
288
+ */
289
+ updated?: pulumi.Input<number>;
290
+ /**
291
+ * Versions of the module
292
+ */
293
+ versions?: pulumi.Input<pulumi.Input<string>[]>;
184
294
  }
@@ -13,10 +13,15 @@ const utilities = require("../utilities");
13
13
  function getInfraModule(args, opts) {
14
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
15
15
  return pulumi.runtime.invoke("harness:platform/getInfraModule:getInfraModule", {
16
+ "account": args.account,
16
17
  "created": args.created,
17
18
  "description": args.description,
19
+ "gitTagStyle": args.gitTagStyle,
18
20
  "id": args.id,
21
+ "moduleError": args.moduleError,
19
22
  "name": args.name,
23
+ "org": args.org,
24
+ "project": args.project,
20
25
  "repository": args.repository,
21
26
  "repositoryBranch": args.repositoryBranch,
22
27
  "repositoryCommit": args.repositoryCommit,
@@ -26,6 +31,10 @@ function getInfraModule(args, opts) {
26
31
  "synced": args.synced,
27
32
  "system": args.system,
28
33
  "tags": args.tags,
34
+ "testingEnabled": args.testingEnabled,
35
+ "testingMetadata": args.testingMetadata,
36
+ "updated": args.updated,
37
+ "versions": args.versions,
29
38
  }, opts);
30
39
  }
31
40
  exports.getInfraModule = getInfraModule;
@@ -37,10 +46,15 @@ exports.getInfraModule = getInfraModule;
37
46
  function getInfraModuleOutput(args, opts) {
38
47
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
48
  return pulumi.runtime.invokeOutput("harness:platform/getInfraModule:getInfraModule", {
49
+ "account": args.account,
40
50
  "created": args.created,
41
51
  "description": args.description,
52
+ "gitTagStyle": args.gitTagStyle,
42
53
  "id": args.id,
54
+ "moduleError": args.moduleError,
43
55
  "name": args.name,
56
+ "org": args.org,
57
+ "project": args.project,
44
58
  "repository": args.repository,
45
59
  "repositoryBranch": args.repositoryBranch,
46
60
  "repositoryCommit": args.repositoryCommit,
@@ -50,6 +64,10 @@ function getInfraModuleOutput(args, opts) {
50
64
  "synced": args.synced,
51
65
  "system": args.system,
52
66
  "tags": args.tags,
67
+ "testingEnabled": args.testingEnabled,
68
+ "testingMetadata": args.testingMetadata,
69
+ "updated": args.updated,
70
+ "versions": args.versions,
53
71
  }, opts);
54
72
  }
55
73
  exports.getInfraModuleOutput = getInfraModuleOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"getInfraModule.js","sourceRoot":"","sources":["../../platform/getInfraModule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAjBD,wCAiBC;AAqHD;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;I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