@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 +0,0 @@
1
- {"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../../repository/getRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qHAAqH;AACrH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mIAAmI,CAAC,CAAA;IACpJ,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,wDAAwD,EAAE;QACnF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qHAAqH;AACrH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -1,210 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../types/input";
3
- import * as outputs from "../types/output";
4
- /**
5
- * ## Import
6
- *
7
- * Azure DevOps Repositories can be imported using the repo name or by the repo Guid e.g.
8
- *
9
- * ```sh
10
- * $ pulumi import azuredevops:Repository/git:Git example projectName/repoName
11
- * ```
12
- *
13
- * or
14
- *
15
- * ```sh
16
- * $ pulumi import azuredevops:Repository/git:Git example projectName/00000000-0000-0000-0000-000000000000
17
- * ```
18
- *
19
- * hcl
20
- *
21
- * resource "azuredevops_project" "example" {
22
- *
23
- * name = "Example Project"
24
- *
25
- * visibility = "private"
26
- *
27
- * version_control = "Git"
28
- *
29
- * work_item_template = "Agile"
30
- *
31
- * }
32
- *
33
- * resource "azuredevops_git_repository" "example" {
34
- *
35
- * project_id = azuredevops_project.example.id
36
- *
37
- * name = "Example Git Repository"
38
- *
39
- * default_branch = "refs/heads/main"
40
- *
41
- * initialization {
42
- *
43
- * init_type = "Clean"
44
- *
45
- * }
46
- *
47
- * lifecycle {
48
- *
49
- * ignore_changes = [
50
- *
51
- * # Ignore changes to initialization to support importing existing repositories
52
- *
53
- * # Given that a repo now exists, either imported into terraform state or created by terraform,
54
- *
55
- * # we don't care for the configuration of initialization against the existing resource
56
- *
57
- * initialization,
58
- *
59
- * ]
60
- *
61
- * }
62
- *
63
- * }
64
- *
65
- * @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git
66
- */
67
- export declare class Git extends pulumi.CustomResource {
68
- /**
69
- * Get an existing Git resource's state with the given name, ID, and optional extra
70
- * properties used to qualify the lookup.
71
- *
72
- * @param name The _unique_ name of the resulting resource.
73
- * @param id The _unique_ provider ID of the resource to lookup.
74
- * @param state Any extra arguments used during the lookup.
75
- * @param opts Optional settings to control the behavior of the CustomResource.
76
- */
77
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitState, opts?: pulumi.CustomResourceOptions): Git;
78
- /**
79
- * Returns true if the given object is an instance of Git. This is designed to work even
80
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
81
- */
82
- static isInstance(obj: any): obj is Git;
83
- /**
84
- * The ref of the default branch. Will be used as the branch name for initialized repositories.
85
- */
86
- readonly defaultBranch: pulumi.Output<string>;
87
- /**
88
- * An `initialization` block as documented below.
89
- */
90
- readonly initialization: pulumi.Output<outputs.Repository.GitInitialization>;
91
- /**
92
- * True if the repository was created as a fork.
93
- */
94
- readonly isFork: pulumi.Output<boolean>;
95
- /**
96
- * The name of the git repository.
97
- */
98
- readonly name: pulumi.Output<string>;
99
- /**
100
- * The ID of a Git project from which a fork is to be created.
101
- */
102
- readonly parentRepositoryId: pulumi.Output<string | undefined>;
103
- /**
104
- * The project ID or project name.
105
- */
106
- readonly projectId: pulumi.Output<string>;
107
- /**
108
- * Git HTTPS URL of the repository
109
- */
110
- readonly remoteUrl: pulumi.Output<string>;
111
- /**
112
- * Size in bytes.
113
- */
114
- readonly size: pulumi.Output<number>;
115
- /**
116
- * Git SSH URL of the repository.
117
- */
118
- readonly sshUrl: pulumi.Output<string>;
119
- /**
120
- * REST API URL of the repository.
121
- */
122
- readonly url: pulumi.Output<string>;
123
- /**
124
- * Web link to the repository.
125
- */
126
- readonly webUrl: pulumi.Output<string>;
127
- /**
128
- * Create a Git resource with the given unique name, arguments, and options.
129
- *
130
- * @param name The _unique_ name of the resource.
131
- * @param args The arguments to use to populate this resource's properties.
132
- * @param opts A bag of options that control this resource's behavior.
133
- */
134
- /** @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git */
135
- constructor(name: string, args: GitArgs, opts?: pulumi.CustomResourceOptions);
136
- }
137
- /**
138
- * Input properties used for looking up and filtering Git resources.
139
- */
140
- export interface GitState {
141
- /**
142
- * The ref of the default branch. Will be used as the branch name for initialized repositories.
143
- */
144
- defaultBranch?: pulumi.Input<string>;
145
- /**
146
- * An `initialization` block as documented below.
147
- */
148
- initialization?: pulumi.Input<inputs.Repository.GitInitialization>;
149
- /**
150
- * True if the repository was created as a fork.
151
- */
152
- isFork?: pulumi.Input<boolean>;
153
- /**
154
- * The name of the git repository.
155
- */
156
- name?: pulumi.Input<string>;
157
- /**
158
- * The ID of a Git project from which a fork is to be created.
159
- */
160
- parentRepositoryId?: pulumi.Input<string>;
161
- /**
162
- * The project ID or project name.
163
- */
164
- projectId?: pulumi.Input<string>;
165
- /**
166
- * Git HTTPS URL of the repository
167
- */
168
- remoteUrl?: pulumi.Input<string>;
169
- /**
170
- * Size in bytes.
171
- */
172
- size?: pulumi.Input<number>;
173
- /**
174
- * Git SSH URL of the repository.
175
- */
176
- sshUrl?: pulumi.Input<string>;
177
- /**
178
- * REST API URL of the repository.
179
- */
180
- url?: pulumi.Input<string>;
181
- /**
182
- * Web link to the repository.
183
- */
184
- webUrl?: pulumi.Input<string>;
185
- }
186
- /**
187
- * The set of arguments for constructing a Git resource.
188
- */
189
- export interface GitArgs {
190
- /**
191
- * The ref of the default branch. Will be used as the branch name for initialized repositories.
192
- */
193
- defaultBranch?: pulumi.Input<string>;
194
- /**
195
- * An `initialization` block as documented below.
196
- */
197
- initialization: pulumi.Input<inputs.Repository.GitInitialization>;
198
- /**
199
- * The name of the git repository.
200
- */
201
- name?: pulumi.Input<string>;
202
- /**
203
- * The ID of a Git project from which a fork is to be created.
204
- */
205
- parentRepositoryId?: pulumi.Input<string>;
206
- /**
207
- * The project ID or project name.
208
- */
209
- projectId: pulumi.Input<string>;
210
- }
package/repository/git.js DELETED
@@ -1,141 +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.Git = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * ## Import
10
- *
11
- * Azure DevOps Repositories can be imported using the repo name or by the repo Guid e.g.
12
- *
13
- * ```sh
14
- * $ pulumi import azuredevops:Repository/git:Git example projectName/repoName
15
- * ```
16
- *
17
- * or
18
- *
19
- * ```sh
20
- * $ pulumi import azuredevops:Repository/git:Git example projectName/00000000-0000-0000-0000-000000000000
21
- * ```
22
- *
23
- * hcl
24
- *
25
- * resource "azuredevops_project" "example" {
26
- *
27
- * name = "Example Project"
28
- *
29
- * visibility = "private"
30
- *
31
- * version_control = "Git"
32
- *
33
- * work_item_template = "Agile"
34
- *
35
- * }
36
- *
37
- * resource "azuredevops_git_repository" "example" {
38
- *
39
- * project_id = azuredevops_project.example.id
40
- *
41
- * name = "Example Git Repository"
42
- *
43
- * default_branch = "refs/heads/main"
44
- *
45
- * initialization {
46
- *
47
- * init_type = "Clean"
48
- *
49
- * }
50
- *
51
- * lifecycle {
52
- *
53
- * ignore_changes = [
54
- *
55
- * # Ignore changes to initialization to support importing existing repositories
56
- *
57
- * # Given that a repo now exists, either imported into terraform state or created by terraform,
58
- *
59
- * # we don't care for the configuration of initialization against the existing resource
60
- *
61
- * initialization,
62
- *
63
- * ]
64
- *
65
- * }
66
- *
67
- * }
68
- *
69
- * @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git
70
- */
71
- class Git extends pulumi.CustomResource {
72
- /**
73
- * Get an existing Git resource's state with the given name, ID, and optional extra
74
- * properties used to qualify the lookup.
75
- *
76
- * @param name The _unique_ name of the resulting resource.
77
- * @param id The _unique_ provider ID of the resource to lookup.
78
- * @param state Any extra arguments used during the lookup.
79
- * @param opts Optional settings to control the behavior of the CustomResource.
80
- */
81
- static get(name, id, state, opts) {
82
- pulumi.log.warn("Git is deprecated: azuredevops.repository.Git has been deprecated in favor of azuredevops.Git");
83
- return new Git(name, state, Object.assign(Object.assign({}, opts), { id: id }));
84
- }
85
- /**
86
- * Returns true if the given object is an instance of Git. This is designed to work even
87
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
88
- */
89
- static isInstance(obj) {
90
- if (obj === undefined || obj === null) {
91
- return false;
92
- }
93
- return obj['__pulumiType'] === Git.__pulumiType;
94
- }
95
- /** @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git */
96
- constructor(name, argsOrState, opts) {
97
- pulumi.log.warn("Git is deprecated: azuredevops.repository.Git has been deprecated in favor of azuredevops.Git");
98
- let resourceInputs = {};
99
- opts = opts || {};
100
- if (opts.id) {
101
- const state = argsOrState;
102
- resourceInputs["defaultBranch"] = state ? state.defaultBranch : undefined;
103
- resourceInputs["initialization"] = state ? state.initialization : undefined;
104
- resourceInputs["isFork"] = state ? state.isFork : undefined;
105
- resourceInputs["name"] = state ? state.name : undefined;
106
- resourceInputs["parentRepositoryId"] = state ? state.parentRepositoryId : undefined;
107
- resourceInputs["projectId"] = state ? state.projectId : undefined;
108
- resourceInputs["remoteUrl"] = state ? state.remoteUrl : undefined;
109
- resourceInputs["size"] = state ? state.size : undefined;
110
- resourceInputs["sshUrl"] = state ? state.sshUrl : undefined;
111
- resourceInputs["url"] = state ? state.url : undefined;
112
- resourceInputs["webUrl"] = state ? state.webUrl : undefined;
113
- }
114
- else {
115
- const args = argsOrState;
116
- if ((!args || args.initialization === undefined) && !opts.urn) {
117
- throw new Error("Missing required property 'initialization'");
118
- }
119
- if ((!args || args.projectId === undefined) && !opts.urn) {
120
- throw new Error("Missing required property 'projectId'");
121
- }
122
- resourceInputs["defaultBranch"] = args ? args.defaultBranch : undefined;
123
- resourceInputs["initialization"] = args ? args.initialization : undefined;
124
- resourceInputs["name"] = args ? args.name : undefined;
125
- resourceInputs["parentRepositoryId"] = args ? args.parentRepositoryId : undefined;
126
- resourceInputs["projectId"] = args ? args.projectId : undefined;
127
- resourceInputs["isFork"] = undefined /*out*/;
128
- resourceInputs["remoteUrl"] = undefined /*out*/;
129
- resourceInputs["size"] = undefined /*out*/;
130
- resourceInputs["sshUrl"] = undefined /*out*/;
131
- resourceInputs["url"] = undefined /*out*/;
132
- resourceInputs["webUrl"] = undefined /*out*/;
133
- }
134
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
135
- super(Git.__pulumiType, name, resourceInputs, opts);
136
- }
137
- }
138
- exports.Git = Git;
139
- /** @internal */
140
- Git.__pulumiType = 'azuredevops:Repository/git:Git';
141
- //# sourceMappingURL=git.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git.js","sourceRoot":"","sources":["../../repository/git.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE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Args, GetRepositoriesResult, GetRepositoriesOutputArgs } from "./getRepositories";
2
- export declare const getRepositories: typeof import("./getRepositories").getRepositories;
3
- export declare const getRepositoriesOutput: typeof import("./getRepositories").getRepositoriesOutput;
4
- export { GitArgs, GitState } from "./git";
5
- export type Git = import("./git").Git;
6
- export declare const Git: typeof import("./git").Git;
@@ -1,25 +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.Git = exports.getRepositoriesOutput = exports.getRepositories = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- exports.getRepositories = null;
9
- exports.getRepositoriesOutput = null;
10
- utilities.lazyLoad(exports, ["getRepositories", "getRepositoriesOutput"], () => require("./getRepositories"));
11
- exports.Git = null;
12
- utilities.lazyLoad(exports, ["Git"], () => require("./git"));
13
- const _module = {
14
- version: utilities.getVersion(),
15
- construct: (name, type, urn) => {
16
- switch (type) {
17
- case "azuredevops:Repository/git:Git":
18
- return new exports.Git(name, undefined, { urn });
19
- default:
20
- throw new Error(`unknown resource type ${type}`);
21
- }
22
- },
23
- };
24
- pulumi.runtime.registerResourceModule("azuredevops", "Repository/git", _module);
25
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../repository/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;AAIhG,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAG7D,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,gCAAgC;gBACjC,OAAO,IAAI,WAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- export { ResourceAuthorizationArgs, ResourceAuthorizationState } from "./resourceAuthorization";
2
- export type ResourceAuthorization = import("./resourceAuthorization").ResourceAuthorization;
3
- export declare const ResourceAuthorization: typeof import("./resourceAuthorization").ResourceAuthorization;
package/security/index.js DELETED
@@ -1,22 +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.ResourceAuthorization = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- exports.ResourceAuthorization = null;
9
- utilities.lazyLoad(exports, ["ResourceAuthorization"], () => require("./resourceAuthorization"));
10
- const _module = {
11
- version: utilities.getVersion(),
12
- construct: (name, type, urn) => {
13
- switch (type) {
14
- case "azuredevops:Security/resourceAuthorization:ResourceAuthorization":
15
- return new exports.ResourceAuthorization(name, undefined, { urn });
16
- default:
17
- throw new Error(`unknown resource type ${type}`);
18
- }
19
- },
20
- };
21
- pulumi.runtime.registerResourceModule("azuredevops", "Security/resourceAuthorization", _module);
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../security/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGjG,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,kEAAkE;gBACnE,OAAO,IAAI,6BAAqB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
@@ -1,136 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Manages authorization of resources, e.g. for access in build pipelines.
4
- *
5
- * Currently supported resources: service endpoint (aka service connection, endpoint).
6
- *
7
- * ## Example Usage
8
- *
9
- * <!--Start PulumiCodeChooser -->
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as azuredevops from "@pulumi/azuredevops";
13
- *
14
- * const exampleProject = new azuredevops.Project("exampleProject", {
15
- * visibility: "private",
16
- * versionControl: "Git",
17
- * workItemTemplate: "Agile",
18
- * description: "Managed by Terraform",
19
- * });
20
- * const exampleServiceEndpointBitBucket = new azuredevops.ServiceEndpointBitBucket("exampleServiceEndpointBitBucket", {
21
- * projectId: exampleProject.id,
22
- * username: "username",
23
- * password: "password",
24
- * serviceEndpointName: "example-bitbucket",
25
- * description: "Managed by Terraform",
26
- * });
27
- * const exampleResourceAuthorization = new azuredevops.ResourceAuthorization("exampleResourceAuthorization", {
28
- * projectId: exampleProject.id,
29
- * resourceId: exampleServiceEndpointBitBucket.id,
30
- * authorized: true,
31
- * });
32
- * ```
33
- * <!--End PulumiCodeChooser -->
34
- *
35
- * ## Relevant Links
36
- *
37
- * - [Azure DevOps Service REST API 7.0 - Authorize Definition Resource](<https://docs.microsoft.com/en-us/rest/api/azure/devops/build/resources/authorize%!d(MISSING)efinition%!r(MISSING)esources?view=azure-devops-rest-7.0>)
38
- *
39
- * @deprecated azuredevops.security/resourceauthorization.ResourceAuthorization has been deprecated in favor of azuredevops.index/resourceauthorization.ResourceAuthorization
40
- */
41
- export declare class ResourceAuthorization extends pulumi.CustomResource {
42
- /**
43
- * Get an existing ResourceAuthorization resource's state with the given name, ID, and optional extra
44
- * properties used to qualify the lookup.
45
- *
46
- * @param name The _unique_ name of the resulting resource.
47
- * @param id The _unique_ provider ID of the resource to lookup.
48
- * @param state Any extra arguments used during the lookup.
49
- * @param opts Optional settings to control the behavior of the CustomResource.
50
- */
51
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceAuthorizationState, opts?: pulumi.CustomResourceOptions): ResourceAuthorization;
52
- /**
53
- * Returns true if the given object is an instance of ResourceAuthorization. This is designed to work even
54
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
- */
56
- static isInstance(obj: any): obj is ResourceAuthorization;
57
- /**
58
- * Set to true to allow public access in the project. Type: boolean.
59
- */
60
- readonly authorized: pulumi.Output<boolean>;
61
- /**
62
- * The ID of the build definition to authorize. Type: string.
63
- */
64
- readonly definitionId: pulumi.Output<number | undefined>;
65
- /**
66
- * The project ID or project name. Type: string.
67
- */
68
- readonly projectId: pulumi.Output<string>;
69
- /**
70
- * The ID of the resource to authorize. Type: string.
71
- */
72
- readonly resourceId: pulumi.Output<string>;
73
- /**
74
- * The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
75
- */
76
- readonly type: pulumi.Output<string | undefined>;
77
- /**
78
- * Create a ResourceAuthorization resource with the given unique name, arguments, and options.
79
- *
80
- * @param name The _unique_ name of the resource.
81
- * @param args The arguments to use to populate this resource's properties.
82
- * @param opts A bag of options that control this resource's behavior.
83
- */
84
- /** @deprecated azuredevops.security/resourceauthorization.ResourceAuthorization has been deprecated in favor of azuredevops.index/resourceauthorization.ResourceAuthorization */
85
- constructor(name: string, args: ResourceAuthorizationArgs, opts?: pulumi.CustomResourceOptions);
86
- }
87
- /**
88
- * Input properties used for looking up and filtering ResourceAuthorization resources.
89
- */
90
- export interface ResourceAuthorizationState {
91
- /**
92
- * Set to true to allow public access in the project. Type: boolean.
93
- */
94
- authorized?: pulumi.Input<boolean>;
95
- /**
96
- * The ID of the build definition to authorize. Type: string.
97
- */
98
- definitionId?: pulumi.Input<number>;
99
- /**
100
- * The project ID or project name. Type: string.
101
- */
102
- projectId?: pulumi.Input<string>;
103
- /**
104
- * The ID of the resource to authorize. Type: string.
105
- */
106
- resourceId?: pulumi.Input<string>;
107
- /**
108
- * The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
109
- */
110
- type?: pulumi.Input<string>;
111
- }
112
- /**
113
- * The set of arguments for constructing a ResourceAuthorization resource.
114
- */
115
- export interface ResourceAuthorizationArgs {
116
- /**
117
- * Set to true to allow public access in the project. Type: boolean.
118
- */
119
- authorized: pulumi.Input<boolean>;
120
- /**
121
- * The ID of the build definition to authorize. Type: string.
122
- */
123
- definitionId?: pulumi.Input<number>;
124
- /**
125
- * The project ID or project name. Type: string.
126
- */
127
- projectId: pulumi.Input<string>;
128
- /**
129
- * The ID of the resource to authorize. Type: string.
130
- */
131
- resourceId: pulumi.Input<string>;
132
- /**
133
- * The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
134
- */
135
- type?: pulumi.Input<string>;
136
- }