@pulumi/azuredevops 2.16.0-alpha.1710156155 → 3.0.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.
Files changed (185) hide show
  1. package/README.md +2 -2
  2. package/branchPolicyMinReviewers.js +0 -2
  3. package/branchPolicyMinReviewers.js.map +1 -1
  4. package/buildDefinition.js +0 -2
  5. package/buildDefinition.js.map +1 -1
  6. package/checkApproval.d.ts +8 -0
  7. package/checkApproval.js +2 -0
  8. package/checkApproval.js.map +1 -1
  9. package/checkBranchControl.d.ts +8 -0
  10. package/checkBranchControl.js +2 -0
  11. package/checkBranchControl.js.map +1 -1
  12. package/checkBusinessHours.d.ts +8 -0
  13. package/checkBusinessHours.js +2 -0
  14. package/checkBusinessHours.js.map +1 -1
  15. package/checkExclusiveLock.d.ts +8 -0
  16. package/checkExclusiveLock.js +2 -0
  17. package/checkExclusiveLock.js.map +1 -1
  18. package/checkRequiredTemplate.d.ts +8 -0
  19. package/checkRequiredTemplate.js +2 -0
  20. package/checkRequiredTemplate.js.map +1 -1
  21. package/config/vars.d.ts +63 -0
  22. package/config/vars.js +114 -0
  23. package/config/vars.js.map +1 -1
  24. package/elasticPool.d.ts +12 -0
  25. package/elasticPool.js +2 -0
  26. package/elasticPool.js.map +1 -1
  27. package/environmentResourceKubernetes.d.ts +57 -0
  28. package/environmentResourceKubernetes.js +73 -0
  29. package/environmentResourceKubernetes.js.map +1 -0
  30. package/getGroup.d.ts +10 -0
  31. package/getGroup.js +10 -0
  32. package/getGroup.js.map +1 -1
  33. package/git.js +0 -2
  34. package/git.js.map +1 -1
  35. package/group.js +0 -2
  36. package/group.js.map +1 -1
  37. package/groupMembership.js +0 -2
  38. package/groupMembership.js.map +1 -1
  39. package/index.d.ts +10 -11
  40. package/index.js +18 -23
  41. package/index.js.map +1 -1
  42. package/libraryPermissions.d.ts +172 -0
  43. package/libraryPermissions.js +119 -0
  44. package/libraryPermissions.js.map +1 -0
  45. package/package.json +1 -1
  46. package/pipelineAuthorization.d.ts +15 -0
  47. package/pipelineAuthorization.js.map +1 -1
  48. package/pool.js +0 -2
  49. package/pool.js.map +1 -1
  50. package/project.js +0 -2
  51. package/project.js.map +1 -1
  52. package/projectFeatures.js +0 -2
  53. package/projectFeatures.js.map +1 -1
  54. package/provider.d.ts +148 -0
  55. package/provider.js +20 -1
  56. package/provider.js.map +1 -1
  57. package/queue.js +0 -2
  58. package/queue.js.map +1 -1
  59. package/serviceEndpointAzureRM.js +0 -2
  60. package/serviceEndpointAzureRM.js.map +1 -1
  61. package/serviceEndpointBitBucket.js +0 -2
  62. package/serviceEndpointBitBucket.js.map +1 -1
  63. package/serviceEndpointDockerRegistry.js +0 -2
  64. package/serviceEndpointDockerRegistry.js.map +1 -1
  65. package/serviceEndpointGitHub.js +0 -2
  66. package/serviceEndpointGitHub.js.map +1 -1
  67. package/serviceEndpointKubernetes.js +0 -2
  68. package/serviceEndpointKubernetes.js.map +1 -1
  69. package/types/input.d.ts +1 -620
  70. package/types/output.d.ts +5 -719
  71. package/user.js +0 -2
  72. package/user.js.map +1 -1
  73. package/variableGroup.js +0 -2
  74. package/variableGroup.js.map +1 -1
  75. package/variableGroupPermissions.d.ts +193 -0
  76. package/variableGroupPermissions.js +133 -0
  77. package/variableGroupPermissions.js.map +1 -0
  78. package/agent/getPool.d.ts +0 -84
  79. package/agent/getPool.js +0 -70
  80. package/agent/getPool.js.map +0 -1
  81. package/agent/getPools.d.ts +0 -63
  82. package/agent/getPools.js +0 -64
  83. package/agent/getPools.js.map +0 -1
  84. package/agent/index.d.ts +0 -12
  85. package/agent/index.js +0 -33
  86. package/agent/index.js.map +0 -1
  87. package/agent/pool.d.ts +0 -116
  88. package/agent/pool.js +0 -89
  89. package/agent/pool.js.map +0 -1
  90. package/agent/queue.d.ts +0 -147
  91. package/agent/queue.js +0 -121
  92. package/agent/queue.js.map +0 -1
  93. package/build/buildDefinition.d.ts +0 -344
  94. package/build/buildDefinition.js +0 -244
  95. package/build/buildDefinition.js.map +0 -1
  96. package/build/index.d.ts +0 -3
  97. package/build/index.js +0 -22
  98. package/build/index.js.map +0 -1
  99. package/core/getClientConfig.d.ts +0 -45
  100. package/core/getClientConfig.js +0 -50
  101. package/core/getClientConfig.js.map +0 -1
  102. package/core/getProject.d.ts +0 -92
  103. package/core/getProject.js +0 -66
  104. package/core/getProject.js.map +0 -1
  105. package/core/getProjects.d.ts +0 -107
  106. package/core/getProjects.js +0 -74
  107. package/core/getProjects.js.map +0 -1
  108. package/core/index.d.ts +0 -15
  109. package/core/index.js +0 -36
  110. package/core/index.js.map +0 -1
  111. package/core/project.d.ts +0 -188
  112. package/core/project.js +0 -111
  113. package/core/project.js.map +0 -1
  114. package/core/projectFeatures.d.ts +0 -120
  115. package/core/projectFeatures.js +0 -104
  116. package/core/projectFeatures.js.map +0 -1
  117. package/entitlement/index.d.ts +0 -3
  118. package/entitlement/index.js +0 -22
  119. package/entitlement/index.js.map +0 -1
  120. package/entitlement/user.d.ts +0 -140
  121. package/entitlement/user.js +0 -91
  122. package/entitlement/user.js.map +0 -1
  123. package/identities/getGroup.d.ts +0 -116
  124. package/identities/getGroup.js +0 -85
  125. package/identities/getGroup.js.map +0 -1
  126. package/identities/getUsers.d.ts +0 -196
  127. package/identities/getUsers.js +0 -103
  128. package/identities/getUsers.js.map +0 -1
  129. package/identities/group.d.ts +0 -206
  130. package/identities/group.js +0 -123
  131. package/identities/group.js.map +0 -1
  132. package/identities/groupMembership.d.ts +0 -122
  133. package/identities/groupMembership.js +0 -99
  134. package/identities/groupMembership.js.map +0 -1
  135. package/identities/index.d.ts +0 -12
  136. package/identities/index.js +0 -33
  137. package/identities/index.js.map +0 -1
  138. package/pipeline/index.d.ts +0 -3
  139. package/pipeline/index.js +0 -22
  140. package/pipeline/index.js.map +0 -1
  141. package/pipeline/variableGroup.d.ts +0 -223
  142. package/pipeline/variableGroup.js +0 -180
  143. package/pipeline/variableGroup.js.map +0 -1
  144. package/policy/branchPolicyBuildValidation.d.ts +0 -159
  145. package/policy/branchPolicyBuildValidation.js +0 -136
  146. package/policy/branchPolicyBuildValidation.js.map +0 -1
  147. package/policy/branchPolicyMinReviewers.d.ts +0 -149
  148. package/policy/branchPolicyMinReviewers.js +0 -126
  149. package/policy/branchPolicyMinReviewers.js.map +0 -1
  150. package/policy/index.d.ts +0 -6
  151. package/policy/index.js +0 -27
  152. package/policy/index.js.map +0 -1
  153. package/repository/getRepositories.d.ts +0 -120
  154. package/repository/getRepositories.js +0 -83
  155. package/repository/getRepositories.js.map +0 -1
  156. package/repository/git.d.ts +0 -210
  157. package/repository/git.js +0 -141
  158. package/repository/git.js.map +0 -1
  159. package/repository/index.d.ts +0 -6
  160. package/repository/index.js +0 -25
  161. package/repository/index.js.map +0 -1
  162. package/security/index.d.ts +0 -3
  163. package/security/index.js +0 -22
  164. package/security/index.js.map +0 -1
  165. package/security/resourceAuthorization.d.ts +0 -136
  166. package/security/resourceAuthorization.js +0 -108
  167. package/security/resourceAuthorization.js.map +0 -1
  168. package/serviceendpoint/azureRM.d.ts +0 -392
  169. package/serviceendpoint/azureRM.js +0 -245
  170. package/serviceendpoint/azureRM.js.map +0 -1
  171. package/serviceendpoint/bitBucket.d.ts +0 -137
  172. package/serviceendpoint/bitBucket.js +0 -116
  173. package/serviceendpoint/bitBucket.js.map +0 -1
  174. package/serviceendpoint/dockerRegistry.d.ts +0 -185
  175. package/serviceendpoint/dockerRegistry.js +0 -134
  176. package/serviceendpoint/dockerRegistry.js.map +0 -1
  177. package/serviceendpoint/gitHub.d.ts +0 -170
  178. package/serviceendpoint/gitHub.js +0 -148
  179. package/serviceendpoint/gitHub.js.map +0 -1
  180. package/serviceendpoint/index.d.ts +0 -15
  181. package/serviceendpoint/index.js +0 -42
  182. package/serviceendpoint/index.js.map +0 -1
  183. package/serviceendpoint/kubernetes.d.ts +0 -148
  184. package/serviceendpoint/kubernetes.js +0 -93
  185. package/serviceendpoint/kubernetes.js.map +0 -1
