@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
@@ -38,30 +38,30 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const manual = new harness.platform.IacmAnsibleInventory("manual", {
41
- * identifier: "my_inventory",
42
- * name: "my-inventory",
43
- * orgId: example.id,
44
- * projectId: exampleHarnessPlatformProject.id,
45
- * type: "manual",
46
- * tags: ["env:prod"],
47
41
  * groups: [{
42
+ * vars: [{
43
+ * key: "ansible_user",
44
+ * value: "ubuntu",
45
+ * valueType: "string",
46
+ * }],
48
47
  * identifier: "web",
49
48
  * name: "web",
50
49
  * hosts: [
51
50
  * "web-1.example.com",
52
51
  * "web-2.example.com",
53
52
  * ],
54
- * vars: [{
55
- * key: "ansible_user",
56
- * value: "ubuntu",
57
- * valueType: "string",
58
- * }],
59
53
  * }],
60
54
  * vars: [{
61
55
  * key: "ansible_port",
62
56
  * value: "22",
63
57
  * valueType: "string",
64
58
  * }],
59
+ * identifier: "my_inventory",
60
+ * name: "my-inventory",
61
+ * orgId: example.id,
62
+ * projectId: exampleHarnessPlatformProject.id,
63
+ * type: "manual",
64
+ * tags: ["env:prod"],
65
65
  * });
66
66
  * ```
67
67
  */
@@ -11,6 +11,16 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const example = new harness.platform.IacmAnsiblePlaybook("example", {
14
+ * envVars: [{
15
+ * key: "ANSIBLE_CONFIG",
16
+ * value: "ansible.cfg",
17
+ * valueType: "string",
18
+ * }],
19
+ * vars: [{
20
+ * key: "environment",
21
+ * value: "production",
22
+ * valueType: "string",
23
+ * }],
14
24
  * identifier: "my_playbook",
15
25
  * name: "my-playbook",
16
26
  * orgId: exampleHarnessPlatformOrganization.id,
@@ -21,16 +31,6 @@ import * as outputs from "../types/output";
21
31
  * repositoryConnector: "account.my_github_connector",
22
32
  * ansibleGalaxy: true,
23
33
  * tags: ["env:prod"],
24
- * vars: [{
25
- * key: "environment",
26
- * value: "production",
27
- * valueType: "string",
28
- * }],
29
- * envVars: [{
30
- * key: "ANSIBLE_CONFIG",
31
- * value: "ansible.cfg",
32
- * valueType: "string",
33
- * }],
34
34
  * });
35
35
  * ```
36
36
  */
@@ -38,6 +38,16 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const example = new harness.platform.IacmAnsiblePlaybook("example", {
41
+ * envVars: [{
42
+ * key: "ANSIBLE_CONFIG",
43
+ * value: "ansible.cfg",
44
+ * valueType: "string",
45
+ * }],
46
+ * vars: [{
47
+ * key: "environment",
48
+ * value: "production",
49
+ * valueType: "string",
50
+ * }],
41
51
  * identifier: "my_playbook",
42
52
  * name: "my-playbook",
43
53
  * orgId: exampleHarnessPlatformOrganization.id,
@@ -48,16 +58,6 @@ const utilities = __importStar(require("../utilities"));
48
58
  * repositoryConnector: "account.my_github_connector",
49
59
  * ansibleGalaxy: true,
50
60
  * tags: ["env:prod"],
51
- * vars: [{
52
- * key: "environment",
53
- * value: "production",
54
- * valueType: "string",
55
- * }],
56
- * envVars: [{
57
- * key: "ANSIBLE_CONFIG",
58
- * value: "ansible.cfg",
59
- * valueType: "string",
60
- * }],
61
61
  * });
