@pulumi/harness 0.16.7 → 0.16.8

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 (157) hide show
  1. package/autostopping/alert.d.ts +2 -2
  2. package/autostopping/alert.js +2 -2
  3. package/autostopping/gcpProxy.d.ts +4 -4
  4. package/autostopping/gcpProxy.js +4 -4
  5. package/autostopping/ruleEcs.d.ts +4 -4
  6. package/autostopping/ruleEcs.js +4 -4
  7. package/autostopping/ruleRds.d.ts +5 -5
  8. package/autostopping/ruleRds.js +5 -5
  9. package/autostopping/ruleScaleGroup.d.ts +12 -12
  10. package/autostopping/ruleScaleGroup.js +12 -12
  11. package/autostopping/ruleVm.d.ts +22 -22
  12. package/autostopping/ruleVm.js +22 -22
  13. package/chaos/actionTemplate.d.ts +55 -55
  14. package/chaos/actionTemplate.js +55 -55
  15. package/chaos/experimentTemplate.d.ts +84 -84
  16. package/chaos/experimentTemplate.js +84 -84
  17. package/chaos/faultTemplate.d.ts +124 -124
  18. package/chaos/faultTemplate.js +124 -124
  19. package/chaos/imageRegistry.d.ts +6 -6
  20. package/chaos/imageRegistry.js +6 -6
  21. package/chaos/securityGovernanceCondition.d.ts +19 -19
  22. package/chaos/securityGovernanceCondition.js +19 -19
  23. package/chaos/securityGovernanceConditionV3.d.ts +13 -13
  24. package/chaos/securityGovernanceConditionV3.js +13 -13
  25. package/chaos/securityGovernanceRule.d.ts +21 -21
  26. package/chaos/securityGovernanceRule.js +21 -21
  27. package/chaos/securityGovernanceRuleV3.d.ts +9 -9
  28. package/chaos/securityGovernanceRuleV3.js +9 -9
  29. package/cluster/orchestrator.d.ts +1 -1
  30. package/cluster/orchestrator.js +1 -1
  31. package/cluster/orchestratorConfig.d.ts +9 -9
  32. package/cluster/orchestratorConfig.js +9 -9
  33. package/encryptedText.d.ts +3 -3
  34. package/encryptedText.js +3 -3
  35. package/environment.d.ts +7 -7
  36. package/environment.js +7 -7
  37. package/infrastructureDefinition.d.ts +13 -13
  38. package/infrastructureDefinition.js +13 -13
  39. package/package.json +2 -2
  40. package/platform/appDynamicsConnector.d.ts +8 -8
  41. package/platform/appDynamicsConnector.js +8 -8
  42. package/platform/artifactoryConnector.d.ts +12 -12
  43. package/platform/artifactoryConnector.js +12 -12
  44. package/platform/awsCCConnector.d.ts +4 -4
  45. package/platform/awsCCConnector.js +4 -4
  46. package/platform/azureCloudCostConnector.d.ts +12 -12
  47. package/platform/azureCloudCostConnector.js +12 -12
  48. package/platform/azureCloudProviderConnector.d.ts +31 -31
  49. package/platform/azureCloudProviderConnector.js +31 -31
  50. package/platform/bitbucketConnector.d.ts +27 -27
  51. package/platform/bitbucketConnector.js +27 -27
  52. package/platform/connectorCustomhealthsource.d.ts +6 -6
  53. package/platform/connectorCustomhealthsource.js +6 -6
  54. package/platform/connectorGcpKms.d.ts +15 -15
  55. package/platform/connectorGcpKms.js +15 -15
  56. package/platform/connectorRancher.d.ts +3 -3
  57. package/platform/connectorRancher.js +3 -3
  58. package/platform/dbSchema.d.ts +32 -32
  59. package/platform/dbSchema.js +32 -32
  60. package/platform/elasticsearchConnector.d.ts +8 -8
  61. package/platform/elasticsearchConnector.js +8 -8
  62. package/platform/environment.d.ts +11 -11
  63. package/platform/environment.js +11 -11
  64. package/platform/environmentClustersMapping.d.ts +6 -6
  65. package/platform/environmentClustersMapping.js +6 -6
  66. package/platform/filters.d.ts +4 -4
  67. package/platform/filters.js +4 -4
  68. package/platform/gcpCloudCostConnector.d.ts +4 -4
  69. package/platform/gcpCloudCostConnector.js +4 -4
  70. package/platform/gcpSecretManagerConnector.d.ts +8 -8
  71. package/platform/gcpSecretManagerConnector.js +8 -8
  72. package/platform/getEnvironmentClustersMapping.d.ts +12 -12
  73. package/platform/getEnvironmentClustersMapping.js +12 -12
  74. package/platform/getPolicySet.d.ts +8 -8
  75. package/platform/getPolicySet.js +8 -8
  76. package/platform/gitOpsAgent.d.ts +4 -4
  77. package/platform/gitOpsAgent.js +4 -4
  78. package/platform/gitOpsApplications.d.ts +9 -9
  79. package/platform/gitOpsApplications.js +9 -9
  80. package/platform/gitOpsGnupg.d.ts +3 -3
  81. package/platform/gitOpsGnupg.js +3 -3
  82. package/platform/gitOpsRepoCert.d.ts +1 -1
  83. package/platform/gitOpsRepoCert.js +1 -1
  84. package/platform/gitOpsRepoCred.d.ts +5 -5
  85. package/platform/gitOpsRepoCred.js +5 -5
  86. package/platform/gitopsAppProjectMapping.d.ts +12 -0
  87. package/platform/gitopsAppProjectMapping.d.ts.map +1 -1
  88. package/platform/gitopsAppProjectMapping.js +2 -0
  89. package/platform/gitopsAppProjectMapping.js.map +1 -1
  90. package/platform/gitopsApplicationset.d.ts +59 -59
  91. package/platform/gitopsApplicationset.js +59 -59
  92. package/platform/harLifecycleRule.d.ts +20 -20
  93. package/platform/harLifecycleRule.js +20 -20
  94. package/platform/harRegistry.d.ts +69 -69
  95. package/platform/harRegistry.js +69 -69
  96. package/platform/iacmAnsibleInventory.d.ts +11 -11
  97. package/platform/iacmAnsibleInventory.js +11 -11
  98. package/platform/iacmAnsiblePlaybook.d.ts +10 -10
  99. package/platform/iacmAnsiblePlaybook.js +10 -10
  100. package/platform/idpScorecard.d.ts +14 -14
  101. package/platform/idpScorecard.js +14 -14
  102. package/platform/idpScorecardCheck.d.ts +9 -9
  103. package/platform/idpScorecardCheck.js +9 -9
  104. package/platform/infraVariableSet.d.ts +21 -21
  105. package/platform/infraVariableSet.js +21 -21
  106. package/platform/infrastructure.d.ts +7 -7
  107. package/platform/infrastructure.js +7 -7
  108. package/platform/kubernetesConnector.d.ts +17 -17
  109. package/platform/kubernetesConnector.js +17 -17
  110. package/platform/monitoredService.d.ts +123 -123
  111. package/platform/monitoredService.js +123 -123
  112. package/platform/notificationRule.d.ts +10 -10
  113. package/platform/notificationRule.js +10 -10
  114. package/platform/pipeline.d.ts +9 -9
  115. package/platform/pipeline.js +9 -9
  116. package/platform/pipelineCentralNotificationRule.d.ts +22 -22
  117. package/platform/pipelineCentralNotificationRule.js +22 -22
  118. package/platform/pipelineFilters.d.ts +43 -43
  119. package/platform/pipelineFilters.js +43 -43
  120. package/platform/prometheusConnector.d.ts +6 -6
  121. package/platform/prometheusConnector.js +6 -6
  122. package/platform/repo.d.ts +4 -4
  123. package/platform/repo.js +4 -4
  124. package/platform/resourceGroup.d.ts +23 -23
  125. package/platform/resourceGroup.js +23 -23
  126. package/platform/secretFile.d.ts +10 -10
  127. package/platform/secretFile.js +10 -10
  128. package/platform/secretText.d.ts +13 -13
  129. package/platform/secretText.js +13 -13
  130. package/platform/secretWinrm.d.ts +89 -89
  131. package/platform/secretWinrm.js +89 -89
  132. package/platform/service.d.ts +10 -10
  133. package/platform/service.js +10 -10
  134. package/platform/slo.d.ts +17 -17
  135. package/platform/slo.js +17 -17
  136. package/platform/splunkConnector.d.ts +11 -11
  137. package/platform/splunkConnector.js +11 -11
  138. package/platform/templateFilters.d.ts +4 -4
  139. package/platform/templateFilters.js +4 -4
  140. package/platform/usergroup.d.ts +21 -21
  141. package/platform/usergroup.js +21 -21
  142. package/platform/variables.d.ts +4 -4
  143. package/platform/variables.js +4 -4
  144. package/platform/workspace.d.ts +32 -32
  145. package/platform/workspace.js +32 -32
  146. package/platformCcmFilters.d.ts +4 -4
  147. package/platformCcmFilters.js +4 -4
  148. package/service/discoveryAgent.d.ts +62 -62
  149. package/service/discoveryAgent.js +62 -62
  150. package/service/discoverySetting.d.ts +2 -2
  151. package/service/discoverySetting.js +2 -2
  152. package/service/kubernetes.d.ts +4 -4
  153. package/service/kubernetes.js +4 -4
  154. package/sshCredential.d.ts +3 -3
  155. package/sshCredential.js +3 -3
  156. package/userGroup.d.ts +6 -6
  157. package/userGroup.js +6 -6