@@ -1,50 +0,0 @@
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.getClientConfigOutput = exports.getClientConfig = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Use this data source to access information about the Azure DevOps organization configured for the provider.
10
- *
11
- * ## Example Usage
12
- *
13
- * <!--Start PulumiCodeChooser -->
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as azuredevops from "@pulumi/azuredevops";
17
- *
18
- * const example = azuredevops.getClientConfig({});
19
- * export const orgUrl = example.then(example => example.organizationUrl);
20
- * ```
21
- * <!--End PulumiCodeChooser -->
22
- */
23
- /** @deprecated azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig */
24
- function getClientConfig(opts) {
25
- pulumi.log.warn("getClientConfig is deprecated: azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig");
26
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
- return pulumi.runtime.invoke("azuredevops:Core/getClientConfig:getClientConfig", {}, opts);
28
- }
29
- exports.getClientConfig = getClientConfig;
30
- /**
31
- * Use this data source to access information about the Azure DevOps organization configured for the provider.
32
- *
33
- * ## Example Usage
34
- *
35
- * <!--Start PulumiCodeChooser -->
36
- * ```typescript
37
- * import * as pulumi from "@pulumi/pulumi";
38
- * import * as azuredevops from "@pulumi/azuredevops";
39
- *
40
- * const example = azuredevops.getClientConfig({});
41
- * export const orgUrl = example.then(example => example.organizationUrl);
42
- * ```
43
- * <!--End PulumiCodeChooser -->
44
- */
45
- /** @deprecated azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig */
46
- function getClientConfigOutput(opts) {
47
- return pulumi.output(getClientConfig(opts));
48
- }
49
- exports.getClientConfigOutput = getClientConfigOutput;
50
- //# sourceMappingURL=getClientConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getClientConfig.js","sourceRoot":"","sources":["../../core/getClientConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,+GAA+G;AAC/G,SAAgB,eAAe,CAAC,IAA2B;IACvD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6HAA6H,CAAC,CAAA;IAE9I,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,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAYD;;;;;;;;;;;;;;GAcG;AACH,+GAA+G;AAC/G,SAAgB,qBAAqB,CAAC,IAA2B;IAC7D,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAA;AAC/C,CAAC;AAFD,sDAEC"}
@@ -1,92 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Use this data source to access information about an existing Project within Azure DevOps.
4
- *
5
- * ## Example Usage
6
- *
7
- * <!--Start PulumiCodeChooser -->
8
- * ```typescript
9
- * import * as pulumi from "@pulumi/pulumi";
10
- * import * as azuredevops from "@pulumi/azuredevops";
11
- *
12
- * const example = azuredevops.getProject({
13
- * name: "Example Project",
14
- * });
15
- * export const project = example;
16
- * ```
17
- * <!--End PulumiCodeChooser -->
18
- *
19
- * ## Relevant Links
20
- *
21
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
22
- */
23
- /** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
24
- export declare function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
25
- /**
26
- * A collection of arguments for invoking getProject.
27
- */
28
- export interface GetProjectArgs {
29
- /**
30
- * Name of the Project.
31
- */
32
- name?: string;
33
- /**
34
- * ID of the Project.
35
- */
36
- projectId?: string;
37
- }
38
- /**
39
- * A collection of values returned by getProject.
40
- */
41
- export interface GetProjectResult {
42
- readonly description: string;
43
- readonly features: {
44
- [key: string]: any;
45
- };
46
- /**
47
- * The provider-assigned unique ID for this managed resource.
48
- */
49
- readonly id: string;
50
- readonly name?: string;
51
- readonly processTemplateId: string;
52
- readonly projectId?: string;
53
- readonly versionControl: string;
54
- readonly visibility: string;
55
- readonly workItemTemplate: string;
56
- }
57
- /**
58
- * Use this data source to access information about an existing Project within Azure DevOps.
59
- *
60
- * ## Example Usage
61
- *
62
- * <!--Start PulumiCodeChooser -->
63
- * ```typescript
64
- * import * as pulumi from "@pulumi/pulumi";
65
- * import * as azuredevops from "@pulumi/azuredevops";
66
- *
67
- * const example = azuredevops.getProject({
68
- * name: "Example Project",
69
- * });
70
- * export const project = example;
71
- * ```
72
- * <!--End PulumiCodeChooser -->
73
- *
74
- * ## Relevant Links
75
- *
76
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
77
- */
78
- /** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
79
- export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
80
- /**
81
- * A collection of arguments for invoking getProject.
82
- */
83
- export interface GetProjectOutputArgs {
84
- /**
85
- * Name of the Project.
86
- */
87
- name?: pulumi.Input<string>;
88
- /**
89
- * ID of the Project.
90
- */
91
- projectId?: pulumi.Input<string>;
92
- }
@@ -1,66 +0,0 @@
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.getProjectOutput = exports.getProject = 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 Project within Azure DevOps.
10
- *
11
- * ## Example Usage
12
- *
13
- * <!--Start PulumiCodeChooser -->
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as azuredevops from "@pulumi/azuredevops";
17
- *
18
- * const example = azuredevops.getProject({
19
- * name: "Example Project",
20
- * });
21
- * export const project = example;
22
- * ```
23
- * <!--End PulumiCodeChooser -->
24
- *
25
- * ## Relevant Links
26
- *
27
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
28
- */
29
- /** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
30
- function getProject(args, opts) {
31
- pulumi.log.warn("getProject is deprecated: azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject");
32
- args = args || {};
33
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
- return pulumi.runtime.invoke("azuredevops:Core/getProject:getProject", {
35
- "name": args.name,
36
- "projectId": args.projectId,
37
- }, opts);
38
- }
39
- exports.getProject = getProject;
40
- /**
41
- * Use this data source to access information about an existing Project within Azure DevOps.
42
- *
43
- * ## Example Usage
44
- *
45
- * <!--Start PulumiCodeChooser -->
46
- * ```typescript
47
- * import * as pulumi from "@pulumi/pulumi";
48
- * import * as azuredevops from "@pulumi/azuredevops";
49
- *
50
- * const example = azuredevops.getProject({
51
- * name: "Example Project",
52
- * });
53
- * export const project = example;
54
- * ```
55
- * <!--End PulumiCodeChooser -->
56
- *
57
- * ## Relevant Links
58
- *
59
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
60
- */
61
- /** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
62
- function getProjectOutput(args, opts) {
63
- return pulumi.output(args).apply((a) => getProject(a, opts));
64
- }
65
- exports.getProjectOutput = getProjectOutput;
66
- //# sourceMappingURL=getProject.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProject.js","sourceRoot":"","sources":["../../core/getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qGAAqG;AACrG,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8GAA8G,CAAC,CAAA;IAC/H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AAiCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qGAAqG;AACrG,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -1,107 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "../types/output";
3
- /**
4
- * Use this data source to access information about existing Projects within Azure DevOps.
5
- *
6
- * ## Example Usage
7
- *
8
- * <!--Start PulumiCodeChooser -->
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as azuredevops from "@pulumi/azuredevops";
12
- *
13
- * const example = azuredevops.getProjects({
14
- * name: "Example Project",
15
- * state: "wellFormed",
16
- * });
17
- * export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
18
- * export const name = example.then(example => example.projects.map(__item => __item.name));
19
- * export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
20
- * export const state = example.then(example => example.projects.map(__item => __item.state));
21
- * ```
22
- * <!--End PulumiCodeChooser -->
23
- *
24
- * ## Relevant Links
25
- *
26
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
27
- */
28
- /** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
29
- export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>;
30
- /**
31
- * A collection of arguments for invoking getProjects.
32
- */
33
- export interface GetProjectsArgs {
34
- /**
35
- * Name of the Project, if not specified all projects will be returned.
36
- */
37
- name?: string;
38
- /**
39
- * State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
40
- *
41
- * DataSource without specifying any arguments will return all projects.
42
- */
43
- state?: string;
44
- }
45
- /**
46
- * A collection of values returned by getProjects.
47
- */
48
- export interface GetProjectsResult {
49
- /**
50
- * The provider-assigned unique ID for this managed resource.
51
- */
52
- readonly id: string;
53
- /**
54
- * The name of the Project.
55
- */
56
- readonly name?: string;
57
- /**
58
- * A list of existing projects in your Azure DevOps Organization with details about every project which includes:
59
- */
60
- readonly projects: outputs.Core.GetProjectsProject[];
61
- /**
62
- * Project state.
63
- */
64
- readonly state?: string;
65
- }
66
- /**
67
- * Use this data source to access information about existing Projects within Azure DevOps.
68
- *
69
- * ## Example Usage
70
- *
71
- * <!--Start PulumiCodeChooser -->
72
- * ```typescript
73
- * import * as pulumi from "@pulumi/pulumi";
74
- * import * as azuredevops from "@pulumi/azuredevops";
75
- *
76
- * const example = azuredevops.getProjects({
77
- * name: "Example Project",
78
- * state: "wellFormed",
79
- * });
80
- * export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
81
- * export const name = example.then(example => example.projects.map(__item => __item.name));
82
- * export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
83
- * export const state = example.then(example => example.projects.map(__item => __item.state));
84
- * ```
85
- * <!--End PulumiCodeChooser -->
86
- *
87
- * ## Relevant Links
88
- *
89
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
90
- */
91
- /** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
92
- export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
93
- /**
94
- * A collection of arguments for invoking getProjects.
95
- */
96
- export interface GetProjectsOutputArgs {
97
- /**
98
- * Name of the Project, if not specified all projects will be returned.
99
- */
100
- name?: pulumi.Input<string>;
101
- /**
102
- * State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
103
- *
104
- * DataSource without specifying any arguments will return all projects.
105
- */
106
- state?: pulumi.Input<string>;
107
- }
@@ -1,74 +0,0 @@
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.getProjectsOutput = exports.getProjects = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Use this data source to access information about existing Projects within Azure DevOps.
10
- *
11
- * ## Example Usage
12
- *
13
- * <!--Start PulumiCodeChooser -->
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as azuredevops from "@pulumi/azuredevops";
17
- *
18
- * const example = azuredevops.getProjects({
19
- * name: "Example Project",
20
- * state: "wellFormed",
21
- * });
22
- * export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
23
- * export const name = example.then(example => example.projects.map(__item => __item.name));
24
- * export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
25
- * export const state = example.then(example => example.projects.map(__item => __item.state));
26
- * ```
27
- * <!--End PulumiCodeChooser -->
28
- *
29
- * ## Relevant Links
30
- *
31
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
32
- */
33
- /** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
34
- function getProjects(args, opts) {
35
- pulumi.log.warn("getProjects is deprecated: azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects");
36
- args = args || {};
37
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
- return pulumi.runtime.invoke("azuredevops:Core/getProjects:getProjects", {
39
- "name": args.name,
40
- "state": args.state,
41
- }, opts);
42
- }
43
- exports.getProjects = getProjects;
44
- /**
45
- * Use this data source to access information about existing Projects within Azure DevOps.
46
- *
47
- * ## Example Usage
48
- *
49
- * <!--Start PulumiCodeChooser -->
50
- * ```typescript
51
- * import * as pulumi from "@pulumi/pulumi";
52
- * import * as azuredevops from "@pulumi/azuredevops";
53
- *
54
- * const example = azuredevops.getProjects({
55
- * name: "Example Project",
56
- * state: "wellFormed",
57
- * });
58
- * export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
59
- * export const name = example.then(example => example.projects.map(__item => __item.name));
60
- * export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
61
- * export const state = example.then(example => example.projects.map(__item => __item.state));
62
- * ```
63
- * <!--End PulumiCodeChooser -->
64
- *
65
- * ## Relevant Links
66
- *
67
- * - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
68
- */
69
- /** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
70
- function getProjectsOutput(args, opts) {
71
- return pulumi.output(args).apply((a) => getProjects(a, opts));
72
- }
73
- exports.getProjectsOutput = getProjectsOutput;
74
- //# sourceMappingURL=getProjects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../../core/getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,uGAAuG;AACvG,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iHAAiH,CAAC,CAAA;IAClI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,uGAAuG;AACvG,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
package/core/index.d.ts DELETED
@@ -1,15 +0,0 @@
1
- export { GetClientConfigResult } from "./getClientConfig";
2
- export declare const getClientConfig: typeof import("./getClientConfig").getClientConfig;
3
- export declare const getClientConfigOutput: typeof import("./getClientConfig").getClientConfigOutput;
4
- export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
5
- export declare const getProject: typeof import("./getProject").getProject;
6
- export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
7
- export { GetProjectsArgs, GetProjectsResult, GetProjectsOutputArgs } from "./getProjects";
8
- export declare const getProjects: typeof import("./getProjects").getProjects;
9
- export declare const getProjectsOutput: typeof import("./getProjects").getProjectsOutput;
10
- export { ProjectArgs, ProjectState } from "./project";
11
- export type Project = import("./project").Project;
12
- export declare const Project: typeof import("./project").Project;
13
- export { ProjectFeaturesArgs, ProjectFeaturesState } from "./projectFeatures";
14
- export type ProjectFeatures = import("./projectFeatures").ProjectFeatures;
15
- export declare const ProjectFeatures: typeof import("./projectFeatures").ProjectFeatures;
package/core/index.js DELETED
@@ -1,36 +0,0 @@
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.ProjectFeatures = exports.Project = exports.getProjectsOutput = exports.getProjects = exports.getProjectOutput = exports.getProject = exports.getClientConfigOutput = exports.getClientConfig = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- exports.getClientConfig = null;
9
- exports.getClientConfigOutput = null;
10
- utilities.lazyLoad(exports, ["getClientConfig", "getClientConfigOutput"], () => require("./getClientConfig"));
11
- exports.getProject = null;
12
- exports.getProjectOutput = null;
13
- utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
14
- exports.getProjects = null;
15
- exports.getProjectsOutput = null;
16
- utilities.lazyLoad(exports, ["getProjects", "getProjectsOutput"], () => require("./getProjects"));
17
- exports.Project = null;
18
- utilities.lazyLoad(exports, ["Project"], () => require("./project"));
19
- exports.ProjectFeatures = null;
20
- utilities.lazyLoad(exports, ["ProjectFeatures"], () => require("./projectFeatures"));
21
- const _module = {
22
- version: utilities.getVersion(),
23
- construct: (name, type, urn) => {
24
- switch (type) {
25
- case "azuredevops:Core/project:Project":
26
- return new exports.Project(name, undefined, { urn });
27
- case "azuredevops:Core/projectFeatures:ProjectFeatures":
28
- return new exports.ProjectFeatures(name, undefined, { urn });
29
- default:
30
- throw new Error(`unknown resource type ${type}`);
31
- }
32
- },
33
- };
34
- pulumi.runtime.registerResourceModule("azuredevops", "Core/project", _module);
35
- pulumi.runtime.registerResourceModule("azuredevops", "Core/projectFeatures", _module);
36
- //# sourceMappingURL=index.js.map
package/core/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../core/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAGjF,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIpF,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGrF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kCAAkC;gBACnC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,kDAAkD;gBACnD,OAAO,IAAI,uBAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
package/core/project.d.ts DELETED
@@ -1,188 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Manages a project within Azure DevOps.
4
- *
5
- * ## Example Usage
6
- *
7
- * <!--Start PulumiCodeChooser -->
8
- * ```typescript
9
- * import * as pulumi from "@pulumi/pulumi";
10
- * import * as azuredevops from "@pulumi/azuredevops";
11
- *
12
- * const example = new azuredevops.Project("example", {
13
- * description: "Managed by Terraform",
14
- * features: {
15
- * artifacts: "disabled",
16
- * testplans: "disabled",
17
- * },
18
- * versionControl: "Git",
19
- * visibility: "private",
20
- * workItemTemplate: "Agile",
21
- * });
22
- * ```
23
- * <!--End PulumiCodeChooser -->
24
- *
25
- * ## Relevant Links
26
- *
27
- * - [Azure DevOps Service REST API 7.0 - Projects](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects?view=azure-devops-rest-7.0)
28
- *
29
- * ## PAT Permissions Required
30
- *
31
- * - **Project & Team**: Read, Write, & Manage
32
- *
33
- * ## Import
34
- *
35
- * Azure DevOps Projects can be imported using the project name or by the project Guid, e.g.
36
- *
37
- * ```sh
38
- * $ pulumi import azuredevops:Core/project:Project example "Example Project"
39
- * ```
40
- *
41
- * or
42
- *
43
- * ```sh
44
- * $ pulumi import azuredevops:Core/project:Project example 00000000-0000-0000-0000-000000000000
45
- * ```
46
- *
47
- * @deprecated azuredevops.core.Project has been deprecated in favor of azuredevops.Project
48
- */
49
- export declare class Project extends pulumi.CustomResource {
50
- /**
51
- * Get an existing Project resource's state with the given name, ID, and optional extra
52
- * properties used to qualify the lookup.
53
- *
54
- * @param name The _unique_ name of the resulting resource.
55
- * @param id The _unique_ provider ID of the resource to lookup.
56
- * @param state Any extra arguments used during the lookup.
57
- * @param opts Optional settings to control the behavior of the CustomResource.
58
- */
59
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectState, opts?: pulumi.CustomResourceOptions): Project;
60
- /**
61
- * Returns true if the given object is an instance of Project. This is designed to work even
62
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
- */
64
- static isInstance(obj: any): obj is Project;
65
- /**
66
- * The Description of the Project.
67
- */
68
- readonly description: pulumi.Output<string | undefined>;
69
- /**
70
- * Defines the status (`enabled`, `disabled`) of the project features.
71
- * Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
72
- *
73
- * > **NOTE:**
74
- * > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
75
- * > via the `features` block by using the `azuredevops.Project` resource.
76
- * > However it's not possible to use both methods to manage features, since there'll be conflicts.
77
- */
78
- readonly features: pulumi.Output<{
79
- [key: string]: string;
80
- } | undefined>;
81
- /**
82
- * The Project Name.
83
- */
84
- readonly name: pulumi.Output<string>;
85
- /**
86
- * The Process Template ID used by the Project.
87
- */
88
- readonly processTemplateId: pulumi.Output<string>;
89
- /**
90
- * Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
91
- */
92
- readonly versionControl: pulumi.Output<string | undefined>;
93
- /**
94
- * Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
95
- */
96
- readonly visibility: pulumi.Output<string | undefined>;
97
- /**
98
- * Specifies the work item template. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
99
- */
100
- readonly workItemTemplate: pulumi.Output<string | undefined>;
101
- /**
102
- * Create a Project resource with the given unique name, arguments, and options.
103
- *
104
- * @param name The _unique_ name of the resource.
105
- * @param args The arguments to use to populate this resource's properties.
106
- * @param opts A bag of options that control this resource's behavior.
107
- */
108
- /** @deprecated azuredevops.core.Project has been deprecated in favor of azuredevops.Project */
109
- constructor(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions);
110
- }
111
- /**
112
- * Input properties used for looking up and filtering Project resources.
113
- */
114
- export interface ProjectState {
115
- /**
116
- * The Description of the Project.
117
- */
118
- description?: pulumi.Input<string>;
119
- /**
120
- * Defines the status (`enabled`, `disabled`) of the project features.
121
- * Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
122
- *
123
- * > **NOTE:**
124
- * > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
125
- * > via the `features` block by using the `azuredevops.Project` resource.
126
- * > However it's not possible to use both methods to manage features, since there'll be conflicts.
127
- */
128
- features?: pulumi.Input<{
129
- [key: string]: pulumi.Input<string>;
130
- }>;
131
- /**
132
- * The Project Name.
133
- */
134
- name?: pulumi.Input<string>;
135
- /**
136
- * The Process Template ID used by the Project.
137
- */
138
- processTemplateId?: pulumi.Input<string>;
139
- /**
140
- * Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
141
- */
142
- versionControl?: pulumi.Input<string>;
143
- /**
144
- * Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
145
- */
146
- visibility?: pulumi.Input<string>;
147
- /**
148
- * Specifies the work item template. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
149
- */
150
- workItemTemplate?: pulumi.Input<string>;
151
- }
152
- /**
153
- * The set of arguments for constructing a Project resource.
154
- */
155
- export interface ProjectArgs {
156
- /**
157
- * The Description of the Project.
158
- */
159
- description?: pulumi.Input<string>;
160
- /**
161
- * Defines the status (`enabled`, `disabled`) of the project features.
162
- * Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
163
- *
164
- * > **NOTE:**
165
- * > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
166
- * > via the `features` block by using the `azuredevops.Project` resource.
167
- * > However it's not possible to use both methods to manage features, since there'll be conflicts.
168
- */
169
- features?: pulumi.Input<{
170
- [key: string]: pulumi.Input<string>;
171
- }>;
172
- /**
173
- * The Project Name.
174
- */
175
- name?: pulumi.Input<string>;
176
- /**
177
- * Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
178
- */
179
- versionControl?: pulumi.Input<string>;
180
- /**
181
- * Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
182
- */
183
- visibility?: pulumi.Input<string>;
184
- /**
185
- * Specifies the work item template. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
186
- */
187
- workItemTemplate?: pulumi.Input<string>;
188
- }