@pulumi/harness 0.2.1 → 0.2.2
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 +2 -2
- package/platform/delegatetoken.d.ts +44 -21
- package/platform/delegatetoken.js +23 -0
- package/platform/delegatetoken.js.map +1 -1
- package/platform/gcpConnector.d.ts +12 -0
- package/platform/gcpConnector.js +2 -0
- package/platform/gcpConnector.js.map +1 -1
- package/platform/getDelegatetoken.d.ts +69 -0
- package/platform/getDelegatetoken.js +6 -0
- package/platform/getDelegatetoken.js.map +1 -1
- package/platform/getGcpConnector.d.ts +4 -0
- package/platform/getGcpConnector.js.map +1 -1
- package/platform/getGitxWebhook.d.ts +100 -0
- package/platform/getGitxWebhook.js +30 -0
- package/platform/getGitxWebhook.js.map +1 -0
- package/platform/getOverrides.d.ts +42 -0
- package/platform/getOverrides.js +22 -0
- package/platform/getOverrides.js.map +1 -0
- package/platform/getPolicy.d.ts +4 -8
- package/platform/getPolicy.js +1 -4
- package/platform/getPolicy.js.map +1 -1
- package/platform/gitConnector.d.ts +12 -0
- package/platform/gitConnector.js +2 -0
- package/platform/gitConnector.js.map +1 -1
- package/platform/gitxWebhook.d.ts +179 -0
- package/platform/gitxWebhook.js +99 -0
- package/platform/gitxWebhook.js.map +1 -0
- package/platform/index.d.ts +12 -0
- package/platform/index.js +21 -5
- package/platform/index.js.map +1 -1
- package/platform/overrides.d.ts +182 -0
- package/platform/overrides.js +77 -0
- package/platform/overrides.js.map +1 -0
- package/platform/policy.d.ts +120 -0
- package/platform/policy.js +20 -0
- package/platform/policy.js.map +1 -1
- package/platform/template.d.ts +5 -1160
- package/platform/template.js +5 -1160
- package/platform/template.js.map +1 -1
- package/types/input.d.ts +112 -0
- package/types/output.d.ts +116 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
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.2.
|
|
26
|
+
"version": "0.2.2",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for creating delegate tokens.
|
|
4
|
+
*
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* Import account level delegate token
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <token_id>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Import org level delegate token
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<token_id>
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Import project level delegate token
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<project_id>/<token_id>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
2
25
|
export declare class Delegatetoken extends pulumi.CustomResource {
|
|
3
26
|
/**
|
|
4
27
|
* Get an existing Delegatetoken resource's state with the given name, ID, and optional extra
|
|
@@ -20,33 +43,33 @@ export declare class Delegatetoken extends pulumi.CustomResource {
|
|
|
20
43
|
*/
|
|
21
44
|
readonly accountId: pulumi.Output<string>;
|
|
22
45
|
/**
|
|
23
|
-
* Time when the delegate token is created.
|
|
46
|
+
* Time when the delegate token is created.
|
|
24
47
|
*/
|
|
25
48
|
readonly createdAt: pulumi.Output<number>;
|
|
26
49
|
/**
|
|
27
|
-
* created by details
|
|
50
|
+
* created by details.
|
|
28
51
|
*/
|
|
29
52
|
readonly createdBy: pulumi.Output<{
|
|
30
53
|
[key: string]: any;
|
|
31
54
|
}>;
|
|
32
55
|
/**
|
|
33
|
-
* Name of the
|
|
56
|
+
* Name of the resource.
|
|
34
57
|
*/
|
|
35
58
|
readonly name: pulumi.Output<string>;
|
|
36
59
|
/**
|
|
37
|
-
*
|
|
60
|
+
* Unique identifier of the organization.
|
|
38
61
|
*/
|
|
39
62
|
readonly orgId: pulumi.Output<string | undefined>;
|
|
40
63
|
/**
|
|
41
|
-
*
|
|
64
|
+
* Unique identifier of the project.
|
|
42
65
|
*/
|
|
43
66
|
readonly projectId: pulumi.Output<string | undefined>;
|
|
44
67
|
/**
|
|
45
|
-
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
|
|
68
|
+
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
|
|
46
69
|
*/
|
|
47
70
|
readonly tokenStatus: pulumi.Output<string>;
|
|
48
71
|
/**
|
|
49
|
-
* Value of the delegate
|
|
72
|
+
* Value of the delegate Token
|
|
50
73
|
*/
|
|
51
74
|
readonly value: pulumi.Output<string>;
|
|
52
75
|
/**
|
|
@@ -67,33 +90,33 @@ export interface DelegatetokenState {
|
|
|
67
90
|
*/
|
|
68
91
|
accountId?: pulumi.Input<string>;
|
|
69
92
|
/**
|
|
70
|
-
* Time when the delegate token is created.
|
|
93
|
+
* Time when the delegate token is created.
|
|
71
94
|
*/
|
|
72
95
|
createdAt?: pulumi.Input<number>;
|
|
73
96
|
/**
|
|
74
|
-
* created by details
|
|
97
|
+
* created by details.
|
|
75
98
|
*/
|
|
76
99
|
createdBy?: pulumi.Input<{
|
|
77
100
|
[key: string]: any;
|
|
78
101
|
}>;
|
|
79
102
|
/**
|
|
80
|
-
* Name of the
|
|
103
|
+
* Name of the resource.
|
|
81
104
|
*/
|
|
82
105
|
name?: pulumi.Input<string>;
|
|
83
106
|
/**
|
|
84
|
-
*
|
|
107
|
+
* Unique identifier of the organization.
|
|
85
108
|
*/
|
|
86
109
|
orgId?: pulumi.Input<string>;
|
|
87
110
|
/**
|
|
88
|
-
*
|
|
111
|
+
* Unique identifier of the project.
|
|
89
112
|
*/
|
|
90
113
|
projectId?: pulumi.Input<string>;
|
|
91
114
|
/**
|
|
92
|
-
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
|
|
115
|
+
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
|
|
93
116
|
*/
|
|
94
117
|
tokenStatus?: pulumi.Input<string>;
|
|
95
118
|
/**
|
|
96
|
-
* Value of the delegate
|
|
119
|
+
* Value of the delegate Token
|
|
97
120
|
*/
|
|
98
121
|
value?: pulumi.Input<string>;
|
|
99
122
|
}
|
|
@@ -106,33 +129,33 @@ export interface DelegatetokenArgs {
|
|
|
106
129
|
*/
|
|
107
130
|
accountId: pulumi.Input<string>;
|
|
108
131
|
/**
|
|
109
|
-
* Time when the delegate token is created.
|
|
132
|
+
* Time when the delegate token is created.
|
|
110
133
|
*/
|
|
111
134
|
createdAt?: pulumi.Input<number>;
|
|
112
135
|
/**
|
|
113
|
-
* created by details
|
|
136
|
+
* created by details.
|
|
114
137
|
*/
|
|
115
138
|
createdBy?: pulumi.Input<{
|
|
116
139
|
[key: string]: any;
|
|
117
140
|
}>;
|
|
118
141
|
/**
|
|
119
|
-
* Name of the
|
|
142
|
+
* Name of the resource.
|
|
120
143
|
*/
|
|
121
144
|
name?: pulumi.Input<string>;
|
|
122
145
|
/**
|
|
123
|
-
*
|
|
146
|
+
* Unique identifier of the organization.
|
|
124
147
|
*/
|
|
125
148
|
orgId?: pulumi.Input<string>;
|
|
126
149
|
/**
|
|
127
|
-
*
|
|
150
|
+
* Unique identifier of the project.
|
|
128
151
|
*/
|
|
129
152
|
projectId?: pulumi.Input<string>;
|
|
130
153
|
/**
|
|
131
|
-
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
|
|
154
|
+
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
|
|
132
155
|
*/
|
|
133
156
|
tokenStatus?: pulumi.Input<string>;
|
|
134
157
|
/**
|
|
135
|
-
* Value of the delegate
|
|
158
|
+
* Value of the delegate Token
|
|
136
159
|
*/
|
|
137
160
|
value?: pulumi.Input<string>;
|
|
138
161
|
}
|
|
@@ -5,6 +5,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Delegatetoken = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating delegate tokens.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* Import account level delegate token
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <token_id>
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Import org level delegate token
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<token_id>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* Import project level delegate token
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<project_id>/<token_id>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
8
31
|
class Delegatetoken extends pulumi.CustomResource {
|
|
9
32
|
/**
|
|
10
33
|
* Get an existing Delegatetoken resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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|
|
70
70
|
readonly name: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Authentication using harness oidc.
|
|
73
|
+
*/
|
|
74
|
+
readonly oidcAuthentications: pulumi.Output<outputs.platform.GcpConnectorOidcAuthentication[] | undefined>;
|
|
71
75
|
/**
|
|
72
76
|
* Unique identifier of the organization.
|
|
73
77
|
*/
|
|
@@ -121,6 +125,10 @@ export interface GcpConnectorState {
|
|
|
121
125
|
* Name of the resource.
|
|
122
126
|
*/
|
|
123
127
|
name?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Authentication using harness oidc.
|
|
130
|
+
*/
|
|
131
|
+
oidcAuthentications?: pulumi.Input<pulumi.Input<inputs.platform.GcpConnectorOidcAuthentication>[]>;
|
|
124
132
|
/**
|
|
125
133
|
* Unique identifier of the organization.
|
|
126
134
|
*/
|
|
@@ -166,6 +174,10 @@ export interface GcpConnectorArgs {
|
|
|
166
174
|
* Name of the resource.
|
|
167
175
|
*/
|
|
168
176
|
name?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Authentication using harness oidc.
|
|
179
|
+
*/
|
|
180
|
+
oidcAuthentications?: pulumi.Input<pulumi.Input<inputs.platform.GcpConnectorOidcAuthentication>[]>;
|
|
169
181
|
/**
|
|
170
182
|
* Unique identifier of the organization.
|
|
171
183
|
*/
|
package/platform/gcpConnector.js
CHANGED
|
@@ -63,6 +63,7 @@ class GcpConnector extends pulumi.CustomResource {
|
|
|
63
63
|
resourceInputs["inheritFromDelegates"] = state ? state.inheritFromDelegates : undefined;
|
|
64
64
|
resourceInputs["manual"] = state ? state.manual : undefined;
|
|
65
65
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["oidcAuthentications"] = state ? state.oidcAuthentications : undefined;
|
|
66
67
|
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
67
68
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
68
69
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
@@ -79,6 +80,7 @@ class GcpConnector extends pulumi.CustomResource {
|
|
|
79
80
|
resourceInputs["inheritFromDelegates"] = args ? args.inheritFromDelegates : undefined;
|
|
80
81
|
resourceInputs["manual"] = args ? args.manual : undefined;
|
|
81
82
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
83
|
+
resourceInputs["oidcAuthentications"] = args ? args.oidcAuthentications : undefined;
|
|
82
84
|
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
83
85
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
84
86
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gcpConnector.js","sourceRoot":"","sources":["../../platform/gcpConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"gcpConnector.js","sourceRoot":"","sources":["../../platform/gcpConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;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
|
+
*/
|
|
2
5
|
export declare function getDelegatetoken(args: GetDelegatetokenArgs, opts?: pulumi.InvokeOptions): Promise<GetDelegatetokenResult>;
|
|
3
6
|
/**
|
|
4
7
|
* A collection of arguments for invoking getDelegatetoken.
|
|
5
8
|
*/
|
|
6
9
|
export interface GetDelegatetokenArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Account Identifier for the Entity
|
|
12
|
+
*/
|
|
7
13
|
accountId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Time when the delegate token is created.
|
|
16
|
+
*/
|
|
8
17
|
createdAt?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the resource.
|
|
20
|
+
*/
|
|
9
21
|
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier of the organization.
|
|
24
|
+
*/
|
|
10
25
|
orgId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the project.
|
|
28
|
+
*/
|
|
11
29
|
projectId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
|
|
32
|
+
*/
|
|
12
33
|
tokenStatus?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Value of the delegate Token
|
|
36
|
+
*/
|
|
13
37
|
value?: string;
|
|
14
38
|
}
|
|
15
39
|
/**
|
|
16
40
|
* A collection of values returned by getDelegatetoken.
|
|
17
41
|
*/
|
|
18
42
|
export interface GetDelegatetokenResult {
|
|
43
|
+
/**
|
|
44
|
+
* Account Identifier for the Entity
|
|
45
|
+
*/
|
|
19
46
|
readonly accountId: string;
|
|
47
|
+
/**
|
|
48
|
+
* Time when the delegate token is created.
|
|
49
|
+
*/
|
|
20
50
|
readonly createdAt?: number;
|
|
21
51
|
/**
|
|
22
52
|
* The provider-assigned unique ID for this managed resource.
|
|
23
53
|
*/
|
|
24
54
|
readonly id: string;
|
|
55
|
+
/**
|
|
56
|
+
* Name of the resource.
|
|
57
|
+
*/
|
|
25
58
|
readonly name: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier of the organization.
|
|
61
|
+
*/
|
|
26
62
|
readonly orgId?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Unique identifier of the project.
|
|
65
|
+
*/
|
|
27
66
|
readonly projectId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
|
|
69
|
+
*/
|
|
28
70
|
readonly tokenStatus?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Value of the delegate Token
|
|
73
|
+
*/
|
|
29
74
|
readonly value?: string;
|
|
30
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Data Source for retrieving delegate tokens.
|
|
78
|
+
*/
|
|
31
79
|
export declare function getDelegatetokenOutput(args: GetDelegatetokenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDelegatetokenResult>;
|
|
32
80
|
/**
|
|
33
81
|
* A collection of arguments for invoking getDelegatetoken.
|
|
34
82
|
*/
|
|
35
83
|
export interface GetDelegatetokenOutputArgs {
|
|
84
|
+
/**
|
|
85
|
+
* Account Identifier for the Entity
|
|
86
|
+
*/
|
|
36
87
|
accountId: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Time when the delegate token is created.
|
|
90
|
+
*/
|
|
37
91
|
createdAt?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* Name of the resource.
|
|
94
|
+
*/
|
|
38
95
|
name: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Unique identifier of the organization.
|
|
98
|
+
*/
|
|
39
99
|
orgId?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Unique identifier of the project.
|
|
102
|
+
*/
|
|
40
103
|
projectId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
|
|
106
|
+
*/
|
|
41
107
|
tokenStatus?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Value of the delegate Token
|
|
110
|
+
*/
|
|
42
111
|
value?: pulumi.Input<string>;
|
|
43
112
|
}
|
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getDelegatetokenOutput = exports.getDelegatetoken = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source for retrieving delegate tokens.
|
|
10
|
+
*/
|
|
8
11
|
function getDelegatetoken(args, opts) {
|
|
9
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
13
|
return pulumi.runtime.invoke("harness:platform/getDelegatetoken:getDelegatetoken", {
|
|
@@ -18,6 +21,9 @@ function getDelegatetoken(args, opts) {
|
|
|
18
21
|
}, opts);
|
|
19
22
|
}
|
|
20
23
|
exports.getDelegatetoken = getDelegatetoken;
|
|
24
|
+
/**
|
|
25
|
+
* Data Source for retrieving delegate tokens.
|
|
26
|
+
*/
|
|
21
27
|
function getDelegatetokenOutput(args, opts) {
|
|
22
28
|
return pulumi.output(args).apply((a) => getDelegatetoken(a, opts));
|
|
23
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDelegatetoken.js","sourceRoot":"","sources":["../../platform/getDelegatetoken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4CAYC;
|
|
1
|
+
{"version":3,"file":"getDelegatetoken.js","sourceRoot":"","sources":["../../platform/getDelegatetoken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4CAYC;AAyED;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
|
@@ -64,6 +64,10 @@ export interface GetGcpConnectorResult {
|
|
|
64
64
|
* Name of the resource.
|
|
65
65
|
*/
|
|
66
66
|
readonly name?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Authentication using harness oidc.
|
|
69
|
+
*/
|
|
70
|
+
readonly oidcAuthentications: outputs.platform.GetGcpConnectorOidcAuthentication[];
|
|
67
71
|
/**
|
|
68
72
|
* Unique identifier of the organization.
|
|
69
73
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGcpConnector.js","sourceRoot":"","sources":["../../platform/getGcpConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,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;AATD,0CASC;
|
|
1
|
+
{"version":3,"file":"getGcpConnector.js","sourceRoot":"","sources":["../../platform/getGcpConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,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;AATD,0CASC;AAqED;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for creating a Harness pipeline.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGitxWebhook(args: GetGitxWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetGitxWebhookResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getGitxWebhook.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetGitxWebhookArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Description of the resource.
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier of the resource.
|
|
16
|
+
*/
|
|
17
|
+
identifier: string;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the resource.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier of the organization.
|
|
24
|
+
*/
|
|
25
|
+
orgId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the project.
|
|
28
|
+
*/
|
|
29
|
+
projectId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
|
|
32
|
+
*/
|
|
33
|
+
tags?: string[];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getGitxWebhook.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetGitxWebhookResult {
|
|
39
|
+
/**
|
|
40
|
+
* Description of the resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly description?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The provider-assigned unique ID for this managed resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of the resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly identifier: string;
|
|
51
|
+
/**
|
|
52
|
+
* Name of the resource.
|
|
53
|
+
*/
|
|
54
|
+
readonly name: string;
|
|
55
|
+
/**
|
|
56
|
+
* Unique identifier of the organization.
|
|
57
|
+
*/
|
|
58
|
+
readonly orgId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier of the project.
|
|
61
|
+
*/
|
|
62
|
+
readonly projectId?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
|
|
65
|
+
*/
|
|
66
|
+
readonly tags?: string[];
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Resource for creating a Harness pipeline.
|
|
70
|
+
*/
|
|
71
|
+
export declare function getGitxWebhookOutput(args: GetGitxWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGitxWebhookResult>;
|
|
72
|
+
/**
|
|
73
|
+
* A collection of arguments for invoking getGitxWebhook.
|
|
74
|
+
*/
|
|
75
|
+
export interface GetGitxWebhookOutputArgs {
|
|
76
|
+
/**
|
|
77
|
+
* Description of the resource.
|
|
78
|
+
*/
|
|
79
|
+
description?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Unique identifier of the resource.
|
|
82
|
+
*/
|
|
83
|
+
identifier: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the resource.
|
|
86
|
+
*/
|
|
87
|
+
name: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Unique identifier of the organization.
|
|
90
|
+
*/
|
|
91
|
+
orgId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Unique identifier of the project.
|
|
94
|
+
*/
|
|
95
|
+
projectId?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Tags to associate with the resource. These should match the tag value passed in the YAML; if this parameter is null or not passed, the tags specified in YAML should also be null.
|
|
98
|
+
*/
|
|
99
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGitxWebhookOutput = exports.getGitxWebhook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a Harness pipeline.
|
|
10
|
+
*/
|
|
11
|
+
function getGitxWebhook(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("harness:platform/getGitxWebhook:getGitxWebhook", {
|
|
14
|
+
"description": args.description,
|
|
15
|
+
"identifier": args.identifier,
|
|
16
|
+
"name": args.name,
|
|
17
|
+
"orgId": args.orgId,
|
|
18
|
+
"projectId": args.projectId,
|
|
19
|
+
"tags": args.tags,
|
|
20
|
+
}, opts);
|
|
21
|
+
}
|
|
22
|
+
exports.getGitxWebhook = getGitxWebhook;
|
|
23
|
+
/**
|
|
24
|
+
* Resource for creating a Harness pipeline.
|
|
25
|
+
*/
|
|
26
|
+
function getGitxWebhookOutput(args, opts) {
|
|
27
|
+
return pulumi.output(args).apply((a) => getGitxWebhook(a, opts));
|
|
28
|
+
}
|
|
29
|
+
exports.getGitxWebhookOutput = getGitxWebhookOutput;
|
|
30
|
+
//# sourceMappingURL=getGitxWebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGitxWebhook.js","sourceRoot":"","sources":["../../platform/getGitxWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AAiED;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
export declare function getOverrides(args: GetOverridesArgs, opts?: pulumi.InvokeOptions): Promise<GetOverridesResult>;
|
|
5
|
+
/**
|
|
6
|
+
* A collection of arguments for invoking getOverrides.
|
|
7
|
+
*/
|
|
8
|
+
export interface GetOverridesArgs {
|
|
9
|
+
gitDetails?: inputs.platform.GetOverridesGitDetails;
|
|
10
|
+
identifier: string;
|
|
11
|
+
orgId?: string;
|
|
12
|
+
projectId?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A collection of values returned by getOverrides.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetOverridesResult {
|
|
18
|
+
readonly clusterId: string;
|
|
19
|
+
readonly envId: string;
|
|
20
|
+
readonly gitDetails: outputs.platform.GetOverridesGitDetails;
|
|
21
|
+
/**
|
|
22
|
+
* The provider-assigned unique ID for this managed resource.
|
|
23
|
+
*/
|
|
24
|
+
readonly id: string;
|
|
25
|
+
readonly identifier: string;
|
|
26
|
+
readonly infraId: string;
|
|
27
|
+
readonly orgId?: string;
|
|
28
|
+
readonly projectId?: string;
|
|
29
|
+
readonly serviceId: string;
|
|
30
|
+
readonly type: string;
|
|
31
|
+
readonly yaml: string;
|
|
32
|
+
}
|
|
33
|
+
export declare function getOverridesOutput(args: GetOverridesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOverridesResult>;
|
|
34
|
+
/**
|
|
35
|
+
* A collection of arguments for invoking getOverrides.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetOverridesOutputArgs {
|
|
38
|
+
gitDetails?: pulumi.Input<inputs.platform.GetOverridesGitDetailsArgs>;
|
|
39
|
+
identifier: pulumi.Input<string>;
|
|
40
|
+
orgId?: pulumi.Input<string>;
|
|
41
|
+
projectId?: pulumi.Input<string>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOverridesOutput = exports.getOverrides = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getOverrides(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("harness:platform/getOverrides:getOverrides", {
|
|
11
|
+
"gitDetails": args.gitDetails,
|
|
12
|
+
"identifier": args.identifier,
|
|
13
|
+
"orgId": args.orgId,
|
|
14
|
+
"projectId": args.projectId,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getOverrides = getOverrides;
|
|
18
|
+
function getOverridesOutput(args, opts) {
|
|
19
|
+
return pulumi.output(args).apply((a) => getOverrides(a, opts));
|
|
20
|
+
}
|
|
21
|
+
exports.getOverridesOutput = getOverridesOutput;
|
|
22
|
+
//# sourceMappingURL=getOverrides.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOverrides.js","sourceRoot":"","sources":["../../platform/getOverrides.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AA+BD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|