@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
@@ -40,18 +40,18 @@ const utilities = __importStar(require("../utilities"));
40
40
  * import * as harness from "@pulumi/harness";
41
41
  *
42
42
  * const example = new harness.service.DiscoveryAgent("example", {
43
- * name: "ExampleAgent",
44
- * orgIdentifier: "your_org_id",
45
- * projectIdentifier: "your_project_id",
46
- * environmentIdentifier: "your_environment_id",
47
- * infraIdentifier: "your_infra_id",
48
43
  * configs: [{
49
- * collectorImage: "harness/service-discovery-collector:main-latest",
50
- * logWatcherImage: "harness/chaos-log-watcher:main-latest",
51
44
  * kubernetes: [{
52
45
  * namespace: "harness-sd",
53
46
  * }],
47
+ * collectorImage: "harness/service-discovery-collector:main-latest",
48
+ * logWatcherImage: "harness/chaos-log-watcher:main-latest",
54
49
  * }],
50
+ * name: "ExampleAgent",
51
+ * orgIdentifier: "your_org_id",
52
+ * projectIdentifier: "your_project_id",
53
+ * environmentIdentifier: "your_environment_id",
54
+ * infraIdentifier: "your_infra_id",
55
55
  * });
56
56
  * ```
57
57
  *
@@ -63,62 +63,56 @@ const utilities = __importStar(require("../utilities"));
63
63
  *
64
64
  * // Create a new service discovery agent with minimal configuration
65
65
  * const example = new harness.service.DiscoveryAgent("example", {
66
+ * configs: [{
67
+ * kubernetes: [{
68
+ * namespace: "harness-sd",
69
+ * }],
70
+ * }],
66
71
  * name: "example-agent",
67
72
  * orgIdentifier: orgIdentifier,
68
73
  * projectIdentifier: projectIdentifier,
69
74
  * environmentIdentifier: environmentIdentifier,
70
75
  * infraIdentifier: "example-infra",
76
+ * });
77
+ * // Create a new service discovery agent with node agent enabled
78
+ * const nodeAgent = new harness.service.DiscoveryAgent("node_agent", {
71
79
  * configs: [{
80
+ * datas: [{
81
+ * enableNodeAgent: true,
82
+ * }],
72
83
  * kubernetes: [{
73
84
  * namespace: "harness-sd",
74
85
  * }],
75
86
  * }],
76
- * });
77
- * // Create a new service discovery agent with node agent enabled
78
- * const nodeAgent = new harness.service.DiscoveryAgent("node_agent", {
79
87
  * name: "node-agent-example",
80
88
  * orgIdentifier: orgIdentifier,
81
89
  * projectIdentifier: projectIdentifier,
82
90
  * environmentIdentifier: environmentIdentifier,
83
91
  * infraIdentifier: "node-agent-example",
84
- * configs: [{
85
- * kubernetes: [{
86
- * namespace: "harness-sd",
87
- * }],
88
- * datas: [{
89
- * enableNodeAgent: true,
90
- * }],
91
- * }],
92
92
  * });
93
93
  * // Create a new service discovery agent with full configuration
94
94
  * const fullConfig = new harness.service.DiscoveryAgent("full_config", {
95
- * name: "full-config-example",
96
- * orgIdentifier: orgIdentifier,
97
- * projectIdentifier: projectIdentifier,
98
- * environmentIdentifier: environmentIdentifier,
99
- * infraIdentifier: "full-config-example",
100
- * permanentInstallation: false,
101
- * correlationId: "full-config-correlation-123",
102
95
  * configs: [{
103
- * collectorImage: "harness/service-discovery-collector:main-latest",
104
- * logWatcherImage: "harness/chaos-log-watcher:main-latest",
105
- * skipSecureVerify: false,
96
+ * datas: [{
97
+ * crons: [{
98
+ * expression: "0/10 * * * *",
99
+ * }],
100
+ * enableNodeAgent: true,
101
+ * nodeAgentSelector: "node-role.kubernetes.io/worker=",
102
+ * enableBatchResources: true,
103
+ * enableOrphanedPod: true,
104
+ * namespaceSelector: "environment=dev",
105
+ * collectionWindowInMin: 15,
106
+ * blacklistedNamespaces: [
107
+ * "kube-system",
108
+ * "kube-public",
109
+ * ],
110
+ * observedNamespaces: [
111
+ * "default",
112
+ * "harness",
113
+ * ],
114
+ * }],
106
115
  * kubernetes: [{
107
- * namespace: "harness-sd",
108
- * serviceAccount: "harness-sd-sa",
109
- * imagePullPolicy: "IfNotPresent",
110
- * runAsUser: 2000,
111
- * runAsGroup: 2000,
112
- * labels: {
113
- * app: "service-discovery",
114
- * env: "dev",
115
- * },
116
- * annotations: {
117
- * "example.com/annotation": "value",
118
- * },
119
- * nodeSelector: {
120
- * "kubernetes.io/os": "linux",
121
- * },
122
116
  * resources: [{
123
117
  * limits: {
124
118
  * cpu: "500m",
@@ -135,25 +129,21 @@ const utilities = __importStar(require("../utilities"));
135
129
  * value: "value1",
136
130
  * effect: "NoSchedule",
137
131
  * }],
138
- * }],
139
- * datas: [{
140
- * enableNodeAgent: true,
141
- * nodeAgentSelector: "node-role.kubernetes.io/worker=",
142
- * enableBatchResources: true,
143
- * enableOrphanedPod: true,
144
- * namespaceSelector: "environment=dev",
145
- * collectionWindowInMin: 15,
146
- * blacklistedNamespaces: [
147
- * "kube-system",
148
- * "kube-public",
149
- * ],
150
- * observedNamespaces: [
151
- * "default",
152
- * "harness",
153
- * ],
154
- * crons: [{
155
- * expression: "0/10 * * * *",
156
- * }],
132
+ * namespace: "harness-sd",
133
+ * serviceAccount: "harness-sd-sa",
134
+ * imagePullPolicy: "IfNotPresent",
135
+ * runAsUser: 2000,
136
+ * runAsGroup: 2000,
137
+ * labels: {
138
+ * app: "service-discovery",
139
+ * env: "dev",
140
+ * },
141
+ * annotations: {
142
+ * "example.com/annotation": "value",
143
+ * },
144
+ * nodeSelector: {
145
+ * "kubernetes.io/os": "linux",
146
+ * },
157
147
  * }],
158
148
  * mtls: [{
159
149
  * certPath: "/etc/certs/tls.crt",
@@ -167,7 +157,17 @@ const utilities = __importStar(require("../utilities"));
167
157
  * noProxy: "localhost,127.0.0.1,.svc,.cluster.local",
168
158
  * url: "https://proxy.example.com",
169
159
  * }],
160
+ * collectorImage: "harness/service-discovery-collector:main-latest",
161
+ * logWatcherImage: "harness/chaos-log-watcher:main-latest",
162
+ * skipSecureVerify: false,
170
163
  * }],
164
+ * name: "full-config-example",
165
+ * orgIdentifier: orgIdentifier,
166
+ * projectIdentifier: projectIdentifier,
167
+ * environmentIdentifier: environmentIdentifier,
168
+ * infraIdentifier: "full-config-example",
169
+ * permanentInstallation: false,
170
+ * correlationId: "full-config-correlation-123",
171
171
  * });
172
172
  * ```