62
62
  * ```
63
63
  */
@@ -11,28 +11,23 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const readme = new harness.platform.IdpScorecardCheck("readme", {
14
- * identifier: "readme_exists",
15
- * name: "README exists",
16
- * description: "Ensure the repository has a README file",
17
- * ruleStrategy: "ALL_OF",
18
- * defaultBehaviour: "FAIL",
19
14
  * rules: [{
20
- * dataSourceIdentifier: "github",
21
- * dataPointIdentifier: "isFileExists",
22
- * operator: "==",
23
- * value: "true",
24
15
  * inputValues: [{
25
16
  * key: "filePath",
26
17
  * value: "README.md",
27
18
  * }],
19
+ * dataSourceIdentifier: "github",
20
+ * dataPointIdentifier: "isFileExists",
21
+ * operator: "==",
22
+ * value: "true",
28
23
  * }],
24
+ * identifier: "readme_exists",
25
+ * name: "README exists",
26
+ * description: "Ensure the repository has a README file",
27
+ * ruleStrategy: "ALL_OF",
28
+ * defaultBehaviour: "FAIL",
29
29
  * });
30
30
  * const gold = new harness.platform.IdpScorecard("gold", {
31
- * identifier: "gold_standard",
32
- * name: "Gold Standard",
33
- * description: "Baseline production quality scorecard",
34
- * published: true,
35
- * weightageStrategy: "EQUAL_WEIGHTS",
36
31
  * filter: {
37
32
  * kind: "component",
38
33
  * type: "service",
@@ -41,6 +36,11 @@ import * as outputs from "../types/output";
41
36
  * identifier: readme.identifier,
42
37
  * custom: true,
43
38
  * }],
39
+ * identifier: "gold_standard",
40
+ * name: "Gold Standard",
41
+ * description: "Baseline production quality scorecard",
42
+ * published: true,
43
+ * weightageStrategy: "EQUAL_WEIGHTS",
44
44
  * });
45
45
  * ```
46
46
  *
@@ -38,28 +38,23 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const readme = new harness.platform.IdpScorecardCheck("readme", {
41
- * identifier: "readme_exists",
42
- * name: "README exists",
43
- * description: "Ensure the repository has a README file",
44
- * ruleStrategy: "ALL_OF",
45
- * defaultBehaviour: "FAIL",
46
41
  * rules: [{
47
- * dataSourceIdentifier: "github",
48
- * dataPointIdentifier: "isFileExists",
49
- * operator: "==",
50
- * value: "true",
51
42
  * inputValues: [{
52
43
  * key: "filePath",
53
44
  * value: "README.md",
54
45
  * }],
46
+ * dataSourceIdentifier: "github",
47
+ * dataPointIdentifier: "isFileExists",
48
+ * operator: "==",
49
+ * value: "true",
55
50
  * }],
51
+ * identifier: "readme_exists",
52
+ * name: "README exists",
53
+ * description: "Ensure the repository has a README file",
54
+ * ruleStrategy: "ALL_OF",
55
+ * defaultBehaviour: "FAIL",
56
56
  * });
57
57
  * const gold = new harness.platform.IdpScorecard("gold", {
58
- * identifier: "gold_standard",
59
- * name: "Gold Standard",
60
- * description: "Baseline production quality scorecard",
61
- * published: true,
62
- * weightageStrategy: "EQUAL_WEIGHTS",
63
58
  * filter: {
64
59
  * kind: "component",
65
60
  * type: "service",
@@ -68,6 +63,11 @@ const utilities = __importStar(require("../utilities"));
68
63
  * identifier: readme.identifier,
69
64
  * custom: true,
70
65
  * }],
66
+ * identifier: "gold_standard",
67
+ * name: "Gold Standard",
68
+ * description: "Baseline production quality scorecard",
69
+ * published: true,
70
+ * weightageStrategy: "EQUAL_WEIGHTS",
71
71
  * });
