@pulumi/azuredevops 3.6.0-alpha.1737523387 → 3.6.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 (217) hide show
  1. package/areaPermissions.d.ts +36 -36
  2. package/branchPolicyAutoReviewers.d.ts +3 -3
  3. package/branchPolicyBuildValidation.d.ts +3 -3
  4. package/branchPolicyCommentResolution.d.ts +3 -3
  5. package/branchPolicyMergeTypes.d.ts +3 -3
  6. package/branchPolicyStatusCheck.d.ts +3 -3
  7. package/branchPolicyWorkItemLinking.d.ts +3 -3
  8. package/buildDefinition.d.ts +3 -3
  9. package/checkBranchControl.d.ts +3 -3
  10. package/checkBusinessHours.d.ts +3 -3
  11. package/checkExclusiveLock.d.ts +3 -3
  12. package/checkRestApi.d.ts +300 -0
  13. package/checkRestApi.js +161 -0
  14. package/checkRestApi.js.map +1 -0
  15. package/feed.d.ts +4 -4
  16. package/feed.js +4 -4
  17. package/feedPermission.d.ts +4 -4
  18. package/feedPermission.js +1 -1
  19. package/feedRetentionPolicy.d.ts +155 -0
  20. package/feedRetentionPolicy.js +135 -0
  21. package/feedRetentionPolicy.js.map +1 -0
  22. package/getAgentQueue.d.ts +2 -2
  23. package/getArea.d.ts +1 -1
  24. package/getClientConfig.d.ts +3 -0
  25. package/getClientConfig.js.map +1 -1
  26. package/getFeed.d.ts +4 -4
  27. package/getGitRepository.d.ts +8 -8
  28. package/getGroup.d.ts +4 -4
  29. package/getGroups.d.ts +3 -3
  30. package/getIdentityGroup.d.ts +3 -0
  31. package/getIdentityGroup.js.map +1 -1
  32. package/getIdentityGroups.d.ts +1 -1
  33. package/getIdentityUsers.d.ts +5 -5
  34. package/getPool.d.ts +14 -2
  35. package/getPool.js +2 -2
  36. package/getPool.js.map +1 -1
  37. package/getPools.d.ts +3 -3
  38. package/getPools.js +2 -2
  39. package/getProject.d.ts +32 -0
  40. package/getProject.js +10 -0
  41. package/getProject.js.map +1 -1
  42. package/getProjects.d.ts +4 -4
  43. package/getRepositories.d.ts +5 -1
  44. package/getRepositories.js.map +1 -1
  45. package/getSecurityroleDefinitions.d.ts +4 -4
  46. package/getSecurityroleDefinitions.js +2 -2
  47. package/getServiceEndpointAzureRM.d.ts +5 -5
  48. package/getServiceEndpointGithub.d.ts +6 -6
  49. package/getServicePrincipal.d.ts +73 -0
  50. package/getServicePrincipal.js +52 -0
  51. package/getServicePrincipal.js.map +1 -0
  52. package/getServiceendpointAzurecr.d.ts +1 -1
  53. package/getServiceendpointBitbucket.d.ts +6 -6
  54. package/getServiceendpointNpm.d.ts +3 -3
  55. package/getServiceendpointSonarcloud.d.ts +2 -2
  56. package/getTeam.d.ts +10 -3
  57. package/getTeam.js.map +1 -1
  58. package/getTeams.d.ts +2 -3
  59. package/getTeams.js.map +1 -1
  60. package/getUsers.d.ts +5 -9
  61. package/getUsers.js.map +1 -1
  62. package/git.d.ts +3 -3
  63. package/gitPermissions.d.ts +3 -6
  64. package/gitPermissions.js.map +1 -1
  65. package/gitRepositoryFile.d.ts +3 -6
  66. package/gitRepositoryFile.js.map +1 -1
  67. package/group.d.ts +9 -3
  68. package/group.js.map +1 -1
  69. package/groupEntitlement.d.ts +7 -9
  70. package/groupEntitlement.js +1 -3
  71. package/groupEntitlement.js.map +1 -1
  72. package/groupMembership.d.ts +15 -22
  73. package/groupMembership.js +0 -4
  74. package/groupMembership.js.map +1 -1
  75. package/index.d.ts +24 -0
  76. package/index.js +42 -4
  77. package/index.js.map +1 -1
  78. package/iterativePermissions.d.ts +21 -21
  79. package/libraryPermissions.d.ts +33 -33
  80. package/libraryPermissions.js +6 -6
  81. package/package.json +2 -2
  82. package/pipelineAuthorization.d.ts +3 -3
  83. package/pool.d.ts +2 -2
  84. package/pool.js +2 -2
  85. package/project.d.ts +49 -27
  86. package/project.js +1 -0
  87. package/project.js.map +1 -1
  88. package/projectFeatures.d.ts +36 -18
  89. package/projectFeatures.js.map +1 -1
  90. package/projectPermissions.d.ts +3 -3
  91. package/projectPipelineSettings.d.ts +12 -15
  92. package/projectPipelineSettings.js.map +1 -1
  93. package/projectTags.d.ts +97 -0
  94. package/projectTags.js +94 -0
  95. package/projectTags.js.map +1 -0
  96. package/queue.d.ts +3 -6
  97. package/queue.js.map +1 -1
  98. package/repositoryPolicyAuthorEmailPattern.d.ts +6 -3
  99. package/repositoryPolicyAuthorEmailPattern.js.map +1 -1
  100. package/repositoryPolicyMaxFileSize.d.ts +3 -3
  101. package/resourceAuthorization.d.ts +15 -15
  102. package/serviceEndpointArtifactory.d.ts +14 -8
  103. package/serviceEndpointArtifactory.js +2 -2
  104. package/serviceEndpointArtifactory.js.map +1 -1
  105. package/serviceEndpointAws.d.ts +1 -1
  106. package/serviceEndpointAws.js +1 -1
  107. package/serviceEndpointAzureEcr.d.ts +6 -7
  108. package/serviceEndpointAzureEcr.js +3 -4
  109. package/serviceEndpointAzureEcr.js.map +1 -1
  110. package/serviceEndpointAzureRM.d.ts +11 -11
  111. package/serviceEndpointAzureRM.js +2 -2
  112. package/serviceEndpointBitBucket.d.ts +1 -1
  113. package/serviceEndpointBitBucket.js +1 -1
  114. package/serviceEndpointDockerRegistry.d.ts +1 -1
  115. package/serviceEndpointDockerRegistry.js +1 -1
  116. package/serviceEndpointGeneric.d.ts +1 -1
  117. package/serviceEndpointGeneric.js +1 -1
  118. package/serviceEndpointGenericGit.d.ts +2 -4
  119. package/serviceEndpointGenericGit.js +2 -4
  120. package/serviceEndpointGenericGit.js.map +1 -1
  121. package/serviceEndpointGitHub.d.ts +10 -1
  122. package/serviceEndpointGitHub.js +1 -1
  123. package/serviceEndpointGitHub.js.map +1 -1
  124. package/serviceEndpointGitHubEnterprise.d.ts +10 -1
  125. package/serviceEndpointGitHubEnterprise.js +1 -1
  126. package/serviceEndpointGitHubEnterprise.js.map +1 -1
  127. package/serviceEndpointKubernetes.d.ts +10 -10
  128. package/serviceEndpointKubernetes.js +1 -1
  129. package/serviceEndpointNpm.d.ts +2 -2
  130. package/serviceEndpointNpm.js +2 -2
  131. package/serviceEndpointPipeline.d.ts +2 -2
  132. package/serviceEndpointPipeline.js +2 -2
  133. package/serviceEndpointServiceFabric.d.ts +31 -4
  134. package/serviceEndpointServiceFabric.js +1 -1
  135. package/serviceEndpointServiceFabric.js.map +1 -1
  136. package/serviceEndpointSonarCloud.d.ts +5 -5
  137. package/serviceEndpointSonarCloud.js +2 -2
  138. package/serviceEndpointSonarQube.d.ts +5 -5
  139. package/serviceEndpointSonarQube.js +2 -2
  140. package/serviceEndpointSsh.d.ts +1 -3
  141. package/serviceEndpointSsh.js +1 -3
  142. package/serviceEndpointSsh.js.map +1 -1
  143. package/servicePrincipalEntitlement.d.ts +122 -0
  144. package/servicePrincipalEntitlement.js +84 -0
  145. package/servicePrincipalEntitlement.js.map +1 -0
  146. package/serviceendpointArgocd.d.ts +1 -1
  147. package/serviceendpointArgocd.js +1 -1
  148. package/serviceendpointAzureServiceBus.d.ts +1 -1
  149. package/serviceendpointAzureServiceBus.js +1 -1
  150. package/serviceendpointCheckmarxOne.d.ts +199 -0
  151. package/serviceendpointCheckmarxOne.js +137 -0
  152. package/serviceendpointCheckmarxOne.js.map +1 -0
  153. package/serviceendpointCheckmarxSast.d.ts +171 -0
  154. package/serviceendpointCheckmarxSast.js +121 -0
  155. package/serviceendpointCheckmarxSast.js.map +1 -0
  156. package/serviceendpointCheckmarxSca.d.ts +196 -0
  157. package/serviceendpointCheckmarxSca.js +135 -0
  158. package/serviceendpointCheckmarxSca.js.map +1 -0
  159. package/serviceendpointDynamicsLifecycleServices.d.ts +1 -1
  160. package/serviceendpointDynamicsLifecycleServices.js +1 -1
  161. package/serviceendpointExternaltfs.d.ts +33 -5
  162. package/serviceendpointExternaltfs.js +30 -2
  163. package/serviceendpointExternaltfs.js.map +1 -1
  164. package/serviceendpointGcpTerraform.d.ts +1 -1
  165. package/serviceendpointGcpTerraform.js +1 -1
  166. package/serviceendpointIncomingwebhook.d.ts +1 -1
  167. package/serviceendpointIncomingwebhook.js +1 -1
  168. package/serviceendpointJenkins.d.ts +1 -1
  169. package/serviceendpointJenkins.js +1 -1
  170. package/serviceendpointJfrogArtifactoryV2.d.ts +8 -8
  171. package/serviceendpointJfrogArtifactoryV2.js +2 -2
  172. package/serviceendpointJfrogDistributionV2.d.ts +8 -8
  173. package/serviceendpointJfrogDistributionV2.js +2 -2
  174. package/serviceendpointJfrogPlatformV2.d.ts +8 -8
  175. package/serviceendpointJfrogPlatformV2.js +2 -2
  176. package/serviceendpointJfrogXrayV2.d.ts +8 -8
  177. package/serviceendpointJfrogXrayV2.js +2 -2
  178. package/serviceendpointMaven.d.ts +1 -1
  179. package/serviceendpointMaven.js +1 -1
  180. package/serviceendpointNexus.d.ts +1 -1
  181. package/serviceendpointNexus.js +1 -1
  182. package/serviceendpointNuget.d.ts +1 -1
  183. package/serviceendpointNuget.js +1 -1
  184. package/serviceendpointOctopusdeploy.d.ts +1 -1
  185. package/serviceendpointOctopusdeploy.js +1 -1
  186. package/serviceendpointPermissions.d.ts +24 -24
  187. package/serviceendpointSnyk.d.ts +1 -1
  188. package/serviceendpointSnyk.js +1 -1
  189. package/serviceendpointVisualstudiomarketplace.d.ts +2 -3
  190. package/serviceendpointVisualstudiomarketplace.js +2 -3
  191. package/serviceendpointVisualstudiomarketplace.js.map +1 -1
  192. package/servicehookPermissions.d.ts +22 -22
  193. package/servicehookPermissions.js +1 -1
  194. package/servicehookStorageQueuePipelines.d.ts +2 -2
  195. package/servicehookStorageQueuePipelines.js +2 -2
  196. package/taggingPermissions.d.ts +21 -21
  197. package/team.d.ts +34 -24
  198. package/team.js +10 -0
  199. package/team.js.map +1 -1
  200. package/teamAdministrators.d.ts +37 -24
  201. package/teamAdministrators.js +10 -0
  202. package/teamAdministrators.js.map +1 -1
  203. package/teamMembers.d.ts +24 -21
  204. package/teamMembers.js.map +1 -1
  205. package/types/input.d.ts +40 -39
  206. package/types/output.d.ts +66 -51
  207. package/variableGroup.d.ts +2 -1
  208. package/variableGroup.js +2 -1
  209. package/variableGroup.js.map +1 -1
  210. package/variableGroupPermissions.d.ts +33 -33
  211. package/variableGroupPermissions.js +6 -6
  212. package/wiki.d.ts +10 -1
  213. package/wiki.js +1 -1
  214. package/wiki.js.map +1 -1
  215. package/wikiPage.d.ts +1 -1
  216. package/wikiPage.js +1 -1
  217. package/workItemQueryPermissions.d.ts +3 -3