@@ -14,10 +14,6 @@ import * as outputs from "../types/output";
14
14
  *
15
15
  * // Example of a Virtual Registry
16
16
  * const virtualRegistry = new harness.platform.HarRegistry("virtual_registry", {
17
- * identifier: "virtual_docker_registry",
18
- * description: "Virtual Docker Registry",
19
- * spaceRef: "accountId/orgId/projectId",
20
- * packageType: "DOCKER",
21
17
  * configs: [{
22
18
  * type: "VIRTUAL",
23
19
  * upstreamProxies: [
@@ -25,76 +21,74 @@ import * as outputs from "../types/output";
25
21
  * "registry2",
26
22
  * ],
27
23
  * }],
24
+ * identifier: "virtual_docker_registry",
25
+ * description: "Virtual Docker Registry",
26
+ * spaceRef: "accountId/orgId/projectId",
27
+ * packageType: "DOCKER",
28
28
  * parentRef: "accountId/orgId/projectId",
29
29
  * });
30
30
  * // Example of an Upstream Registry with Authentication
31
31
  * const upstreamRegistry = new harness.platform.HarRegistry("upstream_registry", {
32
- * identifier: "upstream_helm_registry",
33
- * description: "Upstream Helm Registry",
34
- * spaceRef: "accountId/orgId/projectId",
35
- * packageType: "HELM",
36
32
  * configs: [{
37
- * type: "UPSTREAM",
38
- * source: "Custom",
39
- * url: "https://helm.sh",
40
33
  * auths: [{
41
34
  * authType: "UserPassword",
42
35
  * userName: "registry_user",
43
36
  * secretIdentifier: "registry_password",
44
37
  * secretSpacePath: "accountId/orgId/projectId",
45
38
  * }],
39
+ * type: "UPSTREAM",
40
+ * source: "Custom",
41
+ * url: "https://helm.sh",
46
42
  * }],
43
+ * identifier: "upstream_helm_registry",
44
+ * description: "Upstream Helm Registry",
45
+ * spaceRef: "accountId/orgId/projectId",
46
+ * packageType: "HELM",
47
47
  * parentRef: "accountId/orgId/projectId",
48
48
  * });
