@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
@@ -12,14 +12,6 @@ import * as outputs from "../types/output";
12
12
  *
13
13
  * // Credentials http (with username + personal access token - UsernameToken)
14
14
  * const usernameToken = new harness.platform.BitbucketConnector("username_token", {
15
- * identifier: "identifier",
16
- * name: "name",
17
- * description: "test",
18
- * tags: ["foo:bar"],
19
- * url: "https://bitbucket.com/account",
20
- * connectionType: "Account",
21
- * validationRepo: "some_repo",
22
- * delegateSelectors: ["harness-delegate"],
23
15
  * credentials: {
24
16
  * http: {
25
17
  * username: "username",
@@ -31,18 +23,18 @@ import * as outputs from "../types/output";
31
23
  * username: "username",
32
24
  * tokenRef: "account.secret_id",
33
25
  * },
34
- * });
35
- * // Credentials http with Bitbucket Cloud Workspace API Token (email + API token)
36
- * // Use this when migrating off Bitbucket app passwords (EOL 2026-06-09).
37
- * const emailApiToken = new harness.platform.BitbucketConnector("email_api_token", {
38
- * identifier: "identifier_email_api_token",
39
- * name: "name_email_api_token",
40
- * description: "Bitbucket Cloud with Workspace API Token",
26
+ * identifier: "identifier",
27
+ * name: "name",
28
+ * description: "test",
41
29
  * tags: ["foo:bar"],
42
- * url: "https://bitbucket.org/my-workspace",
30
+ * url: "https://bitbucket.com/account",
43
31
  * connectionType: "Account",
44
32
  * validationRepo: "some_repo",
45
33
  * delegateSelectors: ["harness-delegate"],
34
+ * });
35
+ * // Credentials http with Bitbucket Cloud Workspace API Token (email + API token)
36
+ * // Use this when migrating off Bitbucket app passwords (EOL 2026-06-09).
37
+ * const emailApiToken = new harness.platform.BitbucketConnector("email_api_token", {
46
38
  * credentials: {
47
39
  * http: {
48
40
  * username: "username",
@@ -54,17 +46,17 @@ import * as outputs from "../types/output";
54
46
  * email: "user@example.com",
55
47
  * tokenRef: "account.api_token_secret",
56
48
  * },
57
- * });
58
- * // Credentials http with Bitbucket repo/project Access Token
59
- * const accessToken = new harness.platform.BitbucketConnector("access_token", {
60
- * identifier: "identifier_access_token",
61
- * name: "name_access_token",
62
- * description: "Bitbucket with Access Token",
49
+ * identifier: "identifier_email_api_token",
50
+ * name: "name_email_api_token",
51
+ * description: "Bitbucket Cloud with Workspace API Token",
63
52
  * tags: ["foo:bar"],
64
53
  * url: "https://bitbucket.org/my-workspace",
65
54
  * connectionType: "Account",
66
55
  * validationRepo: "some_repo",
67
56
  * delegateSelectors: ["harness-delegate"],
57
+ * });
58
+ * // Credentials http with Bitbucket repo/project Access Token
59
+ * const accessToken = new harness.platform.BitbucketConnector("access_token", {
68
60
  * credentials: {
69
61
  * http: {
70
62
  * username: "username",
@@ -75,9 +67,22 @@ import * as outputs from "../types/output";
75
67
  * authType: "AccessToken",
76
68
  * tokenRef: "account.access_token_secret",
77
69
  * },
70
+ * identifier: "identifier_access_token",
71
+ * name: "name_access_token",
72
+ * description: "Bitbucket with Access Token",
73
+ * tags: ["foo:bar"],
74
+ * url: "https://bitbucket.org/my-workspace",
75
+ * connectionType: "Account",
76
+ * validationRepo: "some_repo",
77
+ * delegateSelectors: ["harness-delegate"],
78
78
  * });
79
79
  * // Credentials ssh
80
80
  * const ssh = new harness.platform.BitbucketConnector("ssh", {
81
+ * credentials: {
82
+ * ssh: {
83
+ * sshKeyRef: "account.secret_id",
84
+ * },
85
+ * },
81
86
  * identifier: "identifier_ssh",
82
87
  * name: "name_ssh",
83
88
  * description: "test",
@@ -86,11 +91,6 @@ import * as outputs from "../types/output";
86
91
  * connectionType: "Account",
87
92
  * validationRepo: "some_repo",
88
93
  * delegateSelectors: ["harness-delegate"],
89
- * credentials: {
90
- * ssh: {
91
- * sshKeyRef: "account.secret_id",
92
- * },
93
- * },
94
94
  * });
95
95
  * ```
96
96
  *
@@ -39,14 +39,6 @@ const utilities = __importStar(require("../utilities"));
39
39
  *
40
40
  * // Credentials http (with username + personal access token - UsernameToken)
41
41
  * const usernameToken = new harness.platform.BitbucketConnector("username_token", {
42
- * identifier: "identifier",
43
- * name: "name",
44
- * description: "test",
45
- * tags: ["foo:bar"],
46
- * url: "https://bitbucket.com/account",
47
- * connectionType: "Account",
48
- * validationRepo: "some_repo",
49
- * delegateSelectors: ["harness-delegate"],
50
42
  * credentials: {
51
43
  * http: {
52
44
  * username: "username",
@@ -58,18 +50,18 @@ const utilities = __importStar(require("../utilities"));
58
50
  * username: "username",
59
51
  * tokenRef: "account.secret_id",
60
52
  * },
61
- * });
62
- * // Credentials http with Bitbucket Cloud Workspace API Token (email + API token)
63
- * // Use this when migrating off Bitbucket app passwords (EOL 2026-06-09).
64
- * const emailApiToken = new harness.platform.BitbucketConnector("email_api_token", {
65
- * identifier: "identifier_email_api_token",
66
- * name: "name_email_api_token",
67
- * description: "Bitbucket Cloud with Workspace API Token",
53
+ * identifier: "identifier",
54
+ * name: "name",
55
+ * description: "test",
68
56
  * tags: ["foo:bar"],
69
- * url: "https://bitbucket.org/my-workspace",
57
+ * url: "https://bitbucket.com/account",
70
58
  * connectionType: "Account",
71
59
  * validationRepo: "some_repo",
72
60
  * delegateSelectors: ["harness-delegate"],
61
+ * });
62
+ * // Credentials http with Bitbucket Cloud Workspace API Token (email + API token)
63
+ * // Use this when migrating off Bitbucket app passwords (EOL 2026-06-09).
64
+ * const emailApiToken = new harness.platform.BitbucketConnector("email_api_token", {
73
65
  * credentials: {
74
66
  * http: {
75
67
  * username: "username",
@@ -81,17 +73,17 @@ const utilities = __importStar(require("../utilities"));
81
73
  * email: "user@example.com",
82
74
  * tokenRef: "account.api_token_secret",
83
75
  * },
84
- * });
85
- * // Credentials http with Bitbucket repo/project Access Token
86
- * const accessToken = new harness.platform.BitbucketConnector("access_token", {
87
- * identifier: "identifier_access_token",
88
- * name: "name_access_token",
89
- * description: "Bitbucket with Access Token",
76
+ * identifier: "identifier_email_api_token",
77
+ * name: "name_email_api_token",
78
+ * description: "Bitbucket Cloud with Workspace API Token",
90
79
  * tags: ["foo:bar"],
91
80
  * url: "https://bitbucket.org/my-workspace",
92
81
  * connectionType: "Account",
93
82
  * validationRepo: "some_repo",
94
83
  * delegateSelectors: ["harness-delegate"],
84
+ * });
85
+ * // Credentials http with Bitbucket repo/project Access Token
86
+ * const accessToken = new harness.platform.BitbucketConnector("access_token", {
95
87
  * credentials: {
96
88
  * http: {
97
89
  * username: "username",
@@ -102,9 +94,22 @@ const utilities = __importStar(require("../utilities"));
102
94
  * authType: "AccessToken",
103
95
  * tokenRef: "account.access_token_secret",
104
96
  * },
97
+ * identifier: "identifier_access_token",
98
+ * name: "name_access_token",
99
+ * description: "Bitbucket with Access Token",
100
+ * tags: ["foo:bar"],
101
+ * url: "https://bitbucket.org/my-workspace",
102
+ * connectionType: "Account",
103
+ * validationRepo: "some_repo",
104
+ * delegateSelectors: ["harness-delegate"],
105
105
  * });
106
106
  * // Credentials ssh
107
107
  * const ssh = new harness.platform.BitbucketConnector("ssh", {
108
+ * credentials: {
109
+ * ssh: {
110
+ * sshKeyRef: "account.secret_id",
111
+ * },
112
+ * },
108
113
  * identifier: "identifier_ssh",
109
114
  * name: "name_ssh",
110
115
  * description: "test",
@@ -113,11 +118,6 @@ const utilities = __importStar(require("../utilities"));
113
118
  * connectionType: "Account",
114
119
  * validationRepo: "some_repo",
115
120
  * delegateSelectors: ["harness-delegate"],
116
- * credentials: {
117
- * ssh: {
118
- * sshKeyRef: "account.secret_id",
119
- * },
120
- * },
121
121
  * });
122
122
  * ```
123
123
  *
@@ -12,6 +12,12 @@ import * as outputs from "../types/output";
12
12
  *
13
13
  * // Authentication mechanism as username and password
14
14
  * const test = new harness.platform.ConnectorCustomhealthsource("test", {
15
+ * headers: [{
16
+ * encryptedValueRef: "account.doNotDeleteHSM",
17
+ * valueEncrypted: true,
18
+ * key: "key",
19
+ * value: "value",
20
+ * }],
15
21
  * identifier: "identifier",
16
22
  * name: "name",
17
23
  * description: "test",
@@ -20,12 +26,6 @@ import * as outputs from "../types/output";
20
26
  * delegateSelectors: ["harness-delegate"],
21
27
  * method: "GET",
22
28
  * validationPath: "loki/api/v1/labels",
23
- * headers: [{
24
- * encryptedValueRef: "account.doNotDeleteHSM",
25
- * valueEncrypted: true,
26
- * key: "key",
27
- * value: "value",
28
- * }],
29
29
  * });
30
30
  * ```
31
31
  *
@@ -39,6 +39,12 @@ const utilities = __importStar(require("../utilities"));
39
39
  *
40
40
  * // Authentication mechanism as username and password
41
41
  * const test = new harness.platform.ConnectorCustomhealthsource("test", {
42
+ * headers: [{
43
+ * encryptedValueRef: "account.doNotDeleteHSM",
44
+ * valueEncrypted: true,
45
+ * key: "key",
46
+ * value: "value",
47
+ * }],
42
48
  * identifier: "identifier",
43
49
  * name: "name",
44
50
  * description: "test",
@@ -47,12 +53,6 @@ const utilities = __importStar(require("../utilities"));
47
53
  * delegateSelectors: ["harness-delegate"],
48
54
  * method: "GET",
49
55
  * validationPath: "loki/api/v1/labels",
50
- * headers: [{
51
- * encryptedValueRef: "account.doNotDeleteHSM",
52
- * valueEncrypted: true,
53
- * key: "key",
54
- * value: "value",
55
- * }],
56
56
  * });
57
57
  * ```
58
58
  *
@@ -20,6 +20,10 @@ import * as outputs from "../types/output";
20
20
  * value: "secret",
21
21
  * });
22
22
  * const gcpKmsManual = new harness.platform.ConnectorGcpKms("gcp_kms_manual", {
23
+ * manual: {
24
+ * credentials: pulumi.interpolate`account.${test.id}`,
25
+ * delegateSelectors: ["harness-delegate"],
26
+ * },
23
27
  * identifier: "identifier",
24
28
  * name: "name",
25
29
  * description: "test",
@@ -28,12 +32,14 @@ import * as outputs from "../types/output";
28
32
  * gcpProjectId: "1234567",
29
33
  * keyRing: "key_ring",
30
34
  * keyName: "key_name",
31
- * manual: {
32
- * credentials: pulumi.interpolate`account.${test.id}`,
33
- * delegateSelectors: ["harness-delegate"],
34
- * },
35
35
  * });
36
36
  * const gcpKmsOidcPlatform = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_platform", {
37
+ * oidcAuthentications: [{
38
+ * workloadPoolId: "harness-pool-test",
39
+ * providerId: "harness",
40
+ * gcpProjectId: "1234567",
41
+ * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
42
+ * }],
37
43
  * identifier: "identifier",
38
44
  * name: "name",
39
45
  * description: "test",
@@ -43,14 +49,15 @@ import * as outputs from "../types/output";
43
49
  * keyRing: "key_ring",
44
50
  * keyName: "key_name",
45
51
  * executeOnDelegate: false,
52
+ * });
53
+ * const gcpKmsOidcDelegate = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate", {
46
54
  * oidcAuthentications: [{
47
55
  * workloadPoolId: "harness-pool-test",
48
56
  * providerId: "harness",
49
57
  * gcpProjectId: "1234567",
50
58
  * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
59
+ * delegateSelectors: ["harness-delegate"],
51
60
  * }],