@@ -0,0 +1,300 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Rest API check on a resource 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 = new azuredevops.Project("example", {name: "Example Project"});
12
+ * const exampleServiceEndpointGeneric = new azuredevops.ServiceEndpointGeneric("example", {
13
+ * projectId: example.id,
14
+ * serverUrl: "https://some-server.example.com",
15
+ * serviceEndpointName: "Example Generic",
16
+ * username: "username",
17
+ * password: "password",
18
+ * description: "Managed by Pulumi",
19
+ * });
20
+ * const exampleAzure = new azuredevops.ServiceEndpointGeneric("example_azure", {
21
+ * projectId: example.id,
22
+ * serverUrl: "https://dev.azure.com/",
23
+ * serviceEndpointName: "Example Generic Azure",
24
+ * username: "username",
25
+ * password: "dummy",
26
+ * });
27
+ * const exampleVariableGroup = new azuredevops.VariableGroup("example", {
28
+ * projectId: example.id,
29
+ * name: "Example Variable Group",
30
+ * allowAccess: true,
31
+ * variables: [{
32
+ * name: "FOO",
33
+ * value: "BAR",
34
+ * }],
35
+ * });
36
+ * const exampleCheckRestApi = new azuredevops.CheckRestApi("example", {
37
+ * projectId: example.id,
38
+ * targetResourceId: exampleServiceEndpointGeneric.id,
39
+ * targetResourceType: "endpoint",
40
+ * displayName: "Example REST API Check",
41
+ * connectedServiceNameSelector: "connectedServiceName",
42
+ * connectedServiceName: exampleAzure.serviceEndpointName,
43
+ * method: "POST",
44
+ * headers: "{\"contentType\":\"application/json\"}",
45
+ * body: "{\"params\":\"value\"}",
46
+ * completionEvent: "ApiResponse",
47
+ * successCriteria: "eq(root['status'], '200')",
48
+ * urlSuffix: "user/1",
49
+ * retryInterval: 4000,
50
+ * variableGroupName: exampleVariableGroup.name,
51
+ * timeout: 40000,
52
+ * });
53
+ * ```
54
+ *
55
+ * ## Relevant Links
56
+ *
57
+ * - [Define approvals and checks](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass)
58
+ *
59
+ * ## Import
60
+ *
61
+ * Importing this resource is not supported.
62
+ */
63
+ export declare class CheckRestApi extends pulumi.CustomResource {
64
+ /**
65
+ * Get an existing CheckRestApi resource's state with the given name, ID, and optional extra
66
+ * properties used to qualify the lookup.
67
+ *
68
+ * @param name The _unique_ name of the resulting resource.
69
+ * @param id The _unique_ provider ID of the resource to lookup.
70
+ * @param state Any extra arguments used during the lookup.
71
+ * @param opts Optional settings to control the behavior of the CustomResource.
72
+ */
73
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CheckRestApiState, opts?: pulumi.CustomResourceOptions): CheckRestApi;
74
+ /**
75
+ * Returns true if the given object is an instance of CheckRestApi. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj: any): obj is CheckRestApi;
79
+ /**
80
+ * The Rest API request body.
81
+ */
82
+ readonly body: pulumi.Output<string | undefined>;
83
+ /**
84
+ * The completion event of the Rest API call. Possible values: `Callback`, `ApiResponse`. Defaults to `Callback`.
85
+ */
86
+ readonly completionEvent: pulumi.Output<string | undefined>;
87
+ /**
88
+ * The name of the Service Connection.
89
+ */
90
+ readonly connectedServiceName: pulumi.Output<string>;
91
+ /**
92
+ * The type of the Service Connection used to invoke the REST API. Possible values: `connectedServiceName`(**Generic** type service connection) and `connectedServiceNameARM`(**Azure Resource Manager** type service connection).
93
+ */
94
+ readonly connectedServiceNameSelector: pulumi.Output<string>;
95
+ /**
96
+ * The Name of the Rest API check.
97
+ */
98
+ readonly displayName: pulumi.Output<string>;
99
+ /**
100
+ * The headers of the request in JSON format.
101
+ */
102
+ readonly headers: pulumi.Output<string | undefined>;
103
+ /**
104
+ * The HTTP method of the request. Possible values: `OPTIONS`, `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `TRACE`, `PATCH`
105
+ */
106
+ readonly method: pulumi.Output<string>;
107
+ /**
108
+ * The ID of the project. Changing this forces a new resource to be created.
109
+ */
110
+ readonly projectId: pulumi.Output<string>;
111
+ /**
112
+ * The time between evaluations (minutes).
113
+ *
114
+ * ~>**NOTE** 1. The retry times should less them 10 based on the timeout. For example: `timeout` is `4000` then `retryInterval` should be `0` or no less then `400`.
115
+ * <br>2. `retryInterval` is not required when `completion_event=Callback`.
116
+ */
117
+ readonly retryInterval: pulumi.Output<number | undefined>;
118
+ /**
119
+ * The Criteria which defines when to pass the task. No criteria means response content does not influence the result.
120
+ *
121
+ * ~>**NOTE** `successCriteria` is used when `completion_event=ApiResponse`
122
+ */
123
+ readonly successCriteria: pulumi.Output<string | undefined>;
124
+ /**
125
+ * The ID of the resource being protected by the check. Changing this forces a new resource to be created
126
+ */
127
+ readonly targetResourceId: pulumi.Output<string>;
128
+ /**
129
+ * The type of resource being protected by the check. Possible values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new resource to be created.
130
+ */
131
+ readonly targetResourceType: pulumi.Output<string>;
132
+ /**
133
+ * The timeout in minutes for the Rest API check. Defaults to `1440`.
134
+ */
135
+ readonly timeout: pulumi.Output<number | undefined>;
136
+ /**
137
+ * The URL suffix and parameters.
138
+ */
139
+ readonly urlSuffix: pulumi.Output<string | undefined>;
140
+ /**
141
+ * The name of the Variable Group.
142
+ */
143
+ readonly variableGroupName: pulumi.Output<string | undefined>;
144
+ /**
145
+ * The version of the Rest API check.
146
+ */
147
+ readonly version: pulumi.Output<number>;
148
+ /**
149
+ * Create a CheckRestApi resource with the given unique name, arguments, and options.
150
+ *
151
+ * @param name The _unique_ name of the resource.
152
+ * @param args The arguments to use to populate this resource's properties.
153
+ * @param opts A bag of options that control this resource's behavior.
154
+ */
155
+ constructor(name: string, args: CheckRestApiArgs, opts?: pulumi.CustomResourceOptions);
156
+ }
157
+ /**
158
+ * Input properties used for looking up and filtering CheckRestApi resources.
159
+ */
160
+ export interface CheckRestApiState {
161
+ /**
162
+ * The Rest API request body.
163
+ */
164
+ body?: pulumi.Input<string>;
165
+ /**
166
+ * The completion event of the Rest API call. Possible values: `Callback`, `ApiResponse`. Defaults to `Callback`.
167
+ */
168
+ completionEvent?: pulumi.Input<string>;
169
+ /**
170
+ * The name of the Service Connection.
171
+ */
172
+ connectedServiceName?: pulumi.Input<string>;
173
+ /**
174
+ * The type of the Service Connection used to invoke the REST API. Possible values: `connectedServiceName`(**Generic** type service connection) and `connectedServiceNameARM`(**Azure Resource Manager** type service connection).
175
+ */
176
+ connectedServiceNameSelector?: pulumi.Input<string>;
177
+ /**
178
+ * The Name of the Rest API check.
179
+ */
180
+ displayName?: pulumi.Input<string>;
181
+ /**
182
+ * The headers of the request in JSON format.
183
+ */
184
+ headers?: pulumi.Input<string>;
185
+ /**
186
+ * The HTTP method of the request. Possible values: `OPTIONS`, `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `TRACE`, `PATCH`
187
+ */
188
+ method?: pulumi.Input<string>;
189
+ /**
190
+ * The ID of the project. Changing this forces a new resource to be created.
191
+ */
192
+ projectId?: pulumi.Input<string>;
193
+ /**
194
+ * The time between evaluations (minutes).
195
+ *
196
+ * ~>**NOTE** 1. The retry times should less them 10 based on the timeout. For example: `timeout` is `4000` then `retryInterval` should be `0` or no less then `400`.
197
+ * <br>2. `retryInterval` is not required when `completion_event=Callback`.
198
+ */
199
+ retryInterval?: pulumi.Input<number>;
200
+ /**
201
+ * The Criteria which defines when to pass the task. No criteria means response content does not influence the result.
202
+ *
203
+ * ~>**NOTE** `successCriteria` is used when `completion_event=ApiResponse`
204
+ */
205
+ successCriteria?: pulumi.Input<string>;
206
+ /**
207
+ * The ID of the resource being protected by the check. Changing this forces a new resource to be created
208
+ */
209
+ targetResourceId?: pulumi.Input<string>;
210
+ /**
211
+ * The type of resource being protected by the check. Possible values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new resource to be created.
212
+ */
213
+ targetResourceType?: pulumi.Input<string>;
214
+ /**
215
+ * The timeout in minutes for the Rest API check. Defaults to `1440`.
216
+ */
217
+ timeout?: pulumi.Input<number>;
218
+ /**
219
+ * The URL suffix and parameters.
220
+ */
221
+ urlSuffix?: pulumi.Input<string>;
222
+ /**
223
+ * The name of the Variable Group.
224
+ */
225
+ variableGroupName?: pulumi.Input<string>;
226
+ /**
227
+ * The version of the Rest API check.
228
+ */
229
+ version?: pulumi.Input<number>;
230
+ }
231
+ /**
232
+ * The set of arguments for constructing a CheckRestApi resource.
233
+ */
234
+ export interface CheckRestApiArgs {
235
+ /**
236
+ * The Rest API request body.
237
+ */
238
+ body?: pulumi.Input<string>;
239
+ /**
240
+ * The completion event of the Rest API call. Possible values: `Callback`, `ApiResponse`. Defaults to `Callback`.
241
+ */
242
+ completionEvent?: pulumi.Input<string>;
243
+ /**
244
+ * The name of the Service Connection.
245
+ */
246
+ connectedServiceName: pulumi.Input<string>;
247
+ /**
248
+ * The type of the Service Connection used to invoke the REST API. Possible values: `connectedServiceName`(**Generic** type service connection) and `connectedServiceNameARM`(**Azure Resource Manager** type service connection).
249
+ */
250
+ connectedServiceNameSelector: pulumi.Input<string>;
251
+ /**
252
+ * The Name of the Rest API check.
253
+ */
254
+ displayName: pulumi.Input<string>;
255
+ /**
256
+ * The headers of the request in JSON format.
257
+ */
258
+ headers?: pulumi.Input<string>;
259
+ /**
260
+ * The HTTP method of the request. Possible values: `OPTIONS`, `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `TRACE`, `PATCH`
261
+ */
262
+ method: pulumi.Input<string>;
263
+ /**
264
+ * The ID of the project. Changing this forces a new resource to be created.
265
+ */
266
+ projectId: pulumi.Input<string>;
267
+ /**
268
+ * The time between evaluations (minutes).
269
+ *
270
+ * ~>**NOTE** 1. The retry times should less them 10 based on the timeout. For example: `timeout` is `4000` then `retryInterval` should be `0` or no less then `400`.
271
+ * <br>2. `retryInterval` is not required when `completion_event=Callback`.
272
+ */
273
+ retryInterval?: pulumi.Input<number>;
274
+ /**
275
+ * The Criteria which defines when to pass the task. No criteria means response content does not influence the result.
276
+ *
277
+ * ~>**NOTE** `successCriteria` is used when `completion_event=ApiResponse`
278
+ */
279
+ successCriteria?: pulumi.Input<string>;
280
+ /**
281
+ * The ID of the resource being protected by the check. Changing this forces a new resource to be created
282
+ */
283
+ targetResourceId: pulumi.Input<string>;
284
+ /**
285
+ * The type of resource being protected by the check. Possible values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new resource to be created.
286
+ */
287
+ targetResourceType: pulumi.Input<string>;
288
+ /**
289
+ * The timeout in minutes for the Rest API check. Defaults to `1440`.
290
+ */
291
+ timeout?: pulumi.Input<number>;
292
+ /**
293
+ * The URL suffix and parameters.
294
+ */
295
+ urlSuffix?: pulumi.Input<string>;
296
+ /**
297
+ * The name of the Variable Group.
298
+ */
299
+ variableGroupName?: pulumi.Input<string>;
300
+ }
@@ -0,0 +1,161 @@
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.CheckRestApi = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Manages a Rest API check on a resource 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 = new azuredevops.Project("example", {name: "Example Project"});
18
+ * const exampleServiceEndpointGeneric = new azuredevops.ServiceEndpointGeneric("example", {
19
+ * projectId: example.id,
20
+ * serverUrl: "https://some-server.example.com",
21
+ * serviceEndpointName: "Example Generic",
22
+ * username: "username",
23
+ * password: "password",
24
+ * description: "Managed by Pulumi",
25
+ * });
26
+ * const exampleAzure = new azuredevops.ServiceEndpointGeneric("example_azure", {
27
+ * projectId: example.id,
28
+ * serverUrl: "https://dev.azure.com/",
29
+ * serviceEndpointName: "Example Generic Azure",
30
+ * username: "username",
31
+ * password: "dummy",
32
+ * });
33
+ * const exampleVariableGroup = new azuredevops.VariableGroup("example", {
34
+ * projectId: example.id,
35
+ * name: "Example Variable Group",
36
+ * allowAccess: true,
37
+ * variables: [{
38
+ * name: "FOO",
39
+ * value: "BAR",
40
+ * }],
41
+ * });
42
+ * const exampleCheckRestApi = new azuredevops.CheckRestApi("example", {
43
+ * projectId: example.id,
44
+ * targetResourceId: exampleServiceEndpointGeneric.id,
45
+ * targetResourceType: "endpoint",
46
+ * displayName: "Example REST API Check",
47
+ * connectedServiceNameSelector: "connectedServiceName",
48
+ * connectedServiceName: exampleAzure.serviceEndpointName,
49
+ * method: "POST",
50
+ * headers: "{\"contentType\":\"application/json\"}",
51
+ * body: "{\"params\":\"value\"}",
52
+ * completionEvent: "ApiResponse",
53
+ * successCriteria: "eq(root['status'], '200')",
54
+ * urlSuffix: "user/1",
55
+ * retryInterval: 4000,
56
+ * variableGroupName: exampleVariableGroup.name,
57
+ * timeout: 40000,
58
+ * });
59
+ * ```
60
+ *
61
+ * ## Relevant Links
62
+ *
63
+ * - [Define approvals and checks](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass)
64
+ *
65
+ * ## Import
66
+ *
67
+ * Importing this resource is not supported.
68
+ */
69
+ class CheckRestApi extends pulumi.CustomResource {
70
+ /**
71
+ * Get an existing CheckRestApi resource's state with the given name, ID, and optional extra
72
+ * properties used to qualify the lookup.
73
+ *
74
+ * @param name The _unique_ name of the resulting resource.
75
+ * @param id The _unique_ provider ID of the resource to lookup.
76
+ * @param state Any extra arguments used during the lookup.
77
+ * @param opts Optional settings to control the behavior of the CustomResource.
78
+ */
79
+ static get(name, id, state, opts) {
80
+ return new CheckRestApi(name, state, Object.assign(Object.assign({}, opts), { id: id }));
81
+ }
82
+ /**
83
+ * Returns true if the given object is an instance of CheckRestApi. This is designed to work even
84
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
85
+ */
86
+ static isInstance(obj) {
87
+ if (obj === undefined || obj === null) {
88
+ return false;
89
+ }
90
+ return obj['__pulumiType'] === CheckRestApi.__pulumiType;
91
+ }
92
+ constructor(name, argsOrState, opts) {
93
+ let resourceInputs = {};
94
+ opts = opts || {};
95
+ if (opts.id) {
96
+ const state = argsOrState;
97
+ resourceInputs["body"] = state ? state.body : undefined;
98
+ resourceInputs["completionEvent"] = state ? state.completionEvent : undefined;
99
+ resourceInputs["connectedServiceName"] = state ? state.connectedServiceName : undefined;
100
+ resourceInputs["connectedServiceNameSelector"] = state ? state.connectedServiceNameSelector : undefined;
101
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
102
+ resourceInputs["headers"] = state ? state.headers : undefined;
103
+ resourceInputs["method"] = state ? state.method : undefined;
104
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
105
+ resourceInputs["retryInterval"] = state ? state.retryInterval : undefined;
106
+ resourceInputs["successCriteria"] = state ? state.successCriteria : undefined;
107
+ resourceInputs["targetResourceId"] = state ? state.targetResourceId : undefined;
108
+ resourceInputs["targetResourceType"] = state ? state.targetResourceType : undefined;
109
+ resourceInputs["timeout"] = state ? state.timeout : undefined;
110
+ resourceInputs["urlSuffix"] = state ? state.urlSuffix : undefined;
111
+ resourceInputs["variableGroupName"] = state ? state.variableGroupName : undefined;
112
+ resourceInputs["version"] = state ? state.version : undefined;
113
+ }
114
+ else {
115
+ const args = argsOrState;
116
+ if ((!args || args.connectedServiceName === undefined) && !opts.urn) {
117
+ throw new Error("Missing required property 'connectedServiceName'");
118
+ }
119
+ if ((!args || args.connectedServiceNameSelector === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'connectedServiceNameSelector'");
121
+ }
122
+ if ((!args || args.displayName === undefined) && !opts.urn) {
123
+ throw new Error("Missing required property 'displayName'");
124
+ }
125
+ if ((!args || args.method === undefined) && !opts.urn) {
126
+ throw new Error("Missing required property 'method'");
127
+ }
128
+ if ((!args || args.projectId === undefined) && !opts.urn) {
129
+ throw new Error("Missing required property 'projectId'");
130
+ }
131
+ if ((!args || args.targetResourceId === undefined) && !opts.urn) {
132
+ throw new Error("Missing required property 'targetResourceId'");
133
+ }
134
+ if ((!args || args.targetResourceType === undefined) && !opts.urn) {
135
+ throw new Error("Missing required property 'targetResourceType'");
136
+ }
137
+ resourceInputs["body"] = args ? args.body : undefined;
138
+ resourceInputs["completionEvent"] = args ? args.completionEvent : undefined;
139
+ resourceInputs["connectedServiceName"] = args ? args.connectedServiceName : undefined;
140
+ resourceInputs["connectedServiceNameSelector"] = args ? args.connectedServiceNameSelector : undefined;
141
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
142
+ resourceInputs["headers"] = args ? args.headers : undefined;
143
+ resourceInputs["method"] = args ? args.method : undefined;
144
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
145
+ resourceInputs["retryInterval"] = args ? args.retryInterval : undefined;
146
+ resourceInputs["successCriteria"] = args ? args.successCriteria : undefined;
147
+ resourceInputs["targetResourceId"] = args ? args.targetResourceId : undefined;
148
+ resourceInputs["targetResourceType"] = args ? args.targetResourceType : undefined;
149
+ resourceInputs["timeout"] = args ? args.timeout : undefined;
150
+ resourceInputs["urlSuffix"] = args ? args.urlSuffix : undefined;
151
+ resourceInputs["variableGroupName"] = args ? args.variableGroupName : undefined;
152
+ resourceInputs["version"] = undefined /*out*/;
153
+ }
154
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
155
+ super(CheckRestApi.__pulumiType, name, resourceInputs, opts);
156
+ }
157
+ }
158
+ exports.CheckRestApi = CheckRestApi;
159
+ /** @internal */
160
+ CheckRestApi.__pulumiType = 'azuredevops:index/checkRestApi:CheckRestApi';
161
+ //# sourceMappingURL=checkRestApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkRestApi.js","sourceRoot":"","sources":["../checkRestApi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAgFD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,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C,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzKL,oCA0KC;AA5JG,gBAAgB;AACO,yBAAY,GAAG,6CAA6C,CAAC"}
package/feed.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * Manages creation of the Feed within Azure DevOps organization.
5
+ * Manages Feed within Azure DevOps organization.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as azuredevops from "@pulumi/azuredevops";
13
13
  *
14
- * const example = new azuredevops.Feed("example", {name: "releases"});
14
+ * const example = new azuredevops.Feed("example", {name: "examplefeed"});
15
15
  * ```