49
49
  * // Example of an Upstream Go Registry (GoProxy source needs no url)
50
50
  * const goUpstream = new harness.platform.HarRegistry("go_upstream", {
51
- * identifier: "upstream_go_registry",
52
- * description: "Upstream Go Registry",
53
- * spaceRef: "accountId/orgId/projectId",
54
- * packageType: "GO",
55
51
  * configs: [{
56
52
  * type: "UPSTREAM",
57
53
  * source: "GoProxy",
58
54
  * authType: "Anonymous",
59
55
  * }],
56
+ * identifier: "upstream_go_registry",
57
+ * description: "Upstream Go Registry",
58
+ * spaceRef: "accountId/orgId/projectId",
59
+ * packageType: "GO",
60
60
  * parentRef: "accountId/orgId/projectId",
61
61
  * });
62
62
  * // Example of an Upstream Conda Registry (Anaconda source needs no url)
63
63
  * const condaUpstream = new harness.platform.HarRegistry("conda_upstream", {
64
- * identifier: "upstream_conda_registry",
65
- * description: "Upstream Conda Registry",
66
- * spaceRef: "accountId/orgId/projectId",
67
- * packageType: "CONDA",
68
64
  * configs: [{
69
65
  * type: "UPSTREAM",
70
66
  * source: "Anaconda",
71
67
  * authType: "Anonymous",
72
68
  * }],
69
+ * identifier: "upstream_conda_registry",
70
+ * description: "Upstream Conda Registry",
71
+ * spaceRef: "accountId/orgId/projectId",
72
+ * packageType: "CONDA",
73
73
  * parentRef: "accountId/orgId/projectId",
74
74
  * });
75
75
  * // Example of an Upstream Helm HTTP Registry (HelmChartRepo source requires url)
76
76
  * const helmHttpUpstream = new harness.platform.HarRegistry("helm_http_upstream", {
77
- * identifier: "upstream_helm_http_registry",
78
- * description: "Upstream Helm HTTP Registry",
79
- * spaceRef: "accountId/orgId/projectId",
80
- * packageType: "HELM_HTTP",
81
77
  * configs: [{
82
78
  * type: "UPSTREAM",
83
79
  * source: "HelmChartRepo",
84
80
  * url: "https://charts.bitnami.com/bitnami",
85
81
  * authType: "Anonymous",
86
82
  * }],
83
+ * identifier: "upstream_helm_http_registry",
84
+ * description: "Upstream Helm HTTP Registry",
85
+ * spaceRef: "accountId/orgId/projectId",
86
+ * packageType: "HELM_HTTP",
87
87
  * parentRef: "accountId/orgId/projectId",
88
88
  * });
89
89
  * // Example of a Virtual Debian Registry with Debian-specific configuration
90
90
  * const debianVirtual = new harness.platform.HarRegistry("debian_virtual", {
91
- * identifier: "virtual_debian_registry",
92
- * description: "Virtual Debian Registry",
93
- * spaceRef: "accountId/orgId/projectId",
94
- * packageType: "DEBIAN",
95
91
  * configs: [{
96
- * type: "VIRTUAL",
97
- * upstreamProxies: ["debian_upstream_registry"],
98
92
  * debianConfig: {
99
93
  * remoteIndexedArchitectures: [
100
94
  * "amd64",
@@ -102,29 +96,31 @@ import * as outputs from "../types/output";
102
96
  * ],
103
97
  * optionalIndexCompressionFormats: [".xz"],
104
98
  * },
99
+ * type: "VIRTUAL",
100
+ * upstreamProxies: ["debian_upstream_registry"],
105
101
  * }],
102
+ * identifier: "virtual_debian_registry",
103
+ * description: "Virtual Debian Registry",
104
+ * spaceRef: "accountId/orgId/projectId",
105
+ * packageType: "DEBIAN",
106
106
  * parentRef: "accountId/orgId/projectId",
107
107
  * });
