@pulumi/azuredevops 3.8.0-alpha.1741843418 → 3.8.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/buildDefinition.d.ts +134 -0
- package/buildDefinition.js +98 -0
- package/buildDefinition.js.map +1 -1
- package/getBuildDefinition.d.ts +12 -0
- package/getBuildDefinition.js.map +1 -1
- package/getClientConfig.d.ts +17 -1
- package/getClientConfig.js.map +1 -1
- package/getGroupMembership.d.ts +71 -0
- package/getGroupMembership.js +58 -0
- package/getGroupMembership.js.map +1 -0
- package/getTeams.d.ts +2 -2
- package/getTeams.js +2 -2
- package/getUsers.d.ts +4 -0
- package/getUsers.js +4 -0
- package/getUsers.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +7 -4
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/serviceEndpointAzureEcr.d.ts +6 -6
- package/serviceEndpointAzureRM.d.ts +4 -0
- package/serviceEndpointAzureRM.js +4 -0
- package/serviceEndpointAzureRM.js.map +1 -1
- package/types/input.d.ts +83 -3
- package/types/output.d.ts +160 -3
package/buildDefinition.d.ts
CHANGED
|
@@ -201,6 +201,98 @@ import * as outputs from "./types/output";
|
|
|
201
201
|
* });
|
|
202
202
|
* ```
|
|
203
203
|
*
|
|
204
|
+
* ### Using Other Git and Agent Jobs
|
|
205
|
+
* ```typescript
|
|
206
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
207
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
208
|
+
*
|
|
209
|
+
* const example = new azuredevops.ServiceEndpointGenericGit("example", {
|
|
210
|
+
* projectId: exampleAzuredevopsProject.id,
|
|
211
|
+
* repositoryUrl: "https://gitlab.com/example/example.git",
|
|
212
|
+
* password: "token",
|
|
213
|
+
* serviceEndpointName: "Example Generic Git",
|
|
214
|
+
* });
|
|
215
|
+
* const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
|
|
216
|
+
* projectId: exampleAzuredevopsProject2.id,
|
|
217
|
+
* name: "Example Build Definition",
|
|
218
|
+
* path: "\\ExampleFolder",
|
|
219
|
+
* ciTrigger: {
|
|
220
|
+
* useYaml: false,
|
|
221
|
+
* },
|
|
222
|
+
* repository: {
|
|
223
|
+
* repoType: "Git",
|
|
224
|
+
* repoId: example.repositoryUrl,
|
|
225
|
+
* branchName: "refs/heads/main",
|
|
226
|
+
* url: example.repositoryUrl,
|
|
227
|
+
* serviceConnectionId: example.id,
|
|
228
|
+
* },
|
|
229
|
+
* jobs: [
|
|
230
|
+
* {
|
|
231
|
+
* name: "Agent Job1",
|
|
232
|
+
* refName: "agent_job1",
|
|
233
|
+
* condition: "succeededOrFailed()",
|
|
234
|
+
* target: {
|
|
235
|
+
* type: "AgentJob",
|
|
236
|
+
* executionOptions: {
|
|
237
|
+
* type: "None",
|
|
238
|
+
* },
|
|
239
|
+
* },
|
|
240
|
+
* },
|
|
241
|
+
* {
|
|
242
|
+
* name: "Agent Job2",
|
|
243
|
+
* refName: "agent_job2",
|
|
244
|
+
* condition: "succeededOrFailed()",
|
|
245
|
+
* dependencies: [{
|
|
246
|
+
* scope: "agent_job1",
|
|
247
|
+
* }],
|
|
248
|
+
* target: {
|
|
249
|
+
* type: "AgentJob",
|
|
250
|
+
* demands: ["git"],
|
|
251
|
+
* executionOptions: {
|
|
252
|
+
* type: "Multi-Configuration",
|
|
253
|
+
* continueOnError: true,
|
|
254
|
+
* multipliers: "multipliers",
|
|
255
|
+
* maxConcurrency: 2,
|
|
256
|
+
* },
|
|
257
|
+
* },
|
|
258
|
+
* },
|
|
259
|
+
* {
|
|
260
|
+
* name: "Agentless Job1",
|
|
261
|
+
* refName: "agentless_job1",
|
|
262
|
+
* condition: "succeeded()",
|
|
263
|
+
* target: {
|
|
264
|
+
* type: "AgentlessJob",
|
|
265
|
+
* executionOptions: {
|
|
266
|
+
* type: "None",
|
|
267
|
+
* },
|
|
268
|
+
* },
|
|
269
|
+
* },
|
|
270
|
+
* {
|
|
271
|
+
* name: "Agentless Job2",
|
|
272
|
+
* refName: "agentless_job2",
|
|
273
|
+
* condition: "succeeded()",
|
|
274
|
+
* jobAuthorizationScope: "project",
|
|
275
|
+
* dependencies: [
|
|
276
|
+
* {
|
|
277
|
+
* scope: "agent_job2",
|
|
278
|
+
* },
|
|
279
|
+
* {
|
|
280
|
+
* scope: "agentless_job1",
|
|
281
|
+
* },
|
|
282
|
+
* ],
|
|
283
|
+
* target: {
|
|
284
|
+
* type: "AgentlessJob",
|
|
285
|
+
* executionOptions: {
|
|
286
|
+
* type: "Multi-Configuration",
|
|
287
|
+
* continueOnError: true,
|
|
288
|
+
* multipliers: "multipliers",
|
|
289
|
+
* },
|
|
290
|
+
* },
|
|
291
|
+
* },
|
|
292
|
+
* ],
|
|
293
|
+
* });
|
|
294
|
+
* ```
|
|
295
|
+
*
|
|
204
296
|
* ## Remarks
|
|
205
297
|
*
|
|
206
298
|
* The path attribute can not end in `\` unless the path is the root value of `\`.
|
|
@@ -250,6 +342,10 @@ export declare class BuildDefinition extends pulumi.CustomResource {
|
|
|
250
342
|
* The agent pool that should execute the build. Defaults to `Azure Pipelines`.
|
|
251
343
|
*/
|
|
252
344
|
readonly agentPoolName: pulumi.Output<string | undefined>;
|
|
345
|
+
/**
|
|
346
|
+
* The Agent Specification to run the pipelines. Required when `repoType` is `Git`. Example: `windows-2019`, `windows-latest`, `macos-13` etc.
|
|
347
|
+
*/
|
|
348
|
+
readonly agentSpecification: pulumi.Output<string | undefined>;
|
|
253
349
|
/**
|
|
254
350
|
* A `buildCompletionTrigger` block as documented below.
|
|
255
351
|
*/
|
|
@@ -262,6 +358,16 @@ export declare class BuildDefinition extends pulumi.CustomResource {
|
|
|
262
358
|
* A `features` blocks as documented below.
|
|
263
359
|
*/
|
|
264
360
|
readonly features: pulumi.Output<outputs.BuildDefinitionFeature[] | undefined>;
|
|
361
|
+
/**
|
|
362
|
+
* The job authorization scope for builds queued against this definition. Possible values are: `project`, `projectCollection`. Defaults to `projectCollection`.
|
|
363
|
+
*/
|
|
364
|
+
readonly jobAuthorizationScope: pulumi.Output<string | undefined>;
|
|
365
|
+
/**
|
|
366
|
+
* A `jobs` blocks as documented below.
|
|
367
|
+
*
|
|
368
|
+
* > **NOTE:** The `jobs` are classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
|
|
369
|
+
*/
|
|
370
|
+
readonly jobs: pulumi.Output<outputs.BuildDefinitionJob[] | undefined>;
|
|
265
371
|
/**
|
|
266
372
|
* The name of the build definition.
|
|
267
373
|
*/
|
|
@@ -316,6 +422,10 @@ export interface BuildDefinitionState {
|
|
|
316
422
|
* The agent pool that should execute the build. Defaults to `Azure Pipelines`.
|
|
317
423
|
*/
|
|
318
424
|
agentPoolName?: pulumi.Input<string>;
|
|
425
|
+
/**
|
|
426
|
+
* The Agent Specification to run the pipelines. Required when `repoType` is `Git`. Example: `windows-2019`, `windows-latest`, `macos-13` etc.
|
|
427
|
+
*/
|
|
428
|
+
agentSpecification?: pulumi.Input<string>;
|
|
319
429
|
/**
|
|
320
430
|
* A `buildCompletionTrigger` block as documented below.
|
|
321
431
|
*/
|
|
@@ -328,6 +438,16 @@ export interface BuildDefinitionState {
|
|
|
328
438
|
* A `features` blocks as documented below.
|
|
329
439
|
*/
|
|
330
440
|
features?: pulumi.Input<pulumi.Input<inputs.BuildDefinitionFeature>[]>;
|
|
441
|
+
/**
|
|
442
|
+
* The job authorization scope for builds queued against this definition. Possible values are: `project`, `projectCollection`. Defaults to `projectCollection`.
|
|
443
|
+
*/
|
|
444
|
+
jobAuthorizationScope?: pulumi.Input<string>;
|
|
445
|
+
/**
|
|
446
|
+
* A `jobs` blocks as documented below.
|
|
447
|
+
*
|
|
448
|
+
* > **NOTE:** The `jobs` are classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
|
|
449
|
+
*/
|
|
450
|
+
jobs?: pulumi.Input<pulumi.Input<inputs.BuildDefinitionJob>[]>;
|
|
331
451
|
/**
|
|
332
452
|
* The name of the build definition.
|
|
333
453
|
*/
|
|
@@ -374,6 +494,10 @@ export interface BuildDefinitionArgs {
|
|
|
374
494
|
* The agent pool that should execute the build. Defaults to `Azure Pipelines`.
|
|
375
495
|
*/
|
|
376
496
|
agentPoolName?: pulumi.Input<string>;
|
|
497
|
+
/**
|
|
498
|
+
* The Agent Specification to run the pipelines. Required when `repoType` is `Git`. Example: `windows-2019`, `windows-latest`, `macos-13` etc.
|
|
499
|
+
*/
|
|
500
|
+
agentSpecification?: pulumi.Input<string>;
|
|
377
501
|
/**
|
|
378
502
|
* A `buildCompletionTrigger` block as documented below.
|
|
379
503
|
*/
|
|
@@ -386,6 +510,16 @@ export interface BuildDefinitionArgs {
|
|
|
386
510
|
* A `features` blocks as documented below.
|
|
387
511
|
*/
|
|
388
512
|
features?: pulumi.Input<pulumi.Input<inputs.BuildDefinitionFeature>[]>;
|
|
513
|
+
/**
|
|
514
|
+
* The job authorization scope for builds queued against this definition. Possible values are: `project`, `projectCollection`. Defaults to `projectCollection`.
|
|
515
|
+
*/
|
|
516
|
+
jobAuthorizationScope?: pulumi.Input<string>;
|
|
517
|
+
/**
|
|
518
|
+
* A `jobs` blocks as documented below.
|
|
519
|
+
*
|
|
520
|
+
* > **NOTE:** The `jobs` are classic pipelines, you need to enable the classic pipeline feature for your organization to use this feature.
|
|
521
|
+
*/
|
|
522
|
+
jobs?: pulumi.Input<pulumi.Input<inputs.BuildDefinitionJob>[]>;
|
|
389
523
|
/**
|
|
390
524
|
* The name of the build definition.
|
|
391
525
|
*/
|
package/buildDefinition.js
CHANGED
|
@@ -205,6 +205,98 @@ const utilities = require("./utilities");
|
|
|
205
205
|
* });
|
|
206
206
|
* ```
|
|
207
207
|
*
|
|
208
|
+
* ### Using Other Git and Agent Jobs
|
|
209
|
+
* ```typescript
|
|
210
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
211
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
212
|
+
*
|
|
213
|
+
* const example = new azuredevops.ServiceEndpointGenericGit("example", {
|
|
214
|
+
* projectId: exampleAzuredevopsProject.id,
|
|
215
|
+
* repositoryUrl: "https://gitlab.com/example/example.git",
|
|
216
|
+
* password: "token",
|
|
217
|
+
* serviceEndpointName: "Example Generic Git",
|
|
218
|
+
* });
|
|
219
|
+
* const exampleBuildDefinition = new azuredevops.BuildDefinition("example", {
|
|
220
|
+
* projectId: exampleAzuredevopsProject2.id,
|
|
221
|
+
* name: "Example Build Definition",
|
|
222
|
+
* path: "\\ExampleFolder",
|
|
223
|
+
* ciTrigger: {
|
|
224
|
+
* useYaml: false,
|
|
225
|
+
* },
|
|
226
|
+
* repository: {
|
|
227
|
+
* repoType: "Git",
|
|
228
|
+
* repoId: example.repositoryUrl,
|
|
229
|
+
* branchName: "refs/heads/main",
|
|
230
|
+
* url: example.repositoryUrl,
|
|
231
|
+
* serviceConnectionId: example.id,
|
|
232
|
+
* },
|
|
233
|
+
* jobs: [
|
|
234
|
+
* {
|
|
235
|
+
* name: "Agent Job1",
|
|
236
|
+
* refName: "agent_job1",
|
|
237
|
+
* condition: "succeededOrFailed()",
|
|
238
|
+
* target: {
|
|
239
|
+
* type: "AgentJob",
|
|
240
|
+
* executionOptions: {
|
|
241
|
+
* type: "None",
|
|
242
|
+
* },
|
|
243
|
+
* },
|
|
244
|
+
* },
|
|
245
|
+
* {
|
|
246
|
+
* name: "Agent Job2",
|
|
247
|
+
* refName: "agent_job2",
|
|
248
|
+
* condition: "succeededOrFailed()",
|
|
249
|
+
* dependencies: [{
|
|
250
|
+
* scope: "agent_job1",
|
|
251
|
+
* }],
|
|
252
|
+
* target: {
|
|
253
|
+
* type: "AgentJob",
|
|
254
|
+
* demands: ["git"],
|
|
255
|
+
* executionOptions: {
|
|
256
|
+
* type: "Multi-Configuration",
|
|
257
|
+
* continueOnError: true,
|
|
258
|
+
* multipliers: "multipliers",
|
|
259
|
+
* maxConcurrency: 2,
|
|
260
|
+
* },
|
|
261
|
+
* },
|
|
262
|
+
* },
|
|
263
|
+
* {
|
|
264
|
+
* name: "Agentless Job1",
|
|
265
|
+
* refName: "agentless_job1",
|
|
266
|
+
* condition: "succeeded()",
|
|
267
|
+
* target: {
|
|
268
|
+
* type: "AgentlessJob",
|
|
269
|
+
* executionOptions: {
|
|
270
|
+
* type: "None",
|
|
271
|
+
* },
|
|
272
|
+
* },
|
|
273
|
+
* },
|
|
274
|
+
* {
|
|
275
|
+
* name: "Agentless Job2",
|
|
276
|
+
* refName: "agentless_job2",
|
|
277
|
+
* condition: "succeeded()",
|
|
278
|
+
* jobAuthorizationScope: "project",
|
|
279
|
+
* dependencies: [
|
|
280
|
+
* {
|
|
281
|
+
* scope: "agent_job2",
|
|
282
|
+
* },
|
|
283
|
+
* {
|
|
284
|
+
* scope: "agentless_job1",
|
|
285
|
+
* },
|
|
286
|
+
* ],
|
|
287
|
+
* target: {
|
|
288
|
+
* type: "AgentlessJob",
|
|
289
|
+
* executionOptions: {
|
|
290
|
+
* type: "Multi-Configuration",
|
|
291
|
+
* continueOnError: true,
|
|
292
|
+
* multipliers: "multipliers",
|
|
293
|
+
* },
|
|
294
|
+
* },
|
|
295
|
+
* },
|
|
296
|
+
* ],
|
|
297
|
+
* });
|
|
298
|
+
* ```
|
|
299
|
+
*
|
|
208
300
|
* ## Remarks
|
|
209
301
|
*
|
|
210
302
|
* The path attribute can not end in `\` unless the path is the root value of `\`.
|
|
@@ -263,9 +355,12 @@ class BuildDefinition extends pulumi.CustomResource {
|
|
|
263
355
|
if (opts.id) {
|
|
264
356
|
const state = argsOrState;
|
|
265
357
|
resourceInputs["agentPoolName"] = state ? state.agentPoolName : undefined;
|
|
358
|
+
resourceInputs["agentSpecification"] = state ? state.agentSpecification : undefined;
|
|
266
359
|
resourceInputs["buildCompletionTriggers"] = state ? state.buildCompletionTriggers : undefined;
|
|
267
360
|
resourceInputs["ciTrigger"] = state ? state.ciTrigger : undefined;
|
|
268
361
|
resourceInputs["features"] = state ? state.features : undefined;
|
|
362
|
+
resourceInputs["jobAuthorizationScope"] = state ? state.jobAuthorizationScope : undefined;
|
|
363
|
+
resourceInputs["jobs"] = state ? state.jobs : undefined;
|
|
269
364
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
270
365
|
resourceInputs["path"] = state ? state.path : undefined;
|
|
271
366
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
@@ -286,9 +381,12 @@ class BuildDefinition extends pulumi.CustomResource {
|
|
|
286
381
|
throw new Error("Missing required property 'repository'");
|
|
287
382
|
}
|
|
288
383
|
resourceInputs["agentPoolName"] = args ? args.agentPoolName : undefined;
|
|
384
|
+
resourceInputs["agentSpecification"] = args ? args.agentSpecification : undefined;
|
|
289
385
|
resourceInputs["buildCompletionTriggers"] = args ? args.buildCompletionTriggers : undefined;
|
|
290
386
|
resourceInputs["ciTrigger"] = args ? args.ciTrigger : undefined;
|
|
291
387
|
resourceInputs["features"] = args ? args.features : undefined;
|
|
388
|
+
resourceInputs["jobAuthorizationScope"] = args ? args.jobAuthorizationScope : undefined;
|
|
389
|
+
resourceInputs["jobs"] = args ? args.jobs : undefined;
|
|
292
390
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
293
391
|
resourceInputs["path"] = args ? args.path : undefined;
|
|
294
392
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
package/buildDefinition.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildDefinition.js","sourceRoot":"","sources":["../buildDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"buildDefinition.js","sourceRoot":"","sources":["../buildDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;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;;AA1JL,0CA2JC;AA7IG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
package/getBuildDefinition.d.ts
CHANGED
|
@@ -45,6 +45,10 @@ export interface GetBuildDefinitionResult {
|
|
|
45
45
|
* The agent pool that should execute the build.
|
|
46
46
|
*/
|
|
47
47
|
readonly agentPoolName: string;
|
|
48
|
+
/**
|
|
49
|
+
* The Agent Specification to run the pipelines. Example: `windows-2019`, `windows-latest`, `macos-13` etc.
|
|
50
|
+
*/
|
|
51
|
+
readonly agentSpecification: string;
|
|
48
52
|
/**
|
|
49
53
|
* A `ciTrigger` block as defined below.
|
|
50
54
|
*/
|
|
@@ -53,6 +57,14 @@ export interface GetBuildDefinitionResult {
|
|
|
53
57
|
* The provider-assigned unique ID for this managed resource.
|
|
54
58
|
*/
|
|
55
59
|
readonly id: string;
|
|
60
|
+
/**
|
|
61
|
+
* The job authorization scope for builds queued against this definition.
|
|
62
|
+
*/
|
|
63
|
+
readonly jobAuthorizationScope: string;
|
|
64
|
+
/**
|
|
65
|
+
* A `jobs` blocks as documented below.
|
|
66
|
+
*/
|
|
67
|
+
readonly jobs: outputs.GetBuildDefinitionJob[];
|
|
56
68
|
/**
|
|
57
69
|
* The name of the variable.
|
|
58
70
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBuildDefinition.js","sourceRoot":"","sources":["../getBuildDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEz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AAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
|
package/getClientConfig.d.ts
CHANGED
|
@@ -22,9 +22,25 @@ export interface GetClientConfigResult {
|
|
|
22
22
|
*/
|
|
23
23
|
readonly id: string;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The name of the organization.
|
|
26
|
+
*/
|
|
27
|
+
readonly name: string;
|
|
28
|
+
/**
|
|
29
|
+
* The URL of the organization.
|
|
26
30
|
*/
|
|
27
31
|
readonly organizationUrl: string;
|
|
32
|
+
/**
|
|
33
|
+
* The owner ID of the organization.
|
|
34
|
+
*/
|
|
35
|
+
readonly ownerId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The status of the organization.
|
|
38
|
+
*/
|
|
39
|
+
readonly status: string;
|
|
40
|
+
/**
|
|
41
|
+
* The Tenant ID of the connected Azure Directory.
|
|
42
|
+
*/
|
|
43
|
+
readonly tenantId: string;
|
|
28
44
|
}
|
|
29
45
|
/**
|
|
30
46
|
* Use this data source to access information about the Azure DevOps organization configured for the provider.
|
package/getClientConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClientConfig.js","sourceRoot":"","sources":["../getClientConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;
|
|
1
|
+
{"version":3,"file":"getClientConfig.js","sourceRoot":"","sources":["../getClientConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AA+BD;;;;;;;;;;;;GAYG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to access information about an existing Group Memberships within Azure DevOps
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
10
|
+
*
|
|
11
|
+
* const example = azuredevops.getGroupMembership({
|
|
12
|
+
* groupDescriptor: "groupdescroptpr",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Relevant Links
|
|
17
|
+
*
|
|
18
|
+
* - [Azure DevOps Service REST API 7.1 - Memberships](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships?view=azure-devops-rest-7.1)
|
|
19
|
+
*/
|
|
20
|
+
export declare function getGroupMembership(args: GetGroupMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupMembershipResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getGroupMembership.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetGroupMembershipArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The descriptor of the group.
|
|
27
|
+
*/
|
|
28
|
+
groupDescriptor: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getGroupMembership.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetGroupMembershipResult {
|
|
34
|
+
readonly groupDescriptor: string;
|
|
35
|
+
/**
|
|
36
|
+
* The provider-assigned unique ID for this managed resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* A list of user or group descriptors.
|
|
41
|
+
*/
|
|
42
|
+
readonly members: string[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Use this data source to access information about an existing Group Memberships within Azure DevOps
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
52
|
+
*
|
|
53
|
+
* const example = azuredevops.getGroupMembership({
|
|
54
|
+
* groupDescriptor: "groupdescroptpr",
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Relevant Links
|
|
59
|
+
*
|
|
60
|
+
* - [Azure DevOps Service REST API 7.1 - Memberships](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships?view=azure-devops-rest-7.1)
|
|
61
|
+
*/
|
|
62
|
+
export declare function getGroupMembershipOutput(args: GetGroupMembershipOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupMembershipResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getGroupMembership.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetGroupMembershipOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The descriptor of the group.
|
|
69
|
+
*/
|
|
70
|
+
groupDescriptor: pulumi.Input<string>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.getGroupMembershipOutput = exports.getGroupMembership = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to access information about an existing Group Memberships within Azure DevOps
|
|
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 = azuredevops.getGroupMembership({
|
|
18
|
+
* groupDescriptor: "groupdescroptpr",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Relevant Links
|
|
23
|
+
*
|
|
24
|
+
* - [Azure DevOps Service REST API 7.1 - Memberships](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships?view=azure-devops-rest-7.1)
|
|
25
|
+
*/
|
|
26
|
+
function getGroupMembership(args, opts) {
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
|
+
return pulumi.runtime.invoke("azuredevops:index/getGroupMembership:getGroupMembership", {
|
|
29
|
+
"groupDescriptor": args.groupDescriptor,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getGroupMembership = getGroupMembership;
|
|
33
|
+
/**
|
|
34
|
+
* Use this data source to access information about an existing Group Memberships within Azure DevOps
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
41
|
+
*
|
|
42
|
+
* const example = azuredevops.getGroupMembership({
|
|
43
|
+
* groupDescriptor: "groupdescroptpr",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Relevant Links
|
|
48
|
+
*
|
|
49
|
+
* - [Azure DevOps Service REST API 7.1 - Memberships](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships?view=azure-devops-rest-7.1)
|
|
50
|
+
*/
|
|
51
|
+
function getGroupMembershipOutput(args, opts) {
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
53
|
+
return pulumi.runtime.invokeOutput("azuredevops:index/getGroupMembership:getGroupMembership", {
|
|
54
|
+
"groupDescriptor": args.groupDescriptor,
|
|
55
|
+
}, opts);
|
|
56
|
+
}
|
|
57
|
+
exports.getGroupMembershipOutput = getGroupMembershipOutput;
|
|
58
|
+
//# sourceMappingURL=getGroupMembership.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupMembership.js","sourceRoot":"","sources":["../getGroupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AA0BD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yDAAyD,EAAE;QAC1F,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
|
package/getTeams.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* const example = azuredevops.getTeams({});
|
|
13
13
|
* export const projectId = example.then(example => example.teams.map(__item => __item.projectId));
|
|
14
14
|
* export const name = example.then(example => example.teams.map(__item => __item.name));
|
|
15
|
-
* export const
|
|
15
|
+
* export const allAdministrators = example.then(example => example.teams.map(__item => __item.administrators));
|
|
16
16
|
* export const administrators = example.then(example => example.teams.map(__item => __item.members));
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
@@ -68,7 +68,7 @@ export interface GetTeamsResult {
|
|
|
68
68
|
* const example = azuredevops.getTeams({});
|
|
69
69
|
* export const projectId = example.then(example => example.teams.map(__item => __item.projectId));
|
|
70
70
|
* export const name = example.then(example => example.teams.map(__item => __item.name));
|
|
71
|
-
* export const
|
|
71
|
+
* export const allAdministrators = example.then(example => example.teams.map(__item => __item.administrators));
|
|
72
72
|
* export const administrators = example.then(example => example.teams.map(__item => __item.members));
|
|
73
73
|
* ```
|
|
74
74
|
*
|
package/getTeams.js
CHANGED
|
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* const example = azuredevops.getTeams({});
|
|
18
18
|
* export const projectId = example.then(example => example.teams.map(__item => __item.projectId));
|
|
19
19
|
* export const name = example.then(example => example.teams.map(__item => __item.name));
|
|
20
|
-
* export const
|
|
20
|
+
* export const allAdministrators = example.then(example => example.teams.map(__item => __item.administrators));
|
|
21
21
|
* export const administrators = example.then(example => example.teams.map(__item => __item.members));
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
@@ -50,7 +50,7 @@ exports.getTeams = getTeams;
|
|
|
50
50
|
* const example = azuredevops.getTeams({});
|
|
51
51
|
* export const projectId = example.then(example => example.teams.map(__item => __item.projectId));
|
|
52
52
|
* export const name = example.then(example => example.teams.map(__item => __item.name));
|
|
53
|
-
* export const
|
|
53
|
+
* export const allAdministrators = example.then(example => example.teams.map(__item => __item.administrators));
|
|
54
54
|
* export const administrators = example.then(example => example.teams.map(__item => __item.members));
|
|
55
55
|
* ```
|
|
56
56
|
*
|
package/getUsers.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import * as inputs from "./types/input";
|
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* Use this data source to access information about an existing users within Azure DevOps.
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `azuredevops.getIdentityUsers`, `azuredevops.getUser` can be used to replace this resource.
|
|
6
8
|
*/
|
|
7
9
|
export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
8
10
|
/**
|
|
@@ -61,6 +63,8 @@ export interface GetUsersResult {
|
|
|
61
63
|
}
|
|
62
64
|
/**
|
|
63
65
|
* Use this data source to access information about an existing users within Azure DevOps.
|
|
66
|
+
*
|
|
67
|
+
* > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `azuredevops.getIdentityUsers`, `azuredevops.getUser` can be used to replace this resource.
|
|
64
68
|
*/
|
|
65
69
|
export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsersResult>;
|
|
66
70
|
/**
|
package/getUsers.js
CHANGED
|
@@ -7,6 +7,8 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to access information about an existing users within Azure DevOps.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `azuredevops.getIdentityUsers`, `azuredevops.getUser` can be used to replace this resource.
|
|
10
12
|
*/
|
|
11
13
|
function getUsers(args, opts) {
|
|
12
14
|
args = args || {};
|
|
@@ -22,6 +24,8 @@ function getUsers(args, opts) {
|
|
|
22
24
|
exports.getUsers = getUsers;
|
|
23
25
|
/**
|
|
24
26
|
* Use this data source to access information about an existing users within Azure DevOps.
|
|
27
|
+
*
|
|
28
|
+
* > **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `azuredevops.getIdentityUsers`, `azuredevops.getUser` can be used to replace this resource.
|
|
25
29
|
*/
|
|
26
30
|
function getUsersOutput(args, opts) {
|
|
27
31
|
args = args || {};
|
package/getUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AAyDD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC"}
|
package/index.d.ts
CHANGED
|
@@ -100,6 +100,9 @@ export declare const getGitRepositoryOutput: typeof import("./getGitRepository")
|
|
|
100
100
|
export { GetGroupArgs, GetGroupResult, GetGroupOutputArgs } from "./getGroup";
|
|
101
101
|
export declare const getGroup: typeof import("./getGroup").getGroup;
|
|
102
102
|
export declare const getGroupOutput: typeof import("./getGroup").getGroupOutput;
|
|
103
|
+
export { GetGroupMembershipArgs, GetGroupMembershipResult, GetGroupMembershipOutputArgs } from "./getGroupMembership";
|
|
104
|
+
export declare const getGroupMembership: typeof import("./getGroupMembership").getGroupMembership;
|
|
105
|
+
export declare const getGroupMembershipOutput: typeof import("./getGroupMembership").getGroupMembershipOutput;
|
|
103
106
|
export { GetGroupsArgs, GetGroupsResult, GetGroupsOutputArgs } from "./getGroups";
|
|
104
107
|
export declare const getGroups: typeof import("./getGroups").getGroups;
|
|
105
108
|
export declare const getGroupsOutput: typeof import("./getGroups").getGroupsOutput;
|