@pulumi/azuredevops 3.9.0-alpha.1745040263 → 3.9.0

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.
@@ -0,0 +1,227 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Manages an Openshift service endpoint within Azure DevOps organization. Using this service endpoint requires you to first install the [OpenShift Extension](https://marketplace.visualstudio.com/items?itemName=redhat.openshift-vsts).
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as azuredevops from "@pulumi/azuredevops";
12
+ *
13
+ * const example = new azuredevops.Project("example", {
14
+ * name: "Example Project",
15
+ * visibility: "private",
16
+ * versionControl: "Git",
17
+ * workItemTemplate: "Agile",
18
+ * description: "Managed by Pulumi",
19
+ * });
20
+ * const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
21
+ * projectId: example.id,
22
+ * serviceEndpointName: "Example Openshift",
23
+ * serverUrl: "https://example.server",
24
+ * certificateAuthorityFile: "/opt/file",
25
+ * acceptUntrustedCerts: true,
26
+ * authBasic: {
27
+ * username: "username",
28
+ * password: "password",
29
+ * },
30
+ * });
31
+ * ```
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as azuredevops from "@pulumi/azuredevops";
36
+ *
37
+ * const example = new azuredevops.Project("example", {
38
+ * name: "Example Project",
39
+ * visibility: "private",
40
+ * versionControl: "Git",
41
+ * workItemTemplate: "Agile",
42
+ * description: "Managed by Pulumi",
43
+ * });
44
+ * const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
45
+ * projectId: example.id,
46
+ * serviceEndpointName: "Example Openshift",
47
+ * serverUrl: "https://example.server",
48
+ * certificateAuthorityFile: "/opt/file",
49
+ * acceptUntrustedCerts: true,
50
+ * authToken: {
51
+ * token: "username",
52
+ * },
53
+ * });
54
+ * ```
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as azuredevops from "@pulumi/azuredevops";
58
+ *
59
+ * const example = new azuredevops.Project("example", {
60
+ * name: "Example Project",
61
+ * visibility: "private",
62
+ * versionControl: "Git",
63
+ * workItemTemplate: "Agile",
64
+ * description: "Managed by Pulumi",
65
+ * });
66
+ * const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
67
+ * projectId: example.id,
68
+ * serviceEndpointName: "Example Openshift",
69
+ * serverUrl: "https://example.server",
70
+ * authNone: {
71
+ * kubeConfig: "config",
72
+ * },
73
+ * });
74
+ * ```
75
+ *
76
+ * ## Relevant Links
77
+ *
78
+ * - [Azure DevOps Service REST API 7.1 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.1)
79
+ *
80
+ * ## Import
81
+ *
82
+ * Azure DevOps Openshift Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
83
+ *
84
+ * ```sh
85
+ * $ pulumi import azuredevops:index/serviceendpointOpenshift:ServiceendpointOpenshift example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
86
+ * ```
87
+ */
88
+ export declare class ServiceendpointOpenshift extends pulumi.CustomResource {
89
+ /**
90
+ * Get an existing ServiceendpointOpenshift resource's state with the given name, ID, and optional extra
91
+ * properties used to qualify the lookup.
92
+ *
93
+ * @param name The _unique_ name of the resulting resource.
94
+ * @param id The _unique_ provider ID of the resource to lookup.
95
+ * @param state Any extra arguments used during the lookup.
96
+ * @param opts Optional settings to control the behavior of the CustomResource.
97
+ */
98
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceendpointOpenshiftState, opts?: pulumi.CustomResourceOptions): ServiceendpointOpenshift;
99
+ /**
100
+ * Returns true if the given object is an instance of ServiceendpointOpenshift. This is designed to work even
101
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
102
+ */
103
+ static isInstance(obj: any): obj is ServiceendpointOpenshift;
104
+ /**
105
+ * Set this option to allow clients to accept a self-signed certificate. Available when using `authBasic` or `authToken` authorization.
106
+ */
107
+ readonly acceptUntrustedCerts: pulumi.Output<boolean | undefined>;
108
+ /**
109
+ * An `authBasic` block as documented below.
110
+ */
111
+ readonly authBasic: pulumi.Output<outputs.ServiceendpointOpenshiftAuthBasic | undefined>;
112
+ /**
113
+ * An `authNone` block as documented below.
114
+ */
115
+ readonly authNone: pulumi.Output<outputs.ServiceendpointOpenshiftAuthNone | undefined>;
116
+ /**
117
+ * An `authToken` block as documented below.
118
+ */
119
+ readonly authToken: pulumi.Output<outputs.ServiceendpointOpenshiftAuthToken | undefined>;
120
+ readonly authorization: pulumi.Output<{
121
+ [key: string]: string;
122
+ }>;
123
+ /**
124
+ * The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using `authBasic` or `authToken` authorization.
125
+ */
126
+ readonly certificateAuthorityFile: pulumi.Output<string | undefined>;
127
+ readonly description: pulumi.Output<string | undefined>;
128
+ /**
129
+ * The ID of the project.
130
+ */
131
+ readonly projectId: pulumi.Output<string>;
132
+ /**
133
+ * The URL for the OpenShift cluster to connect to.
134
+ */
135
+ readonly serverUrl: pulumi.Output<string | undefined>;
136
+ /**
137
+ * The Service Endpoint name.
138
+ */
139
+ readonly serviceEndpointName: pulumi.Output<string>;
140
+ /**
141
+ * Create a ServiceendpointOpenshift resource with the given unique name, arguments, and options.
142
+ *
143
+ * @param name The _unique_ name of the resource.
144
+ * @param args The arguments to use to populate this resource's properties.
145
+ * @param opts A bag of options that control this resource's behavior.
146
+ */
147
+ constructor(name: string, args: ServiceendpointOpenshiftArgs, opts?: pulumi.CustomResourceOptions);
148
+ }
149
+ /**
150
+ * Input properties used for looking up and filtering ServiceendpointOpenshift resources.
151
+ */
152
+ export interface ServiceendpointOpenshiftState {
153
+ /**
154
+ * Set this option to allow clients to accept a self-signed certificate. Available when using `authBasic` or `authToken` authorization.
155
+ */
156
+ acceptUntrustedCerts?: pulumi.Input<boolean>;
157
+ /**
158
+ * An `authBasic` block as documented below.
159
+ */
160
+ authBasic?: pulumi.Input<inputs.ServiceendpointOpenshiftAuthBasic>;
161
+ /**
162
+ * An `authNone` block as documented below.
163
+ */
164
+ authNone?: pulumi.Input<inputs.ServiceendpointOpenshiftAuthNone>;
165
+ /**
166
+ * An `authToken` block as documented below.
167
+ */
168
+ authToken?: pulumi.Input<inputs.ServiceendpointOpenshiftAuthToken>;
169
+ authorization?: pulumi.Input<{
170
+ [key: string]: pulumi.Input<string>;
171
+ }>;
172
+ /**
173
+ * The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using `authBasic` or `authToken` authorization.
174
+ */
175
+ certificateAuthorityFile?: pulumi.Input<string>;
176
+ description?: pulumi.Input<string>;
177
+ /**
178
+ * The ID of the project.
179
+ */
180
+ projectId?: pulumi.Input<string>;
181
+ /**
182
+ * The URL for the OpenShift cluster to connect to.
183
+ */
184
+ serverUrl?: pulumi.Input<string>;
185
+ /**
186
+ * The Service Endpoint name.
187
+ */
188
+ serviceEndpointName?: pulumi.Input<string>;
189
+ }
190
+ /**
191
+ * The set of arguments for constructing a ServiceendpointOpenshift resource.
192
+ */
193
+ export interface ServiceendpointOpenshiftArgs {
194
+ /**
195
+ * Set this option to allow clients to accept a self-signed certificate. Available when using `authBasic` or `authToken` authorization.
196
+ */
197
+ acceptUntrustedCerts?: pulumi.Input<boolean>;
198
+ /**
199
+ * An `authBasic` block as documented below.
200
+ */
201
+ authBasic?: pulumi.Input<inputs.ServiceendpointOpenshiftAuthBasic>;
202
+ /**
203
+ * An `authNone` block as documented below.
204
+ */
205
+ authNone?: pulumi.Input<inputs.ServiceendpointOpenshiftAuthNone>;
206
+ /**
207
+ * An `authToken` block as documented below.
208
+ */
209
+ authToken?: pulumi.Input<inputs.ServiceendpointOpenshiftAuthToken>;
210
+ /**
211
+ * The path to a certificate authority file to correctly and securely authenticates with an OpenShift server that uses HTTPS. Available when using `authBasic` or `authToken` authorization.
212
+ */
213
+ certificateAuthorityFile?: pulumi.Input<string>;
214
+ description?: pulumi.Input<string>;
215
+ /**
216
+ * The ID of the project.
217
+ */
218
+ projectId: pulumi.Input<string>;
219
+ /**
220
+ * The URL for the OpenShift cluster to connect to.
221
+ */
222
+ serverUrl?: pulumi.Input<string>;
223
+ /**
224
+ * The Service Endpoint name.
225
+ */
226
+ serviceEndpointName: pulumi.Input<string>;
227
+ }
@@ -0,0 +1,157 @@
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.ServiceendpointOpenshift = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Manages an Openshift service endpoint within Azure DevOps organization. Using this service endpoint requires you to first install the [OpenShift Extension](https://marketplace.visualstudio.com/items?itemName=redhat.openshift-vsts).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azuredevops from "@pulumi/azuredevops";
16
+ *
17
+ * const example = new azuredevops.Project("example", {
18
+ * name: "Example Project",
19
+ * visibility: "private",
20
+ * versionControl: "Git",
21
+ * workItemTemplate: "Agile",
22
+ * description: "Managed by Pulumi",
23
+ * });
24
+ * const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
25
+ * projectId: example.id,
26
+ * serviceEndpointName: "Example Openshift",
27
+ * serverUrl: "https://example.server",
28
+ * certificateAuthorityFile: "/opt/file",
29
+ * acceptUntrustedCerts: true,
30
+ * authBasic: {
31
+ * username: "username",
32
+ * password: "password",
33
+ * },
34
+ * });
35
+ * ```
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as azuredevops from "@pulumi/azuredevops";
40
+ *
41
+ * const example = new azuredevops.Project("example", {
42
+ * name: "Example Project",
43
+ * visibility: "private",
44
+ * versionControl: "Git",
45
+ * workItemTemplate: "Agile",
46
+ * description: "Managed by Pulumi",
47
+ * });
48
+ * const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
49
+ * projectId: example.id,
50
+ * serviceEndpointName: "Example Openshift",
51
+ * serverUrl: "https://example.server",
52
+ * certificateAuthorityFile: "/opt/file",
53
+ * acceptUntrustedCerts: true,
54
+ * authToken: {
55
+ * token: "username",
56
+ * },
57
+ * });
58
+ * ```
59
+ * ```typescript
60
+ * import * as pulumi from "@pulumi/pulumi";
61
+ * import * as azuredevops from "@pulumi/azuredevops";
62
+ *
63
+ * const example = new azuredevops.Project("example", {
64
+ * name: "Example Project",
65
+ * visibility: "private",
66
+ * versionControl: "Git",
67
+ * workItemTemplate: "Agile",
68
+ * description: "Managed by Pulumi",
69
+ * });
70
+ * const exampleServiceendpointOpenshift = new azuredevops.ServiceendpointOpenshift("example", {
71
+ * projectId: example.id,
72
+ * serviceEndpointName: "Example Openshift",
73
+ * serverUrl: "https://example.server",
74
+ * authNone: {
75
+ * kubeConfig: "config",
76
+ * },
77
+ * });
78
+ * ```
79
+ *
80
+ * ## Relevant Links
81
+ *
82
+ * - [Azure DevOps Service REST API 7.1 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.1)
83
+ *
84
+ * ## Import
85
+ *
86
+ * Azure DevOps Openshift Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
87
+ *
88
+ * ```sh
89
+ * $ pulumi import azuredevops:index/serviceendpointOpenshift:ServiceendpointOpenshift example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
90
+ * ```
91
+ */
92
+ class ServiceendpointOpenshift extends pulumi.CustomResource {
93
+ /**
94
+ * Get an existing ServiceendpointOpenshift resource's state with the given name, ID, and optional extra
95
+ * properties used to qualify the lookup.
96
+ *
97
+ * @param name The _unique_ name of the resulting resource.
98
+ * @param id The _unique_ provider ID of the resource to lookup.
99
+ * @param state Any extra arguments used during the lookup.
100
+ * @param opts Optional settings to control the behavior of the CustomResource.
101
+ */
102
+ static get(name, id, state, opts) {
103
+ return new ServiceendpointOpenshift(name, state, Object.assign(Object.assign({}, opts), { id: id }));
104
+ }
105
+ /**
106
+ * Returns true if the given object is an instance of ServiceendpointOpenshift. This is designed to work even
107
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
108
+ */
109
+ static isInstance(obj) {
110
+ if (obj === undefined || obj === null) {
111
+ return false;
112
+ }
113
+ return obj['__pulumiType'] === ServiceendpointOpenshift.__pulumiType;
114
+ }
115
+ constructor(name, argsOrState, opts) {
116
+ let resourceInputs = {};
117
+ opts = opts || {};
118
+ if (opts.id) {
119
+ const state = argsOrState;
120
+ resourceInputs["acceptUntrustedCerts"] = state ? state.acceptUntrustedCerts : undefined;
121
+ resourceInputs["authBasic"] = state ? state.authBasic : undefined;
122
+ resourceInputs["authNone"] = state ? state.authNone : undefined;
123
+ resourceInputs["authToken"] = state ? state.authToken : undefined;
124
+ resourceInputs["authorization"] = state ? state.authorization : undefined;
125
+ resourceInputs["certificateAuthorityFile"] = state ? state.certificateAuthorityFile : undefined;
126
+ resourceInputs["description"] = state ? state.description : undefined;
127
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
128
+ resourceInputs["serverUrl"] = state ? state.serverUrl : undefined;
129
+ resourceInputs["serviceEndpointName"] = state ? state.serviceEndpointName : undefined;
130
+ }
131
+ else {
132
+ const args = argsOrState;
133
+ if ((!args || args.projectId === undefined) && !opts.urn) {
134
+ throw new Error("Missing required property 'projectId'");
135
+ }
136
+ if ((!args || args.serviceEndpointName === undefined) && !opts.urn) {
137
+ throw new Error("Missing required property 'serviceEndpointName'");
138
+ }
139
+ resourceInputs["acceptUntrustedCerts"] = args ? args.acceptUntrustedCerts : undefined;
140
+ resourceInputs["authBasic"] = args ? args.authBasic : undefined;
141
+ resourceInputs["authNone"] = args ? args.authNone : undefined;
142
+ resourceInputs["authToken"] = args ? args.authToken : undefined;
143
+ resourceInputs["certificateAuthorityFile"] = args ? args.certificateAuthorityFile : undefined;
144
+ resourceInputs["description"] = args ? args.description : undefined;
145
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
146
+ resourceInputs["serverUrl"] = args ? args.serverUrl : undefined;
147
+ resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
148
+ resourceInputs["authorization"] = undefined /*out*/;
149
+ }
150
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
151
+ super(ServiceendpointOpenshift.__pulumiType, name, resourceInputs, opts);
152
+ }
153
+ }
154
+ exports.ServiceendpointOpenshift = ServiceendpointOpenshift;
155
+ /** @internal */
156
+ ServiceendpointOpenshift.__pulumiType = 'azuredevops:index/serviceendpointOpenshift:ServiceendpointOpenshift';
157
+ //# sourceMappingURL=serviceendpointOpenshift.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceendpointOpenshift.js","sourceRoot":"","sources":["../serviceendpointOpenshift.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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I,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA3GL,4DA4GC;AA9FG,gBAAgB;AACO,qCAAY,GAAG,qEAAqE,CAAC"}
package/types/input.d.ts CHANGED
@@ -776,12 +776,6 @@ export interface GitInitialization {
776
776
  * The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
777
777
  */
778
778
  initType: pulumi.Input<string>;
779
- /**
780
- * The password used to authenticate to a private repository for import initialization. Conflicts with `serviceConnectionId`.
781
- *
782
- * ~>**Note** At least `serviceConnectionId` or `username/password` needs to be set to import private repository.
783
- */
784
- password?: pulumi.Input<string>;
785
779
  /**
786
780
  * The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
787
781
  */
@@ -850,6 +844,12 @@ export interface ServiceEndpointGitHubAuthPersonal {
850
844
  */
851
845
  personalAccessToken: pulumi.Input<string>;
852
846
  }
847
+ export interface ServiceEndpointGitHubEnterpriseAuthOauth {
848
+ /**
849
+ * The OAuth Configuration ID.
850
+ */
851
+ oauthConfigurationId: pulumi.Input<string>;
852
+ }
853
853
  export interface ServiceEndpointGitHubEnterpriseAuthPersonal {
854
854
  /**
855
855
  * The Personal Access Token for GitHub.
@@ -1080,6 +1080,28 @@ export interface ServiceendpointMavenAuthenticationToken {
1080
1080
  */
1081
1081
  token: pulumi.Input<string>;
1082
1082
  }
1083
+ export interface ServiceendpointOpenshiftAuthBasic {
1084
+ /**
1085
+ * The password of the user.
1086
+ */
1087
+ password: pulumi.Input<string>;
1088
+ /**
1089
+ * The name of the user.
1090
+ */
1091
+ username: pulumi.Input<string>;
1092
+ }
1093
+ export interface ServiceendpointOpenshiftAuthNone {
1094
+ /**
1095
+ * The kubectl config
1096
+ */
1097
+ kubeConfig?: pulumi.Input<string>;
1098
+ }
1099
+ export interface ServiceendpointOpenshiftAuthToken {
1100
+ /**
1101
+ * The API token.
1102
+ */
1103
+ token: pulumi.Input<string>;
1104
+ }
1083
1105
  export interface ServiceendpointVisualstudiomarketplaceAuthenticationBasic {
1084
1106
  /**
1085
1107
  * The password of the marketplace.
package/types/output.d.ts CHANGED
@@ -1374,12 +1374,6 @@ export interface GitInitialization {
1374
1374
  * The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
1375
1375
  */
1376
1376
  initType: string;
1377
- /**
1378
- * The password used to authenticate to a private repository for import initialization. Conflicts with `serviceConnectionId`.
1379
- *
1380
- * ~>**Note** At least `serviceConnectionId` or `username/password` needs to be set to import private repository.
1381
- */
1382
- password?: string;
1383
1377
  /**
1384
1378
  * The ID of service connection used to authenticate to a private repository for import initialization. Conflicts with `username` and `password`.
1385
1379
  */
@@ -1448,6 +1442,12 @@ export interface ServiceEndpointGitHubAuthPersonal {
1448
1442
  */
1449
1443
  personalAccessToken: string;
1450
1444
  }
1445
+ export interface ServiceEndpointGitHubEnterpriseAuthOauth {
1446
+ /**
1447
+ * The OAuth Configuration ID.
1448
+ */
1449
+ oauthConfigurationId: string;
1450
+ }
1451
1451
  export interface ServiceEndpointGitHubEnterpriseAuthPersonal {
1452
1452
  /**
1453
1453
  * The Personal Access Token for GitHub.
@@ -1678,6 +1678,28 @@ export interface ServiceendpointMavenAuthenticationToken {
1678
1678
  */
1679
1679
  token: string;
1680
1680
  }
1681
+ export interface ServiceendpointOpenshiftAuthBasic {
1682
+ /**
1683
+ * The password of the user.
1684
+ */
1685
+ password: string;
1686
+ /**
1687
+ * The name of the user.
1688
+ */
1689
+ username: string;
1690
+ }
1691
+ export interface ServiceendpointOpenshiftAuthNone {
1692
+ /**
1693
+ * The kubectl config
1694
+ */
1695
+ kubeConfig?: string;
1696
+ }
1697
+ export interface ServiceendpointOpenshiftAuthToken {
1698
+ /**
1699
+ * The API token.
1700
+ */
1701
+ token: string;
1702
+ }
1681
1703
  export interface ServiceendpointVisualstudiomarketplaceAuthenticationBasic {
1682
1704
  /**
1683
1705
  * The password of the marketplace.