108
108
  * // Example of an Upstream Custom Debian Registry (Debian source needs url)
109
109
  * const debianUpstream = new harness.platform.HarRegistry("debian_upstream", {
110
- * identifier: "upstream_debian_registry",
111
- * description: "Upstream Debian Registry",
112
- * spaceRef: "accountId/orgId/projectId",
113
- * packageType: "DEBIAN",
114
110
  * configs: [{
115
111
  * type: "UPSTREAM",
116
112
  * source: "Custom",
117
113
  * url: "http://deb.debian.org/debian",
118
114
  * authType: "Anonymous",
119
115
  * }],
116
+ * identifier: "upstream_debian_registry",
117
+ * description: "Upstream Debian Registry",
118
+ * spaceRef: "accountId/orgId/projectId",
119
+ * packageType: "DEBIAN",
120
120
  * parentRef: "accountId/orgId/projectId",
121
121
  * });
122
122
  * // Example of an Upstream Python Registry with a custom remote URL suffix
123
123
  * const pythonUpstream = new harness.platform.HarRegistry("python_upstream", {
124
- * identifier: "upstream_python_registry",
125
- * description: "Upstream Python Registry",
126
- * spaceRef: "accountId/orgId/projectId",
127
- * packageType: "PYTHON",
128
124
  * configs: [{
129
125
  * type: "UPSTREAM",
130
126
  * source: "Custom",
@@ -132,115 +128,119 @@ import * as outputs from "../types/output";
132
128
  * remoteUrlSuffix: "simple",
133
129
  * authType: "Anonymous",
134
130
  * }],
131
+ * identifier: "upstream_python_registry",
132
+ * description: "Upstream Python Registry",
133
+ * spaceRef: "accountId/orgId/projectId",
134
+ * packageType: "PYTHON",
135
135
  * parentRef: "accountId/orgId/projectId",
136
136
  * });
137
137
  * // Example of an Upstream Conan Registry (ConanCenter source needs no url)
138
138
  * const conanUpstream = new harness.platform.HarRegistry("conan_upstream", {
139
- * identifier: "upstream_conan_registry",
140
- * description: "Upstream Conan Registry",
141
- * spaceRef: "accountId/orgId/projectId",
142
- * packageType: "CONAN",
143
139
  * configs: [{
144
140
  * type: "UPSTREAM",
145
141
  * source: "ConanCenter",
146
142
  * authType: "Anonymous",
147
143
  * }],
144
+ * identifier: "upstream_conan_registry",
145
+ * description: "Upstream Conan Registry",
146
+ * spaceRef: "accountId/orgId/projectId",
147
+ * packageType: "CONAN",
148
148
  * parentRef: "accountId/orgId/projectId",
149
149
  * });
150
150
  * // Example of an Upstream Ruby Registry (RubyGems source needs no url)
151
151
  * const rubygemsUpstream = new harness.platform.HarRegistry("rubygems_upstream", {
152
- * identifier: "upstream_ruby_registry",
153
- * description: "Upstream Ruby Registry",
154
- * spaceRef: "accountId/orgId/projectId",
155
- * packageType: "RUBY",
156
152
  * configs: [{
157
153
  * type: "UPSTREAM",
158
154
  * source: "RubyGems",
159
155
  * authType: "Anonymous",
160
156
  * }],
157
+ * identifier: "upstream_ruby_registry",
158
+ * description: "Upstream Ruby Registry",
159
+ * spaceRef: "accountId/orgId/projectId",
160
+ * packageType: "RUBY",
161
161
  * parentRef: "accountId/orgId/projectId",
162
162
  * });
163
163
  * // Example of a Virtual Terraform Registry
164
164
  * const terraformVirtual = new harness.platform.HarRegistry("terraform_virtual", {
165
+ * configs: [{
166
+ * type: "VIRTUAL",
167
+ * }],
165
168
  * identifier: "virtual_terraform_registry",
166
169
  * description: "Virtual Terraform Registry",
167
170
  * spaceRef: "accountId/orgId/projectId",
168
171
  * packageType: "TERRAFORM",
169
- * configs: [{
170
- * type: "VIRTUAL",
171
- * }],
172
172
  * parentRef: "accountId/orgId/projectId",
173
173
  * });
174
174
  * // Example of a Virtual CRAN Registry
175
175
  * const cranVirtual = new harness.platform.HarRegistry("cran_virtual", {
176
+ * configs: [{
177
+ * type: "VIRTUAL",
178
+ * }],
176
179
  * identifier: "virtual_cran_registry",
177
180
  * description: "Virtual CRAN Registry",
178
181
  * spaceRef: "accountId/orgId/projectId",
179
182
  * packageType: "CRAN",
180
- * configs: [{
181
- * type: "VIRTUAL",
182
- * }],
183
183
  * parentRef: "accountId/orgId/projectId",
184
184
  * });