52
- * });
53
- * const gcpKmsOidcDelegate = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate", {
54
61
  * identifier: "identifier",
55
62
  * name: "name",
56
63
  * description: "test",
@@ -59,6 +66,8 @@ import * as outputs from "../types/output";
59
66
  * gcpProjectId: "1234567",
60
67
  * keyRing: "key_ring",
61
68
  * keyName: "key_name",
69
+ * });
70
+ * const gcpKmsOidcDelegateDefault = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate_default", {
62
71
  * oidcAuthentications: [{
63
72
  * workloadPoolId: "harness-pool-test",
64
73
  * providerId: "harness",
@@ -66,8 +75,6 @@ import * as outputs from "../types/output";
66
75
  * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
67
76
  * delegateSelectors: ["harness-delegate"],
68
77
  * }],
69
- * });
70
- * const gcpKmsOidcDelegateDefault = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate_default", {
71
78
  * identifier: "identifier",
72
79
  * name: "name",
73
80
  * description: "test",
@@ -77,13 +84,6 @@ import * as outputs from "../types/output";
77
84
  * keyRing: "key_ring",
78
85
  * keyName: "key_name",
79
86
  * "default": true,
80
- * oidcAuthentications: [{
81
- * workloadPoolId: "harness-pool-test",
82
- * providerId: "harness",
83
- * gcpProjectId: "1234567",
84
- * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
85
- * delegateSelectors: ["harness-delegate"],
86
- * }],
87
87
  * });
