@pulumi/azuredevops 2.10.0 → 2.11.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.
- package/checkBranchControl.d.ts +13 -0
- package/checkBranchControl.js +3 -0
- package/checkBranchControl.js.map +1 -1
- package/checkBusinessHours.d.ts +13 -0
- package/checkBusinessHours.js +3 -0
- package/checkBusinessHours.js.map +1 -1
- package/getEnvironment.d.ts +62 -0
- package/getEnvironment.js +34 -0
- package/getEnvironment.js.map +1 -0
- package/getGroups.d.ts +2 -2
- package/getGroups.js +2 -2
- package/getTeam.d.ts +9 -0
- package/getTeam.js +1 -0
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +9 -0
- package/getTeams.js +1 -0
- package/getTeams.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +21 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/serviceEndpointAws.d.ts +0 -16
- package/serviceEndpointAws.js +1 -5
- package/serviceEndpointAws.js.map +1 -1
- package/serviceEndpointAzureDevOps.d.ts +0 -8
- package/serviceEndpointAzureDevOps.js +1 -3
- package/serviceEndpointAzureDevOps.js.map +1 -1
- package/serviceEndpointAzureRM.d.ts +3 -2
- package/serviceEndpointAzureRM.js +3 -2
- package/serviceEndpointAzureRM.js.map +1 -1
- package/serviceEndpointBitBucket.d.ts +0 -8
- package/serviceEndpointBitBucket.js +1 -3
- package/serviceEndpointBitBucket.js.map +1 -1
- package/serviceEndpointDockerRegistry.d.ts +0 -8
- package/serviceEndpointDockerRegistry.js +1 -3
- package/serviceEndpointDockerRegistry.js.map +1 -1
- package/serviceEndpointGeneric.d.ts +0 -8
- package/serviceEndpointGeneric.js +1 -3
- package/serviceEndpointGeneric.js.map +1 -1
- package/serviceEndpointGenericGit.d.ts +0 -8
- package/serviceEndpointGenericGit.js +1 -3
- package/serviceEndpointGenericGit.js.map +1 -1
- package/serviceEndpointSonarQube.d.ts +0 -8
- package/serviceEndpointSonarQube.js +1 -3
- package/serviceEndpointSonarQube.js.map +1 -1
- package/serviceEndpointSsh.d.ts +0 -16
- package/serviceEndpointSsh.js +1 -5
- package/serviceEndpointSsh.js.map +1 -1
- package/serviceendpoint/azureRM.d.ts +3 -2
- package/serviceendpoint/azureRM.js +3 -2
- package/serviceendpoint/azureRM.js.map +1 -1
- package/serviceendpoint/bitBucket.d.ts +0 -8
- package/serviceendpoint/bitBucket.js +1 -3
- package/serviceendpoint/bitBucket.js.map +1 -1
- package/serviceendpoint/dockerRegistry.d.ts +0 -8
- package/serviceendpoint/dockerRegistry.js +1 -3
- package/serviceendpoint/dockerRegistry.js.map +1 -1
- package/serviceendpointJenkins.d.ts +154 -0
- package/serviceendpointJenkins.js +114 -0
- package/serviceendpointJenkins.js.map +1 -0
- package/serviceendpointMaven.d.ts +182 -0
- package/serviceendpointMaven.js +135 -0
- package/serviceendpointMaven.js.map +1 -0
- package/serviceendpointNexus.d.ts +142 -0
- package/serviceendpointNexus.js +112 -0
- package/serviceendpointNexus.js.map +1 -0
- package/types/input.d.ts +18 -12
- package/types/output.d.ts +18 -12
|
@@ -0,0 +1,114 @@
|
|
|
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.ServiceendpointJenkins = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Jenkins service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Jenkins instance.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
+
*
|
|
17
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
18
|
+
* visibility: "private",
|
|
19
|
+
* versionControl: "Git",
|
|
20
|
+
* workItemTemplate: "Agile",
|
|
21
|
+
* description: "Managed by Terraform",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleServiceendpointJenkins = new azuredevops.ServiceendpointJenkins("exampleServiceendpointJenkins", {
|
|
24
|
+
* projectId: exampleProject.id,
|
|
25
|
+
* serviceEndpointName: "jenkins-example",
|
|
26
|
+
* description: "Service Endpoint for 'Jenkins' (Managed by Terraform)",
|
|
27
|
+
* url: "https://example.com",
|
|
28
|
+
* acceptUntrustedCerts: false,
|
|
29
|
+
* username: "username",
|
|
30
|
+
* password: "password",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Service Connection Jenkins can be imported using the `projectId/id` or or `projectName/id`, e.g.
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import azuredevops:index/serviceendpointJenkins:ServiceendpointJenkins example projectName/00000000-0000-0000-0000-000000000000
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class ServiceendpointJenkins extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing ServiceendpointJenkins resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new ServiceendpointJenkins(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of ServiceendpointJenkins. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === ServiceendpointJenkins.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["acceptUntrustedCerts"] = state ? state.acceptUntrustedCerts : undefined;
|
|
71
|
+
resourceInputs["authorization"] = state ? state.authorization : undefined;
|
|
72
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
73
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
74
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
75
|
+
resourceInputs["serviceEndpointName"] = state ? state.serviceEndpointName : undefined;
|
|
76
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
77
|
+
resourceInputs["username"] = state ? state.username : undefined;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
const args = argsOrState;
|
|
81
|
+
if ((!args || args.password === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'password'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'projectId'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.serviceEndpointName === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'serviceEndpointName'");
|
|
89
|
+
}
|
|
90
|
+
if ((!args || args.url === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'url'");
|
|
92
|
+
}
|
|
93
|
+
if ((!args || args.username === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'username'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["acceptUntrustedCerts"] = args ? args.acceptUntrustedCerts : undefined;
|
|
97
|
+
resourceInputs["authorization"] = args ? args.authorization : undefined;
|
|
98
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
99
|
+
resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
|
|
100
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
101
|
+
resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
|
|
102
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
103
|
+
resourceInputs["username"] = args ? args.username : undefined;
|
|
104
|
+
}
|
|
105
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
107
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
108
|
+
super(ServiceendpointJenkins.__pulumiType, name, resourceInputs, opts);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.ServiceendpointJenkins = ServiceendpointJenkins;
|
|
112
|
+
/** @internal */
|
|
113
|
+
ServiceendpointJenkins.__pulumiType = 'azuredevops:index/serviceendpointJenkins:ServiceendpointJenkins';
|
|
114
|
+
//# sourceMappingURL=serviceendpointJenkins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceendpointJenkins.js","sourceRoot":"","sources":["../serviceendpointJenkins.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB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i";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages a Maven service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Maven instance.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
12
|
+
*
|
|
13
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
14
|
+
* visibility: "private",
|
|
15
|
+
* versionControl: "Git",
|
|
16
|
+
* workItemTemplate: "Agile",
|
|
17
|
+
* description: "Managed by Terraform",
|
|
18
|
+
* });
|
|
19
|
+
* const exampleServiceendpointMaven = new azuredevops.ServiceendpointMaven("exampleServiceendpointMaven", {
|
|
20
|
+
* projectId: exampleProject.id,
|
|
21
|
+
* serviceEndpointName: "maven-example",
|
|
22
|
+
* description: "Service Endpoint for 'Maven' (Managed by Terraform)",
|
|
23
|
+
* url: "https://example.com",
|
|
24
|
+
* repositoryId: "example",
|
|
25
|
+
* authenticationToken: {
|
|
26
|
+
* token: "0000000000000000000000000000000000000000",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* Alternatively a username and password may be used.
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
36
|
+
*
|
|
37
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
38
|
+
* visibility: "private",
|
|
39
|
+
* versionControl: "Git",
|
|
40
|
+
* workItemTemplate: "Agile",
|
|
41
|
+
* description: "Managed by Terraform",
|
|
42
|
+
* });
|
|
43
|
+
* const exampleServiceendpointMaven = new azuredevops.ServiceendpointMaven("exampleServiceendpointMaven", {
|
|
44
|
+
* projectId: exampleProject.id,
|
|
45
|
+
* serviceEndpointName: "maven-example",
|
|
46
|
+
* description: "Service Endpoint for 'Maven' (Managed by Terraform)",
|
|
47
|
+
* url: "https://example.com",
|
|
48
|
+
* repositoryId: "example",
|
|
49
|
+
* authenticationBasic: {
|
|
50
|
+
* username: "username",
|
|
51
|
+
* password: "password",
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* ## Import
|
|
57
|
+
*
|
|
58
|
+
* Service Connection Maven can be imported using the `projectId/id` or or `projectName/id`, e.g.
|
|
59
|
+
*
|
|
60
|
+
* ```sh
|
|
61
|
+
* $ pulumi import azuredevops:index/serviceendpointMaven:ServiceendpointMaven example projectName/00000000-0000-0000-0000-000000000000
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare class ServiceendpointMaven extends pulumi.CustomResource {
|
|
65
|
+
/**
|
|
66
|
+
* Get an existing ServiceendpointMaven resource's state with the given name, ID, and optional extra
|
|
67
|
+
* properties used to qualify the lookup.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resulting resource.
|
|
70
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
71
|
+
* @param state Any extra arguments used during the lookup.
|
|
72
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
|
+
*/
|
|
74
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceendpointMavenState, opts?: pulumi.CustomResourceOptions): ServiceendpointMaven;
|
|
75
|
+
/**
|
|
76
|
+
* Returns true if the given object is an instance of ServiceendpointMaven. This is designed to work even
|
|
77
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
+
*/
|
|
79
|
+
static isInstance(obj: any): obj is ServiceendpointMaven;
|
|
80
|
+
/**
|
|
81
|
+
* A `authenticationBasic` block as documented below.
|
|
82
|
+
*/
|
|
83
|
+
readonly authenticationBasic: pulumi.Output<outputs.ServiceendpointMavenAuthenticationBasic | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* A `authenticationToken` block as documented below.
|
|
86
|
+
*/
|
|
87
|
+
readonly authenticationToken: pulumi.Output<outputs.ServiceendpointMavenAuthenticationToken | undefined>;
|
|
88
|
+
readonly authorization: pulumi.Output<{
|
|
89
|
+
[key: string]: string;
|
|
90
|
+
}>;
|
|
91
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the project. Changing this forces a new Service Connection Maven to be created.
|
|
94
|
+
*/
|
|
95
|
+
readonly projectId: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the server that matches the id element of the `repository/mirror` that Maven tries to connect to.
|
|
98
|
+
*/
|
|
99
|
+
readonly repositoryId: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
|
|
102
|
+
*/
|
|
103
|
+
readonly serviceEndpointName: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The URL of the Maven Repository.
|
|
106
|
+
*/
|
|
107
|
+
readonly url: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Create a ServiceendpointMaven resource with the given unique name, arguments, and options.
|
|
110
|
+
*
|
|
111
|
+
* @param name The _unique_ name of the resource.
|
|
112
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
113
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
114
|
+
*/
|
|
115
|
+
constructor(name: string, args: ServiceendpointMavenArgs, opts?: pulumi.CustomResourceOptions);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Input properties used for looking up and filtering ServiceendpointMaven resources.
|
|
119
|
+
*/
|
|
120
|
+
export interface ServiceendpointMavenState {
|
|
121
|
+
/**
|
|
122
|
+
* A `authenticationBasic` block as documented below.
|
|
123
|
+
*/
|
|
124
|
+
authenticationBasic?: pulumi.Input<inputs.ServiceendpointMavenAuthenticationBasic>;
|
|
125
|
+
/**
|
|
126
|
+
* A `authenticationToken` block as documented below.
|
|
127
|
+
*/
|
|
128
|
+
authenticationToken?: pulumi.Input<inputs.ServiceendpointMavenAuthenticationToken>;
|
|
129
|
+
authorization?: pulumi.Input<{
|
|
130
|
+
[key: string]: pulumi.Input<string>;
|
|
131
|
+
}>;
|
|
132
|
+
description?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the project. Changing this forces a new Service Connection Maven to be created.
|
|
135
|
+
*/
|
|
136
|
+
projectId?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The ID of the server that matches the id element of the `repository/mirror` that Maven tries to connect to.
|
|
139
|
+
*/
|
|
140
|
+
repositoryId?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
|
|
143
|
+
*/
|
|
144
|
+
serviceEndpointName?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The URL of the Maven Repository.
|
|
147
|
+
*/
|
|
148
|
+
url?: pulumi.Input<string>;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The set of arguments for constructing a ServiceendpointMaven resource.
|
|
152
|
+
*/
|
|
153
|
+
export interface ServiceendpointMavenArgs {
|
|
154
|
+
/**
|
|
155
|
+
* A `authenticationBasic` block as documented below.
|
|
156
|
+
*/
|
|
157
|
+
authenticationBasic?: pulumi.Input<inputs.ServiceendpointMavenAuthenticationBasic>;
|
|
158
|
+
/**
|
|
159
|
+
* A `authenticationToken` block as documented below.
|
|
160
|
+
*/
|
|
161
|
+
authenticationToken?: pulumi.Input<inputs.ServiceendpointMavenAuthenticationToken>;
|
|
162
|
+
authorization?: pulumi.Input<{
|
|
163
|
+
[key: string]: pulumi.Input<string>;
|
|
164
|
+
}>;
|
|
165
|
+
description?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The ID of the project. Changing this forces a new Service Connection Maven to be created.
|
|
168
|
+
*/
|
|
169
|
+
projectId: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The ID of the server that matches the id element of the `repository/mirror` that Maven tries to connect to.
|
|
172
|
+
*/
|
|
173
|
+
repositoryId: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
|
|
176
|
+
*/
|
|
177
|
+
serviceEndpointName: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The URL of the Maven Repository.
|
|
180
|
+
*/
|
|
181
|
+
url: pulumi.Input<string>;
|
|
182
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
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.ServiceendpointMaven = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Maven service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Maven instance.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
+
*
|
|
17
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
18
|
+
* visibility: "private",
|
|
19
|
+
* versionControl: "Git",
|
|
20
|
+
* workItemTemplate: "Agile",
|
|
21
|
+
* description: "Managed by Terraform",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleServiceendpointMaven = new azuredevops.ServiceendpointMaven("exampleServiceendpointMaven", {
|
|
24
|
+
* projectId: exampleProject.id,
|
|
25
|
+
* serviceEndpointName: "maven-example",
|
|
26
|
+
* description: "Service Endpoint for 'Maven' (Managed by Terraform)",
|
|
27
|
+
* url: "https://example.com",
|
|
28
|
+
* repositoryId: "example",
|
|
29
|
+
* authenticationToken: {
|
|
30
|
+
* token: "0000000000000000000000000000000000000000",
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* Alternatively a username and password may be used.
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
40
|
+
*
|
|
41
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
42
|
+
* visibility: "private",
|
|
43
|
+
* versionControl: "Git",
|
|
44
|
+
* workItemTemplate: "Agile",
|
|
45
|
+
* description: "Managed by Terraform",
|
|
46
|
+
* });
|
|
47
|
+
* const exampleServiceendpointMaven = new azuredevops.ServiceendpointMaven("exampleServiceendpointMaven", {
|
|
48
|
+
* projectId: exampleProject.id,
|
|
49
|
+
* serviceEndpointName: "maven-example",
|
|
50
|
+
* description: "Service Endpoint for 'Maven' (Managed by Terraform)",
|
|
51
|
+
* url: "https://example.com",
|
|
52
|
+
* repositoryId: "example",
|
|
53
|
+
* authenticationBasic: {
|
|
54
|
+
* username: "username",
|
|
55
|
+
* password: "password",
|
|
56
|
+
* },
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ## Import
|
|
61
|
+
*
|
|
62
|
+
* Service Connection Maven can be imported using the `projectId/id` or or `projectName/id`, e.g.
|
|
63
|
+
*
|
|
64
|
+
* ```sh
|
|
65
|
+
* $ pulumi import azuredevops:index/serviceendpointMaven:ServiceendpointMaven example projectName/00000000-0000-0000-0000-000000000000
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
class ServiceendpointMaven extends pulumi.CustomResource {
|
|
69
|
+
/**
|
|
70
|
+
* Get an existing ServiceendpointMaven resource's state with the given name, ID, and optional extra
|
|
71
|
+
* properties used to qualify the lookup.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resulting resource.
|
|
74
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
75
|
+
* @param state Any extra arguments used during the lookup.
|
|
76
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
|
+
*/
|
|
78
|
+
static get(name, id, state, opts) {
|
|
79
|
+
return new ServiceendpointMaven(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Returns true if the given object is an instance of ServiceendpointMaven. This is designed to work even
|
|
83
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
84
|
+
*/
|
|
85
|
+
static isInstance(obj) {
|
|
86
|
+
if (obj === undefined || obj === null) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
return obj['__pulumiType'] === ServiceendpointMaven.__pulumiType;
|
|
90
|
+
}
|
|
91
|
+
constructor(name, argsOrState, opts) {
|
|
92
|
+
let resourceInputs = {};
|
|
93
|
+
opts = opts || {};
|
|
94
|
+
if (opts.id) {
|
|
95
|
+
const state = argsOrState;
|
|
96
|
+
resourceInputs["authenticationBasic"] = state ? state.authenticationBasic : undefined;
|
|
97
|
+
resourceInputs["authenticationToken"] = state ? state.authenticationToken : undefined;
|
|
98
|
+
resourceInputs["authorization"] = state ? state.authorization : undefined;
|
|
99
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
100
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
101
|
+
resourceInputs["repositoryId"] = state ? state.repositoryId : undefined;
|
|
102
|
+
resourceInputs["serviceEndpointName"] = state ? state.serviceEndpointName : undefined;
|
|
103
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
const args = argsOrState;
|
|
107
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'projectId'");
|
|
109
|
+
}
|
|
110
|
+
if ((!args || args.repositoryId === undefined) && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'repositoryId'");
|
|
112
|
+
}
|
|
113
|
+
if ((!args || args.serviceEndpointName === undefined) && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'serviceEndpointName'");
|
|
115
|
+
}
|
|
116
|
+
if ((!args || args.url === undefined) && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'url'");
|
|
118
|
+
}
|
|
119
|
+
resourceInputs["authenticationBasic"] = args ? args.authenticationBasic : undefined;
|
|
120
|
+
resourceInputs["authenticationToken"] = args ? args.authenticationToken : undefined;
|
|
121
|
+
resourceInputs["authorization"] = args ? args.authorization : undefined;
|
|
122
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
123
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
124
|
+
resourceInputs["repositoryId"] = args ? args.repositoryId : undefined;
|
|
125
|
+
resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
|
|
126
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
127
|
+
}
|
|
128
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
129
|
+
super(ServiceendpointMaven.__pulumiType, name, resourceInputs, opts);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.ServiceendpointMaven = ServiceendpointMaven;
|
|
133
|
+
/** @internal */
|
|
134
|
+
ServiceendpointMaven.__pulumiType = 'azuredevops:index/serviceendpointMaven:ServiceendpointMaven';
|
|
135
|
+
//# sourceMappingURL=serviceendpointMaven.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceendpointMaven.js","sourceRoot":"","sources":["../serviceendpointMaven.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;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AC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,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,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AArGL,oDAsGC;AAxFG,gBAAgB;AACO,iCAAY,GAAG,6DAA6D,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Nexus IQ service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Nexus IQ instance.
|
|
4
|
+
* Nexus IQ is not supported by default, to manage a nexus service connection resource, it is necessary to install the [Nexus Extension](https://marketplace.visualstudio.com/items?itemName=SonatypeIntegrations.nexus-iq-azure-extension) in Azure DevOps.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
11
|
+
*
|
|
12
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
13
|
+
* visibility: "private",
|
|
14
|
+
* versionControl: "Git",
|
|
15
|
+
* workItemTemplate: "Agile",
|
|
16
|
+
* description: "Managed by Terraform",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleServiceendpointNexus = new azuredevops.ServiceendpointNexus("exampleServiceendpointNexus", {
|
|
19
|
+
* projectId: exampleProject.id,
|
|
20
|
+
* serviceEndpointName: "nexus-example",
|
|
21
|
+
* description: "Service Endpoint for 'Nexus IQ' (Managed by Terraform)",
|
|
22
|
+
* url: "https://example.com",
|
|
23
|
+
* username: "username",
|
|
24
|
+
* password: "password",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Service Connection Nexus can be imported using the `projectId/id` or or `projectName/id`, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import azuredevops:index/serviceendpointNexus:ServiceendpointNexus example projectName/00000000-0000-0000-0000-000000000000
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class ServiceendpointNexus extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing ServiceendpointNexus resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceendpointNexusState, opts?: pulumi.CustomResourceOptions): ServiceendpointNexus;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of ServiceendpointNexus. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is ServiceendpointNexus;
|
|
52
|
+
readonly authorization: pulumi.Output<{
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
}>;
|
|
55
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The Service Endpoint password to authenticate at the Nexus IQ Instance.
|
|
58
|
+
*/
|
|
59
|
+
readonly password: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the project. Changing this forces a new Service Connection Nexus to be created.
|
|
62
|
+
*/
|
|
63
|
+
readonly projectId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The name of the service endpoint. Changing this forces a new Service Connection Nexus to be created.
|
|
66
|
+
*/
|
|
67
|
+
readonly serviceEndpointName: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The Service Endpoint url.
|
|
70
|
+
*/
|
|
71
|
+
readonly url: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The Service Endpoint username to authenticate at the Nexus IQ Instance.
|
|
74
|
+
*/
|
|
75
|
+
readonly username: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Create a ServiceendpointNexus resource with the given unique name, arguments, and options.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resource.
|
|
80
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
81
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
82
|
+
*/
|
|
83
|
+
constructor(name: string, args: ServiceendpointNexusArgs, opts?: pulumi.CustomResourceOptions);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Input properties used for looking up and filtering ServiceendpointNexus resources.
|
|
87
|
+
*/
|
|
88
|
+
export interface ServiceendpointNexusState {
|
|
89
|
+
authorization?: pulumi.Input<{
|
|
90
|
+
[key: string]: pulumi.Input<string>;
|
|
91
|
+
}>;
|
|
92
|
+
description?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The Service Endpoint password to authenticate at the Nexus IQ Instance.
|
|
95
|
+
*/
|
|
96
|
+
password?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the project. Changing this forces a new Service Connection Nexus to be created.
|
|
99
|
+
*/
|
|
100
|
+
projectId?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the service endpoint. Changing this forces a new Service Connection Nexus to be created.
|
|
103
|
+
*/
|
|
104
|
+
serviceEndpointName?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The Service Endpoint url.
|
|
107
|
+
*/
|
|
108
|
+
url?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The Service Endpoint username to authenticate at the Nexus IQ Instance.
|
|
111
|
+
*/
|
|
112
|
+
username?: pulumi.Input<string>;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The set of arguments for constructing a ServiceendpointNexus resource.
|
|
116
|
+
*/
|
|
117
|
+
export interface ServiceendpointNexusArgs {
|
|
118
|
+
authorization?: pulumi.Input<{
|
|
119
|
+
[key: string]: pulumi.Input<string>;
|
|
120
|
+
}>;
|
|
121
|
+
description?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The Service Endpoint password to authenticate at the Nexus IQ Instance.
|
|
124
|
+
*/
|
|
125
|
+
password: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The ID of the project. Changing this forces a new Service Connection Nexus to be created.
|
|
128
|
+
*/
|
|
129
|
+
projectId: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The name of the service endpoint. Changing this forces a new Service Connection Nexus to be created.
|
|
132
|
+
*/
|
|
133
|
+
serviceEndpointName: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The Service Endpoint url.
|
|
136
|
+
*/
|
|
137
|
+
url: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The Service Endpoint username to authenticate at the Nexus IQ Instance.
|
|
140
|
+
*/
|
|
141
|
+
username: pulumi.Input<string>;
|
|
142
|
+
}
|