185
185
  * // Example of an Upstream CRAN Registry (CRAN source needs no url)
186
186
  * const cranUpstream = new harness.platform.HarRegistry("cran_upstream", {
187
- * identifier: "upstream_cran_registry",
188
- * description: "Upstream CRAN Registry",
189
- * spaceRef: "accountId/orgId/projectId",
190
- * packageType: "CRAN",
191
187
  * configs: [{
192
188
  * type: "UPSTREAM",
193
189
  * source: "CRAN",
194
190
  * authType: "Anonymous",
195
191
  * }],
192
+ * identifier: "upstream_cran_registry",
193
+ * description: "Upstream CRAN Registry",
194
+ * spaceRef: "accountId/orgId/projectId",
195
+ * packageType: "CRAN",
196
196
  * parentRef: "accountId/orgId/projectId",
197
197
  * });
198
198
  * // Example of a Virtual Alpine Registry
199
199
  * const alpineVirtual = new harness.platform.HarRegistry("alpine_virtual", {
200
+ * configs: [{
201
+ * type: "VIRTUAL",
202
+ * }],
200
203
  * identifier: "virtual_alpine_registry",
201
204
  * description: "Virtual Alpine Registry",
202
205
  * spaceRef: "accountId/orgId/projectId",
203
206
  * packageType: "ALPINE",
204
- * configs: [{
205
- * type: "VIRTUAL",
206
- * }],
207
207
  * parentRef: "accountId/orgId/projectId",
208
208
  * });
209
209
  * // Example of an Upstream Alpine Registry (Alpine source needs no url)
210
210
  * const alpineUpstream = new harness.platform.HarRegistry("alpine_upstream", {
211
- * identifier: "upstream_alpine_registry",
212
- * description: "Upstream Alpine Registry",
213
- * spaceRef: "accountId/orgId/projectId",
214
- * packageType: "ALPINE",
215
211
  * configs: [{
216
212
  * type: "UPSTREAM",
217
213
  * source: "Alpine",
218
214
  * authType: "Anonymous",
219
215
  * }],
216
+ * identifier: "upstream_alpine_registry",
217
+ * description: "Upstream Alpine Registry",
218
+ * spaceRef: "accountId/orgId/projectId",
219
+ * packageType: "ALPINE",
220
220
  * parentRef: "accountId/orgId/projectId",
221
221
  * });
222
222
  * // Example of a Virtual Wolfi Registry
223
223
  * const wolfiVirtual = new harness.platform.HarRegistry("wolfi_virtual", {
224
+ * configs: [{
225
+ * type: "VIRTUAL",
226
+ * }],
224
227
  * identifier: "virtual_wolfi_registry",
225
228
  * description: "Virtual Wolfi Registry",
226
229
  * spaceRef: "accountId/orgId/projectId",
227
230
  * packageType: "WOLFI",
228
- * configs: [{
229
- * type: "VIRTUAL",
230
- * }],
231
231
  * parentRef: "accountId/orgId/projectId",
232
232
  * });
233
233
  * // Example of an Upstream Wolfi Registry (Wolfi source needs no url)
234
234
  * const wolfiUpstream = new harness.platform.HarRegistry("wolfi_upstream", {
235
- * identifier: "upstream_wolfi_registry",
236
- * description: "Upstream Wolfi Registry",
237
- * spaceRef: "accountId/orgId/projectId",
238
- * packageType: "WOLFI",
239
235
  * configs: [{
240
236
  * type: "UPSTREAM",
241
237
  * source: "Wolfi",
242
238
  * authType: "Anonymous",
243
239
  * }],
240
+ * identifier: "upstream_wolfi_registry",
241
+ * description: "Upstream Wolfi Registry",
242
+ * spaceRef: "accountId/orgId/projectId",
243
+ * packageType: "WOLFI",
244
244
  * parentRef: "accountId/orgId/projectId",
245
245
  * });