88
88
  * ```
89
89
  *
@@ -47,6 +47,10 @@ const utilities = __importStar(require("../utilities"));
47
47
  * value: "secret",
48
48
  * });
49
49
  * const gcpKmsManual = new harness.platform.ConnectorGcpKms("gcp_kms_manual", {
50
+ * manual: {
51
+ * credentials: pulumi.interpolate`account.${test.id}`,
52
+ * delegateSelectors: ["harness-delegate"],
53
+ * },
50
54
  * identifier: "identifier",
51
55
  * name: "name",
52
56
  * description: "test",
@@ -55,12 +59,14 @@ const utilities = __importStar(require("../utilities"));
55
59
  * gcpProjectId: "1234567",
56
60
  * keyRing: "key_ring",
57
61
  * keyName: "key_name",
58
- * manual: {
59
- * credentials: pulumi.interpolate`account.${test.id}`,
60
- * delegateSelectors: ["harness-delegate"],
61
- * },
62
62
  * });
63
63
  * const gcpKmsOidcPlatform = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_platform", {
64
+ * oidcAuthentications: [{
65
+ * workloadPoolId: "harness-pool-test",
66
+ * providerId: "harness",
67
+ * gcpProjectId: "1234567",
68
+ * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
69
+ * }],
64
70
  * identifier: "identifier",
65
71
  * name: "name",
66
72
  * description: "test",
@@ -70,14 +76,15 @@ const utilities = __importStar(require("../utilities"));
70
76
  * keyRing: "key_ring",
71
77
  * keyName: "key_name",
72
78
  * executeOnDelegate: false,
79
+ * });
80
+ * const gcpKmsOidcDelegate = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate", {
73
81
  * oidcAuthentications: [{
74
82
  * workloadPoolId: "harness-pool-test",
75
83
  * providerId: "harness",
76
84
  * gcpProjectId: "1234567",
77
85
  * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
86
+ * delegateSelectors: ["harness-delegate"],
78
87
  * }],
79
- * });
80
- * const gcpKmsOidcDelegate = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate", {
81
88
  * identifier: "identifier",
82
89
  * name: "name",
83
90
  * description: "test",
@@ -86,6 +93,8 @@ const utilities = __importStar(require("../utilities"));
86
93
  * gcpProjectId: "1234567",
87
94
  * keyRing: "key_ring",
88
95
  * keyName: "key_name",
96
+ * });
97
+ * const gcpKmsOidcDelegateDefault = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate_default", {
89
98
  * oidcAuthentications: [{
90
99
  * workloadPoolId: "harness-pool-test",
91
100
  * providerId: "harness",
@@ -93,8 +102,6 @@ const utilities = __importStar(require("../utilities"));
93
102
  * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
94
103
  * delegateSelectors: ["harness-delegate"],
95
104
  * }],
96
- * });
97
- * const gcpKmsOidcDelegateDefault = new harness.platform.ConnectorGcpKms("gcp_kms_oidc_delegate_default", {
98
105
  * identifier: "identifier",
99
106
  * name: "name",
100
107
  * description: "test",
@@ -104,13 +111,6 @@ const utilities = __importStar(require("../utilities"));
104
111
  * keyRing: "key_ring",
105
112
  * keyName: "key_name",
106
113
  * "default": true,
107
- * oidcAuthentications: [{
108
- * workloadPoolId: "harness-pool-test",
109
- * providerId: "harness",
110
- * gcpProjectId: "1234567",
111
- * serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
112
- * delegateSelectors: ["harness-delegate"],
113
- * }],
114
114
  * });
115
115
  * ```