173
173
  *
@@ -12,13 +12,13 @@ import * as outputs from "../types/output";
12
12
  *
13
13
  * // Update image registry settings for service discovery
14
14
  * const example = new harness.service.DiscoverySetting("example", {
15
- * orgIdentifier: "sechaosworkshop",
16
- * projectIdentifier: "se1",
17
15
  * imageRegistry: {
18
16
  * account: "<account_name>",
19
17
  * server: "<registry_server>",
20
18
  * secrets: ["<secret_name>"],
21
19
  * },
20
+ * orgIdentifier: "sechaosworkshop",
21
+ * projectIdentifier: "se1",
22
22
  * });
23
23
  * ```
24
24
  */
@@ -39,13 +39,13 @@ const utilities = __importStar(require("../utilities"));
39
39
  *
40
40
  * // Update image registry settings for service discovery
41
41
  * const example = new harness.service.DiscoverySetting("example", {
42
- * orgIdentifier: "sechaosworkshop",
43
- * projectIdentifier: "se1",
44
42
  * imageRegistry: {
45
43
  * account: "<account_name>",
46
44
  * server: "<registry_server>",
47
45
  * secrets: ["<secret_name>"],
48
46
  * },
47
+ * orgIdentifier: "sechaosworkshop",
48
+ * projectIdentifier: "se1",
49
49
  * });
50
50
  * ```
51
51
  */
@@ -12,10 +12,6 @@ import * as outputs from "../types/output";
12
12
  *
13
13
  * const example = new harness.Application("example", {name: "example"});