246
246
  * ```
@@ -41,10 +41,6 @@ const utilities = __importStar(require("../utilities"));
41
41
  *
42
42
  * // Example of a Virtual Registry
43
43
  * const virtualRegistry = new harness.platform.HarRegistry("virtual_registry", {
44
- * identifier: "virtual_docker_registry",
45
- * description: "Virtual Docker Registry",
46
- * spaceRef: "accountId/orgId/projectId",
47
- * packageType: "DOCKER",
48
44
  * configs: [{
49
45
  * type: "VIRTUAL",
50
46
  * upstreamProxies: [
@@ -52,76 +48,74 @@ const utilities = __importStar(require("../utilities"));
52
48
  * "registry2",
53
49
  * ],
54
50
  * }],
51
+ * identifier: "virtual_docker_registry",
52
+ * description: "Virtual Docker Registry",
53
+ * spaceRef: "accountId/orgId/projectId",
54
+ * packageType: "DOCKER",
55
55
  * parentRef: "accountId/orgId/projectId",
56
56
  * });
57
57
  * // Example of an Upstream Registry with Authentication
58
58
  * const upstreamRegistry = new harness.platform.HarRegistry("upstream_registry", {
59
- * identifier: "upstream_helm_registry",
60
- * description: "Upstream Helm Registry",
61
- * spaceRef: "accountId/orgId/projectId",
62
- * packageType: "HELM",
63
59
  * configs: [{
64
- * type: "UPSTREAM",
65
- * source: "Custom",
66
- * url: "https://helm.sh",
67
60
  * auths: [{
68
61
  * authType: "UserPassword",
69
62
  * userName: "registry_user",
70
63
  * secretIdentifier: "registry_password",
71
64
  * secretSpacePath: "accountId/orgId/projectId",
72
65
  * }],
66
+ * type: "UPSTREAM",
67
+ * source: "Custom",
68
+ * url: "https://helm.sh",
73
69
  * }],
70
+ * identifier: "upstream_helm_registry",
71
+ * description: "Upstream Helm Registry",
72
+ * spaceRef: "accountId/orgId/projectId",
73
+ * packageType: "HELM",
74
74
  * parentRef: "accountId/orgId/projectId",
75
75
  * });
76
76
  * // Example of an Upstream Go Registry (GoProxy source needs no url)
77
77
  * const goUpstream = new harness.platform.HarRegistry("go_upstream", {
78
- * identifier: "upstream_go_registry",
79
- * description: "Upstream Go Registry",
80
- * spaceRef: "accountId/orgId/projectId",
81
- * packageType: "GO",
82
78
  * configs: [{
83
79
  * type: "UPSTREAM",
84
80
  * source: "GoProxy",
85
81
  * authType: "Anonymous",
86
82
  * }],
83
+ * identifier: "upstream_go_registry",
84
+ * description: "Upstream Go Registry",
85
+ * spaceRef: "accountId/orgId/projectId",
86
+ * packageType: "GO",
87
87
  * parentRef: "accountId/orgId/projectId",
88
88
  * });
89
89
  * // Example of an Upstream Conda Registry (Anaconda source needs no url)
90
90
  * const condaUpstream = new harness.platform.HarRegistry("conda_upstream", {
91
- * identifier: "upstream_conda_registry",
92
- * description: "Upstream Conda Registry",
93
- * spaceRef: "accountId/orgId/projectId",
94
- * packageType: "CONDA",
95
91
  * configs: [{
96
92
  * type: "UPSTREAM",
97
93
  * source: "Anaconda",
98
94
  * authType: "Anonymous",
99
95
  * }],
96
+ * identifier: "upstream_conda_registry",
97
+ * description: "Upstream Conda Registry",
98
+ * spaceRef: "accountId/orgId/projectId",
99
+ * packageType: "CONDA",
100
100
  * parentRef: "accountId/orgId/projectId",
101
101
  * });
102
102
  * // Example of an Upstream Helm HTTP Registry (HelmChartRepo source requires url)
103
103
  * const helmHttpUpstream = new harness.platform.HarRegistry("helm_http_upstream", {
104
- * identifier: "upstream_helm_http_registry",
105
- * description: "Upstream Helm HTTP Registry",
106
- * spaceRef: "accountId/orgId/projectId",
107
- * packageType: "HELM_HTTP",
108
104
  * configs: [{
109
105
  * type: "UPSTREAM",
110
106
  * source: "HelmChartRepo",
111
107
  * url: "https://charts.bitnami.com/bitnami",
112
108
  * authType: "Anonymous",
113
109
  * }],
110
+ * identifier: "upstream_helm_http_registry",
111
+ * description: "Upstream Helm HTTP Registry",
112
+ * spaceRef: "accountId/orgId/projectId",
113
+ * packageType: "HELM_HTTP",
114
114
  * parentRef: "accountId/orgId/projectId",
115
115
  * });
116
116
  * // Example of a Virtual Debian Registry with Debian-specific configuration
117
117
  * const debianVirtual = new harness.platform.HarRegistry("debian_virtual", {
118
- * identifier: "virtual_debian_registry",
119
- * description: "Virtual Debian Registry",
120
- * spaceRef: "accountId/orgId/projectId",
121
- * packageType: "DEBIAN",
122
118
  * configs: [{
123
- * type: "VIRTUAL",
124
- * upstreamProxies: ["debian_upstream_registry"],
125
119
  * debianConfig: {
126
120
  * remoteIndexedArchitectures: [
127
121
  * "amd64",
@@ -129,29 +123,31 @@ const utilities = __importStar(require("../utilities"));
129
123
  * ],
130
124
  * optionalIndexCompressionFormats: [".xz"],
131
125
  * },
126
+ * type: "VIRTUAL",
127
+ * upstreamProxies: ["debian_upstream_registry"],
132
128
  * }],
129
+ * identifier: "virtual_debian_registry",
130
+ * description: "Virtual Debian Registry",
131
+ * spaceRef: "accountId/orgId/projectId",
132
+ * packageType: "DEBIAN",
133
133
  * parentRef: "accountId/orgId/projectId",
134
134
  * });
135
135
  * // Example of an Upstream Custom Debian Registry (Debian source needs url)
136
136
  * const debianUpstream = new harness.platform.HarRegistry("debian_upstream", {
137
- * identifier: "upstream_debian_registry",
138
- * description: "Upstream Debian Registry",
139
- * spaceRef: "accountId/orgId/projectId",
140
- * packageType: "DEBIAN",
141
137
  * configs: [{
142
138
  * type: "UPSTREAM",
143
139
  * source: "Custom",
144
140
  * url: "http://deb.debian.org/debian",
145
141
  * authType: "Anonymous",
146
142
  * }],
143
+ * identifier: "upstream_debian_registry",
144
+ * description: "Upstream Debian Registry",
145
+ * spaceRef: "accountId/orgId/projectId",
146
+ * packageType: "DEBIAN",
147
147
  * parentRef: "accountId/orgId/projectId",
148
148
  * });
149
149
  * // Example of an Upstream Python Registry with a custom remote URL suffix
150
150
  * const pythonUpstream = new harness.platform.HarRegistry("python_upstream", {
151
- * identifier: "upstream_python_registry",
152
- * description: "Upstream Python Registry",
153
- * spaceRef: "accountId/orgId/projectId",
154
- * packageType: "PYTHON",
155
151
  * configs: [{
156
152
  * type: "UPSTREAM",
157
153
  * source: "Custom",
@@ -159,115 +155,119 @@ const utilities = __importStar(require("../utilities"));
159
155
  * remoteUrlSuffix: "simple",
160
156
  * authType: "Anonymous",
161
157
  * }],
158
+ * identifier: "upstream_python_registry",
159
+ * description: "Upstream Python Registry",
160
+ * spaceRef: "accountId/orgId/projectId",
161
+ * packageType: "PYTHON",
162
162
  * parentRef: "accountId/orgId/projectId",
163
163
  * });
164
164
  * // Example of an Upstream Conan Registry (ConanCenter source needs no url)
165
165
  * const conanUpstream = new harness.platform.HarRegistry("conan_upstream", {
166
- * identifier: "upstream_conan_registry",
167
- * description: "Upstream Conan Registry",
168
- * spaceRef: "accountId/orgId/projectId",
169
- * packageType: "CONAN",
170
166
  * configs: [{
171
167
  * type: "UPSTREAM",
172
168
  * source: "ConanCenter",
173
169
  * authType: "Anonymous",
174
170
  * }],
171
+ * identifier: "upstream_conan_registry",
172
+ * description: "Upstream Conan Registry",
173
+ * spaceRef: "accountId/orgId/projectId",
174
+ * packageType: "CONAN",
175
175
  * parentRef: "accountId/orgId/projectId",
176
176
  * });
177
177
  * // Example of an Upstream Ruby Registry (RubyGems source needs no url)
178
178
  * const rubygemsUpstream = new harness.platform.HarRegistry("rubygems_upstream", {
179
- * identifier: "upstream_ruby_registry",
180
- * description: "Upstream Ruby Registry",
181
- * spaceRef: "accountId/orgId/projectId",
182
- * packageType: "RUBY",
183
179
  * configs: [{
184
180
  * type: "UPSTREAM",
185
181
  * source: "RubyGems",
186
182
  * authType: "Anonymous",
187
183
  * }],
184
+ * identifier: "upstream_ruby_registry",
185
+ * description: "Upstream Ruby Registry",
186
+ * spaceRef: "accountId/orgId/projectId",
187
+ * packageType: "RUBY",
188
188
  * parentRef: "accountId/orgId/projectId",
189
189
  * });
190
190
  * // Example of a Virtual Terraform Registry
191
191
  * const terraformVirtual = new harness.platform.HarRegistry("terraform_virtual", {
192
+ * configs: [{
193
+ * type: "VIRTUAL",
194
+ * }],
192
195
  * identifier: "virtual_terraform_registry",
193
196
  * description: "Virtual Terraform Registry",
194
197
  * spaceRef: "accountId/orgId/projectId",
195
198
  * packageType: "TERRAFORM",
196
- * configs: [{
197
- * type: "VIRTUAL",
198
- * }],
199
199
  * parentRef: "accountId/orgId/projectId",
200
200
  * });
201
201
  * // Example of a Virtual CRAN Registry
202
202
  * const cranVirtual = new harness.platform.HarRegistry("cran_virtual", {
203
+ * configs: [{
204
+ * type: "VIRTUAL",
205
+ * }],
203
206
  * identifier: "virtual_cran_registry",
204
207
  * description: "Virtual CRAN Registry",
205
208
  * spaceRef: "accountId/orgId/projectId",
206
209
  * packageType: "CRAN",
207
- * configs: [{
208
- * type: "VIRTUAL",
209
- * }],
210
210
  * parentRef: "accountId/orgId/projectId",
211
211
  * });
212
212
  * // Example of an Upstream CRAN Registry (CRAN source needs no url)
213
213
  * const cranUpstream = new harness.platform.HarRegistry("cran_upstream", {
214
- * identifier: "upstream_cran_registry",
215
- * description: "Upstream CRAN Registry",
216
- * spaceRef: "accountId/orgId/projectId",
217
- * packageType: "CRAN",
218
214
  * configs: [{
219
215
  * type: "UPSTREAM",
220
216
  * source: "CRAN",
221
217
  * authType: "Anonymous",
222
218
  * }],
219
+ * identifier: "upstream_cran_registry",
220
+ * description: "Upstream CRAN Registry",
221
+ * spaceRef: "accountId/orgId/projectId",
222
+ * packageType: "CRAN",
223
223
  * parentRef: "accountId/orgId/projectId",
224
224
  * });
225
225
  * // Example of a Virtual Alpine Registry
226
226
  * const alpineVirtual = new harness.platform.HarRegistry("alpine_virtual", {
227
+ * configs: [{
228
+ * type: "VIRTUAL",
229
+ * }],
227
230
  * identifier: "virtual_alpine_registry",
228
231
  * description: "Virtual Alpine Registry",
229
232
  * spaceRef: "accountId/orgId/projectId",
230
233
  * packageType: "ALPINE",
231
- * configs: [{
232
- * type: "VIRTUAL",
233
- * }],
234
234
  * parentRef: "accountId/orgId/projectId",
235
235
  * });
236
236
  * // Example of an Upstream Alpine Registry (Alpine source needs no url)
237
237
  * const alpineUpstream = new harness.platform.HarRegistry("alpine_upstream", {
238
- * identifier: "upstream_alpine_registry",
239
- * description: "Upstream Alpine Registry",
240
- * spaceRef: "accountId/orgId/projectId",
241
- * packageType: "ALPINE",
242
238
  * configs: [{
243
239
  * type: "UPSTREAM",
244
240
  * source: "Alpine",
245
241
  * authType: "Anonymous",
246
242
  * }],
243
+ * identifier: "upstream_alpine_registry",
244
+ * description: "Upstream Alpine Registry",
245
+ * spaceRef: "accountId/orgId/projectId",
246
+ * packageType: "ALPINE",
247
247
  * parentRef: "accountId/orgId/projectId",
248
248
  * });
249
249
  * // Example of a Virtual Wolfi Registry
250
250
  * const wolfiVirtual = new harness.platform.HarRegistry("wolfi_virtual", {
251
+ * configs: [{
252
+ * type: "VIRTUAL",
253
+ * }],
251
254
  * identifier: "virtual_wolfi_registry",
252
255
  * description: "Virtual Wolfi Registry",
253
256
  * spaceRef: "accountId/orgId/projectId",
254
257
  * packageType: "WOLFI",
255
- * configs: [{
256
- * type: "VIRTUAL",
257
- * }],
258
258
  * parentRef: "accountId/orgId/projectId",
259
259
  * });
260
260
  * // Example of an Upstream Wolfi Registry (Wolfi source needs no url)
261
261
  * const wolfiUpstream = new harness.platform.HarRegistry("wolfi_upstream", {
262
- * identifier: "upstream_wolfi_registry",
263
- * description: "Upstream Wolfi Registry",
264
- * spaceRef: "accountId/orgId/projectId",
265
- * packageType: "WOLFI",
266
262
  * configs: [{
267
263
  * type: "UPSTREAM",
268
264
  * source: "Wolfi",
269
265
  * authType: "Anonymous",
270
266
  * }],
267
+ * identifier: "upstream_wolfi_registry",
268
+ * description: "Upstream Wolfi Registry",
269
+ * spaceRef: "accountId/orgId/projectId",
270
+ * packageType: "WOLFI",
271
271
  * parentRef: "accountId/orgId/projectId",
272
272
  * });
273
273
  * ```