72
72
  * ```
73
73
  *
@@ -11,22 +11,22 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const readme = new harness.platform.IdpScorecardCheck("readme", {
14
- * identifier: "readme_exists",
15
- * name: "README exists",
16
- * description: "Ensure the repository has a README file",
17
- * ruleStrategy: "ALL_OF",
18
- * defaultBehaviour: "FAIL",
19
14
  * rules: [{
15
+ * inputValues: [{
16
+ * key: "filePath",
17
+ * value: "README.md",
18
+ * }],
20
19
  * dataSourceIdentifier: "github",
21
20
  * dataPointIdentifier: "isFileExists",
22
21
  * operator: "==",
23
22
  * value: "true",
24
23
  * ruleDescription: "Repository has a README",
25
- * inputValues: [{
26
- * key: "filePath",
27
- * value: "README.md",
28
- * }],
29
24
  * }],
25
+ * identifier: "readme_exists",
26
+ * name: "README exists",
27
+ * description: "Ensure the repository has a README file",
28
+ * ruleStrategy: "ALL_OF",
29
+ * defaultBehaviour: "FAIL",
30
30
  * });
31
31
  * ```
32
32
  *
@@ -38,22 +38,22 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const readme = new harness.platform.IdpScorecardCheck("readme", {
41
- * identifier: "readme_exists",
42
- * name: "README exists",
43
- * description: "Ensure the repository has a README file",
44
- * ruleStrategy: "ALL_OF",
45
- * defaultBehaviour: "FAIL",
46
41
  * rules: [{
42
+ * inputValues: [{
43
+ * key: "filePath",
44
+ * value: "README.md",
45
+ * }],
47
46
  * dataSourceIdentifier: "github",
48
47
  * dataPointIdentifier: "isFileExists",
49
48
  * operator: "==",
50
49
  * value: "true",
51
50
  * ruleDescription: "Repository has a README",
52
- * inputValues: [{
53
- * key: "filePath",
54
- * value: "README.md",
55
- * }],
56
51
  * }],
52
+ * identifier: "readme_exists",
53
+ * name: "README exists",
54
+ * description: "Ensure the repository has a README file",
55
+ * ruleStrategy: "ALL_OF",
56
+ * defaultBehaviour: "FAIL",
57
57
  * });
58
58
  * ```
59
59
  *
@@ -11,33 +11,26 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const example = new harness.platform.InfraVariableSet("example", {
14
- * identifier: "example",
15
- * name: "example",
16
- * orgId: test.id,
17
- * projectId: testHarnessPlatformProject.id,
18
- * description: "some description",
19
- * environmentVariables: [
14
+ * connectors: [
20
15
  * {
21
- * key: "key1",
22
- * value: "value1",
23
- * valueType: "string",
16
+ * connectorRef: "harness_platform_connector_aws.test.id",
17
+ * type: "aws",
24
18
  * },
25
19
  * {
26
- * key: "key2",
27
- * value: "harness_platform_secret_text.test.id",
28
- * valueType: "secret",
20
+ * connectorRef: "harness_platform_connector_azure.test.id",
21
+ * type: "azure",
29
22
  * },
30
23
  * ],
31
- * terraformVariables: [
24
+ * environmentVariables: [
32
25
  * {
33
26
  * key: "key1",
34
- * value: "1111",
27
+ * value: "value1",
35
28
  * valueType: "string",
36
29
  * },
37
30
  * {
38
31
  * key: "key2",
39
- * value: "1111u",
40
- * valueType: "string",
32
+ * value: "harness_platform_secret_text.test.id",
33
+ * valueType: "secret",
41
34
  * },
42
35
  * ],
43
36
  * terraformVariableFiles: [
@@ -54,16 +47,23 @@ import * as outputs from "../types/output";
54
47
  * repositoryConnector: "harness_platform_connector_github.test.id",
55
48
  * },
56
49
  * ],
57
- * connectors: [
50
+ * terraformVariables: [
58
51
  * {
59
- * connectorRef: "harness_platform_connector_aws.test.id",
60
- * type: "aws",
52
+ * key: "key1",
53
+ * value: "1111",
54
+ * valueType: "string",
61
55
  * },
62
56
  * {
63
- * connectorRef: "harness_platform_connector_azure.test.id",
64
- * type: "azure",
57
+ * key: "key2",
58
+ * value: "1111u",
59
+ * valueType: "string",
65
60
  * },
66
61
  * ],
62
+ * identifier: "example",
63
+ * name: "example",
64
+ * orgId: test.id,
65
+ * projectId: testHarnessPlatformProject.id,
66
+ * description: "some description",
67
67
  * });
68
68
  * ```
