@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.
- package/autostopping/alert.d.ts +2 -2
- package/autostopping/alert.js +2 -2
- package/autostopping/gcpProxy.d.ts +4 -4
- package/autostopping/gcpProxy.js +4 -4
- package/autostopping/ruleEcs.d.ts +4 -4
- package/autostopping/ruleEcs.js +4 -4
- package/autostopping/ruleRds.d.ts +5 -5
- package/autostopping/ruleRds.js +5 -5
- package/autostopping/ruleScaleGroup.d.ts +12 -12
- package/autostopping/ruleScaleGroup.js +12 -12
- package/autostopping/ruleVm.d.ts +22 -22
- package/autostopping/ruleVm.js +22 -22
- package/chaos/actionTemplate.d.ts +55 -55
- package/chaos/actionTemplate.js +55 -55
- package/chaos/experimentTemplate.d.ts +84 -84
- package/chaos/experimentTemplate.js +84 -84
- package/chaos/faultTemplate.d.ts +124 -124
- package/chaos/faultTemplate.js +124 -124
- package/chaos/imageRegistry.d.ts +6 -6
- package/chaos/imageRegistry.js +6 -6
- package/chaos/securityGovernanceCondition.d.ts +19 -19
- package/chaos/securityGovernanceCondition.js +19 -19
- package/chaos/securityGovernanceConditionV3.d.ts +13 -13
- package/chaos/securityGovernanceConditionV3.js +13 -13
- package/chaos/securityGovernanceRule.d.ts +21 -21
- package/chaos/securityGovernanceRule.js +21 -21
- package/chaos/securityGovernanceRuleV3.d.ts +9 -9
- package/chaos/securityGovernanceRuleV3.js +9 -9
- package/cluster/orchestrator.d.ts +1 -1
- package/cluster/orchestrator.js +1 -1
- package/cluster/orchestratorConfig.d.ts +9 -9
- package/cluster/orchestratorConfig.js +9 -9
- package/encryptedText.d.ts +3 -3
- package/encryptedText.js +3 -3
- package/environment.d.ts +7 -7
- package/environment.js +7 -7
- package/infrastructureDefinition.d.ts +13 -13
- package/infrastructureDefinition.js +13 -13
- package/package.json +2 -2
- package/platform/appDynamicsConnector.d.ts +8 -8
- package/platform/appDynamicsConnector.js +8 -8
- package/platform/artifactoryConnector.d.ts +12 -12
- package/platform/artifactoryConnector.js +12 -12
- package/platform/awsCCConnector.d.ts +4 -4
- package/platform/awsCCConnector.js +4 -4
- package/platform/azureCloudCostConnector.d.ts +12 -12
- package/platform/azureCloudCostConnector.js +12 -12
- package/platform/azureCloudProviderConnector.d.ts +31 -31
- package/platform/azureCloudProviderConnector.js +31 -31
- package/platform/bitbucketConnector.d.ts +27 -27
- package/platform/bitbucketConnector.js +27 -27
- package/platform/connectorCustomhealthsource.d.ts +6 -6
- package/platform/connectorCustomhealthsource.js +6 -6
- package/platform/connectorGcpKms.d.ts +15 -15
- package/platform/connectorGcpKms.js +15 -15
- package/platform/connectorRancher.d.ts +3 -3
- package/platform/connectorRancher.js +3 -3
- package/platform/dbSchema.d.ts +32 -32
- package/platform/dbSchema.js +32 -32
- package/platform/elasticsearchConnector.d.ts +8 -8
- package/platform/elasticsearchConnector.js +8 -8
- package/platform/environment.d.ts +11 -11
- package/platform/environment.js +11 -11
- package/platform/environmentClustersMapping.d.ts +6 -6
- package/platform/environmentClustersMapping.js +6 -6
- package/platform/filters.d.ts +4 -4
- package/platform/filters.js +4 -4
- package/platform/gcpCloudCostConnector.d.ts +4 -4
- package/platform/gcpCloudCostConnector.js +4 -4
- package/platform/gcpSecretManagerConnector.d.ts +8 -8
- package/platform/gcpSecretManagerConnector.js +8 -8
- package/platform/getEnvironmentClustersMapping.d.ts +12 -12
- package/platform/getEnvironmentClustersMapping.js +12 -12
- package/platform/getPolicySet.d.ts +8 -8
- package/platform/getPolicySet.js +8 -8
- package/platform/gitOpsAgent.d.ts +4 -4
- package/platform/gitOpsAgent.js +4 -4
- package/platform/gitOpsApplications.d.ts +9 -9
- package/platform/gitOpsApplications.js +9 -9
- package/platform/gitOpsGnupg.d.ts +3 -3
- package/platform/gitOpsGnupg.js +3 -3
- package/platform/gitOpsRepoCert.d.ts +1 -1
- package/platform/gitOpsRepoCert.js +1 -1
- package/platform/gitOpsRepoCred.d.ts +5 -5
- package/platform/gitOpsRepoCred.js +5 -5
- package/platform/gitopsAppProjectMapping.d.ts +12 -0
- package/platform/gitopsAppProjectMapping.d.ts.map +1 -1
- package/platform/gitopsAppProjectMapping.js +2 -0
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsApplicationset.d.ts +59 -59
- package/platform/gitopsApplicationset.js +59 -59
- package/platform/harLifecycleRule.d.ts +20 -20
- package/platform/harLifecycleRule.js +20 -20
- package/platform/harRegistry.d.ts +69 -69
- package/platform/harRegistry.js +69 -69
- package/platform/iacmAnsibleInventory.d.ts +11 -11
- package/platform/iacmAnsibleInventory.js +11 -11
- package/platform/iacmAnsiblePlaybook.d.ts +10 -10
- package/platform/iacmAnsiblePlaybook.js +10 -10
- package/platform/idpScorecard.d.ts +14 -14
- package/platform/idpScorecard.js +14 -14
- package/platform/idpScorecardCheck.d.ts +9 -9
- package/platform/idpScorecardCheck.js +9 -9
- package/platform/infraVariableSet.d.ts +21 -21
- package/platform/infraVariableSet.js +21 -21
- package/platform/infrastructure.d.ts +7 -7
- package/platform/infrastructure.js +7 -7
- package/platform/kubernetesConnector.d.ts +17 -17
- package/platform/kubernetesConnector.js +17 -17
- package/platform/monitoredService.d.ts +123 -123
- package/platform/monitoredService.js +123 -123
- package/platform/notificationRule.d.ts +10 -10
- package/platform/notificationRule.js +10 -10
- package/platform/pipeline.d.ts +9 -9
- package/platform/pipeline.js +9 -9
- package/platform/pipelineCentralNotificationRule.d.ts +22 -22
- package/platform/pipelineCentralNotificationRule.js +22 -22
- package/platform/pipelineFilters.d.ts +43 -43
- package/platform/pipelineFilters.js +43 -43
- package/platform/prometheusConnector.d.ts +6 -6
- package/platform/prometheusConnector.js +6 -6
- package/platform/repo.d.ts +4 -4
- package/platform/repo.js +4 -4
- package/platform/resourceGroup.d.ts +23 -23
- package/platform/resourceGroup.js +23 -23
- package/platform/secretFile.d.ts +10 -10
- package/platform/secretFile.js +10 -10
- package/platform/secretText.d.ts +13 -13
- package/platform/secretText.js +13 -13
- package/platform/secretWinrm.d.ts +89 -89
- package/platform/secretWinrm.js +89 -89
- package/platform/service.d.ts +10 -10
- package/platform/service.js +10 -10
- package/platform/slo.d.ts +17 -17
- package/platform/slo.js +17 -17
- package/platform/splunkConnector.d.ts +11 -11
- package/platform/splunkConnector.js +11 -11
- package/platform/templateFilters.d.ts +4 -4
- package/platform/templateFilters.js +4 -4
- package/platform/usergroup.d.ts +21 -21
- package/platform/usergroup.js +21 -21
- package/platform/variables.d.ts +4 -4
- package/platform/variables.js +4 -4
- package/platform/workspace.d.ts +32 -32
- package/platform/workspace.js +32 -32
- package/platformCcmFilters.d.ts +4 -4
- package/platformCcmFilters.js +4 -4
- package/service/discoveryAgent.d.ts +62 -62
- package/service/discoveryAgent.js +62 -62
- package/service/discoverySetting.d.ts +2 -2
- package/service/discoverySetting.js +2 -2
- package/service/kubernetes.d.ts +4 -4
- package/service/kubernetes.js +4 -4
- package/sshCredential.d.ts +3 -3
- package/sshCredential.js +3 -3
- package/userGroup.d.ts +6 -6
- package/userGroup.js +6 -6
|
@@ -38,36 +38,28 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const projExample = new harness.platform.PipelineCentralNotificationRule("projExample", {
|
|
41
|
-
* identifier: "identifier",
|
|
42
|
-
* name: "name",
|
|
43
|
-
* status: "ENABLED",
|
|
44
|
-
* notificationChannelRefs: ["account.channel"],
|
|
45
|
-
* org: "default",
|
|
46
|
-
* project: "proj0",
|
|
47
41
|
* notificationConditions: [{
|
|
48
|
-
* conditionName: "pipelineRuleProjectConditionName",
|
|
49
42
|
* notificationEventConfigs: [{
|
|
50
|
-
* notificationEntity: "PIPELINE",
|
|
51
|
-
* notificationEvent: "PIPELINE_START",
|
|
52
43
|
* notificationEventDatas: [{
|
|
53
44
|
* type: "PIPELINE",
|
|
54
45
|
* scopeIdentifiers: [],
|
|
55
46
|
* }],
|
|
47
|
+
* notificationEntity: "PIPELINE",
|
|
48
|
+
* notificationEvent: "PIPELINE_START",
|
|
56
49
|
* entityIdentifiers: [],
|
|
57
50
|
* }],
|
|
51
|
+
* conditionName: "pipelineRuleProjectConditionName",
|
|
58
52
|
* }],
|
|
59
|
-
* });
|
|
60
|
-
* const orgExample = new harness.platform.PipelineCentralNotificationRule("orgExample", {
|
|
61
53
|
* identifier: "identifier",
|
|
62
54
|
* name: "name",
|
|
63
55
|
* status: "ENABLED",
|
|
64
|
-
* notificationChannelRefs: ["channel"],
|
|
56
|
+
* notificationChannelRefs: ["account.channel"],
|
|
65
57
|
* org: "default",
|
|
58
|
+
* project: "proj0",
|
|
59
|
+
* });
|
|
60
|
+
* const orgExample = new harness.platform.PipelineCentralNotificationRule("orgExample", {
|
|
66
61
|
* notificationConditions: [{
|
|
67
|
-
* conditionName: "pipelineRuleOrgConditionName",
|
|
68
62
|
* notificationEventConfigs: [{
|
|
69
|
-
* notificationEntity: "PIPELINE",
|
|
70
|
-
* notificationEvent: "PIPELINE_START",
|
|
71
63
|
* notificationEventDatas: [{
|
|
72
64
|
* type: "PIPELINE",
|
|
73
65
|
* scopeIdentifiers: [
|
|
@@ -75,27 +67,35 @@ const utilities = __importStar(require("../utilities"));
|
|
|
75
67
|
* "random",
|
|
76
68
|
* ],
|
|
77
69
|
* }],
|
|
70
|
+
* notificationEntity: "PIPELINE",
|
|
71
|
+
* notificationEvent: "PIPELINE_START",
|
|
78
72
|
* entityIdentifiers: [],
|
|
79
73
|
* }],
|
|
74
|
+
* conditionName: "pipelineRuleOrgConditionName",
|
|
80
75
|
* }],
|
|
81
|
-
* });
|
|
82
|
-
* const accountExample = new harness.platform.PipelineCentralNotificationRule("accountExample", {
|
|
83
76
|
* identifier: "identifier",
|
|
84
77
|
* name: "name",
|
|
85
|
-
* status: "
|
|
86
|
-
* notificationChannelRefs: ["
|
|
78
|
+
* status: "ENABLED",
|
|
79
|
+
* notificationChannelRefs: ["channel"],
|
|
80
|
+
* org: "default",
|
|
81
|
+
* });
|
|
82
|
+
* const accountExample = new harness.platform.PipelineCentralNotificationRule("accountExample", {
|
|
87
83
|
* notificationConditions: [{
|
|
88
|
-
* conditionName: "pipelineRuleConditionName",
|
|
89
84
|
* notificationEventConfigs: [{
|
|
90
|
-
* notificationEntity: "PIPELINE",
|
|
91
|
-
* notificationEvent: "PIPELINE_START",
|
|
92
85
|
* notificationEventDatas: [{
|
|
93
86
|
* type: "PIPELINE",
|
|
94
87
|
* scopeIdentifiers: ["org"],
|
|
95
88
|
* }],
|
|
89
|
+
* notificationEntity: "PIPELINE",
|
|
90
|
+
* notificationEvent: "PIPELINE_START",
|
|
96
91
|
* entityIdentifiers: [],
|
|
97
92
|
* }],
|
|
93
|
+
* conditionName: "pipelineRuleConditionName",
|
|
98
94
|
* }],
|
|
95
|
+
* identifier: "identifier",
|
|
96
|
+
* name: "name",
|
|
97
|
+
* status: "DISABLED",
|
|
98
|
+
* notificationChannelRefs: ["org.channel"],
|
|
99
99
|
* });
|
|
100
100
|
* ```
|
|
101
101
|
*
|
|
@@ -11,11 +11,6 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const test = new harness.platform.PipelineFilters("test", {
|
|
14
|
-
* identifier: "identifier",
|
|
15
|
-
* name: "name",
|
|
16
|
-
* orgId: "org_id",
|
|
17
|
-
* projectId: "project_id",
|
|
18
|
-
* type: "PipelineSetup",
|
|
19
14
|
* filterProperties: {
|
|
20
15
|
* name: "pipeline_name",
|
|
21
16
|
* description: "pipeline_description",
|
|
@@ -25,16 +20,22 @@ import * as outputs from "../types/output";
|
|
|
25
20
|
* ],
|
|
26
21
|
* filterType: "PipelineSetup",
|
|
27
22
|
* },
|
|
28
|
-
* filterVisibility: "EveryOne",
|
|
29
|
-
* });
|
|
30
|
-
* // pipeline execution filter consisiting services (service_identifiers) filter
|
|
31
|
-
* const execution = new harness.platform.PipelineFilters("execution", {
|
|
32
23
|
* identifier: "identifier",
|
|
33
24
|
* name: "name",
|
|
34
25
|
* orgId: "org_id",
|
|
35
26
|
* projectId: "project_id",
|
|
36
27
|
* type: "PipelineSetup",
|
|
28
|
+
* filterVisibility: "EveryOne",
|
|
29
|
+
* });
|
|
30
|
+
* // pipeline execution filter consisiting services (service_identifiers) filter
|
|
31
|
+
* const execution = new harness.platform.PipelineFilters("execution", {
|
|
37
32
|
* filterProperties: {
|
|
33
|
+
* moduleProperties: {
|
|
34
|
+
* cd: {
|
|
35
|
+
* deploymentTypes: "Kubernetes",
|
|
36
|
+
* serviceIdentifiers: ["nginx"],
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
38
39
|
* name: "pipeline_name",
|
|
39
40
|
* description: "pipeline_description",
|
|
40
41
|
* pipelineIdentifiers: [
|
|
@@ -42,34 +43,17 @@ import * as outputs from "../types/output";
|
|
|
42
43
|
* "id2",
|
|
43
44
|
* ],
|
|
44
45
|
* filterType: "PipelineExecution",
|
|
45
|
-
* moduleProperties: {
|
|
46
|
-
* cd: {
|
|
47
|
-
* deploymentTypes: "Kubernetes",
|
|
48
|
-
* serviceIdentifiers: ["nginx"],
|
|
49
|
-
* },
|
|
50
|
-
* },
|
|
51
46
|
* },
|
|
52
|
-
* filterVisibility: "EveryOne",
|
|
53
|
-
* });
|
|
54
|
-
* // pipeline filter with tags
|
|
55
|
-
* const exampleWithTags = new harness.platform.PipelineFilters("example_with_tags", {
|
|
56
47
|
* identifier: "identifier",
|
|
57
48
|
* name: "name",
|
|
58
49
|
* orgId: "org_id",
|
|
59
50
|
* projectId: "project_id",
|
|
60
51
|
* type: "PipelineSetup",
|
|
52
|
+
* filterVisibility: "EveryOne",
|
|
53
|
+
* });
|
|
54
|
+
* // pipeline filter with tags
|
|
55
|
+
* const exampleWithTags = new harness.platform.PipelineFilters("example_with_tags", {
|
|
61
56
|
* filterProperties: {
|
|
62
|
-
* filterType: "PipelineSetup",
|
|
63
|
-
* pipelineTags: [
|
|
64
|
-
* {
|
|
65
|
-
* key: "tag1",
|
|
66
|
-
* value: "123",
|
|
67
|
-
* },
|
|
68
|
-
* {
|
|
69
|
-
* key: "tag2",
|
|
70
|
-
* value: "456",
|
|
71
|
-
* },
|
|
72
|
-
* ],
|
|
73
57
|
* moduleProperties: {
|
|
74
58
|
* cd: {
|
|
75
59
|
* deploymentTypes: "Kubernetes",
|
|
@@ -92,15 +76,34 @@ import * as outputs from "../types/output";
|
|
|
92
76
|
* repoNames: "repo1234",
|
|
93
77
|
* },
|
|
94
78
|
* },
|
|
79
|
+
* filterType: "PipelineSetup",
|
|
80
|
+
* pipelineTags: [
|
|
81
|
+
* {
|
|
82
|
+
* key: "tag1",
|
|
83
|
+
* value: "123",
|
|
84
|
+
* },
|
|
85
|
+
* {
|
|
86
|
+
* key: "tag2",
|
|
87
|
+
* value: "456",
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
95
90
|
* },
|
|
96
|
-
* });
|
|
97
|
-
* const pipelinemoduleproperties = new harness.platform.PipelineFilters("pipelinemoduleproperties", {
|
|
98
91
|
* identifier: "identifier",
|
|
99
92
|
* name: "name",
|
|
100
|
-
* orgId:
|
|
101
|
-
* projectId:
|
|
102
|
-
* type: "
|
|
93
|
+
* orgId: "org_id",
|
|
94
|
+
* projectId: "project_id",
|
|
95
|
+
* type: "PipelineSetup",
|
|
96
|
+
* });
|
|
97
|
+
* const pipelinemoduleproperties = new harness.platform.PipelineFilters("pipelinemoduleproperties", {
|
|
103
98
|
* filterProperties: {
|
|
99
|
+
* moduleProperties: {
|
|
100
|
+
* cd: {
|
|
101
|
+
* serviceDefinitionTypes: "Kubernetes",
|
|
102
|
+
* serviceIdentifiers: ["K8"],
|
|
103
|
+
* environmentIdentifiers: ["dev"],
|
|
104
|
+
* artifactDisplayNames: ["artificatname1"],
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
104
107
|
* filterType: "PipelineExecution",
|
|
105
108
|
* pipelineName: "test",
|
|
106
109
|
* pipelineTags: [
|
|
@@ -113,15 +116,12 @@ import * as outputs from "../types/output";
|
|
|
113
116
|
* value: "v2",
|
|
114
117
|
* },
|
|
115
118
|
* ],
|
|
116
|
-
* moduleProperties: {
|
|
117
|
-
* cd: {
|
|
118
|
-
* serviceDefinitionTypes: "Kubernetes",
|
|
119
|
-
* serviceIdentifiers: ["K8"],
|
|
120
|
-
* environmentIdentifiers: ["dev"],
|
|
121
|
-
* artifactDisplayNames: ["artificatname1"],
|
|
122
|
-
* },
|
|
123
|
-
* },
|
|
124
119
|
* },
|
|
120
|
+
* identifier: "identifier",
|
|
121
|
+
* name: "name",
|
|
122
|
+
* orgId: testHarnessPlatformProject.orgId,
|
|
123
|
+
* projectId: testHarnessPlatformProject.id,
|
|
124
|
+
* type: "PipelineExecution",
|
|
125
125
|
* });
|
|
126
126
|
* ```
|
|
127
127
|
*
|
|
@@ -38,11 +38,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const test = new harness.platform.PipelineFilters("test", {
|
|
41
|
-
* identifier: "identifier",
|
|
42
|
-
* name: "name",
|
|
43
|
-
* orgId: "org_id",
|
|
44
|
-
* projectId: "project_id",
|
|
45
|
-
* type: "PipelineSetup",
|
|
46
41
|
* filterProperties: {
|
|
47
42
|
* name: "pipeline_name",
|
|
48
43
|
* description: "pipeline_description",
|
|
@@ -52,16 +47,22 @@ const utilities = __importStar(require("../utilities"));
|
|
|
52
47
|
* ],
|
|
53
48
|
* filterType: "PipelineSetup",
|
|
54
49
|
* },
|
|
55
|
-
* filterVisibility: "EveryOne",
|
|
56
|
-
* });
|
|
57
|
-
* // pipeline execution filter consisiting services (service_identifiers) filter
|
|
58
|
-
* const execution = new harness.platform.PipelineFilters("execution", {
|
|
59
50
|
* identifier: "identifier",
|
|
60
51
|
* name: "name",
|
|
61
52
|
* orgId: "org_id",
|
|
62
53
|
* projectId: "project_id",
|
|
63
54
|
* type: "PipelineSetup",
|
|
55
|
+
* filterVisibility: "EveryOne",
|
|
56
|
+
* });
|
|
57
|
+
* // pipeline execution filter consisiting services (service_identifiers) filter
|
|
58
|
+
* const execution = new harness.platform.PipelineFilters("execution", {
|
|
64
59
|
* filterProperties: {
|
|
60
|
+
* moduleProperties: {
|
|
61
|
+
* cd: {
|
|
62
|
+
* deploymentTypes: "Kubernetes",
|
|
63
|
+
* serviceIdentifiers: ["nginx"],
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
65
66
|
* name: "pipeline_name",
|
|
66
67
|
* description: "pipeline_description",
|
|
67
68
|
* pipelineIdentifiers: [
|
|
@@ -69,34 +70,17 @@ const utilities = __importStar(require("../utilities"));
|
|
|
69
70
|
* "id2",
|
|
70
71
|
* ],
|
|
71
72
|
* filterType: "PipelineExecution",
|
|
72
|
-
* moduleProperties: {
|
|
73
|
-
* cd: {
|
|
74
|
-
* deploymentTypes: "Kubernetes",
|
|
75
|
-
* serviceIdentifiers: ["nginx"],
|
|
76
|
-
* },
|
|
77
|
-
* },
|
|
78
73
|
* },
|
|
79
|
-
* filterVisibility: "EveryOne",
|
|
80
|
-
* });
|
|
81
|
-
* // pipeline filter with tags
|
|
82
|
-
* const exampleWithTags = new harness.platform.PipelineFilters("example_with_tags", {
|
|
83
74
|
* identifier: "identifier",
|
|
84
75
|
* name: "name",
|
|
85
76
|
* orgId: "org_id",
|
|
86
77
|
* projectId: "project_id",
|
|
87
78
|
* type: "PipelineSetup",
|
|
79
|
+
* filterVisibility: "EveryOne",
|
|
80
|
+
* });
|
|
81
|
+
* // pipeline filter with tags
|
|
82
|
+
* const exampleWithTags = new harness.platform.PipelineFilters("example_with_tags", {
|
|
88
83
|
* filterProperties: {
|
|
89
|
-
* filterType: "PipelineSetup",
|
|
90
|
-
* pipelineTags: [
|
|
91
|
-
* {
|
|
92
|
-
* key: "tag1",
|
|
93
|
-
* value: "123",
|
|
94
|
-
* },
|
|
95
|
-
* {
|
|
96
|
-
* key: "tag2",
|
|
97
|
-
* value: "456",
|
|
98
|
-
* },
|
|
99
|
-
* ],
|
|
100
84
|
* moduleProperties: {
|
|
101
85
|
* cd: {
|
|
102
86
|
* deploymentTypes: "Kubernetes",
|
|
@@ -119,15 +103,34 @@ const utilities = __importStar(require("../utilities"));
|
|
|
119
103
|
* repoNames: "repo1234",
|
|
120
104
|
* },
|
|
121
105
|
* },
|
|
106
|
+
* filterType: "PipelineSetup",
|
|
107
|
+
* pipelineTags: [
|
|
108
|
+
* {
|
|
109
|
+
* key: "tag1",
|
|
110
|
+
* value: "123",
|
|
111
|
+
* },
|
|
112
|
+
* {
|
|
113
|
+
* key: "tag2",
|
|
114
|
+
* value: "456",
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
122
117
|
* },
|
|
123
|
-
* });
|
|
124
|
-
* const pipelinemoduleproperties = new harness.platform.PipelineFilters("pipelinemoduleproperties", {
|
|
125
118
|
* identifier: "identifier",
|
|
126
119
|
* name: "name",
|
|
127
|
-
* orgId:
|
|
128
|
-
* projectId:
|
|
129
|
-
* type: "
|
|
120
|
+
* orgId: "org_id",
|
|
121
|
+
* projectId: "project_id",
|
|
122
|
+
* type: "PipelineSetup",
|
|
123
|
+
* });
|
|
124
|
+
* const pipelinemoduleproperties = new harness.platform.PipelineFilters("pipelinemoduleproperties", {
|
|
130
125
|
* filterProperties: {
|
|
126
|
+
* moduleProperties: {
|
|
127
|
+
* cd: {
|
|
128
|
+
* serviceDefinitionTypes: "Kubernetes",
|
|
129
|
+
* serviceIdentifiers: ["K8"],
|
|
130
|
+
* environmentIdentifiers: ["dev"],
|
|
131
|
+
* artifactDisplayNames: ["artificatname1"],
|
|
132
|
+
* },
|
|
133
|
+
* },
|
|
131
134
|
* filterType: "PipelineExecution",
|
|
132
135
|
* pipelineName: "test",
|
|
133
136
|
* pipelineTags: [
|
|
@@ -140,15 +143,12 @@ const utilities = __importStar(require("../utilities"));
|
|
|
140
143
|
* value: "v2",
|
|
141
144
|
* },
|
|
142
145
|
* ],
|
|
143
|
-
* moduleProperties: {
|
|
144
|
-
* cd: {
|
|
145
|
-
* serviceDefinitionTypes: "Kubernetes",
|
|
146
|
-
* serviceIdentifiers: ["K8"],
|
|
147
|
-
* environmentIdentifiers: ["dev"],
|
|
148
|
-
* artifactDisplayNames: ["artificatname1"],
|
|
149
|
-
* },
|
|
150
|
-
* },
|
|
151
146
|
* },
|
|
147
|
+
* identifier: "identifier",
|
|
148
|
+
* name: "name",
|
|
149
|
+
* orgId: testHarnessPlatformProject.orgId,
|
|
150
|
+
* projectId: testHarnessPlatformProject.id,
|
|
151
|
+
* type: "PipelineExecution",
|
|
152
152
|
* });
|
|
153
153
|
* ```
|
|
154
154
|
*
|
|
@@ -11,6 +11,12 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const example = new harness.platform.PrometheusConnector("example", {
|
|
14
|
+
* headers: [{
|
|
15
|
+
* encryptedValueRef: "account.secret_identifier",
|
|
16
|
+
* valueEncrypted: true,
|
|
17
|
+
* key: "key",
|
|
18
|
+
* value: "value",
|
|
19
|
+
* }],
|
|
14
20
|
* identifier: "idntifier",
|
|
15
21
|
* name: "name",
|
|
16
22
|
* description: "test",
|
|
@@ -19,12 +25,6 @@ import * as outputs from "../types/output";
|
|
|
19
25
|
* delegateSelectors: ["harness-delegate"],
|
|
20
26
|
* userName: "user_name",
|
|
21
27
|
* passwordRef: "account.secret_identifier",
|
|
22
|
-
* headers: [{
|
|
23
|
-
* encryptedValueRef: "account.secret_identifier",
|
|
24
|
-
* valueEncrypted: true,
|
|
25
|
-
* key: "key",
|
|
26
|
-
* value: "value",
|
|
27
|
-
* }],
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
@@ -38,6 +38,12 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.platform.PrometheusConnector("example", {
|
|
41
|
+
* headers: [{
|
|
42
|
+
* encryptedValueRef: "account.secret_identifier",
|
|
43
|
+
* valueEncrypted: true,
|
|
44
|
+
* key: "key",
|
|
45
|
+
* value: "value",
|
|
46
|
+
* }],
|
|
41
47
|
* identifier: "idntifier",
|
|
42
48
|
* name: "name",
|
|
43
49
|
* description: "test",
|
|
@@ -46,12 +52,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
46
52
|
* delegateSelectors: ["harness-delegate"],
|
|
47
53
|
* userName: "user_name",
|
|
48
54
|
* passwordRef: "account.secret_identifier",
|
|
49
|
-
* headers: [{
|
|
50
|
-
* encryptedValueRef: "account.secret_identifier",
|
|
51
|
-
* valueEncrypted: true,
|
|
52
|
-
* key: "key",
|
|
53
|
-
* value: "value",
|
|
54
|
-
* }],
|
|
55
55
|
* });
|
|
56
56
|
* ```
|
|
57
57
|
*
|
package/platform/repo.d.ts
CHANGED
|
@@ -11,15 +11,15 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const test = new harness.platform.Repo("test", {
|
|
14
|
+
* sources: [{
|
|
15
|
+
* repo: "octocat/hello-worId",
|
|
16
|
+
* type: "github",
|
|
17
|
+
* }],
|
|
14
18
|
* identifier: "test_repo_123",
|
|
15
19
|
* orgId: "test_org_123",
|
|
16
20
|
* projectId: "test_project_123",
|
|
17
21
|
* defaultBranch: "main",
|
|
18
22
|
* description: "test_description_123",
|
|
19
|
-
* sources: [{
|
|
20
|
-
* repo: "octocat/hello-worId",
|
|
21
|
-
* type: "github",
|
|
22
|
-
* }],
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
package/platform/repo.js
CHANGED
|
@@ -38,15 +38,15 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const test = new harness.platform.Repo("test", {
|
|
41
|
+
* sources: [{
|
|
42
|
+
* repo: "octocat/hello-worId",
|
|
43
|
+
* type: "github",
|
|
44
|
+
* }],
|
|
41
45
|
* identifier: "test_repo_123",
|
|
42
46
|
* orgId: "test_org_123",
|
|
43
47
|
* projectId: "test_project_123",
|
|
44
48
|
* defaultBranch: "main",
|
|
45
49
|
* description: "test_description_123",
|
|
46
|
-
* sources: [{
|
|
47
|
-
* repo: "octocat/hello-worId",
|
|
48
|
-
* type: "github",
|
|
49
|
-
* }],
|
|
50
50
|
* });
|
|
51
51
|
* ```
|
|
52
52
|
*
|
|
@@ -18,26 +18,26 @@ import * as outputs from "../types/output";
|
|
|
18
18
|
* import * as harness from "@pulumi/harness";
|
|
19
19
|
*
|
|
20
20
|
* const example = new harness.platform.ResourceGroup("example", {
|
|
21
|
-
* identifier: "identifier",
|
|
22
|
-
* name: "name",
|
|
23
|
-
* description: "test",
|
|
24
|
-
* tags: ["foo:bar"],
|
|
25
|
-
* accountId: "account_id",
|
|
26
|
-
* allowedScopeLevels: ["account"],
|
|
27
21
|
* includedScopes: [{
|
|
28
22
|
* filter: "EXCLUDING_CHILD_SCOPES",
|
|
29
23
|
* accountId: "account_id",
|
|
30
24
|
* }],
|
|
31
25
|
* resourceFilters: [{
|
|
32
|
-
* includeAllResources: false,
|
|
33
26
|
* resources: [{
|
|
34
|
-
* resourceType: "CONNECTOR",
|
|
35
27
|
* attributeFilters: [{
|
|
36
28
|
* attributeName: "category",
|
|
37
29
|
* attributeValues: ["CLOUD_COST"],
|
|
38
30
|
* }],
|
|
31
|
+
* resourceType: "CONNECTOR",
|
|
39
32
|
* }],
|
|
33
|
+
* includeAllResources: false,
|
|
40
34
|
* }],
|
|
35
|
+
* identifier: "identifier",
|
|
36
|
+
* name: "name",
|
|
37
|
+
* description: "test",
|
|
38
|
+
* tags: ["foo:bar"],
|
|
39
|
+
* accountId: "account_id",
|
|
40
|
+
* allowedScopeLevels: ["account"],
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
@@ -172,16 +172,11 @@ import * as outputs from "../types/output";
|
|
|
172
172
|
* import * as harness from "@pulumi/harness";
|
|
173
173
|
*
|
|
174
174
|
* const staticExample = new harness.platform.ResourceGroup("static_example", {
|
|
175
|
-
* identifier: "static_rg",
|
|
176
|
-
* name: "Static Resource Group",
|
|
177
|
-
* accountId: "account_id",
|
|
178
|
-
* allowedScopeLevels: ["account"],
|
|
179
175
|
* includedScopes: [{
|
|
180
176
|
* filter: "EXCLUDING_CHILD_SCOPES",
|
|
181
177
|
* accountId: "account_id",
|
|
182
178
|
* }],
|
|
183
179
|
* resourceFilters: [{
|
|
184
|
-
* includeAllResources: false,
|
|
185
180
|
* resources: [{
|
|
186
181
|
* resourceType: "PIPELINE",
|
|
187
182
|
* identifiers: [
|
|
@@ -189,7 +184,12 @@ import * as outputs from "../types/output";
|
|
|
189
184
|
* "pipeline_b",
|
|
190
185
|
* ],
|
|
191
186
|
* }],
|
|
187
|
+
* includeAllResources: false,
|
|
192
188
|
* }],
|
|
189
|
+
* identifier: "static_rg",
|
|
190
|
+
* name: "Static Resource Group",
|
|
191
|
+
* accountId: "account_id",
|
|
192
|
+
* allowedScopeLevels: ["account"],
|
|
193
193
|
* });
|
|
194
194
|
* ```
|
|
195
195
|
*
|
|
@@ -202,11 +202,6 @@ import * as outputs from "../types/output";
|
|
|
202
202
|
* import * as harness from "@pulumi/harness";
|
|
203
203
|
*
|
|
204
204
|
* const allResourcesAccount = new harness.platform.ResourceGroup("all_resources_account", {
|
|
205
|
-
* identifier: "all_resources_account",
|
|
206
|
-
* name: "All Resources - Account Level",
|
|
207
|
-
* description: "Includes all resources at the account scope",
|
|
208
|
-
* accountId: "account_id",
|
|
209
|
-
* allowedScopeLevels: ["account"],
|
|
210
205
|
* includedScopes: [{
|
|
211
206
|
* filter: "EXCLUDING_CHILD_SCOPES",
|
|
212
207
|
* accountId: "account_id",
|
|
@@ -214,6 +209,11 @@ import * as outputs from "../types/output";
|
|
|
214
209
|
* resourceFilters: [{
|
|
215
210
|
* includeAllResources: true,
|
|
216
211
|
* }],
|
|
212
|
+
* identifier: "all_resources_account",
|
|
213
|
+
* name: "All Resources - Account Level",
|
|
214
|
+
* description: "Includes all resources at the account scope",
|
|
215
|
+
* accountId: "account_id",
|
|
216
|
+
* allowedScopeLevels: ["account"],
|
|
217
217
|
* });
|
|
218
218
|
* ```
|
|
219
219
|
*
|
|
@@ -226,20 +226,20 @@ import * as outputs from "../types/output";
|
|
|
226
226
|
* import * as harness from "@pulumi/harness";
|
|
227
227
|
*
|
|
228
228
|
* const dynamicExample = new harness.platform.ResourceGroup("dynamic_example", {
|
|
229
|
-
* identifier: "dynamic_rg",
|
|
230
|
-
* name: "Dynamic Resource Group",
|
|
231
|
-
* accountId: "account_id",
|
|
232
|
-
* allowedScopeLevels: ["account"],
|
|
233
229
|
* includedScopes: [{
|
|
234
230
|
* filter: "INCLUDING_CHILD_SCOPES",
|
|
235
231
|
* accountId: "account_id",
|
|
236
232
|
* }],
|
|
237
233
|
* resourceFilters: [{
|
|
238
|
-
* includeAllResources: false,
|
|
239
234
|
* resources: [{
|
|
240
235
|
* resourceType: "PIPELINE",
|
|
241
236
|
* }],
|
|
237
|
+
* includeAllResources: false,
|
|
242
238
|
* }],
|
|
239
|
+
* identifier: "dynamic_rg",
|
|
240
|
+
* name: "Dynamic Resource Group",
|
|
241
|
+
* accountId: "account_id",
|
|
242
|
+
* allowedScopeLevels: ["account"],
|
|
243
243
|
* });
|
|
244
244
|
* ```
|
|
245
245
|
*
|
|
@@ -45,26 +45,26 @@ const utilities = __importStar(require("../utilities"));
|
|
|
45
45
|
* import * as harness from "@pulumi/harness";
|
|
46
46
|
*
|
|
47
47
|
* const example = new harness.platform.ResourceGroup("example", {
|
|
48
|
-
* identifier: "identifier",
|
|
49
|
-
* name: "name",
|
|
50
|
-
* description: "test",
|
|
51
|
-
* tags: ["foo:bar"],
|
|
52
|
-
* accountId: "account_id",
|
|
53
|
-
* allowedScopeLevels: ["account"],
|
|
54
48
|
* includedScopes: [{
|
|
55
49
|
* filter: "EXCLUDING_CHILD_SCOPES",
|
|
56
50
|
* accountId: "account_id",
|
|
57
51
|
* }],
|
|
58
52
|
* resourceFilters: [{
|
|
59
|
-
* includeAllResources: false,
|
|
60
53
|
* resources: [{
|
|
61
|
-
* resourceType: "CONNECTOR",
|
|
62
54
|
* attributeFilters: [{
|
|
63
55
|
* attributeName: "category",
|
|
64
56
|
* attributeValues: ["CLOUD_COST"],
|
|
65
57
|
* }],
|
|
58
|
+
* resourceType: "CONNECTOR",
|
|
66
59
|
* }],
|
|
60
|
+
* includeAllResources: false,
|
|
67
61
|
* }],
|
|
62
|
+
* identifier: "identifier",
|
|
63
|
+
* name: "name",
|
|
64
|
+
* description: "test",
|
|
65
|
+
* tags: ["foo:bar"],
|
|
66
|
+
* accountId: "account_id",
|
|
67
|
+
* allowedScopeLevels: ["account"],
|
|
68
68
|
* });
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
@@ -199,16 +199,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
199
199
|
* import * as harness from "@pulumi/harness";
|
|
200
200
|
*
|
|
201
201
|
* const staticExample = new harness.platform.ResourceGroup("static_example", {
|
|
202
|
-
* identifier: "static_rg",
|
|
203
|
-
* name: "Static Resource Group",
|
|
204
|
-
* accountId: "account_id",
|
|
205
|
-
* allowedScopeLevels: ["account"],
|
|
206
202
|
* includedScopes: [{
|
|
207
203
|
* filter: "EXCLUDING_CHILD_SCOPES",
|
|
208
204
|
* accountId: "account_id",
|
|
209
205
|
* }],
|
|
210
206
|
* resourceFilters: [{
|
|
211
|
-
* includeAllResources: false,
|
|
212
207
|
* resources: [{
|
|
213
208
|
* resourceType: "PIPELINE",
|
|
214
209
|
* identifiers: [
|
|
@@ -216,7 +211,12 @@ const utilities = __importStar(require("../utilities"));
|
|
|
216
211
|
* "pipeline_b",
|
|
217
212
|
* ],
|
|
218
213
|
* }],
|
|
214
|
+
* includeAllResources: false,
|
|
219
215
|
* }],
|
|
216
|
+
* identifier: "static_rg",
|
|
217
|
+
* name: "Static Resource Group",
|
|
218
|
+
* accountId: "account_id",
|
|
219
|
+
* allowedScopeLevels: ["account"],
|
|
220
220
|
* });
|
|
221
221
|
* ```
|
|
222
222
|
*
|
|
@@ -229,11 +229,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
229
229
|
* import * as harness from "@pulumi/harness";
|
|
230
230
|
*
|
|
231
231
|
* const allResourcesAccount = new harness.platform.ResourceGroup("all_resources_account", {
|
|
232
|
-
* identifier: "all_resources_account",
|
|
233
|
-
* name: "All Resources - Account Level",
|
|
234
|
-
* description: "Includes all resources at the account scope",
|
|
235
|
-
* accountId: "account_id",
|
|
236
|
-
* allowedScopeLevels: ["account"],
|
|
237
232
|
* includedScopes: [{
|
|
238
233
|
* filter: "EXCLUDING_CHILD_SCOPES",
|
|
239
234
|
* accountId: "account_id",
|
|
@@ -241,6 +236,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
241
236
|
* resourceFilters: [{
|
|
242
237
|
* includeAllResources: true,
|
|
243
238
|
* }],
|
|
239
|
+
* identifier: "all_resources_account",
|
|
240
|
+
* name: "All Resources - Account Level",
|
|
241
|
+
* description: "Includes all resources at the account scope",
|
|
242
|
+
* accountId: "account_id",
|
|
243
|
+
* allowedScopeLevels: ["account"],
|
|
244
244
|
* });
|
|
245
245
|
* ```
|
|
246
246
|
*
|
|
@@ -253,20 +253,20 @@ const utilities = __importStar(require("../utilities"));
|
|
|
253
253
|
* import * as harness from "@pulumi/harness";
|
|
254
254
|
*
|
|
255
255
|
* const dynamicExample = new harness.platform.ResourceGroup("dynamic_example", {
|
|
256
|
-
* identifier: "dynamic_rg",
|
|
257
|
-
* name: "Dynamic Resource Group",
|
|
258
|
-
* accountId: "account_id",
|
|
259
|
-
* allowedScopeLevels: ["account"],
|
|
260
256
|
* includedScopes: [{
|
|
261
257
|
* filter: "INCLUDING_CHILD_SCOPES",
|
|
262
258
|
* accountId: "account_id",
|
|
263
259
|
* }],
|
|
264
260
|
* resourceFilters: [{
|
|
265
|
-
* includeAllResources: false,
|
|
266
261
|
* resources: [{
|
|
267
262
|
* resourceType: "PIPELINE",
|
|
268
263
|
* }],
|
|
264
|
+
* includeAllResources: false,
|
|
269
265
|
* }],
|
|
266
|
+
* identifier: "dynamic_rg",
|
|
267
|
+
* name: "Dynamic Resource Group",
|
|
268
|
+
* accountId: "account_id",
|
|
269
|
+
* allowedScopeLevels: ["account"],
|
|
270
270
|
* });
|
|
271
271
|
* ```
|
|
272
272
|
*
|