@@ -11,30 +11,30 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const manual = new harness.platform.IacmAnsibleInventory("manual", {
14
- * identifier: "my_inventory",
15
- * name: "my-inventory",
16
- * orgId: example.id,
17
- * projectId: exampleHarnessPlatformProject.id,
18
- * type: "manual",
19
- * tags: ["env:prod"],
20
14
  * groups: [{
15
+ * vars: [{
16
+ * key: "ansible_user",
17
+ * value: "ubuntu",
18
+ * valueType: "string",
19
+ * }],
21
20
  * identifier: "web",
22
21
  * name: "web",
23
22
  * hosts: [
24
23
  * "web-1.example.com",
25
24
  * "web-2.example.com",
26
25
  * ],
27
- * vars: [{
28
- * key: "ansible_user",
29
- * value: "ubuntu",
30
- * valueType: "string",
31
- * }],
32
26
  * }],
33
27
  * vars: [{
34
28
  * key: "ansible_port",
35
29
  * value: "22",
36
30
  * valueType: "string",
37
31
  * }],
32
+ * identifier: "my_inventory",
33
+ * name: "my-inventory",
34
+ * orgId: example.id,
35
+ * projectId: exampleHarnessPlatformProject.id,
36
+ * type: "manual",
37
+ * tags: ["env:prod"],
38
38
  * });
39
39
  * ```
40
40
  */