69
69
  *
@@ -38,33 +38,26 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const example = new harness.platform.InfraVariableSet("example", {
41
- * identifier: "example",
42
- * name: "example",
43
- * orgId: test.id,
44
- * projectId: testHarnessPlatformProject.id,
45
- * description: "some description",
46
- * environmentVariables: [
41
+ * connectors: [
47
42
  * {
48
- * key: "key1",
49
- * value: "value1",
50
- * valueType: "string",
43
+ * connectorRef: "harness_platform_connector_aws.test.id",
44
+ * type: "aws",
51
45
  * },
52
46
  * {
53
- * key: "key2",
54
- * value: "harness_platform_secret_text.test.id",
55
- * valueType: "secret",
47
+ * connectorRef: "harness_platform_connector_azure.test.id",
48
+ * type: "azure",
56
49
  * },
57
50
  * ],
58
- * terraformVariables: [
51
+ * environmentVariables: [
59
52
  * {
60
53
  * key: "key1",
61
- * value: "1111",
54
+ * value: "value1",
62
55
  * valueType: "string",
63
56
  * },
64
57
  * {
65
58
  * key: "key2",
66
- * value: "1111u",
67
- * valueType: "string",
59
+ * value: "harness_platform_secret_text.test.id",
60
+ * valueType: "secret",
68
61
  * },
69
62
  * ],
70
63
  * terraformVariableFiles: [
@@ -81,16 +74,23 @@ const utilities = __importStar(require("../utilities"));
81
74
  * repositoryConnector: "harness_platform_connector_github.test.id",
82
75
  * },
83
76
  * ],
84
- * connectors: [
77
+ * terraformVariables: [
85
78
  * {
86
- * connectorRef: "harness_platform_connector_aws.test.id",
87
- * type: "aws",
79
+ * key: "key1",
80
+ * value: "1111",
81
+ * valueType: "string",
88
82
  * },
89
83
  * {
90
- * connectorRef: "harness_platform_connector_azure.test.id",
91
- * type: "azure",
84
+ * key: "key2",
85
+ * value: "1111u",
86
+ * valueType: "string",
92
87
  * },
93
88
  * ],
89
+ * identifier: "example",
90
+ * name: "example",
91
+ * orgId: test.id,
92
+ * projectId: testHarnessPlatformProject.id,
93
+ * description: "some description",
94
94
  * });
95
95
  * ```
96
96
  *
@@ -11,13 +11,6 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const example = new harness.platform.Infrastructure("example", {
14
- * identifier: "identifier",
15
- * name: "name",
16
- * orgId: "orgIdentifer",
17
- * projectId: "projectIdentifier",
18
- * envId: "environmentIdentifier",
19
- * type: "KubernetesDirect",
20
- * deploymentType: "Kubernetes",
21
14
  * gitDetails: {
22
15
  * branchName: "branchName",
23
16
  * commitMessage: "commitMessage",
@@ -26,6 +19,13 @@ import * as outputs from "../types/output";
26
19
  * storeType: "REMOTE",
27
20
  * repoName: "repoName",
28
21
  * },
22
+ * identifier: "identifier",
23
+ * name: "name",
24
+ * orgId: "orgIdentifer",
25
+ * projectId: "projectIdentifier",
26
+ * envId: "environmentIdentifier",
27
+ * type: "KubernetesDirect",
28
+ * deploymentType: "Kubernetes",
29
29
  * yaml: `infrastructureDefinition:
30
30
  * name: name
31
31
  * identifier: identifier
@@ -38,13 +38,6 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const example = new harness.platform.Infrastructure("example", {
41
- * identifier: "identifier",
42
- * name: "name",
43
- * orgId: "orgIdentifer",
44
- * projectId: "projectIdentifier",
45
- * envId: "environmentIdentifier",
46
- * type: "KubernetesDirect",
47
- * deploymentType: "Kubernetes",
48
41
  * gitDetails: {
49
42
  * branchName: "branchName",
50
43
  * commitMessage: "commitMessage",
@@ -53,6 +46,13 @@ const utilities = __importStar(require("../utilities"));
53
46
  * storeType: "REMOTE",
54
47
  * repoName: "repoName",
55
48
  * },
49
+ * identifier: "identifier",
50
+ * name: "name",
51
+ * orgId: "orgIdentifer",
52
+ * projectId: "projectIdentifier",
53
+ * envId: "environmentIdentifier",
54
+ * type: "KubernetesDirect",
55
+ * deploymentType: "Kubernetes",
56
56
  * yaml: `infrastructureDefinition:
57
57
  * name: name
58
58
  * identifier: identifier
@@ -11,10 +11,6 @@ import * as outputs from "../types/output";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
13
  * const clientKeyCert = new harness.platform.KubernetesConnector("clientKeyCert", {
14
- * identifier: "identifier",
15
- * name: "name",
16
- * description: "description",
17
- * tags: ["foo:bar"],
18
14
  * clientKeyCert: {
19
15
  * masterUrl: "https://kubernetes.example.com",
20
16
  * caCertRef: "account.TEST_k8ss_client_stuff",
@@ -23,36 +19,36 @@ import * as outputs from "../types/output";
23
19
  * clientKeyPassphraseRef: "account.TEST_k8s_client_test",
24
20
  * clientKeyAlgorithm: "RSA",
25
21
  * },
26
- * delegateSelectors: ["harness-delegate"],
27
- * });
28
- * const usernamePassword = new harness.platform.KubernetesConnector("usernamePassword", {
29
22
  * identifier: "identifier",
30
23
  * name: "name",
31
24
  * description: "description",
32
25
  * tags: ["foo:bar"],
26
+ * delegateSelectors: ["harness-delegate"],
27
+ * });
28
+ * const usernamePassword = new harness.platform.KubernetesConnector("usernamePassword", {
33
29
  * usernamePassword: {
34
30
  * masterUrl: "https://kubernetes.example.com",
35
31
  * username: "admin",
36
32
  * passwordRef: "account.TEST_k8s_client_test",
37
33
  * },
38
- * delegateSelectors: ["harness-delegate"],
39
- * });
40
- * const serviceAccount = new harness.platform.KubernetesConnector("serviceAccount", {
41
34
  * identifier: "identifier",
42
35
  * name: "name",
43
36
  * description: "description",
44
37
  * tags: ["foo:bar"],
38
+ * delegateSelectors: ["harness-delegate"],
39
+ * });
40
+ * const serviceAccount = new harness.platform.KubernetesConnector("serviceAccount", {
45
41
  * serviceAccount: {
46
42
  * masterUrl: "https://kubernetes.example.com",
47
43
  * serviceAccountTokenRef: "account.TEST_k8s_client_test",
48
44
  * },
45
+ * identifier: "identifier",
46
+ * name: "name",
47
+ * description: "description",
48
+ * tags: ["foo:bar"],
49
49
  * delegateSelectors: ["harness-delegate"],
50
50
  * });
51
51
  * const openIDConnect = new harness.platform.KubernetesConnector("openIDConnect", {
52
- * identifier: "%[1]s",
53
- * name: "%[2]s",
54
- * description: "description",
55
- * tags: ["foo:bar"],
56
52
  * openidConnect: {
57
53
  * masterUrl: "https://kubernetes.example.com",
58
54
  * issuerUrl: "https://oidc.example.com",
@@ -65,16 +61,20 @@ import * as outputs from "../types/output";
65
61
  * "scope2",
66
62
  * ],
67
63
  * },
64
+ * identifier: "%[1]s",
65
+ * name: "%[2]s",
66
+ * description: "description",
67
+ * tags: ["foo:bar"],
68
68
  * delegateSelectors: ["harness-delegate"],
69
69
  * });
70
70
  * const inheritFromDelegate = new harness.platform.KubernetesConnector("inheritFromDelegate", {
71
+ * inheritFromDelegate: {
72
+ * delegateSelectors: ["harness-delegate"],
73
+ * },
71
74
  * identifier: "identifier",
72
75
  * name: "name",
73
76
  * description: "description",
74
77
  * tags: ["foo:bar"],
75
- * inheritFromDelegate: {
76
- * delegateSelectors: ["harness-delegate"],
77
- * },
78
78
  * });
79
79
  * ```
80
80
  *
@@ -38,10 +38,6 @@ const utilities = __importStar(require("../utilities"));
38
38
  * import * as harness from "@pulumi/harness";
39
39
  *
40
40
  * const clientKeyCert = new harness.platform.KubernetesConnector("clientKeyCert", {
41
- * identifier: "identifier",
42
- * name: "name",
43
- * description: "description",
44
- * tags: ["foo:bar"],
45
41
  * clientKeyCert: {
46
42
  * masterUrl: "https://kubernetes.example.com",
47
43
  * caCertRef: "account.TEST_k8ss_client_stuff",
@@ -50,36 +46,36 @@ const utilities = __importStar(require("../utilities"));
50
46
  * clientKeyPassphraseRef: "account.TEST_k8s_client_test",
51
47
  * clientKeyAlgorithm: "RSA",
52
48
  * },
53
- * delegateSelectors: ["harness-delegate"],
54
- * });
55
- * const usernamePassword = new harness.platform.KubernetesConnector("usernamePassword", {
56
49
  * identifier: "identifier",
57
50
  * name: "name",
58
51
  * description: "description",
59
52
  * tags: ["foo:bar"],
53
+ * delegateSelectors: ["harness-delegate"],
54
+ * });
55
+ * const usernamePassword = new harness.platform.KubernetesConnector("usernamePassword", {
60
56
  * usernamePassword: {
61
57
  * masterUrl: "https://kubernetes.example.com",
62
58
  * username: "admin",
63
59
  * passwordRef: "account.TEST_k8s_client_test",
64
60
  * },
65
- * delegateSelectors: ["harness-delegate"],
66
- * });
67
- * const serviceAccount = new harness.platform.KubernetesConnector("serviceAccount", {
68
61
  * identifier: "identifier",
69
62
  * name: "name",
70
63
  * description: "description",
71
64
  * tags: ["foo:bar"],
65
+ * delegateSelectors: ["harness-delegate"],
66
+ * });
67
+ * const serviceAccount = new harness.platform.KubernetesConnector("serviceAccount", {
72
68
  * serviceAccount: {
73
69
  * masterUrl: "https://kubernetes.example.com",
74
70
  * serviceAccountTokenRef: "account.TEST_k8s_client_test",
75
71
  * },
72
+ * identifier: "identifier",
73
+ * name: "name",
74
+ * description: "description",
75
+ * tags: ["foo:bar"],
76
76
  * delegateSelectors: ["harness-delegate"],
77
77
  * });
78
78
  * const openIDConnect = new harness.platform.KubernetesConnector("openIDConnect", {
79
- * identifier: "%[1]s",
80
- * name: "%[2]s",
81
- * description: "description",
82
- * tags: ["foo:bar"],
83
79
  * openidConnect: {
84
80
  * masterUrl: "https://kubernetes.example.com",
85
81
  * issuerUrl: "https://oidc.example.com",
@@ -92,16 +88,20 @@ const utilities = __importStar(require("../utilities"));
92
88
  * "scope2",
93
89
  * ],
94
90
  * },
91
+ * identifier: "%[1]s",
92
+ * name: "%[2]s",
93
+ * description: "description",
94
+ * tags: ["foo:bar"],
95
95
  * delegateSelectors: ["harness-delegate"],
96
96
  * });
97
97
  * const inheritFromDelegate = new harness.platform.KubernetesConnector("inheritFromDelegate", {
98
+ * inheritFromDelegate: {
99
+ * delegateSelectors: ["harness-delegate"],
100
+ * },
98
101
  * identifier: "identifier",
99
102
  * name: "name",
100
103
  * description: "description",
101
104
  * tags: ["foo:bar"],
102
- * inheritFromDelegate: {
103
- * delegateSelectors: ["harness-delegate"],
104
- * },
105
105
  * });
106
106
  * ```
107
107
  *