14
14
  * const exampleKubernetes = new harness.service.Kubernetes("example", {
15
- * appId: example.id,
16
- * name: "k8s-svc",
17
- * helmVersion: "V3",
18
- * description: "Service for deploying Kubernetes manifests",
19
15
  * variables: [
20
16
  * {
21
17
  * name: "test",
@@ -28,6 +24,10 @@ import * as outputs from "../types/output";
28
24
  * type: "TEXT",
29
25
  * },
30
26
  * ],
27
+ * appId: example.id,
28
+ * name: "k8s-svc",
29
+ * helmVersion: "V3",
30
+ * description: "Service for deploying Kubernetes manifests",
31
31
  * });
32
32
  * ```
33
33
  *
@@ -39,10 +39,6 @@ const utilities = __importStar(require("../utilities"));
39
39
  *
40
40
  * const example = new harness.Application("example", {name: "example"});
41
41
  * const exampleKubernetes = new harness.service.Kubernetes("example", {
42
- * appId: example.id,
43
- * name: "k8s-svc",
44
- * helmVersion: "V3",
45
- * description: "Service for deploying Kubernetes manifests",
46
42
  * variables: [
47
43
  * {
48
44
  * name: "test",
@@ -55,6 +51,10 @@ const utilities = __importStar(require("../utilities"));
55
51
  * type: "TEXT",
56
52
  * },
57
53
  * ],
54
+ * appId: example.id,
55
+ * name: "k8s-svc",
56
+ * helmVersion: "V3",
57
+ * description: "Service for deploying Kubernetes manifests",
58
58
  * });
59
59
  * ```
60
60
  *
@@ -24,14 +24,14 @@ import * as outputs from "./types/output";
24
24
  * secretManagerId: secretManager.then(secretManager => secretManager.id),
25
25
  * });
26
26
  * const sshCreds = new harness.SshCredential("ssh_creds", {
27
- * name: "ssh-test",
28
27
  * sshAuthentication: {
29
- * port: 22,
30
- * username: "git",
31
28
  * inlineSsh: {
32
29
  * sshKeyFileId: mySecret.id,
33
30
  * },
31
+ * port: 22,
32
+ * username: "git",
34
33
  * },
34
+ * name: "ssh-test",
35
35
  * }, {
36
36
  * ignoreChanges: ["sshAuthentication"],
37
37
  * });
package/sshCredential.js CHANGED
@@ -51,14 +51,14 @@ const utilities = __importStar(require("./utilities"));
51
51
  * secretManagerId: secretManager.then(secretManager => secretManager.id),
52
52
  * });
53
53
  * const sshCreds = new harness.SshCredential("ssh_creds", {
54
- * name: "ssh-test",
55
54
  * sshAuthentication: {
56
- * port: 22,
57
- * username: "git",
58
55
  * inlineSsh: {
59
56
  * sshKeyFileId: mySecret.id,
60
57
  * },
58
+ * port: 22,
59
+ * username: "git",
61
60
  * },
61
+ * name: "ssh-test",
62
62
  * }, {
63
63
  * ignoreChanges: ["sshAuthentication"],
64
64
  * });
package/userGroup.d.ts CHANGED
@@ -11,13 +11,7 @@ import * as outputs from "./types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const example = new harness.UserGroup("example", {
14
- * name: "example-group",
15
- * description: "This group demonstrates account level and resource level permissions.",
16
14
  * permissions: {
17
- * accountPermissions: [
18
- * "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
19
- * "MANAGE_API_KEYS",
20
- * ],
21
15
  * appPermissions: {
22
16
  * alls: [{
23
17
  * actions: [
@@ -128,7 +122,13 @@ import * as outputs from "./types/output";
128
122
  * },
129
123
  * ],
130
124
  * },
125
+ * accountPermissions: [
126
+ * "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
127
+ * "MANAGE_API_KEYS",
128
+ * ],
131
129
  * },
130
+ * name: "example-group",
131
+ * description: "This group demonstrates account level and resource level permissions.",
132
132
  * });
133
133
  * ```
134
134
  *
package/userGroup.js CHANGED
@@ -38,13 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const example = new harness.UserGroup("example", {
41
- * name: "example-group",
42
- * description: "This group demonstrates account level and resource level permissions.",
43
41
  * permissions: {
44
- * accountPermissions: [
45
- * "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
46
- * "MANAGE_API_KEYS",
47
- * ],
48
42
  * appPermissions: {
49
43
  * alls: [{
50
44
  * actions: [
@@ -155,7 +149,13 @@ const utilities = __importStar(require("./utilities"));
155
149
  * },
156
150
  * ],
157
151
  * },
152
+ * accountPermissions: [
153
+ * "ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
154
+ * "MANAGE_API_KEYS",
155
+ * ],
158
156
  * },
157
+ * name: "example-group",
158
+ * description: "This group demonstrates account level and resource level permissions.",
159
159
  * });
160
160
  * ```
161
161
  *