16
16
  *
17
17
  * ### Create Feed in the scope of a Project
@@ -27,7 +27,7 @@ import * as outputs from "./types/output";
27
27
  * description: "Managed by Pulumi",
28
28
  * });
29
29
  * const exampleFeed = new azuredevops.Feed("example", {
30
- * name: "releases",
30
+ * name: "examplefeed",
31
31
  * projectId: example.id,
32
32
  * });
33
33
  * ```
@@ -38,7 +38,7 @@ import * as outputs from "./types/output";
38
38
  * import * as azuredevops from "@pulumi/azuredevops";
39
39
  *
40
40
  * const example = new azuredevops.Feed("example", {
41
- * name: "releases",
41
+ * name: "examplefeed",
42
42
  * features: [{
43
43
  * permanentDelete: false,
44
44
  * }],
package/feed.js CHANGED
@@ -6,7 +6,7 @@ exports.Feed = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Manages creation of the Feed within Azure DevOps organization.
9
+ * Manages Feed within Azure DevOps organization.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as azuredevops from "@pulumi/azuredevops";
17
17
  *
18
- * const example = new azuredevops.Feed("example", {name: "releases"});
18
+ * const example = new azuredevops.Feed("example", {name: "examplefeed"});
19
19
  * ```
20
20
  *