116
116
  *
@@ -11,15 +11,15 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const bearerToken = new harness.platform.KubernetesConnector("bearer_token", {
14
+ * bearerToken: [{
15
+ * bearerTokenRef: "account.test_rancher_bearer_token",
16
+ * }],
14
17
  * identifier: "identifier",
15
18
  * name: "name",
16
19
  * description: "description",
17
20
  * tags: ["foo:bar"],
18
21
  * delegateSelectors: ["harness-delegate"],
19
22
  * rancherUrl: "https://rancher.cluster.example",
20
- * bearerToken: [{
21
- * bearerTokenRef: "account.test_rancher_bearer_token",
22
- * }],
23
23
  * });
24
24
  * ```
25
25
  *
@@ -38,15 +38,15 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const bearerToken = new harness.platform.KubernetesConnector("bearer_token", {
41
+ * bearerToken: [{
42
+ * bearerTokenRef: "account.test_rancher_bearer_token",
43
+ * }],
41
44
  * identifier: "identifier",
42
45
  * name: "name",
43
46
  * description: "description",
44
47
  * tags: ["foo:bar"],
45
48
  * delegateSelectors: ["harness-delegate"],
46
49
  * rancherUrl: "https://rancher.cluster.example",
47
- * bearerToken: [{
48
- * bearerTokenRef: "account.test_rancher_bearer_token",
49
- * }],
50
50
  * });
51
51
  * ```
