@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.8",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "harness",
|
|
26
|
-
"version": "0.16.
|
|
26
|
+
"version": "0.16.8",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -12,6 +12,10 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* // Authentication mechanism as api token
|
|
14
14
|
* const token = new harness.platform.AppDynamicsConnector("token", {
|
|
15
|
+
* apiToken: {
|
|
16
|
+
* clientId: "client_id",
|
|
17
|
+
* clientSecretRef: "account.secret_id",
|
|
18
|
+
* },
|
|
15
19
|
* identifier: "identifier",
|
|
16
20
|
* name: "name",
|
|
17
21
|
* description: "test",
|
|
@@ -19,13 +23,13 @@ import * as outputs from "../types/output";
|
|
|
19
23
|
* url: "https://appdynamics.com/",
|
|
20
24
|
* accountName: "myaccount",
|
|
21
25
|
* delegateSelectors: ["harness-delegate"],
|
|
22
|
-
* apiToken: {
|
|
23
|
-
* clientId: "client_id",
|
|
24
|
-
* clientSecretRef: "account.secret_id",
|
|
25
|
-
* },
|
|
26
26
|
* });
|
|
27
27
|
* // Authentication mechanism as username and password
|
|
28
28
|
* const test = new harness.platform.AppDynamicsConnector("test", {
|
|
29
|
+
* usernamePassword: {
|
|
30
|
+
* username: "username",
|
|
31
|
+
* passwordRef: "account.secret_id",
|
|
32
|
+
* },
|
|
29
33
|
* identifier: "identifier",
|
|
30
34
|
* name: "name",
|
|
31
35
|
* description: "test",
|
|
@@ -33,10 +37,6 @@ import * as outputs from "../types/output";
|
|
|
33
37
|
* url: "https://appdynamics.com/",
|
|
34
38
|
* accountName: "myaccount",
|
|
35
39
|
* delegateSelectors: ["harness-delegate"],
|
|
36
|
-
* usernamePassword: {
|
|
37
|
-
* username: "username",
|
|
38
|
-
* passwordRef: "account.secret_id",
|
|
39
|
-
* },
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
@@ -39,6 +39,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Authentication mechanism as api token
|
|
41
41
|
* const token = new harness.platform.AppDynamicsConnector("token", {
|
|
42
|
+
* apiToken: {
|
|
43
|
+
* clientId: "client_id",
|
|
44
|
+
* clientSecretRef: "account.secret_id",
|
|
45
|
+
* },
|
|
42
46
|
* identifier: "identifier",
|
|
43
47
|
* name: "name",
|
|
44
48
|
* description: "test",
|
|
@@ -46,13 +50,13 @@ const utilities = __importStar(require("../utilities"));
|
|
|
46
50
|
* url: "https://appdynamics.com/",
|
|
47
51
|
* accountName: "myaccount",
|
|
48
52
|
* delegateSelectors: ["harness-delegate"],
|
|
49
|
-
* apiToken: {
|
|
50
|
-
* clientId: "client_id",
|
|
51
|
-
* clientSecretRef: "account.secret_id",
|
|
52
|
-
* },
|
|
53
53
|
* });
|
|
54
54
|
* // Authentication mechanism as username and password
|
|
55
55
|
* const test = new harness.platform.AppDynamicsConnector("test", {
|
|
56
|
+
* usernamePassword: {
|
|
57
|
+
* username: "username",
|
|
58
|
+
* passwordRef: "account.secret_id",
|
|
59
|
+
* },
|
|
56
60
|
* identifier: "identifier",
|
|
57
61
|
* name: "name",
|
|
58
62
|
* description: "test",
|
|
@@ -60,10 +64,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
60
64
|
* url: "https://appdynamics.com/",
|
|
61
65
|
* accountName: "myaccount",
|
|
62
66
|
* delegateSelectors: ["harness-delegate"],
|
|
63
|
-
* usernamePassword: {
|
|
64
|
-
* username: "username",
|
|
65
|
-
* passwordRef: "account.secret_id",
|
|
66
|
-
* },
|
|
67
67
|
* });
|
|
68
68
|
* ```
|
|
69
69
|
*
|
|
@@ -13,16 +13,16 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
*
|
|
14
14
|
* // Authentication mechanism as username and password
|
|
15
15
|
* const example = new harness.platform.ArtifactoryConnector("example", {
|
|
16
|
+
* credentials: {
|
|
17
|
+
* username: "admin",
|
|
18
|
+
* passwordRef: "account.secret_id",
|
|
19
|
+
* },
|
|
16
20
|
* identifier: "identifier",
|
|
17
21
|
* name: "name",
|
|
18
22
|
* description: "test",
|
|
19
23
|
* tags: ["foo:bar"],
|
|
20
24
|
* url: "https://artifactory.example.com",
|
|
21
25
|
* delegateSelectors: ["harness-delegate"],
|
|
22
|
-
* credentials: {
|
|
23
|
-
* username: "admin",
|
|
24
|
-
* passwordRef: "account.secret_id",
|
|
25
|
-
* },
|
|
26
26
|
* });
|
|
27
27
|
* // Authentication mechanism as anonymous
|
|
28
28
|
* const test = new harness.platform.ArtifactoryConnector("test", {
|
|
@@ -42,6 +42,10 @@ import * as outputs from "../types/output";
|
|
|
42
42
|
*
|
|
43
43
|
* // Authentication mechanism as username and password
|
|
44
44
|
* const example = new harness.platform.ArtifactoryConnector("example", {
|
|
45
|
+
* credentials: {
|
|
46
|
+
* username: "admin",
|
|
47
|
+
* passwordRef: "account.secret_id",
|
|
48
|
+
* },
|
|
45
49
|
* identifier: "identifier",
|
|
46
50
|
* name: "name",
|
|
47
51
|
* description: "test",
|
|
@@ -49,10 +53,6 @@ import * as outputs from "../types/output";
|
|
|
49
53
|
* orgId: testHarnessPlatformProject.orgId,
|
|
50
54
|
* url: "https://artifactory.example.com",
|
|
51
55
|
* delegateSelectors: ["harness-delegate"],
|
|
52
|
-
* credentials: {
|
|
53
|
-
* username: "admin",
|
|
54
|
-
* passwordRef: "account.secret_id",
|
|
55
|
-
* },
|
|
56
56
|
* });
|
|
57
57
|
* // Authentication mechanism as anonymous
|
|
58
58
|
* const test = new harness.platform.ArtifactoryConnector("test", {
|
|
@@ -73,6 +73,10 @@ import * as outputs from "../types/output";
|
|
|
73
73
|
*
|
|
74
74
|
* // Authentication mechanism as username and password
|
|
75
75
|
* const example = new harness.platform.ArtifactoryConnector("example", {
|
|
76
|
+
* credentials: {
|
|
77
|
+
* username: "admin",
|
|
78
|
+
* passwordRef: "account.secret_id",
|
|
79
|
+
* },
|
|
76
80
|
* identifier: "identifier",
|
|
77
81
|
* name: "name",
|
|
78
82
|
* description: "test",
|
|
@@ -81,10 +85,6 @@ import * as outputs from "../types/output";
|
|
|
81
85
|
* projectId: testHarnessPlatformProject.id,
|
|
82
86
|
* url: "https://artifactory.example.com",
|
|
83
87
|
* delegateSelectors: ["harness-delegate"],
|
|
84
|
-
* credentials: {
|
|
85
|
-
* username: "admin",
|
|
86
|
-
* passwordRef: "account.secret_id",
|
|
87
|
-
* },
|
|
88
88
|
* });
|
|
89
89
|
* // Authentication mechanism as anonymous
|
|
90
90
|
* const test = new harness.platform.ArtifactoryConnector("test", {
|
|
@@ -40,16 +40,16 @@ const utilities = __importStar(require("../utilities"));
|
|
|
40
40
|
*
|
|
41
41
|
* // Authentication mechanism as username and password
|
|
42
42
|
* const example = new harness.platform.ArtifactoryConnector("example", {
|
|
43
|
+
* credentials: {
|
|
44
|
+
* username: "admin",
|
|
45
|
+
* passwordRef: "account.secret_id",
|
|
46
|
+
* },
|
|
43
47
|
* identifier: "identifier",
|
|
44
48
|
* name: "name",
|
|
45
49
|
* description: "test",
|
|
46
50
|
* tags: ["foo:bar"],
|
|
47
51
|
* url: "https://artifactory.example.com",
|
|
48
52
|
* delegateSelectors: ["harness-delegate"],
|
|
49
|
-
* credentials: {
|
|
50
|
-
* username: "admin",
|
|
51
|
-
* passwordRef: "account.secret_id",
|
|
52
|
-
* },
|
|
53
53
|
* });
|
|
54
54
|
* // Authentication mechanism as anonymous
|
|
55
55
|
* const test = new harness.platform.ArtifactoryConnector("test", {
|
|
@@ -69,6 +69,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
69
69
|
*
|
|
70
70
|
* // Authentication mechanism as username and password
|
|
71
71
|
* const example = new harness.platform.ArtifactoryConnector("example", {
|
|
72
|
+
* credentials: {
|
|
73
|
+
* username: "admin",
|
|
74
|
+
* passwordRef: "account.secret_id",
|
|
75
|
+
* },
|
|
72
76
|
* identifier: "identifier",
|
|
73
77
|
* name: "name",
|
|
74
78
|
* description: "test",
|
|
@@ -76,10 +80,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
76
80
|
* orgId: testHarnessPlatformProject.orgId,
|
|
77
81
|
* url: "https://artifactory.example.com",
|
|
78
82
|
* delegateSelectors: ["harness-delegate"],
|
|
79
|
-
* credentials: {
|
|
80
|
-
* username: "admin",
|
|
81
|
-
* passwordRef: "account.secret_id",
|
|
82
|
-
* },
|
|
83
83
|
* });
|
|
84
84
|
* // Authentication mechanism as anonymous
|
|
85
85
|
* const test = new harness.platform.ArtifactoryConnector("test", {
|
|
@@ -100,6 +100,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
100
100
|
*
|
|
101
101
|
* // Authentication mechanism as username and password
|
|
102
102
|
* const example = new harness.platform.ArtifactoryConnector("example", {
|
|
103
|
+
* credentials: {
|
|
104
|
+
* username: "admin",
|
|
105
|
+
* passwordRef: "account.secret_id",
|
|
106
|
+
* },
|
|
103
107
|
* identifier: "identifier",
|
|
104
108
|
* name: "name",
|
|
105
109
|
* description: "test",
|
|
@@ -108,10 +112,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
108
112
|
* projectId: testHarnessPlatformProject.id,
|
|
109
113
|
* url: "https://artifactory.example.com",
|
|
110
114
|
* delegateSelectors: ["harness-delegate"],
|
|
111
|
-
* credentials: {
|
|
112
|
-
* username: "admin",
|
|
113
|
-
* passwordRef: "account.secret_id",
|
|
114
|
-
* },
|
|
115
115
|
* });
|
|
116
116
|
* // Authentication mechanism as anonymous
|
|
117
117
|
* const test = new harness.platform.ArtifactoryConnector("test", {
|
|
@@ -11,6 +11,10 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const test = new harness.platform.AwsCCConnector("test", {
|
|
14
|
+
* crossAccountAccess: {
|
|
15
|
+
* roleArn: "role_arn",
|
|
16
|
+
* externalId: "external_id",
|
|
17
|
+
* },
|
|
14
18
|
* identifier: "identifier",
|
|
15
19
|
* name: "name",
|
|
16
20
|
* description: "test",
|
|
@@ -23,10 +27,6 @@ import * as outputs from "../types/output";
|
|
|
23
27
|
* "VISIBILITY",
|
|
24
28
|
* "BILLING",
|
|
25
29
|
* ],
|
|
26
|
-
* crossAccountAccess: {
|
|
27
|
-
* roleArn: "role_arn",
|
|
28
|
-
* externalId: "external_id",
|
|
29
|
-
* },
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
@@ -38,6 +38,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const test = new harness.platform.AwsCCConnector("test", {
|
|
41
|
+
* crossAccountAccess: {
|
|
42
|
+
* roleArn: "role_arn",
|
|
43
|
+
* externalId: "external_id",
|
|
44
|
+
* },
|
|
41
45
|
* identifier: "identifier",
|
|
42
46
|
* name: "name",
|
|
43
47
|
* description: "test",
|
|
@@ -50,10 +54,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
50
54
|
* "VISIBILITY",
|
|
51
55
|
* "BILLING",
|
|
52
56
|
* ],
|
|
53
|
-
* crossAccountAccess: {
|
|
54
|
-
* roleArn: "role_arn",
|
|
55
|
-
* externalId: "external_id",
|
|
56
|
-
* },
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
59
|
*
|
|
@@ -11,18 +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.AzureCloudCostConnector("example", {
|
|
14
|
-
* identifier: "identifier",
|
|
15
|
-
* name: "name",
|
|
16
|
-
* description: "example",
|
|
17
|
-
* tags: ["foo:bar"],
|
|
18
|
-
* featuresEnableds: [
|
|
19
|
-
* "BILLING",
|
|
20
|
-
* "VISIBILITY",
|
|
21
|
-
* "OPTIMIZATION",
|
|
22
|
-
* "GOVERNANCE",
|
|
23
|
-
* ],
|
|
24
|
-
* tenantId: "tenant_id",
|
|
25
|
-
* subscriptionId: "subscription_id",
|
|
26
14
|
* billingExportSpec: {
|
|
27
15
|
* storageAccountName: "storage_account_name",
|
|
28
16
|
* containerName: "container_name",
|
|
@@ -39,6 +27,18 @@ import * as outputs from "../types/output";
|
|
|
39
27
|
* subscriptionId: "subscription_id",
|
|
40
28
|
* billingType: "billing_type",
|
|
41
29
|
* },
|
|
30
|
+
* identifier: "identifier",
|
|
31
|
+
* name: "name",
|
|
32
|
+
* description: "example",
|
|
33
|
+
* tags: ["foo:bar"],
|
|
34
|
+
* featuresEnableds: [
|
|
35
|
+
* "BILLING",
|
|
36
|
+
* "VISIBILITY",
|
|
37
|
+
* "OPTIMIZATION",
|
|
38
|
+
* "GOVERNANCE",
|
|
39
|
+
* ],
|
|
40
|
+
* tenantId: "tenant_id",
|
|
41
|
+
* subscriptionId: "subscription_id",
|
|
42
42
|
* });
|
|
43
43
|
* ```
|
|
44
44
|
*
|
|
@@ -38,18 +38,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.platform.AzureCloudCostConnector("example", {
|
|
41
|
-
* identifier: "identifier",
|
|
42
|
-
* name: "name",
|
|
43
|
-
* description: "example",
|
|
44
|
-
* tags: ["foo:bar"],
|
|
45
|
-
* featuresEnableds: [
|
|
46
|
-
* "BILLING",
|
|
47
|
-
* "VISIBILITY",
|
|
48
|
-
* "OPTIMIZATION",
|
|
49
|
-
* "GOVERNANCE",
|
|
50
|
-
* ],
|
|
51
|
-
* tenantId: "tenant_id",
|
|
52
|
-
* subscriptionId: "subscription_id",
|
|
53
41
|
* billingExportSpec: {
|
|
54
42
|
* storageAccountName: "storage_account_name",
|
|
55
43
|
* containerName: "container_name",
|
|
@@ -66,6 +54,18 @@ const utilities = __importStar(require("../utilities"));
|
|
|
66
54
|
* subscriptionId: "subscription_id",
|
|
67
55
|
* billingType: "billing_type",
|
|
68
56
|
* },
|
|
57
|
+
* identifier: "identifier",
|
|
58
|
+
* name: "name",
|
|
59
|
+
* description: "example",
|
|
60
|
+
* tags: ["foo:bar"],
|
|
61
|
+
* featuresEnableds: [
|
|
62
|
+
* "BILLING",
|
|
63
|
+
* "VISIBILITY",
|
|
64
|
+
* "OPTIMIZATION",
|
|
65
|
+
* "GOVERNANCE",
|
|
66
|
+
* ],
|
|
67
|
+
* tenantId: "tenant_id",
|
|
68
|
+
* subscriptionId: "subscription_id",
|
|
69
69
|
* });
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
@@ -11,54 +11,49 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const manualConfigSecret = new harness.platform.AzureCloudProviderConnector("manual_config_secret", {
|
|
14
|
-
* identifier: "identifier",
|
|
15
|
-
* name: "name",
|
|
16
|
-
* description: "example",
|
|
17
|
-
* tags: ["foo:bar"],
|
|
18
14
|
* credentials: {
|
|
19
|
-
* type: "ManualConfig",
|
|
20
15
|
* azureManualDetails: {
|
|
21
|
-
* applicationId: "application_id",
|
|
22
|
-
* tenantId: "tenant_id",
|
|
23
16
|
* auth: {
|
|
24
|
-
* type: "Secret",
|
|
25
17
|
* azureClientSecretKey: {
|
|
26
18
|
* secretRef: `account.${test.id}`,
|
|
27
19
|
* },
|
|
20
|
+
* type: "Secret",
|
|
28
21
|
* },
|
|
22
|
+
* applicationId: "application_id",
|
|
23
|
+
* tenantId: "tenant_id",
|
|
29
24
|
* },
|
|
25
|
+
* type: "ManualConfig",
|
|
30
26
|
* },
|
|
31
|
-
* azureEnvironmentType: "AZURE",
|
|
32
|
-
* delegateSelectors: ["harness-delegate"],
|
|
33
|
-
* });
|
|
34
|
-
* const manualConfigCertificate = new harness.platform.AzureCloudProviderConnector("manual_config_certificate", {
|
|
35
27
|
* identifier: "identifier",
|
|
36
28
|
* name: "name",
|
|
37
29
|
* description: "example",
|
|
38
30
|
* tags: ["foo:bar"],
|
|
31
|
+
* azureEnvironmentType: "AZURE",
|
|
32
|
+
* delegateSelectors: ["harness-delegate"],
|
|
33
|
+
* });
|
|
34
|
+
* const manualConfigCertificate = new harness.platform.AzureCloudProviderConnector("manual_config_certificate", {
|
|
39
35
|
* credentials: {
|
|
40
|
-
* type: "ManualConfig",
|
|
41
36
|
* azureManualDetails: {
|
|
42
|
-
* applicationId: "application_id",
|
|
43
|
-
* tenantId: "tenant_id",
|
|
44
37
|
* auth: {
|
|
45
|
-
* type: "Certificate",
|
|
46
38
|
* azureClientKeyCert: {
|
|
47
39
|
* certificateRef: `account.${test.id}`,
|
|
48
40
|
* },
|
|
41
|
+
* type: "Certificate",
|
|
49
42
|
* },
|
|
43
|
+
* applicationId: "application_id",
|
|
44
|
+
* tenantId: "tenant_id",
|
|
50
45
|
* },
|
|
46
|
+
* type: "ManualConfig",
|
|
51
47
|
* },
|
|
52
|
-
* azureEnvironmentType: "AZURE",
|
|
53
|
-
* delegateSelectors: ["harness-delegate"],
|
|
54
|
-
* });
|
|
55
|
-
* const inheritFromDelegateUserAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_user_assigned_managed_identity", {
|
|
56
48
|
* identifier: "identifier",
|
|
57
49
|
* name: "name",
|
|
58
50
|
* description: "example",
|
|
59
51
|
* tags: ["foo:bar"],
|
|
52
|
+
* azureEnvironmentType: "AZURE",
|
|
53
|
+
* delegateSelectors: ["harness-delegate"],
|
|
54
|
+
* });
|
|
55
|
+
* const inheritFromDelegateUserAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_user_assigned_managed_identity", {
|
|
60
56
|
* credentials: {
|
|
61
|
-
* type: "InheritFromDelegate",
|
|
62
57
|
* azureInheritFromDelegateDetails: {
|
|
63
58
|
* auth: {
|
|
64
59
|
* azureMsiAuthUa: {
|
|
@@ -67,39 +62,44 @@ import * as outputs from "../types/output";
|
|
|
67
62
|
* type: "UserAssignedManagedIdentity",
|
|
68
63
|
* },
|
|
69
64
|
* },
|
|
65
|
+
* type: "InheritFromDelegate",
|
|
70
66
|
* },
|
|
71
|
-
* azureEnvironmentType: "AZURE",
|
|
72
|
-
* delegateSelectors: ["harness-delegate"],
|
|
73
|
-
* });
|
|
74
|
-
* const inheritFromDelegateSystemAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_system_assigned_managed_identity", {
|
|
75
67
|
* identifier: "identifier",
|
|
76
68
|
* name: "name",
|
|
77
69
|
* description: "example",
|
|
78
70
|
* tags: ["foo:bar"],
|
|
71
|
+
* azureEnvironmentType: "AZURE",
|
|
72
|
+
* delegateSelectors: ["harness-delegate"],
|
|
73
|
+
* });
|
|
74
|
+
* const inheritFromDelegateSystemAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_system_assigned_managed_identity", {
|
|
79
75
|
* credentials: {
|
|
80
|
-
* type: "InheritFromDelegate",
|
|
81
76
|
* azureInheritFromDelegateDetails: {
|
|
82
77
|
* auth: {
|
|
83
78
|
* type: "SystemAssignedManagedIdentity",
|
|
84
79
|
* },
|
|
85
80
|
* },
|
|
81
|
+
* type: "InheritFromDelegate",
|
|
86
82
|
* },
|
|
87
|
-
* azureEnvironmentType: "AZURE",
|
|
88
|
-
* delegateSelectors: ["harness-delegate"],
|
|
89
|
-
* });
|
|
90
|
-
* const oidcAuthentication = new harness.platform.AzureCloudProviderConnector("oidc_authentication", {
|
|
91
83
|
* identifier: "identifier",
|
|
92
84
|
* name: "name",
|
|
93
85
|
* description: "example",
|
|
94
86
|
* tags: ["foo:bar"],
|
|
87
|
+
* azureEnvironmentType: "AZURE",
|
|
88
|
+
* delegateSelectors: ["harness-delegate"],
|
|
89
|
+
* });
|
|
90
|
+
* const oidcAuthentication = new harness.platform.AzureCloudProviderConnector("oidc_authentication", {
|
|
95
91
|
* credentials: {
|
|
96
|
-
* type: "OidcAuthentication",
|
|
97
92
|
* azureOidcSpec: {
|
|
98
93
|
* applicationId: "application_id",
|
|
99
94
|
* tenantId: "tenant_id",
|
|
100
95
|
* audience: "audience",
|
|
101
96
|
* },
|
|
97
|
+
* type: "OidcAuthentication",
|
|
102
98
|
* },
|
|
99
|
+
* identifier: "identifier",
|
|
100
|
+
* name: "name",
|
|
101
|
+
* description: "example",
|
|
102
|
+
* tags: ["foo:bar"],
|
|
103
103
|
* azureEnvironmentType: "AZURE",
|
|
104
104
|
* delegateSelectors: ["harness-delegate"],
|
|
105
105
|
* });
|
|
@@ -38,54 +38,49 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const manualConfigSecret = new harness.platform.AzureCloudProviderConnector("manual_config_secret", {
|
|
41
|
-
* identifier: "identifier",
|
|
42
|
-
* name: "name",
|
|
43
|
-
* description: "example",
|
|
44
|
-
* tags: ["foo:bar"],
|
|
45
41
|
* credentials: {
|
|
46
|
-
* type: "ManualConfig",
|
|
47
42
|
* azureManualDetails: {
|
|
48
|
-
* applicationId: "application_id",
|
|
49
|
-
* tenantId: "tenant_id",
|
|
50
43
|
* auth: {
|
|
51
|
-
* type: "Secret",
|
|
52
44
|
* azureClientSecretKey: {
|
|
53
45
|
* secretRef: `account.${test.id}`,
|
|
54
46
|
* },
|
|
47
|
+
* type: "Secret",
|
|
55
48
|
* },
|
|
49
|
+
* applicationId: "application_id",
|
|
50
|
+
* tenantId: "tenant_id",
|
|
56
51
|
* },
|
|
52
|
+
* type: "ManualConfig",
|
|
57
53
|
* },
|
|
58
|
-
* azureEnvironmentType: "AZURE",
|
|
59
|
-
* delegateSelectors: ["harness-delegate"],
|
|
60
|
-
* });
|
|
61
|
-
* const manualConfigCertificate = new harness.platform.AzureCloudProviderConnector("manual_config_certificate", {
|
|
62
54
|
* identifier: "identifier",
|
|
63
55
|
* name: "name",
|
|
64
56
|
* description: "example",
|
|
65
57
|
* tags: ["foo:bar"],
|
|
58
|
+
* azureEnvironmentType: "AZURE",
|
|
59
|
+
* delegateSelectors: ["harness-delegate"],
|
|
60
|
+
* });
|
|
61
|
+
* const manualConfigCertificate = new harness.platform.AzureCloudProviderConnector("manual_config_certificate", {
|
|
66
62
|
* credentials: {
|
|
67
|
-
* type: "ManualConfig",
|
|
68
63
|
* azureManualDetails: {
|
|
69
|
-
* applicationId: "application_id",
|
|
70
|
-
* tenantId: "tenant_id",
|
|
71
64
|
* auth: {
|
|
72
|
-
* type: "Certificate",
|
|
73
65
|
* azureClientKeyCert: {
|
|
74
66
|
* certificateRef: `account.${test.id}`,
|
|
75
67
|
* },
|
|
68
|
+
* type: "Certificate",
|
|
76
69
|
* },
|
|
70
|
+
* applicationId: "application_id",
|
|
71
|
+
* tenantId: "tenant_id",
|
|
77
72
|
* },
|
|
73
|
+
* type: "ManualConfig",
|
|
78
74
|
* },
|
|
79
|
-
* azureEnvironmentType: "AZURE",
|
|
80
|
-
* delegateSelectors: ["harness-delegate"],
|
|
81
|
-
* });
|
|
82
|
-
* const inheritFromDelegateUserAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_user_assigned_managed_identity", {
|
|
83
75
|
* identifier: "identifier",
|
|
84
76
|
* name: "name",
|
|
85
77
|
* description: "example",
|
|
86
78
|
* tags: ["foo:bar"],
|
|
79
|
+
* azureEnvironmentType: "AZURE",
|
|
80
|
+
* delegateSelectors: ["harness-delegate"],
|
|
81
|
+
* });
|
|
82
|
+
* const inheritFromDelegateUserAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_user_assigned_managed_identity", {
|
|
87
83
|
* credentials: {
|
|
88
|
-
* type: "InheritFromDelegate",
|
|
89
84
|
* azureInheritFromDelegateDetails: {
|
|
90
85
|
* auth: {
|
|
91
86
|
* azureMsiAuthUa: {
|
|
@@ -94,39 +89,44 @@ const utilities = __importStar(require("../utilities"));
|
|
|
94
89
|
* type: "UserAssignedManagedIdentity",
|
|
95
90
|
* },
|
|
96
91
|
* },
|
|
92
|
+
* type: "InheritFromDelegate",
|
|
97
93
|
* },
|
|
98
|
-
* azureEnvironmentType: "AZURE",
|
|
99
|
-
* delegateSelectors: ["harness-delegate"],
|
|
100
|
-
* });
|
|
101
|
-
* const inheritFromDelegateSystemAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_system_assigned_managed_identity", {
|
|
102
94
|
* identifier: "identifier",
|
|
103
95
|
* name: "name",
|
|
104
96
|
* description: "example",
|
|
105
97
|
* tags: ["foo:bar"],
|
|
98
|
+
* azureEnvironmentType: "AZURE",
|
|
99
|
+
* delegateSelectors: ["harness-delegate"],
|
|
100
|
+
* });
|
|
101
|
+
* const inheritFromDelegateSystemAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_system_assigned_managed_identity", {
|
|
106
102
|
* credentials: {
|
|
107
|
-
* type: "InheritFromDelegate",
|
|
108
103
|
* azureInheritFromDelegateDetails: {
|
|
109
104
|
* auth: {
|
|
110
105
|
* type: "SystemAssignedManagedIdentity",
|
|
111
106
|
* },
|
|
112
107
|
* },
|
|
108
|
+
* type: "InheritFromDelegate",
|
|
113
109
|
* },
|
|
114
|
-
* azureEnvironmentType: "AZURE",
|
|
115
|
-
* delegateSelectors: ["harness-delegate"],
|
|
116
|
-
* });
|
|
117
|
-
* const oidcAuthentication = new harness.platform.AzureCloudProviderConnector("oidc_authentication", {
|
|
118
110
|
* identifier: "identifier",
|
|
119
111
|
* name: "name",
|
|
120
112
|
* description: "example",
|
|
121
113
|
* tags: ["foo:bar"],
|
|
114
|
+
* azureEnvironmentType: "AZURE",
|
|
115
|
+
* delegateSelectors: ["harness-delegate"],
|
|
116
|
+
* });
|
|
117
|
+
* const oidcAuthentication = new harness.platform.AzureCloudProviderConnector("oidc_authentication", {
|
|
122
118
|
* credentials: {
|
|
123
|
-
* type: "OidcAuthentication",
|
|
124
119
|
* azureOidcSpec: {
|
|
125
120
|
* applicationId: "application_id",
|
|
126
121
|
* tenantId: "tenant_id",
|
|
127
122
|
* audience: "audience",
|
|
128
123
|
* },
|
|
124
|
+
* type: "OidcAuthentication",
|
|
129
125
|
* },
|
|
126
|
+
* identifier: "identifier",
|
|
127
|
+
* name: "name",
|
|
128
|
+
* description: "example",
|
|
129
|
+
* tags: ["foo:bar"],
|
|
130
130
|
* azureEnvironmentType: "AZURE",
|
|
131
131
|
* delegateSelectors: ["harness-delegate"],
|
|
132
132
|
* });
|