21
21
  * ### Create Feed in the scope of a Project
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
31
31
  * description: "Managed by Pulumi",
32
32
  * });
33
33
  * const exampleFeed = new azuredevops.Feed("example", {
34
- * name: "releases",
34
+ * name: "examplefeed",
35
35
  * projectId: example.id,
36
36
  * });
37
37
  * ```
@@ -42,7 +42,7 @@ const utilities = require("./utilities");
42
42
  * import * as azuredevops from "@pulumi/azuredevops";
43
43
  *
44
44
  * const example = new azuredevops.Feed("example", {
45
- * name: "releases",
45
+ * name: "examplefeed",
46
46
  * features: [{
47
47
  * permanentDelete: false,
48
48
  * }],
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
15
15
  * displayName: "Example group",
16
16
  * description: "Example description",
17
17
  * });
18
- * const exampleFeed = new azuredevops.Feed("example", {name: "releases"});
18
+ * const exampleFeed = new azuredevops.Feed("example", {name: "examplefeed"});
19
19
  * const permission = new azuredevops.FeedPermission("permission", {
20
20
  * feedId: exampleFeed.id,
21
21
  * role: "reader",
@@ -64,7 +64,7 @@ export declare class FeedPermission extends pulumi.CustomResource {
64
64
  */
65
65
  readonly projectId: pulumi.Output<string | undefined>;
66
66
  /**
67
- * The role to be assigned, possible values : `reader`, `contributor`, `collaborator`, `administrator`
67
+ * The role to be assigned. Possible values are: `reader`, `contributor`, `collaborator`, `administrator`
68
68
  */
69
69
  readonly role: pulumi.Output<string>;
70
70
  /**
@@ -101,7 +101,7 @@ export interface FeedPermissionState {
101
101
  */
102
102
  projectId?: pulumi.Input<string>;
103
103
  /**
104
- * The role to be assigned, possible values : `reader`, `contributor`, `collaborator`, `administrator`
104
+ * The role to be assigned. Possible values are: `reader`, `contributor`, `collaborator`, `administrator`
105
105
  */
106
106
  role?: pulumi.Input<string>;
107
107
  }
@@ -126,7 +126,7 @@ export interface FeedPermissionArgs {
126
126
  */
127
127
  projectId?: pulumi.Input<string>;
128
128
  /**
129
- * The role to be assigned, possible values : `reader`, `contributor`, `collaborator`, `administrator`
129
+ * The role to be assigned. Possible values are: `reader`, `contributor`, `collaborator`, `administrator`
130
130
  */
131
131
  role: pulumi.Input<string>;
132
132
  }
package/feedPermission.js CHANGED
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
21
21
  * displayName: "Example group",
22
22
  * description: "Example description",
23
23
  * });
24
- * const exampleFeed = new azuredevops.Feed("example", {name: "releases"});
24
+ * const exampleFeed = new azuredevops.Feed("example", {name: "examplefeed"});
25
25
  * const permission = new azuredevops.FeedPermission("permission", {
26
26
  * feedId: exampleFeed.id,
27
27
  * role: "reader",