@pulumi/harness 0.4.6 → 0.4.7
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/package.json +3 -3
- package/platform/awsSecretManagerConnector.d.ts +12 -0
- package/platform/awsSecretManagerConnector.js +2 -0
- package/platform/awsSecretManagerConnector.js.map +1 -1
- package/platform/getAwsSecretManagerConnector.d.ts +4 -0
- package/platform/getAwsSecretManagerConnector.js.map +1 -1
- package/platform/pipelineFilters.d.ts +53 -0
- package/platform/pipelineFilters.js +53 -0
- package/platform/pipelineFilters.js.map +1 -1
- package/types/input.d.ts +13 -1
- package/types/output.d.ts +13 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build": "tsc"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@pulumi/pulumi": "^3.
|
|
16
|
+
"@pulumi/pulumi": "^3.142.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/mime": "^2.0.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "harness",
|
|
26
|
-
"version": "0.4.
|
|
26
|
+
"version": "0.4.7",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -84,6 +84,10 @@ export declare class AwsSecretManagerConnector extends pulumi.CustomResource {
|
|
|
84
84
|
* Tags to associate with the resource.
|
|
85
85
|
*/
|
|
86
86
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Whether to update secret value using putSecretValue action.
|
|
89
|
+
*/
|
|
90
|
+
readonly usePutSecret: pulumi.Output<boolean | undefined>;
|
|
87
91
|
/**
|
|
88
92
|
* Create a AwsSecretManagerConnector resource with the given unique name, arguments, and options.
|
|
89
93
|
*
|
|
@@ -141,6 +145,10 @@ export interface AwsSecretManagerConnectorState {
|
|
|
141
145
|
* Tags to associate with the resource.
|
|
142
146
|
*/
|
|
143
147
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Whether to update secret value using putSecretValue action.
|
|
150
|
+
*/
|
|
151
|
+
usePutSecret?: pulumi.Input<boolean>;
|
|
144
152
|
}
|
|
145
153
|
/**
|
|
146
154
|
* The set of arguments for constructing a AwsSecretManagerConnector resource.
|
|
@@ -190,4 +198,8 @@ export interface AwsSecretManagerConnectorArgs {
|
|
|
190
198
|
* Tags to associate with the resource.
|
|
191
199
|
*/
|
|
192
200
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
201
|
+
/**
|
|
202
|
+
* Whether to update secret value using putSecretValue action.
|
|
203
|
+
*/
|
|
204
|
+
usePutSecret?: pulumi.Input<boolean>;
|
|
193
205
|
}
|
|
@@ -67,6 +67,7 @@ class AwsSecretManagerConnector extends pulumi.CustomResource {
|
|
|
67
67
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
68
68
|
resourceInputs["secretNamePrefix"] = state ? state.secretNamePrefix : undefined;
|
|
69
69
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
70
|
+
resourceInputs["usePutSecret"] = state ? state.usePutSecret : undefined;
|
|
70
71
|
}
|
|
71
72
|
else {
|
|
72
73
|
const args = argsOrState;
|
|
@@ -90,6 +91,7 @@ class AwsSecretManagerConnector extends pulumi.CustomResource {
|
|
|
90
91
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
91
92
|
resourceInputs["secretNamePrefix"] = args ? args.secretNamePrefix : undefined;
|
|
92
93
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
94
|
+
resourceInputs["usePutSecret"] = args ? args.usePutSecret : undefined;
|
|
93
95
|
}
|
|
94
96
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
97
|
super(AwsSecretManagerConnector.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awsSecretManagerConnector.js","sourceRoot":"","sources":["../../platform/awsSecretManagerConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"awsSecretManagerConnector.js","sourceRoot":"","sources":["../../platform/awsSecretManagerConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yB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IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAhIL,8DAiIC;AAnHG,gBAAgB;AACO,sCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -82,6 +82,10 @@ export interface GetAwsSecretManagerConnectorResult {
|
|
|
82
82
|
* Tags to associate with the resource.
|
|
83
83
|
*/
|
|
84
84
|
readonly tags: string[];
|
|
85
|
+
/**
|
|
86
|
+
* Whether to update secret value using putSecretValue action.
|
|
87
|
+
*/
|
|
88
|
+
readonly usePutSecret: boolean;
|
|
85
89
|
}
|
|
86
90
|
/**
|
|
87
91
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAwsSecretManagerConnector.js","sourceRoot":"","sources":["../../platform/getAwsSecretManagerConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4EAA4E,EAAE;QACvG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;
|
|
1
|
+
{"version":3,"file":"getAwsSecretManagerConnector.js","sourceRoot":"","sources":["../../platform/getAwsSecretManagerConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4EAA4E,EAAE;QACvG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AA6ED;;;;;;;;;;;GAWG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAAiC;IAC9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4EAA4E,EAAE;QAC7G,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gFAQC"}
|
|
@@ -27,6 +27,30 @@ import * as outputs from "../types/output";
|
|
|
27
27
|
* },
|
|
28
28
|
* filterVisibility: "EveryOne",
|
|
29
29
|
* });
|
|
30
|
+
* // pipeline execution filter consisiting services (service_identifiers) filter
|
|
31
|
+
* const execution = new harness.platform.PipelineFilters("execution", {
|
|
32
|
+
* identifier: "identifier",
|
|
33
|
+
* name: "name",
|
|
34
|
+
* orgId: "org_id",
|
|
35
|
+
* projectId: "project_id",
|
|
36
|
+
* type: "PipelineSetup",
|
|
37
|
+
* filterProperties: {
|
|
38
|
+
* name: "pipeline_name",
|
|
39
|
+
* description: "pipeline_description",
|
|
40
|
+
* pipelineIdentifiers: [
|
|
41
|
+
* "id1",
|
|
42
|
+
* "id2",
|
|
43
|
+
* ],
|
|
44
|
+
* filterType: "PipelineExecution",
|
|
45
|
+
* moduleProperties: {
|
|
46
|
+
* cd: {
|
|
47
|
+
* deploymentTypes: "Kubernetes",
|
|
48
|
+
* serviceIdentifiers: ["nginx"],
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* filterVisibility: "EveryOne",
|
|
53
|
+
* });
|
|
30
54
|
* // pipeline filter with tags
|
|
31
55
|
* const exampleWithTags = new harness.platform.PipelineFilters("example_with_tags", {
|
|
32
56
|
* identifier: "identifier",
|
|
@@ -70,6 +94,35 @@ import * as outputs from "../types/output";
|
|
|
70
94
|
* },
|
|
71
95
|
* },
|
|
72
96
|
* });
|
|
97
|
+
* const pipelinemoduleproperties = new harness.platform.PipelineFilters("pipelinemoduleproperties", {
|
|
98
|
+
* identifier: "identifier",
|
|
99
|
+
* name: "name",
|
|
100
|
+
* orgId: testHarnessPlatformProject.orgId,
|
|
101
|
+
* projectId: testHarnessPlatformProject.id,
|
|
102
|
+
* type: "PipelineExecution",
|
|
103
|
+
* filterProperties: {
|
|
104
|
+
* filterType: "PipelineExecution",
|
|
105
|
+
* pipelineName: "test",
|
|
106
|
+
* pipelineTags: [
|
|
107
|
+
* {
|
|
108
|
+
* key: "k1",
|
|
109
|
+
* value: "v1",
|
|
110
|
+
* },
|
|
111
|
+
* {
|
|
112
|
+
* key: "k2",
|
|
113
|
+
* value: "v2",
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* moduleProperties: {
|
|
117
|
+
* cd: {
|
|
118
|
+
* serviceDefinitionTypes: "Kubernetes",
|
|
119
|
+
* serviceIdentifiers: ["K8"],
|
|
120
|
+
* environmentIdentifiers: ["dev"],
|
|
121
|
+
* artifactDisplayNames: ["artificatname1"],
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* });
|
|
73
126
|
* ```
|
|
74
127
|
*
|
|
75
128
|
* ## Import
|
|
@@ -31,6 +31,30 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* },
|
|
32
32
|
* filterVisibility: "EveryOne",
|
|
33
33
|
* });
|
|
34
|
+
* // pipeline execution filter consisiting services (service_identifiers) filter
|
|
35
|
+
* const execution = new harness.platform.PipelineFilters("execution", {
|
|
36
|
+
* identifier: "identifier",
|
|
37
|
+
* name: "name",
|
|
38
|
+
* orgId: "org_id",
|
|
39
|
+
* projectId: "project_id",
|
|
40
|
+
* type: "PipelineSetup",
|
|
41
|
+
* filterProperties: {
|
|
42
|
+
* name: "pipeline_name",
|
|
43
|
+
* description: "pipeline_description",
|
|
44
|
+
* pipelineIdentifiers: [
|
|
45
|
+
* "id1",
|
|
46
|
+
* "id2",
|
|
47
|
+
* ],
|
|
48
|
+
* filterType: "PipelineExecution",
|
|
49
|
+
* moduleProperties: {
|
|
50
|
+
* cd: {
|
|
51
|
+
* deploymentTypes: "Kubernetes",
|
|
52
|
+
* serviceIdentifiers: ["nginx"],
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* filterVisibility: "EveryOne",
|
|
57
|
+
* });
|
|
34
58
|
* // pipeline filter with tags
|
|
35
59
|
* const exampleWithTags = new harness.platform.PipelineFilters("example_with_tags", {
|
|
36
60
|
* identifier: "identifier",
|
|
@@ -74,6 +98,35 @@ const utilities = require("../utilities");
|
|
|
74
98
|
* },
|
|
75
99
|
* },
|
|
76
100
|
* });
|
|
101
|
+
* const pipelinemoduleproperties = new harness.platform.PipelineFilters("pipelinemoduleproperties", {
|
|
102
|
+
* identifier: "identifier",
|
|
103
|
+
* name: "name",
|
|
104
|
+
* orgId: testHarnessPlatformProject.orgId,
|
|
105
|
+
* projectId: testHarnessPlatformProject.id,
|
|
106
|
+
* type: "PipelineExecution",
|
|
107
|
+
* filterProperties: {
|
|
108
|
+
* filterType: "PipelineExecution",
|
|
109
|
+
* pipelineName: "test",
|
|
110
|
+
* pipelineTags: [
|
|
111
|
+
* {
|
|
112
|
+
* key: "k1",
|
|
113
|
+
* value: "v1",
|
|
114
|
+
* },
|
|
115
|
+
* {
|
|
116
|
+
* key: "k2",
|
|
117
|
+
* value: "v2",
|
|
118
|
+
* },
|
|
119
|
+
* ],
|
|
120
|
+
* moduleProperties: {
|
|
121
|
+
* cd: {
|
|
122
|
+
* serviceDefinitionTypes: "Kubernetes",
|
|
123
|
+
* serviceIdentifiers: ["K8"],
|
|
124
|
+
* environmentIdentifiers: ["dev"],
|
|
125
|
+
* artifactDisplayNames: ["artificatname1"],
|
|
126
|
+
* },
|
|
127
|
+
* },
|
|
128
|
+
* },
|
|
129
|
+
* });
|
|
77
130
|
* ```
|
|
78
131
|
*
|
|
79
132
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelineFilters.js","sourceRoot":"","sources":["../../platform/pipelineFilters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"pipelineFilters.js","sourceRoot":"","sources":["../../platform/pipelineFilters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+IG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG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,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAlGL,0CAmGC;AArFG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -2500,7 +2500,7 @@ export declare namespace platform {
|
|
|
2500
2500
|
/**
|
|
2501
2501
|
* The delegates to inherit the credentials from.
|
|
2502
2502
|
*/
|
|
2503
|
-
delegateSelectors
|
|
2503
|
+
delegateSelectors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2504
2504
|
/**
|
|
2505
2505
|
* The project number of the GCP project that is used to create the workload identity.
|
|
2506
2506
|
*/
|
|
@@ -5608,6 +5608,10 @@ export declare namespace platform {
|
|
|
5608
5608
|
* Pipeline identifiers to filter on.
|
|
5609
5609
|
*/
|
|
5610
5610
|
pipelineIdentifiers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
5611
|
+
/**
|
|
5612
|
+
* Name of the pipeline execution filter.
|
|
5613
|
+
*/
|
|
5614
|
+
pipelineName?: pulumi.Input<string>;
|
|
5611
5615
|
/**
|
|
5612
5616
|
* Tags to associate with the pipeline. tags should be in the form of `{key:key1, value:key1value}`
|
|
5613
5617
|
*/
|
|
@@ -5638,10 +5642,18 @@ export declare namespace platform {
|
|
|
5638
5642
|
* Deployment type of the CD pipeline, eg. Kubernetes
|
|
5639
5643
|
*/
|
|
5640
5644
|
deploymentTypes?: pulumi.Input<string>;
|
|
5645
|
+
/**
|
|
5646
|
+
* Environment identifier of the CD pipeline.
|
|
5647
|
+
*/
|
|
5648
|
+
environmentIdentifiers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
5641
5649
|
/**
|
|
5642
5650
|
* Environment names of the CD pipeline.
|
|
5643
5651
|
*/
|
|
5644
5652
|
environmentNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
5653
|
+
/**
|
|
5654
|
+
* Deployment type of the CD pipeline, eg. Kubernetes
|
|
5655
|
+
*/
|
|
5656
|
+
serviceDefinitionTypes?: pulumi.Input<string>;
|
|
5645
5657
|
/**
|
|
5646
5658
|
* Service identifiers of the CD pipeline.
|
|
5647
5659
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -2259,7 +2259,7 @@ export declare namespace platform {
|
|
|
2259
2259
|
/**
|
|
2260
2260
|
* The delegates to inherit the credentials from.
|
|
2261
2261
|
*/
|
|
2262
|
-
delegateSelectors
|
|
2262
|
+
delegateSelectors?: string[];
|
|
2263
2263
|
/**
|
|
2264
2264
|
* The project number of the GCP project that is used to create the workload identity.
|
|
2265
2265
|
*/
|
|
@@ -7106,6 +7106,10 @@ export declare namespace platform {
|
|
|
7106
7106
|
* Pipeline identifiers to filter on.
|
|
7107
7107
|
*/
|
|
7108
7108
|
pipelineIdentifiers?: string[];
|
|
7109
|
+
/**
|
|
7110
|
+
* Name of the pipeline execution filter.
|
|
7111
|
+
*/
|
|
7112
|
+
pipelineName?: string;
|
|
7109
7113
|
/**
|
|
7110
7114
|
* Tags to associate with the pipeline. tags should be in the form of `{key:key1, value:key1value}`
|
|
7111
7115
|
*/
|
|
@@ -7136,10 +7140,18 @@ export declare namespace platform {
|
|
|
7136
7140
|
* Deployment type of the CD pipeline, eg. Kubernetes
|
|
7137
7141
|
*/
|
|
7138
7142
|
deploymentTypes?: string;
|
|
7143
|
+
/**
|
|
7144
|
+
* Environment identifier of the CD pipeline.
|
|
7145
|
+
*/
|
|
7146
|
+
environmentIdentifiers?: string[];
|
|
7139
7147
|
/**
|
|
7140
7148
|
* Environment names of the CD pipeline.
|
|
7141
7149
|
*/
|
|
7142
7150
|
environmentNames?: string[];
|
|
7151
|
+
/**
|
|
7152
|
+
* Deployment type of the CD pipeline, eg. Kubernetes
|
|
7153
|
+
*/
|
|
7154
|
+
serviceDefinitionTypes?: string;
|
|
7143
7155
|
/**
|
|
7144
7156
|
* Service identifiers of the CD pipeline.
|
|
7145
7157
|
*/
|