52
52
  *
@@ -11,72 +11,61 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const defaultTypeTest = new harness.platform.DbSchema("default_type_test", {
14
- * identifier: "identifier",
15
- * orgId: "org_id",
16
- * projectId: "project_id",
17
- * name: "name",
18
- * service: "service1",
19
- * tags: [
20
- * "foo:bar",
21
- * "bar:foo",
22
- * ],
23
14
  * schemaSource: {
24
15
  * connector: "gitConnector",
25
16
  * repo: "TestRepo",
26
17
  * location: "db/example-changelog.yaml",
27
18
  * archivePath: "path/to/archive.zip",
28
19
  * },
29
- * });
30
- * const liquibaseRepositoryTest = new harness.platform.DbSchema("liquibase_repository_test", {
31
20
  * identifier: "identifier",
32
21
  * orgId: "org_id",
33
22
  * projectId: "project_id",
34
23
  * name: "name",
35
24
  * service: "service1",
36
- * type: "Repository",
37
- * migrationType: "Liquibase",
38
25
  * tags: [
39
26
  * "foo:bar",
40
27
  * "bar:foo",
41
28
  * ],
29
+ * });
30
+ * const liquibaseRepositoryTest = new harness.platform.DbSchema("liquibase_repository_test", {
42
31
  * schemaSource: {
43
32
  * connector: "gitConnector",
44
33
  * repo: "TestRepo",
45
34
  * location: "db/example-changelog.yaml",
46
35
  * archivePath: "path/to/archive.zip",
47
36
  * },
48
- * });
49
- * const liquibaseScriptTest = new harness.platform.DbSchema("liquibase_script_test", {
50
37
  * identifier: "identifier",
51
38
  * orgId: "org_id",
52
39
  * projectId: "project_id",
53
40
  * name: "name",
54
- * migrationType: "Liquibase",
55
41
  * service: "service1",
56
- * type: "Script",
42
+ * type: "Repository",
43
+ * migrationType: "Liquibase",
57
44
  * tags: [
58
45
  * "foo:bar",
59
46
  * "bar:foo",
60
47
  * ],
48
+ * });
49
+ * const liquibaseScriptTest = new harness.platform.DbSchema("liquibase_script_test", {
61
50
  * changelogScript: {
62
51
  * image: "plugins/image",
63
52
  * command: "echo \\\"hello dbops\\\"",
64
53
  * shell: "sh/bash",
65
54
  * location: "db/example-changelog.yaml",
66
55
  * },
67
- * });
68
- * const flywayRepositoryTest = new harness.platform.DbSchema("flyway_repository_test", {
69
56
  * identifier: "identifier",
70
57
  * orgId: "org_id",
71
58
  * projectId: "project_id",
72
59
  * name: "name",
60
+ * migrationType: "Liquibase",
73
61
  * service: "service1",
74
- * type: "Repository",
75
- * migrationType: "Flyway",
62
+ * type: "Script",
76
63
  * tags: [
77
64
  * "foo:bar",
78
65
  * "bar:foo",
79
66
  * ],
67
+ * });
68
+ * const flywayRepositoryTest = new harness.platform.DbSchema("flyway_repository_test", {
80
69
  * schemaSource: {
81
70
  * connector: "gitConnector",
82
71
  * repo: "TestRepo",
@@ -84,19 +73,19 @@ import * as outputs from "../types/output";
84
73
  * toml: "db/flyway.toml",
85
74
  * archivePath: "path/to/archive.zip",
86
75
  * },
87
- * });
88
- * const flywayScriptTest = new harness.platform.DbSchema("flyway_script_test", {
89
76
  * identifier: "identifier",
90
77
  * orgId: "org_id",
91
78
  * projectId: "project_id",
92
79
  * name: "name",
93
- * migrationType: "Flyway",
94
80
  * service: "service1",
95
- * type: "Script",
81
+ * type: "Repository",
82
+ * migrationType: "Flyway",
96
83
  * tags: [
97
84
  * "foo:bar",
98
85
  * "bar:foo",
99
86
  * ],
87
+ * });
88
+ * const flywayScriptTest = new harness.platform.DbSchema("flyway_script_test", {
100
89
  * changelogScript: {
101
90
  * image: "plugins/image",
102
91
  * command: "echo \\\"hello dbops\\\"",
@@ -104,42 +93,53 @@ import * as outputs from "../types/output";
104
93
  * location: "db/flyway/migrations",
105
94
  * toml: "db/flyway.toml",
106
95
  * },
107
- * });
108
- * const perconaEnabledTest = new harness.platform.DbSchema("percona_enabled_test", {
109
96
  * identifier: "identifier",
110
97
  * orgId: "org_id",
111
98
  * projectId: "project_id",
112
99
  * name: "name",
100
+ * migrationType: "Flyway",
113
101
  * service: "service1",
114
- * type: "Repository",
115
- * migrationType: "Liquibase",
116
- * usePercona: true,
102
+ * type: "Script",
117
103
  * tags: [
118
104
  * "foo:bar",
119
105
  * "bar:foo",
120
106
  * ],
107
+ * });
108
+ * const perconaEnabledTest = new harness.platform.DbSchema("percona_enabled_test", {
121
109
  * schemaSource: {
122
110
  * connector: "gitConnector",
123
111
  * repo: "TestRepo",
124
112
  * location: "db/example-changelog.yaml",
125
113
  * archivePath: "path/to/archive.zip",
126
114
  * },
127
- * });
128
- * const harnessCodeRepo = new harness.platform.DbSchema("harness_code_repo", {
129
115
  * identifier: "identifier",
130
116
  * orgId: "org_id",
131
117
  * projectId: "project_id",
132
118
  * name: "name",
133
119
  * service: "service1",
134
120
  * type: "Repository",
121
+ * migrationType: "Liquibase",
122
+ * usePercona: true,
135
123
  * tags: [
136
124
  * "foo:bar",
137
125
  * "bar:foo",
138
126
  * ],
127
+ * });
128
+ * const harnessCodeRepo = new harness.platform.DbSchema("harness_code_repo", {
139
129
  * schemaSource: {
140
130
  * repo: "my-harness-code-repo",
141
131
  * location: "db/example-changelog.yaml",
142
132
  * },
133
+ * identifier: "identifier",
134
+ * orgId: "org_id",
135
+ * projectId: "project_id",
136
+ * name: "name",
137
+ * service: "service1",
138
+ * type: "Repository",
139
+ * tags: [
140
+ * "foo:bar",
141
+ * "bar:foo",
142
+ * ],
143
143
  * });
144
144
  * ```
145
145
  *