@azure/arm-containerregistry 7.0.0 → 9.0.0-beta.1

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 (310) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +68 -76
  4. package/dist/index.js +12640 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/containerRegistryManagementClient.d.ts +29 -0
  9. package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/containerRegistryManagementClient.js +36 -0
  11. package/dist-esm/src/containerRegistryManagementClient.js.map +1 -0
  12. package/dist-esm/src/containerRegistryManagementClientContext.d.ts +15 -0
  13. package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/containerRegistryManagementClientContext.js +48 -0
  15. package/dist-esm/src/containerRegistryManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +3421 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +339 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +177 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +3696 -2199
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +54 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +428 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/agentPools.d.ts +107 -0
  37. package/dist-esm/src/operations/agentPools.d.ts.map +1 -0
  38. package/dist-esm/src/operations/agentPools.js +455 -0
  39. package/dist-esm/src/operations/agentPools.js.map +1 -0
  40. package/dist-esm/src/operations/connectedRegistries.d.ts +115 -0
  41. package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -0
  42. package/dist-esm/src/operations/connectedRegistries.js +503 -0
  43. package/dist-esm/src/operations/connectedRegistries.js.map +1 -0
  44. package/dist-esm/src/operations/exportPipelines.d.ts +81 -0
  45. package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -0
  46. package/dist-esm/src/operations/exportPipelines.js +316 -0
  47. package/dist-esm/src/operations/exportPipelines.js.map +1 -0
  48. package/dist-esm/src/operations/importPipelines.d.ts +81 -0
  49. package/dist-esm/src/operations/importPipelines.d.ts.map +1 -0
  50. package/dist-esm/src/operations/importPipelines.js +316 -0
  51. package/dist-esm/src/operations/importPipelines.js.map +1 -0
  52. package/dist-esm/src/operations/index.d.ts +16 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/dist-esm/src/operations/index.js +23 -0
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +114 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operations/pipelineRuns.d.ts +81 -0
  61. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
  62. package/dist-esm/src/operations/pipelineRuns.js +316 -0
  63. package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
  64. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  65. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  66. package/dist-esm/src/operations/privateEndpointConnections.js +326 -0
  67. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  68. package/dist-esm/src/operations/registries.d.ts +217 -0
  69. package/dist-esm/src/operations/registries.d.ts.map +1 -0
  70. package/dist-esm/src/operations/registries.js +956 -0
  71. package/dist-esm/src/operations/registries.js.map +1 -0
  72. package/dist-esm/src/operations/replications.d.ts +99 -0
  73. package/dist-esm/src/operations/replications.d.ts.map +1 -0
  74. package/dist-esm/src/operations/replications.js +405 -0
  75. package/dist-esm/src/operations/replications.js.map +1 -0
  76. package/dist-esm/src/operations/runs.d.ts +89 -0
  77. package/dist-esm/src/operations/runs.d.ts.map +1 -0
  78. package/dist-esm/src/operations/runs.js +363 -0
  79. package/dist-esm/src/operations/runs.js.map +1 -0
  80. package/dist-esm/src/operations/scopeMaps.d.ts +99 -0
  81. package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -0
  82. package/dist-esm/src/operations/scopeMaps.js +405 -0
  83. package/dist-esm/src/operations/scopeMaps.js.map +1 -0
  84. package/dist-esm/src/operations/taskRuns.d.ts +107 -0
  85. package/dist-esm/src/operations/taskRuns.d.ts.map +1 -0
  86. package/dist-esm/src/operations/taskRuns.js +455 -0
  87. package/dist-esm/src/operations/taskRuns.js.map +1 -0
  88. package/dist-esm/src/operations/tasks.d.ts +107 -0
  89. package/dist-esm/src/operations/tasks.d.ts.map +1 -0
  90. package/dist-esm/src/operations/tasks.js +461 -0
  91. package/dist-esm/src/operations/tasks.js.map +1 -0
  92. package/dist-esm/src/operations/tokens.d.ts +99 -0
  93. package/dist-esm/src/operations/tokens.d.ts.map +1 -0
  94. package/dist-esm/src/operations/tokens.js +405 -0
  95. package/dist-esm/src/operations/tokens.js.map +1 -0
  96. package/dist-esm/src/operations/webhooks.d.ts +142 -0
  97. package/dist-esm/src/operations/webhooks.d.ts.map +1 -0
  98. package/dist-esm/src/operations/webhooks.js +574 -0
  99. package/dist-esm/src/operations/webhooks.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/agentPools.d.ts +82 -0
  101. package/dist-esm/src/operationsInterfaces/agentPools.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/agentPools.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/agentPools.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +90 -0
  105. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/connectedRegistries.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +56 -0
  109. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/exportPipelines.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +56 -0
  113. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/importPipelines.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/importPipelines.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/index.d.ts +16 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/index.js +23 -0
  119. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  121. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +56 -0
  125. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  129. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/registries.d.ts +163 -0
  133. package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/registries.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/registries.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/replications.d.ts +74 -0
  137. package/dist-esm/src/operationsInterfaces/replications.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/replications.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/replications.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/runs.d.ts +64 -0
  141. package/dist-esm/src/operationsInterfaces/runs.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/runs.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/runs.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +74 -0
  145. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/scopeMaps.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/taskRuns.d.ts +82 -0
  149. package/dist-esm/src/operationsInterfaces/taskRuns.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/taskRuns.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/taskRuns.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/tasks.d.ts +82 -0
  153. package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/tokens.d.ts +74 -0
  157. package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/tokens.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/tokens.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/webhooks.d.ts +98 -0
  161. package/dist-esm/src/operationsInterfaces/webhooks.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/webhooks.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/webhooks.js.map +1 -0
  164. package/dist-esm/test/containerregistry_examples.d.ts +2 -0
  165. package/dist-esm/test/containerregistry_examples.d.ts.map +1 -0
  166. package/dist-esm/test/containerregistry_examples.js +326 -0
  167. package/dist-esm/test/containerregistry_examples.js.map +1 -0
  168. package/package.json +65 -31
  169. package/review/arm-containerregistry.api.md +2912 -0
  170. package/rollup.config.js +181 -30
  171. package/src/containerRegistryManagementClient.ts +78 -42
  172. package/src/containerRegistryManagementClientContext.ts +45 -37
  173. package/src/index.ts +13 -0
  174. package/src/lroImpl.ts +34 -0
  175. package/src/models/index.ts +3217 -3457
  176. package/src/models/mappers.ts +3831 -2214
  177. package/src/models/parameters.ts +379 -81
  178. package/src/operations/agentPools.ts +646 -0
  179. package/src/operations/connectedRegistries.ts +718 -0
  180. package/src/operations/exportPipelines.ts +449 -0
  181. package/src/operations/importPipelines.ts +449 -0
  182. package/src/operations/index.ts +12 -7
  183. package/src/operations/operations.ts +84 -76
  184. package/src/operations/pipelineRuns.ts +449 -0
  185. package/src/operations/privateEndpointConnections.ts +460 -0
  186. package/src/operations/registries.ts +1031 -653
  187. package/src/operations/replications.ts +433 -251
  188. package/src/operations/runs.ts +356 -243
  189. package/src/operations/scopeMaps.ts +433 -251
  190. package/src/operations/taskRuns.ts +646 -0
  191. package/src/operations/tasks.ts +459 -277
  192. package/src/operations/tokens.ts +427 -251
  193. package/src/operations/webhooks.ts +614 -419
  194. package/src/operationsInterfaces/agentPools.ts +162 -0
  195. package/src/operationsInterfaces/connectedRegistries.ts +174 -0
  196. package/src/operationsInterfaces/exportPipelines.ts +109 -0
  197. package/src/operationsInterfaces/importPipelines.ts +109 -0
  198. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +13 -8
  199. package/src/operationsInterfaces/operations.ts +22 -0
  200. package/src/operationsInterfaces/pipelineRuns.ts +109 -0
  201. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  202. package/src/operationsInterfaces/registries.ts +317 -0
  203. package/src/operationsInterfaces/replications.ts +147 -0
  204. package/src/operationsInterfaces/runs.ts +122 -0
  205. package/src/operationsInterfaces/scopeMaps.ts +147 -0
  206. package/src/operationsInterfaces/taskRuns.ts +162 -0
  207. package/src/operationsInterfaces/tasks.ts +156 -0
  208. package/src/operationsInterfaces/tokens.ts +141 -0
  209. package/src/operationsInterfaces/webhooks.ts +193 -0
  210. package/tsconfig.json +4 -4
  211. package/types/arm-containerregistry.d.ts +4991 -0
  212. package/types/tsdoc-metadata.json +11 -0
  213. package/dist/arm-containerregistry.js +0 -7529
  214. package/dist/arm-containerregistry.js.map +0 -1
  215. package/dist/arm-containerregistry.min.js +0 -1
  216. package/dist/arm-containerregistry.min.js.map +0 -1
  217. package/esm/containerRegistryManagementClient.d.ts +0 -25
  218. package/esm/containerRegistryManagementClient.d.ts.map +0 -1
  219. package/esm/containerRegistryManagementClient.js +0 -40
  220. package/esm/containerRegistryManagementClient.js.map +0 -1
  221. package/esm/containerRegistryManagementClientContext.d.ts +0 -15
  222. package/esm/containerRegistryManagementClientContext.d.ts.map +0 -1
  223. package/esm/containerRegistryManagementClientContext.js +0 -55
  224. package/esm/containerRegistryManagementClientContext.js.map +0 -1
  225. package/esm/models/index.d.ts +0 -3884
  226. package/esm/models/index.d.ts.map +0 -1
  227. package/esm/models/index.js +0 -8
  228. package/esm/models/index.js.map +0 -1
  229. package/esm/models/mappers.d.ts +0 -129
  230. package/esm/models/mappers.d.ts.map +0 -1
  231. package/esm/models/mappers.js.map +0 -1
  232. package/esm/models/operationsMappers.d.ts +0 -2
  233. package/esm/models/operationsMappers.d.ts.map +0 -1
  234. package/esm/models/operationsMappers.js +0 -9
  235. package/esm/models/operationsMappers.js.map +0 -1
  236. package/esm/models/parameters.d.ts +0 -18
  237. package/esm/models/parameters.d.ts.map +0 -1
  238. package/esm/models/parameters.js +0 -214
  239. package/esm/models/parameters.js.map +0 -1
  240. package/esm/models/registriesMappers.d.ts +0 -2
  241. package/esm/models/registriesMappers.d.ts.map +0 -1
  242. package/esm/models/registriesMappers.js +0 -9
  243. package/esm/models/registriesMappers.js.map +0 -1
  244. package/esm/models/replicationsMappers.d.ts +0 -2
  245. package/esm/models/replicationsMappers.d.ts.map +0 -1
  246. package/esm/models/replicationsMappers.js +0 -9
  247. package/esm/models/replicationsMappers.js.map +0 -1
  248. package/esm/models/runsMappers.d.ts +0 -2
  249. package/esm/models/runsMappers.d.ts.map +0 -1
  250. package/esm/models/runsMappers.js +0 -9
  251. package/esm/models/runsMappers.js.map +0 -1
  252. package/esm/models/scopeMapsMappers.d.ts +0 -2
  253. package/esm/models/scopeMapsMappers.d.ts.map +0 -1
  254. package/esm/models/scopeMapsMappers.js +0 -9
  255. package/esm/models/scopeMapsMappers.js.map +0 -1
  256. package/esm/models/tasksMappers.d.ts +0 -2
  257. package/esm/models/tasksMappers.d.ts.map +0 -1
  258. package/esm/models/tasksMappers.js +0 -9
  259. package/esm/models/tasksMappers.js.map +0 -1
  260. package/esm/models/tokensMappers.d.ts +0 -2
  261. package/esm/models/tokensMappers.d.ts.map +0 -1
  262. package/esm/models/tokensMappers.js +0 -9
  263. package/esm/models/tokensMappers.js.map +0 -1
  264. package/esm/models/webhooksMappers.d.ts +0 -2
  265. package/esm/models/webhooksMappers.d.ts.map +0 -1
  266. package/esm/models/webhooksMappers.js +0 -9
  267. package/esm/models/webhooksMappers.js.map +0 -1
  268. package/esm/operations/index.d.ts +0 -9
  269. package/esm/operations/index.d.ts.map +0 -1
  270. package/esm/operations/index.js.map +0 -1
  271. package/esm/operations/operations.d.ts +0 -46
  272. package/esm/operations/operations.d.ts.map +0 -1
  273. package/esm/operations/operations.js +0 -77
  274. package/esm/operations/operations.js.map +0 -1
  275. package/esm/operations/registries.d.ts +0 -319
  276. package/esm/operations/registries.d.ts.map +0 -1
  277. package/esm/operations/registries.js +0 -664
  278. package/esm/operations/registries.js.map +0 -1
  279. package/esm/operations/replications.d.ts +0 -135
  280. package/esm/operations/replications.d.ts.map +0 -1
  281. package/esm/operations/replications.js +0 -297
  282. package/esm/operations/replications.js.map +0 -1
  283. package/esm/operations/runs.d.ts +0 -139
  284. package/esm/operations/runs.d.ts.map +0 -1
  285. package/esm/operations/runs.js +0 -268
  286. package/esm/operations/runs.js.map +0 -1
  287. package/esm/operations/scopeMaps.d.ts +0 -135
  288. package/esm/operations/scopeMaps.d.ts.map +0 -1
  289. package/esm/operations/scopeMaps.js +0 -297
  290. package/esm/operations/scopeMaps.js.map +0 -1
  291. package/esm/operations/tasks.d.ts +0 -159
  292. package/esm/operations/tasks.d.ts.map +0 -1
  293. package/esm/operations/tasks.js +0 -330
  294. package/esm/operations/tasks.js.map +0 -1
  295. package/esm/operations/tokens.d.ts +0 -135
  296. package/esm/operations/tokens.d.ts.map +0 -1
  297. package/esm/operations/tokens.js +0 -297
  298. package/esm/operations/tokens.js.map +0 -1
  299. package/esm/operations/webhooks.d.ts +0 -225
  300. package/esm/operations/webhooks.d.ts.map +0 -1
  301. package/esm/operations/webhooks.js +0 -422
  302. package/esm/operations/webhooks.js.map +0 -1
  303. package/src/models/operationsMappers.ts +0 -17
  304. package/src/models/registriesMappers.ts +0 -81
  305. package/src/models/replicationsMappers.ts +0 -62
  306. package/src/models/runsMappers.ts +0 -63
  307. package/src/models/scopeMapsMappers.ts +0 -62
  308. package/src/models/tasksMappers.ts +0 -73
  309. package/src/models/tokensMappers.ts +0 -62
  310. package/src/models/webhooksMappers.ts +0 -74
@@ -1,3884 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * An interface representing ImportSourceCredentials.
6
- */
7
- export interface ImportSourceCredentials {
8
- /**
9
- * The username to authenticate with the source registry.
10
- */
11
- username?: string;
12
- /**
13
- * The password used to authenticate with the source registry.
14
- */
15
- password: string;
16
- }
17
- /**
18
- * An interface representing ImportSource.
19
- */
20
- export interface ImportSource {
21
- /**
22
- * The resource identifier of the source Azure Container Registry.
23
- */
24
- resourceId?: string;
25
- /**
26
- * The address of the source registry (e.g. 'mcr.microsoft.com').
27
- */
28
- registryUri?: string;
29
- /**
30
- * Credentials used when importing from a registry uri.
31
- */
32
- credentials?: ImportSourceCredentials;
33
- /**
34
- * Repository name of the source image.
35
- * Specify an image by repository ('hello-world'). This will use the 'latest' tag.
36
- * Specify an image by tag ('hello-world:latest').
37
- * Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').
38
- */
39
- sourceImage: string;
40
- }
41
- /**
42
- * An interface representing ImportImageParameters.
43
- */
44
- export interface ImportImageParameters {
45
- /**
46
- * The source of the image.
47
- */
48
- source: ImportSource;
49
- /**
50
- * List of strings of the form repo[:tag]. When tag is omitted the source will be used (or
51
- * 'latest' if source tag is also omitted).
52
- */
53
- targetTags?: string[];
54
- /**
55
- * List of strings of repository names to do a manifest only copy. No tag will be created.
56
- */
57
- untaggedTargetRepositories?: string[];
58
- /**
59
- * When Force, any existing target tags will be overwritten. When NoForce, any existing target
60
- * tags will fail the operation before any copying begins. Possible values include: 'NoForce',
61
- * 'Force'. Default value: 'NoForce'.
62
- */
63
- mode?: ImportMode;
64
- }
65
- /**
66
- * A request to check whether a container registry name is available.
67
- */
68
- export interface RegistryNameCheckRequest {
69
- /**
70
- * The name of the container registry.
71
- */
72
- name: string;
73
- }
74
- /**
75
- * The result of a request to check the availability of a container registry name.
76
- */
77
- export interface RegistryNameStatus {
78
- /**
79
- * The value that indicates whether the name is available.
80
- */
81
- nameAvailable?: boolean;
82
- /**
83
- * If any, the reason that the name is not available.
84
- */
85
- reason?: string;
86
- /**
87
- * If any, the error message that provides more detail for the reason that the name is not
88
- * available.
89
- */
90
- message?: string;
91
- }
92
- /**
93
- * The display information for a container registry operation.
94
- */
95
- export interface OperationDisplayDefinition {
96
- /**
97
- * The resource provider name: Microsoft.ContainerRegistry.
98
- */
99
- provider?: string;
100
- /**
101
- * The resource on which the operation is performed.
102
- */
103
- resource?: string;
104
- /**
105
- * The operation that users can perform.
106
- */
107
- operation?: string;
108
- /**
109
- * The description for the operation.
110
- */
111
- description?: string;
112
- }
113
- /**
114
- * The definition of Azure Monitoring metric.
115
- */
116
- export interface OperationMetricSpecificationDefinition {
117
- /**
118
- * Metric name.
119
- */
120
- name?: string;
121
- /**
122
- * Metric display name.
123
- */
124
- displayName?: string;
125
- /**
126
- * Metric description.
127
- */
128
- displayDescription?: string;
129
- /**
130
- * Metric unit.
131
- */
132
- unit?: string;
133
- /**
134
- * Metric aggregation type.
135
- */
136
- aggregationType?: string;
137
- /**
138
- * Internal metric name.
139
- */
140
- internalMetricName?: string;
141
- }
142
- /**
143
- * The definition of Azure Monitoring metrics list.
144
- */
145
- export interface OperationServiceSpecificationDefinition {
146
- /**
147
- * A list of Azure Monitoring metrics definition.
148
- */
149
- metricSpecifications?: OperationMetricSpecificationDefinition[];
150
- }
151
- /**
152
- * The definition of a container registry operation.
153
- */
154
- export interface OperationDefinition {
155
- /**
156
- * The origin information of the container registry operation.
157
- */
158
- origin?: string;
159
- /**
160
- * Operation name: {provider}/{resource}/{operation}.
161
- */
162
- name?: string;
163
- /**
164
- * The display information for the container registry operation.
165
- */
166
- display?: OperationDisplayDefinition;
167
- /**
168
- * The definition of Azure Monitoring service.
169
- */
170
- serviceSpecification?: OperationServiceSpecificationDefinition;
171
- }
172
- /**
173
- * The SKU of a container registry.
174
- */
175
- export interface Sku {
176
- /**
177
- * The SKU name of the container registry. Required for registry creation. Possible values
178
- * include: 'Classic', 'Basic', 'Standard', 'Premium'
179
- */
180
- name: SkuName;
181
- /**
182
- * The SKU tier based on the SKU name. Possible values include: 'Classic', 'Basic', 'Standard',
183
- * 'Premium'
184
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
185
- */
186
- readonly tier?: SkuTier;
187
- }
188
- /**
189
- * The status of an Azure resource at the time the operation was called.
190
- */
191
- export interface Status1 {
192
- /**
193
- * The short label for the status.
194
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
195
- */
196
- readonly displayStatus?: string;
197
- /**
198
- * The detailed message for the status, including alerts and error messages.
199
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
200
- */
201
- readonly message?: string;
202
- /**
203
- * The timestamp when the status was changed to the current value.
204
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
205
- */
206
- readonly timestamp?: Date;
207
- }
208
- /**
209
- * The properties of a storage account for a container registry. Only applicable to Classic SKU.
210
- */
211
- export interface StorageAccountProperties {
212
- /**
213
- * The resource ID of the storage account.
214
- */
215
- id: string;
216
- }
217
- /**
218
- * Virtual network rule.
219
- */
220
- export interface VirtualNetworkRule {
221
- /**
222
- * The action of virtual network rule. Possible values include: 'Allow'. Default value: 'Allow'.
223
- */
224
- action?: Action;
225
- /**
226
- * Resource ID of a subnet, for example:
227
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
228
- */
229
- virtualNetworkResourceId: string;
230
- }
231
- /**
232
- * IP rule with specific IP or IP range in CIDR format.
233
- */
234
- export interface IPRule {
235
- /**
236
- * The action of IP ACL rule. Possible values include: 'Allow'. Default value: 'Allow'.
237
- */
238
- action?: Action;
239
- /**
240
- * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
241
- */
242
- iPAddressOrRange: string;
243
- }
244
- /**
245
- * The network rule set for a container registry.
246
- */
247
- export interface NetworkRuleSet {
248
- /**
249
- * The default action of allow or deny when no other rules match. Possible values include:
250
- * 'Allow', 'Deny'. Default value: 'Allow'.
251
- */
252
- defaultAction: DefaultAction;
253
- /**
254
- * The virtual network rules.
255
- */
256
- virtualNetworkRules?: VirtualNetworkRule[];
257
- /**
258
- * The IP ACL rules.
259
- */
260
- ipRules?: IPRule[];
261
- }
262
- /**
263
- * The quarantine policy for a container registry.
264
- */
265
- export interface QuarantinePolicy {
266
- /**
267
- * The value that indicates whether the policy is enabled or not. Possible values include:
268
- * 'enabled', 'disabled'
269
- */
270
- status?: PolicyStatus;
271
- }
272
- /**
273
- * The content trust policy for a container registry.
274
- */
275
- export interface TrustPolicy {
276
- /**
277
- * The type of trust policy. Possible values include: 'Notary'
278
- */
279
- type?: TrustPolicyType;
280
- /**
281
- * The value that indicates whether the policy is enabled or not. Possible values include:
282
- * 'enabled', 'disabled'
283
- */
284
- status?: PolicyStatus;
285
- }
286
- /**
287
- * The retention policy for a container registry.
288
- */
289
- export interface RetentionPolicy {
290
- /**
291
- * The number of days to retain manifest before it expires.
292
- */
293
- days?: number;
294
- /**
295
- * The timestamp when the policy was last updated.
296
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
297
- */
298
- readonly lastUpdatedTime?: Date;
299
- /**
300
- * The value that indicates whether the policy is enabled or not. Possible values include:
301
- * 'enabled', 'disabled'
302
- */
303
- status?: PolicyStatus;
304
- }
305
- /**
306
- * The policies for a container registry.
307
- */
308
- export interface Policies {
309
- /**
310
- * The quarantine policy for a container registry.
311
- */
312
- quarantinePolicy?: QuarantinePolicy;
313
- /**
314
- * The content trust policy for a container registry.
315
- */
316
- trustPolicy?: TrustPolicy;
317
- /**
318
- * The retention policy for a container registry.
319
- */
320
- retentionPolicy?: RetentionPolicy;
321
- }
322
- /**
323
- * An Azure resource.
324
- */
325
- export interface Resource extends BaseResource {
326
- /**
327
- * The resource ID.
328
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
329
- */
330
- readonly id?: string;
331
- /**
332
- * The name of the resource.
333
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
334
- */
335
- readonly name?: string;
336
- /**
337
- * The type of the resource.
338
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
339
- */
340
- readonly type?: string;
341
- /**
342
- * The location of the resource. This cannot be changed after the resource is created.
343
- */
344
- location: string;
345
- /**
346
- * The tags of the resource.
347
- */
348
- tags?: {
349
- [propertyName: string]: string;
350
- };
351
- }
352
- /**
353
- * An object that represents a container registry.
354
- */
355
- export interface Registry extends Resource {
356
- /**
357
- * The SKU of the container registry.
358
- */
359
- sku: Sku;
360
- /**
361
- * The URL that can be used to log into the container registry.
362
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
363
- */
364
- readonly loginServer?: string;
365
- /**
366
- * The creation date of the container registry in ISO8601 format.
367
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
368
- */
369
- readonly creationDate?: Date;
370
- /**
371
- * The provisioning state of the container registry at the time the operation was called.
372
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
373
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
374
- */
375
- readonly provisioningState?: ProvisioningState;
376
- /**
377
- * The status of the container registry at the time the operation was called.
378
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
379
- */
380
- readonly status?: Status1;
381
- /**
382
- * The value that indicates whether the admin user is enabled. Default value: false.
383
- */
384
- adminUserEnabled?: boolean;
385
- /**
386
- * The properties of the storage account for the container registry. Only applicable to Classic
387
- * SKU.
388
- */
389
- storageAccount?: StorageAccountProperties;
390
- /**
391
- * The network rule set for a container registry.
392
- */
393
- networkRuleSet?: NetworkRuleSet;
394
- /**
395
- * The policies for a container registry.
396
- */
397
- policies?: Policies;
398
- }
399
- /**
400
- * The parameters for updating a container registry.
401
- */
402
- export interface RegistryUpdateParameters {
403
- /**
404
- * The tags for the container registry.
405
- */
406
- tags?: {
407
- [propertyName: string]: string;
408
- };
409
- /**
410
- * The SKU of the container registry.
411
- */
412
- sku?: Sku;
413
- /**
414
- * The value that indicates whether the admin user is enabled.
415
- */
416
- adminUserEnabled?: boolean;
417
- /**
418
- * The network rule set for a container registry.
419
- */
420
- networkRuleSet?: NetworkRuleSet;
421
- /**
422
- * The policies for a container registry.
423
- */
424
- policies?: Policies;
425
- }
426
- /**
427
- * The login password for the container registry.
428
- */
429
- export interface RegistryPassword {
430
- /**
431
- * The password name. Possible values include: 'password', 'password2'
432
- */
433
- name?: PasswordName;
434
- /**
435
- * The password value.
436
- */
437
- value?: string;
438
- }
439
- /**
440
- * The response from the ListCredentials operation.
441
- */
442
- export interface RegistryListCredentialsResult {
443
- /**
444
- * The username for a container registry.
445
- */
446
- username?: string;
447
- /**
448
- * The list of passwords for a container registry.
449
- */
450
- passwords?: RegistryPassword[];
451
- }
452
- /**
453
- * The parameters used to regenerate the login credential.
454
- */
455
- export interface RegenerateCredentialParameters {
456
- /**
457
- * Specifies name of the password which should be regenerated -- password or password2. Possible
458
- * values include: 'password', 'password2'
459
- */
460
- name: PasswordName;
461
- }
462
- /**
463
- * The quota usage for a container registry.
464
- */
465
- export interface RegistryUsage {
466
- /**
467
- * The name of the usage.
468
- */
469
- name?: string;
470
- /**
471
- * The limit of the usage.
472
- */
473
- limit?: number;
474
- /**
475
- * The current value of the usage.
476
- */
477
- currentValue?: number;
478
- /**
479
- * The unit of measurement. Possible values include: 'Count', 'Bytes'
480
- */
481
- unit?: RegistryUsageUnit;
482
- }
483
- /**
484
- * The result of a request to get container registry quota usages.
485
- */
486
- export interface RegistryUsageListResult {
487
- /**
488
- * The list of container registry quota usages.
489
- */
490
- value?: RegistryUsage[];
491
- }
492
- /**
493
- * An object that represents a replication for a container registry.
494
- */
495
- export interface Replication extends Resource {
496
- /**
497
- * The provisioning state of the replication at the time the operation was called. Possible
498
- * values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
499
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
500
- */
501
- readonly provisioningState?: ProvisioningState;
502
- /**
503
- * The status of the replication at the time the operation was called.
504
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
505
- */
506
- readonly status?: Status1;
507
- }
508
- /**
509
- * The parameters for updating a replication.
510
- */
511
- export interface ReplicationUpdateParameters {
512
- /**
513
- * The tags for the replication.
514
- */
515
- tags?: {
516
- [propertyName: string]: string;
517
- };
518
- }
519
- /**
520
- * An object that represents a webhook for a container registry.
521
- */
522
- export interface Webhook extends Resource {
523
- /**
524
- * The status of the webhook at the time the operation was called. Possible values include:
525
- * 'enabled', 'disabled'
526
- */
527
- status?: WebhookStatus;
528
- /**
529
- * The scope of repositories where the event can be triggered. For example, 'foo:*' means events
530
- * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is
531
- * equivalent to 'foo:latest'. Empty means all events.
532
- */
533
- scope?: string;
534
- /**
535
- * The list of actions that trigger the webhook to post notifications.
536
- */
537
- actions: WebhookAction[];
538
- /**
539
- * The provisioning state of the webhook at the time the operation was called. Possible values
540
- * include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
541
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
542
- */
543
- readonly provisioningState?: ProvisioningState;
544
- }
545
- /**
546
- * The parameters for creating a webhook.
547
- */
548
- export interface WebhookCreateParameters {
549
- /**
550
- * The tags for the webhook.
551
- */
552
- tags?: {
553
- [propertyName: string]: string;
554
- };
555
- /**
556
- * The location of the webhook. This cannot be changed after the resource is created.
557
- */
558
- location: string;
559
- /**
560
- * The service URI for the webhook to post notifications.
561
- */
562
- serviceUri: string;
563
- /**
564
- * Custom headers that will be added to the webhook notifications.
565
- */
566
- customHeaders?: {
567
- [propertyName: string]: string;
568
- };
569
- /**
570
- * The status of the webhook at the time the operation was called. Possible values include:
571
- * 'enabled', 'disabled'
572
- */
573
- status?: WebhookStatus;
574
- /**
575
- * The scope of repositories where the event can be triggered. For example, 'foo:*' means events
576
- * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is
577
- * equivalent to 'foo:latest'. Empty means all events.
578
- */
579
- scope?: string;
580
- /**
581
- * The list of actions that trigger the webhook to post notifications.
582
- */
583
- actions: WebhookAction[];
584
- }
585
- /**
586
- * The parameters for updating a webhook.
587
- */
588
- export interface WebhookUpdateParameters {
589
- /**
590
- * The tags for the webhook.
591
- */
592
- tags?: {
593
- [propertyName: string]: string;
594
- };
595
- /**
596
- * The service URI for the webhook to post notifications.
597
- */
598
- serviceUri?: string;
599
- /**
600
- * Custom headers that will be added to the webhook notifications.
601
- */
602
- customHeaders?: {
603
- [propertyName: string]: string;
604
- };
605
- /**
606
- * The status of the webhook at the time the operation was called. Possible values include:
607
- * 'enabled', 'disabled'
608
- */
609
- status?: WebhookStatus;
610
- /**
611
- * The scope of repositories where the event can be triggered. For example, 'foo:*' means events
612
- * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is
613
- * equivalent to 'foo:latest'. Empty means all events.
614
- */
615
- scope?: string;
616
- /**
617
- * The list of actions that trigger the webhook to post notifications.
618
- */
619
- actions?: WebhookAction[];
620
- }
621
- /**
622
- * The basic information of an event.
623
- */
624
- export interface EventInfo {
625
- /**
626
- * The event ID.
627
- */
628
- id?: string;
629
- }
630
- /**
631
- * The configuration of service URI and custom headers for the webhook.
632
- */
633
- export interface CallbackConfig {
634
- /**
635
- * The service URI for the webhook to post notifications.
636
- */
637
- serviceUri: string;
638
- /**
639
- * Custom headers that will be added to the webhook notifications.
640
- */
641
- customHeaders?: {
642
- [propertyName: string]: string;
643
- };
644
- }
645
- /**
646
- * The target of the event.
647
- */
648
- export interface Target {
649
- /**
650
- * The MIME type of the referenced object.
651
- */
652
- mediaType?: string;
653
- /**
654
- * The number of bytes of the content. Same as Length field.
655
- */
656
- size?: number;
657
- /**
658
- * The digest of the content, as defined by the Registry V2 HTTP API Specification.
659
- */
660
- digest?: string;
661
- /**
662
- * The number of bytes of the content. Same as Size field.
663
- */
664
- length?: number;
665
- /**
666
- * The repository name.
667
- */
668
- repository?: string;
669
- /**
670
- * The direct URL to the content.
671
- */
672
- url?: string;
673
- /**
674
- * The tag name.
675
- */
676
- tag?: string;
677
- /**
678
- * The name of the artifact.
679
- */
680
- name?: string;
681
- /**
682
- * The version of the artifact.
683
- */
684
- version?: string;
685
- }
686
- /**
687
- * The request that generated the event.
688
- */
689
- export interface Request {
690
- /**
691
- * The ID of the request that initiated the event.
692
- */
693
- id?: string;
694
- /**
695
- * The IP or hostname and possibly port of the client connection that initiated the event. This
696
- * is the RemoteAddr from the standard http request.
697
- */
698
- addr?: string;
699
- /**
700
- * The externally accessible hostname of the registry instance, as specified by the http host
701
- * header on incoming requests.
702
- */
703
- host?: string;
704
- /**
705
- * The request method that generated the event.
706
- */
707
- method?: string;
708
- /**
709
- * The user agent header of the request.
710
- */
711
- useragent?: string;
712
- }
713
- /**
714
- * The agent that initiated the event. For most situations, this could be from the authorization
715
- * context of the request.
716
- */
717
- export interface Actor {
718
- /**
719
- * The subject or username associated with the request context that generated the event.
720
- */
721
- name?: string;
722
- }
723
- /**
724
- * The registry node that generated the event. Put differently, while the actor initiates the
725
- * event, the source generates it.
726
- */
727
- export interface Source {
728
- /**
729
- * The IP or hostname and the port of the registry node that generated the event. Generally, this
730
- * will be resolved by os.Hostname() along with the running port.
731
- */
732
- addr?: string;
733
- /**
734
- * The running instance of an application. Changes after each restart.
735
- */
736
- instanceID?: string;
737
- }
738
- /**
739
- * The content of the event request message.
740
- */
741
- export interface EventContent {
742
- /**
743
- * The event ID.
744
- */
745
- id?: string;
746
- /**
747
- * The time at which the event occurred.
748
- */
749
- timestamp?: Date;
750
- /**
751
- * The action that encompasses the provided event.
752
- */
753
- action?: string;
754
- /**
755
- * The target of the event.
756
- */
757
- target?: Target;
758
- /**
759
- * The request that generated the event.
760
- */
761
- request?: Request;
762
- /**
763
- * The agent that initiated the event. For most situations, this could be from the authorization
764
- * context of the request.
765
- */
766
- actor?: Actor;
767
- /**
768
- * The registry node that generated the event. Put differently, while the actor initiates the
769
- * event, the source generates it.
770
- */
771
- source?: Source;
772
- }
773
- /**
774
- * The event request message sent to the service URI.
775
- */
776
- export interface EventRequestMessage {
777
- /**
778
- * The content of the event request message.
779
- */
780
- content?: EventContent;
781
- /**
782
- * The headers of the event request message.
783
- */
784
- headers?: {
785
- [propertyName: string]: string;
786
- };
787
- /**
788
- * The HTTP method used to send the event request message.
789
- */
790
- method?: string;
791
- /**
792
- * The URI used to send the event request message.
793
- */
794
- requestUri?: string;
795
- /**
796
- * The HTTP message version.
797
- */
798
- version?: string;
799
- }
800
- /**
801
- * The event response message received from the service URI.
802
- */
803
- export interface EventResponseMessage {
804
- /**
805
- * The content of the event response message.
806
- */
807
- content?: string;
808
- /**
809
- * The headers of the event response message.
810
- */
811
- headers?: {
812
- [propertyName: string]: string;
813
- };
814
- /**
815
- * The reason phrase of the event response message.
816
- */
817
- reasonPhrase?: string;
818
- /**
819
- * The status code of the event response message.
820
- */
821
- statusCode?: string;
822
- /**
823
- * The HTTP message version.
824
- */
825
- version?: string;
826
- }
827
- /**
828
- * The event for a webhook.
829
- */
830
- export interface Event extends EventInfo {
831
- /**
832
- * The event request message sent to the service URI.
833
- */
834
- eventRequestMessage?: EventRequestMessage;
835
- /**
836
- * The event response message received from the service URI.
837
- */
838
- eventResponseMessage?: EventResponseMessage;
839
- }
840
- /**
841
- * Contains the possible cases for RunRequest.
842
- */
843
- export declare type RunRequestUnion = RunRequest | DockerBuildRequest | FileTaskRunRequest | TaskRunRequest | EncodedTaskRunRequest;
844
- /**
845
- * The request parameters for scheduling a run.
846
- */
847
- export interface RunRequest {
848
- /**
849
- * Polymorphic Discriminator
850
- */
851
- type: "RunRequest";
852
- /**
853
- * The value that indicates whether archiving is enabled for the run or not. Default value:
854
- * false.
855
- */
856
- isArchiveEnabled?: boolean;
857
- }
858
- /**
859
- * Properties for a registry image.
860
- */
861
- export interface ImageDescriptor {
862
- /**
863
- * The registry login server.
864
- */
865
- registry?: string;
866
- /**
867
- * The repository name.
868
- */
869
- repository?: string;
870
- /**
871
- * The tag name.
872
- */
873
- tag?: string;
874
- /**
875
- * The sha256-based digest of the image manifest.
876
- */
877
- digest?: string;
878
- }
879
- /**
880
- * The image update trigger that caused a build.
881
- */
882
- export interface ImageUpdateTrigger {
883
- /**
884
- * The unique ID of the trigger.
885
- */
886
- id?: string;
887
- /**
888
- * The timestamp when the image update happened.
889
- */
890
- timestamp?: Date;
891
- /**
892
- * The list of image updates that caused the build.
893
- */
894
- images?: ImageDescriptor[];
895
- }
896
- /**
897
- * The source trigger that caused a run.
898
- */
899
- export interface SourceTriggerDescriptor {
900
- /**
901
- * The unique ID of the trigger.
902
- */
903
- id?: string;
904
- /**
905
- * The event type of the trigger.
906
- */
907
- eventType?: string;
908
- /**
909
- * The unique ID that identifies a commit.
910
- */
911
- commitId?: string;
912
- /**
913
- * The unique ID that identifies pull request.
914
- */
915
- pullRequestId?: string;
916
- /**
917
- * The repository URL.
918
- */
919
- repositoryUrl?: string;
920
- /**
921
- * The branch name in the repository.
922
- */
923
- branchName?: string;
924
- /**
925
- * The source control provider type.
926
- */
927
- providerType?: string;
928
- }
929
- /**
930
- * An interface representing TimerTriggerDescriptor.
931
- */
932
- export interface TimerTriggerDescriptor {
933
- /**
934
- * The timer trigger name that caused the run.
935
- */
936
- timerTriggerName?: string;
937
- /**
938
- * The occurrence that triggered the run.
939
- */
940
- scheduleOccurrence?: string;
941
- }
942
- /**
943
- * The platform properties against which the run has to happen.
944
- */
945
- export interface PlatformProperties {
946
- /**
947
- * The operating system type required for the run. Possible values include: 'Windows', 'Linux'
948
- */
949
- os: OS;
950
- /**
951
- * The OS architecture. Possible values include: 'amd64', 'x86', '386', 'arm', 'arm64'
952
- */
953
- architecture?: Architecture;
954
- /**
955
- * Variant of the CPU. Possible values include: 'v6', 'v7', 'v8'
956
- */
957
- variant?: Variant;
958
- }
959
- /**
960
- * The properties that determine the run agent configuration.
961
- */
962
- export interface AgentProperties {
963
- /**
964
- * The CPU configuration in terms of number of cores required for the run.
965
- */
966
- cpu?: number;
967
- }
968
- /**
969
- * The resource model definition for a ARM proxy resource. It will have everything other than
970
- * required location and tags.
971
- */
972
- export interface ProxyResource extends BaseResource {
973
- /**
974
- * The resource ID.
975
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
976
- */
977
- readonly id?: string;
978
- /**
979
- * The name of the resource.
980
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
981
- */
982
- readonly name?: string;
983
- /**
984
- * The type of the resource.
985
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
986
- */
987
- readonly type?: string;
988
- }
989
- /**
990
- * Run resource properties
991
- */
992
- export interface Run extends ProxyResource {
993
- /**
994
- * The unique identifier for the run.
995
- */
996
- runId?: string;
997
- /**
998
- * The current status of the run. Possible values include: 'Queued', 'Started', 'Running',
999
- * 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'
1000
- */
1001
- status?: RunStatus;
1002
- /**
1003
- * The last updated time for the run.
1004
- */
1005
- lastUpdatedTime?: Date;
1006
- /**
1007
- * The type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'
1008
- */
1009
- runType?: RunType;
1010
- /**
1011
- * The time the run was scheduled.
1012
- */
1013
- createTime?: Date;
1014
- /**
1015
- * The time the run started.
1016
- */
1017
- startTime?: Date;
1018
- /**
1019
- * The time the run finished.
1020
- */
1021
- finishTime?: Date;
1022
- /**
1023
- * The list of all images that were generated from the run. This is applicable if the run
1024
- * generates base image dependencies.
1025
- */
1026
- outputImages?: ImageDescriptor[];
1027
- /**
1028
- * The task against which run was scheduled.
1029
- */
1030
- task?: string;
1031
- /**
1032
- * The image update trigger that caused the run. This is applicable if the task has base image
1033
- * trigger configured.
1034
- */
1035
- imageUpdateTrigger?: ImageUpdateTrigger;
1036
- /**
1037
- * The source trigger that caused the run.
1038
- */
1039
- sourceTrigger?: SourceTriggerDescriptor;
1040
- /**
1041
- * The timer trigger that caused the run.
1042
- */
1043
- timerTrigger?: TimerTriggerDescriptor;
1044
- /**
1045
- * The platform properties against which the run will happen.
1046
- */
1047
- platform?: PlatformProperties;
1048
- /**
1049
- * The machine configuration of the run agent.
1050
- */
1051
- agentConfiguration?: AgentProperties;
1052
- /**
1053
- * The scope of the credentials that were used to login to the source registry during this run.
1054
- */
1055
- sourceRegistryAuth?: string;
1056
- /**
1057
- * The list of custom registries that were logged in during this run.
1058
- */
1059
- customRegistries?: string[];
1060
- /**
1061
- * The error message received from backend systems after the run is scheduled.
1062
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1063
- */
1064
- readonly runErrorMessage?: string;
1065
- /**
1066
- * The update trigger token passed for the Run.
1067
- */
1068
- updateTriggerToken?: string;
1069
- /**
1070
- * The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting',
1071
- * 'Succeeded', 'Failed', 'Canceled'
1072
- */
1073
- provisioningState?: ProvisioningState;
1074
- /**
1075
- * The value that indicates whether archiving is enabled or not. Default value: false.
1076
- */
1077
- isArchiveEnabled?: boolean;
1078
- }
1079
- /**
1080
- * The properties of a response to source upload request.
1081
- */
1082
- export interface SourceUploadDefinition {
1083
- /**
1084
- * The URL where the client can upload the source.
1085
- */
1086
- uploadUrl?: string;
1087
- /**
1088
- * The relative path to the source. This is used to submit the subsequent queue build request.
1089
- */
1090
- relativePath?: string;
1091
- }
1092
- /**
1093
- * Properties that are enabled for Odata querying on runs.
1094
- */
1095
- export interface RunFilter {
1096
- /**
1097
- * The unique identifier for the run.
1098
- */
1099
- runId?: string;
1100
- /**
1101
- * The type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'
1102
- */
1103
- runType?: RunType;
1104
- /**
1105
- * The current status of the run. Possible values include: 'Queued', 'Started', 'Running',
1106
- * 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'
1107
- */
1108
- status?: RunStatus;
1109
- /**
1110
- * The create time for a run.
1111
- */
1112
- createTime?: Date;
1113
- /**
1114
- * The time the run finished.
1115
- */
1116
- finishTime?: Date;
1117
- /**
1118
- * The list of comma-separated image manifests that were generated from the run. This is
1119
- * applicable if the run is of
1120
- * build type.
1121
- */
1122
- outputImageManifests?: string;
1123
- /**
1124
- * The value that indicates whether archiving is enabled or not.
1125
- */
1126
- isArchiveEnabled?: boolean;
1127
- /**
1128
- * The name of the task that the run corresponds to.
1129
- */
1130
- taskName?: string;
1131
- }
1132
- /**
1133
- * The set of run properties that can be updated.
1134
- */
1135
- export interface RunUpdateParameters {
1136
- /**
1137
- * The value that indicates whether archiving is enabled or not.
1138
- */
1139
- isArchiveEnabled?: boolean;
1140
- }
1141
- /**
1142
- * The result of get log link operation.
1143
- */
1144
- export interface RunGetLogResult {
1145
- /**
1146
- * The link to logs for a run on a azure container registry.
1147
- */
1148
- logLink?: string;
1149
- }
1150
- /**
1151
- * An interface representing UserIdentityProperties.
1152
- */
1153
- export interface UserIdentityProperties {
1154
- /**
1155
- * The principal id of user assigned identity.
1156
- */
1157
- principalId?: string;
1158
- /**
1159
- * The client id of user assigned identity.
1160
- */
1161
- clientId?: string;
1162
- }
1163
- /**
1164
- * Managed identity for the resource.
1165
- */
1166
- export interface IdentityProperties {
1167
- /**
1168
- * The principal ID of resource identity.
1169
- */
1170
- principalId?: string;
1171
- /**
1172
- * The tenant ID of resource.
1173
- */
1174
- tenantId?: string;
1175
- /**
1176
- * The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
1177
- * UserAssigned', 'None'
1178
- */
1179
- type?: ResourceIdentityType;
1180
- /**
1181
- * The list of user identities associated with the resource. The user identity
1182
- * dictionary key references will be ARM resource ids in the form:
1183
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/
1184
- * providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
1185
- */
1186
- userAssignedIdentities?: {
1187
- [propertyName: string]: UserIdentityProperties;
1188
- };
1189
- }
1190
- /**
1191
- * Properties that describe a base image dependency.
1192
- */
1193
- export interface BaseImageDependency {
1194
- /**
1195
- * The type of the base image dependency. Possible values include: 'BuildTime', 'RunTime'
1196
- */
1197
- type?: BaseImageDependencyType;
1198
- /**
1199
- * The registry login server.
1200
- */
1201
- registry?: string;
1202
- /**
1203
- * The repository name.
1204
- */
1205
- repository?: string;
1206
- /**
1207
- * The tag name.
1208
- */
1209
- tag?: string;
1210
- /**
1211
- * The sha256-based digest of the image manifest.
1212
- */
1213
- digest?: string;
1214
- }
1215
- /**
1216
- * Contains the possible cases for TaskStepProperties.
1217
- */
1218
- export declare type TaskStepPropertiesUnion = TaskStepProperties | DockerBuildStep | FileTaskStep | EncodedTaskStep;
1219
- /**
1220
- * Base properties for any task step.
1221
- */
1222
- export interface TaskStepProperties {
1223
- /**
1224
- * Polymorphic Discriminator
1225
- */
1226
- type: "TaskStepProperties";
1227
- /**
1228
- * List of base image dependencies for a step.
1229
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1230
- */
1231
- readonly baseImageDependencies?: BaseImageDependency[];
1232
- /**
1233
- * The URL(absolute or relative) of the source context for the task step.
1234
- */
1235
- contextPath?: string;
1236
- /**
1237
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
1238
- * step.
1239
- */
1240
- contextAccessToken?: string;
1241
- }
1242
- /**
1243
- * The properties of a timer trigger.
1244
- */
1245
- export interface TimerTrigger {
1246
- /**
1247
- * The CRON expression for the task schedule
1248
- */
1249
- schedule: string;
1250
- /**
1251
- * The current status of trigger. Possible values include: 'Disabled', 'Enabled'. Default value:
1252
- * 'Enabled'.
1253
- */
1254
- status?: TriggerStatus;
1255
- /**
1256
- * The name of the trigger.
1257
- */
1258
- name: string;
1259
- }
1260
- /**
1261
- * The authorization properties for accessing the source code repository.
1262
- */
1263
- export interface AuthInfo {
1264
- /**
1265
- * The type of Auth token. Possible values include: 'PAT', 'OAuth'
1266
- */
1267
- tokenType: TokenType;
1268
- /**
1269
- * The access token used to access the source control provider.
1270
- */
1271
- token: string;
1272
- /**
1273
- * The refresh token used to refresh the access token.
1274
- */
1275
- refreshToken?: string;
1276
- /**
1277
- * The scope of the access token.
1278
- */
1279
- scope?: string;
1280
- /**
1281
- * Time in seconds that the token remains valid
1282
- */
1283
- expiresIn?: number;
1284
- }
1285
- /**
1286
- * The properties of the source code repository.
1287
- */
1288
- export interface SourceProperties {
1289
- /**
1290
- * The type of source control service. Possible values include: 'Github',
1291
- * 'VisualStudioTeamService'
1292
- */
1293
- sourceControlType: SourceControlType;
1294
- /**
1295
- * The full URL to the source code repository
1296
- */
1297
- repositoryUrl: string;
1298
- /**
1299
- * The branch name of the source code.
1300
- */
1301
- branch?: string;
1302
- /**
1303
- * The authorization properties for accessing the source code repository and to set up
1304
- * webhooks for notifications.
1305
- */
1306
- sourceControlAuthProperties?: AuthInfo;
1307
- }
1308
- /**
1309
- * The properties of a source based trigger.
1310
- */
1311
- export interface SourceTrigger {
1312
- /**
1313
- * The properties that describes the source(code) for the task.
1314
- */
1315
- sourceRepository: SourceProperties;
1316
- /**
1317
- * The source event corresponding to the trigger.
1318
- */
1319
- sourceTriggerEvents: SourceTriggerEvent[];
1320
- /**
1321
- * The current status of trigger. Possible values include: 'Disabled', 'Enabled'. Default value:
1322
- * 'Enabled'.
1323
- */
1324
- status?: TriggerStatus;
1325
- /**
1326
- * The name of the trigger.
1327
- */
1328
- name: string;
1329
- }
1330
- /**
1331
- * The trigger based on base image dependency.
1332
- */
1333
- export interface BaseImageTrigger {
1334
- /**
1335
- * The type of the auto trigger for base image dependency updates. Possible values include:
1336
- * 'All', 'Runtime'
1337
- */
1338
- baseImageTriggerType: BaseImageTriggerType;
1339
- /**
1340
- * The endpoint URL for receiving update triggers.
1341
- */
1342
- updateTriggerEndpoint?: string;
1343
- /**
1344
- * Type of Payload body for Base image update triggers. Possible values include: 'Default',
1345
- * 'Token'
1346
- */
1347
- updateTriggerPayloadType?: UpdateTriggerPayloadType;
1348
- /**
1349
- * The current status of trigger. Possible values include: 'Disabled', 'Enabled'. Default value:
1350
- * 'Enabled'.
1351
- */
1352
- status?: TriggerStatus;
1353
- /**
1354
- * The name of the trigger.
1355
- */
1356
- name: string;
1357
- }
1358
- /**
1359
- * The properties of a trigger.
1360
- */
1361
- export interface TriggerProperties {
1362
- /**
1363
- * The collection of timer triggers.
1364
- */
1365
- timerTriggers?: TimerTrigger[];
1366
- /**
1367
- * The collection of triggers based on source code repository.
1368
- */
1369
- sourceTriggers?: SourceTrigger[];
1370
- /**
1371
- * The trigger based on base image dependencies.
1372
- */
1373
- baseImageTrigger?: BaseImageTrigger;
1374
- }
1375
- /**
1376
- * Describes the credential parameters for accessing the source registry.
1377
- */
1378
- export interface SourceRegistryCredentials {
1379
- /**
1380
- * The authentication mode which determines the source registry login scope. The credentials for
1381
- * the source registry
1382
- * will be generated using the given scope. These credentials will be used to login to
1383
- * the source registry during the run. Possible values include: 'None', 'Default'
1384
- */
1385
- loginMode?: SourceRegistryLoginMode;
1386
- }
1387
- /**
1388
- * Describes the properties of a secret object value.
1389
- */
1390
- export interface SecretObject {
1391
- /**
1392
- * The value of the secret. The format of this value will be determined
1393
- * based on the type of the secret object. If the type is Opaque, the value will be
1394
- * used as is without any modification.
1395
- */
1396
- value?: string;
1397
- /**
1398
- * The type of the secret object which determines how the value of the secret object has to be
1399
- * interpreted. Possible values include: 'Opaque', 'Vaultsecret'
1400
- */
1401
- type?: SecretObjectType;
1402
- }
1403
- /**
1404
- * Describes the credentials that will be used to access a custom registry during a run.
1405
- */
1406
- export interface CustomRegistryCredentials {
1407
- /**
1408
- * The username for logging into the custom registry.
1409
- */
1410
- userName?: SecretObject;
1411
- /**
1412
- * The password for logging into the custom registry. The password is a secret
1413
- * object that allows multiple ways of providing the value for it.
1414
- */
1415
- password?: SecretObject;
1416
- /**
1417
- * Indicates the managed identity assigned to the custom credential. If a user-assigned identity
1418
- * this value is the Client ID. If a system-assigned identity, the value will be `system`. In
1419
- * the case of a system-assigned identity, the Client ID will be determined by the runner. This
1420
- * identity may be used to authenticate to key vault to retrieve credentials or it may be the
1421
- * only
1422
- * source of authentication used for accessing the registry.
1423
- */
1424
- identity?: string;
1425
- }
1426
- /**
1427
- * The parameters that describes a set of credentials that will be used when a run is invoked.
1428
- */
1429
- export interface Credentials {
1430
- /**
1431
- * Describes the credential parameters for accessing the source registry.
1432
- */
1433
- sourceRegistry?: SourceRegistryCredentials;
1434
- /**
1435
- * Describes the credential parameters for accessing other custom registries. The key
1436
- * for the dictionary item will be the registry login server (myregistry.azurecr.io) and
1437
- * the value of the item will be the registry credentials for accessing the registry.
1438
- */
1439
- customRegistries?: {
1440
- [propertyName: string]: CustomRegistryCredentials;
1441
- };
1442
- }
1443
- /**
1444
- * The task that has the ARM resource and task properties.
1445
- * The task will have all information to schedule a run against it.
1446
- */
1447
- export interface Task extends Resource {
1448
- /**
1449
- * Identity for the resource.
1450
- */
1451
- identity?: IdentityProperties;
1452
- /**
1453
- * The provisioning state of the task. Possible values include: 'Creating', 'Updating',
1454
- * 'Deleting', 'Succeeded', 'Failed', 'Canceled'
1455
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1456
- */
1457
- readonly provisioningState?: ProvisioningState;
1458
- /**
1459
- * The creation date of task.
1460
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1461
- */
1462
- readonly creationDate?: Date;
1463
- /**
1464
- * The current status of task. Possible values include: 'Disabled', 'Enabled'
1465
- */
1466
- status?: TaskStatus;
1467
- /**
1468
- * The platform properties against which the run has to happen.
1469
- */
1470
- platform: PlatformProperties;
1471
- /**
1472
- * The machine configuration of the run agent.
1473
- */
1474
- agentConfiguration?: AgentProperties;
1475
- /**
1476
- * Run timeout in seconds. Default value: 3600.
1477
- */
1478
- timeout?: number;
1479
- /**
1480
- * The properties of a task step.
1481
- */
1482
- step: TaskStepPropertiesUnion;
1483
- /**
1484
- * The properties that describe all triggers for the task.
1485
- */
1486
- trigger?: TriggerProperties;
1487
- /**
1488
- * The properties that describes a set of credentials that will be used when this run is invoked.
1489
- */
1490
- credentials?: Credentials;
1491
- }
1492
- /**
1493
- * The properties for updating the platform configuration.
1494
- */
1495
- export interface PlatformUpdateParameters {
1496
- /**
1497
- * The operating system type required for the run. Possible values include: 'Windows', 'Linux'
1498
- */
1499
- os?: OS;
1500
- /**
1501
- * The OS architecture. Possible values include: 'amd64', 'x86', '386', 'arm', 'arm64'
1502
- */
1503
- architecture?: Architecture;
1504
- /**
1505
- * Variant of the CPU. Possible values include: 'v6', 'v7', 'v8'
1506
- */
1507
- variant?: Variant;
1508
- }
1509
- /**
1510
- * Contains the possible cases for TaskStepUpdateParameters.
1511
- */
1512
- export declare type TaskStepUpdateParametersUnion = TaskStepUpdateParameters | DockerBuildStepUpdateParameters | FileTaskStepUpdateParameters | EncodedTaskStepUpdateParameters;
1513
- /**
1514
- * Base properties for updating any task step.
1515
- */
1516
- export interface TaskStepUpdateParameters {
1517
- /**
1518
- * Polymorphic Discriminator
1519
- */
1520
- type: "TaskStepUpdateParameters";
1521
- /**
1522
- * The URL(absolute or relative) of the source context for the task step.
1523
- */
1524
- contextPath?: string;
1525
- /**
1526
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
1527
- * step.
1528
- */
1529
- contextAccessToken?: string;
1530
- }
1531
- /**
1532
- * The properties for updating a timer trigger.
1533
- */
1534
- export interface TimerTriggerUpdateParameters {
1535
- /**
1536
- * The CRON expression for the task schedule
1537
- */
1538
- schedule?: string;
1539
- /**
1540
- * The current status of trigger. Possible values include: 'Disabled', 'Enabled'. Default value:
1541
- * 'Enabled'.
1542
- */
1543
- status?: TriggerStatus;
1544
- /**
1545
- * The name of the trigger.
1546
- */
1547
- name: string;
1548
- }
1549
- /**
1550
- * The authorization properties for accessing the source code repository.
1551
- */
1552
- export interface AuthInfoUpdateParameters {
1553
- /**
1554
- * The type of Auth token. Possible values include: 'PAT', 'OAuth'
1555
- */
1556
- tokenType?: TokenType;
1557
- /**
1558
- * The access token used to access the source control provider.
1559
- */
1560
- token?: string;
1561
- /**
1562
- * The refresh token used to refresh the access token.
1563
- */
1564
- refreshToken?: string;
1565
- /**
1566
- * The scope of the access token.
1567
- */
1568
- scope?: string;
1569
- /**
1570
- * Time in seconds that the token remains valid
1571
- */
1572
- expiresIn?: number;
1573
- }
1574
- /**
1575
- * The properties for updating the source code repository.
1576
- */
1577
- export interface SourceUpdateParameters {
1578
- /**
1579
- * The type of source control service. Possible values include: 'Github',
1580
- * 'VisualStudioTeamService'
1581
- */
1582
- sourceControlType?: SourceControlType;
1583
- /**
1584
- * The full URL to the source code repository
1585
- */
1586
- repositoryUrl?: string;
1587
- /**
1588
- * The branch name of the source code.
1589
- */
1590
- branch?: string;
1591
- /**
1592
- * The authorization properties for accessing the source code repository and to set up
1593
- * webhooks for notifications.
1594
- */
1595
- sourceControlAuthProperties?: AuthInfoUpdateParameters;
1596
- }
1597
- /**
1598
- * The properties for updating a source based trigger.
1599
- */
1600
- export interface SourceTriggerUpdateParameters {
1601
- /**
1602
- * The properties that describes the source(code) for the task.
1603
- */
1604
- sourceRepository?: SourceUpdateParameters;
1605
- /**
1606
- * The source event corresponding to the trigger.
1607
- */
1608
- sourceTriggerEvents?: SourceTriggerEvent[];
1609
- /**
1610
- * The current status of trigger. Possible values include: 'Disabled', 'Enabled'. Default value:
1611
- * 'Enabled'.
1612
- */
1613
- status?: TriggerStatus;
1614
- /**
1615
- * The name of the trigger.
1616
- */
1617
- name: string;
1618
- }
1619
- /**
1620
- * The properties for updating base image dependency trigger.
1621
- */
1622
- export interface BaseImageTriggerUpdateParameters {
1623
- /**
1624
- * The type of the auto trigger for base image dependency updates. Possible values include:
1625
- * 'All', 'Runtime'
1626
- */
1627
- baseImageTriggerType?: BaseImageTriggerType;
1628
- /**
1629
- * The endpoint URL for receiving update triggers.
1630
- */
1631
- updateTriggerEndpoint?: string;
1632
- /**
1633
- * Type of Payload body for Base image update triggers. Possible values include: 'Default',
1634
- * 'Token'
1635
- */
1636
- updateTriggerPayloadType?: UpdateTriggerPayloadType;
1637
- /**
1638
- * The current status of trigger. Possible values include: 'Disabled', 'Enabled'. Default value:
1639
- * 'Enabled'.
1640
- */
1641
- status?: TriggerStatus;
1642
- /**
1643
- * The name of the trigger.
1644
- */
1645
- name: string;
1646
- }
1647
- /**
1648
- * The properties for updating triggers.
1649
- */
1650
- export interface TriggerUpdateParameters {
1651
- /**
1652
- * The collection of timer triggers.
1653
- */
1654
- timerTriggers?: TimerTriggerUpdateParameters[];
1655
- /**
1656
- * The collection of triggers based on source code repository.
1657
- */
1658
- sourceTriggers?: SourceTriggerUpdateParameters[];
1659
- /**
1660
- * The trigger based on base image dependencies.
1661
- */
1662
- baseImageTrigger?: BaseImageTriggerUpdateParameters;
1663
- }
1664
- /**
1665
- * The parameters for updating a task.
1666
- */
1667
- export interface TaskUpdateParameters {
1668
- /**
1669
- * Identity for the resource.
1670
- */
1671
- identity?: IdentityProperties;
1672
- /**
1673
- * The current status of task. Possible values include: 'Disabled', 'Enabled'
1674
- */
1675
- status?: TaskStatus;
1676
- /**
1677
- * The platform properties against which the run has to happen.
1678
- */
1679
- platform?: PlatformUpdateParameters;
1680
- /**
1681
- * The machine configuration of the run agent.
1682
- */
1683
- agentConfiguration?: AgentProperties;
1684
- /**
1685
- * Run timeout in seconds.
1686
- */
1687
- timeout?: number;
1688
- /**
1689
- * The properties for updating a task step.
1690
- */
1691
- step?: TaskStepUpdateParametersUnion;
1692
- /**
1693
- * The properties for updating trigger properties.
1694
- */
1695
- trigger?: TriggerUpdateParameters;
1696
- /**
1697
- * The parameters that describes a set of credentials that will be used when this run is invoked.
1698
- */
1699
- credentials?: Credentials;
1700
- /**
1701
- * The ARM resource tags.
1702
- */
1703
- tags?: {
1704
- [propertyName: string]: string;
1705
- };
1706
- }
1707
- /**
1708
- * The properties of a run argument.
1709
- */
1710
- export interface Argument {
1711
- /**
1712
- * The name of the argument.
1713
- */
1714
- name: string;
1715
- /**
1716
- * The value of the argument.
1717
- */
1718
- value: string;
1719
- /**
1720
- * Flag to indicate whether the argument represents a secret and want to be removed from build
1721
- * logs. Default value: false.
1722
- */
1723
- isSecret?: boolean;
1724
- }
1725
- /**
1726
- * The parameters for a docker quick build.
1727
- */
1728
- export interface DockerBuildRequest {
1729
- /**
1730
- * Polymorphic Discriminator
1731
- */
1732
- type: "DockerBuildRequest";
1733
- /**
1734
- * The value that indicates whether archiving is enabled for the run or not. Default value:
1735
- * false.
1736
- */
1737
- isArchiveEnabled?: boolean;
1738
- /**
1739
- * The fully qualified image names including the repository and tag.
1740
- */
1741
- imageNames?: string[];
1742
- /**
1743
- * The value of this property indicates whether the image built should be pushed to the registry
1744
- * or not. Default value: true.
1745
- */
1746
- isPushEnabled?: boolean;
1747
- /**
1748
- * The value of this property indicates whether the image cache is enabled or not. Default value:
1749
- * false.
1750
- */
1751
- noCache?: boolean;
1752
- /**
1753
- * The Docker file path relative to the source location.
1754
- */
1755
- dockerFilePath: string;
1756
- /**
1757
- * The name of the target build stage for the docker build.
1758
- */
1759
- target?: string;
1760
- /**
1761
- * The collection of override arguments to be used when executing the run.
1762
- */
1763
- argumentsProperty?: Argument[];
1764
- /**
1765
- * Run timeout in seconds. Default value: 3600.
1766
- */
1767
- timeout?: number;
1768
- /**
1769
- * The platform properties against which the run has to happen.
1770
- */
1771
- platform: PlatformProperties;
1772
- /**
1773
- * The machine configuration of the run agent.
1774
- */
1775
- agentConfiguration?: AgentProperties;
1776
- /**
1777
- * The URL(absolute or relative) of the source context. It can be an URL to a tar or git
1778
- * repository.
1779
- * If it is relative URL, the relative path should be obtained from calling
1780
- * listBuildSourceUploadUrl API.
1781
- */
1782
- sourceLocation?: string;
1783
- /**
1784
- * The properties that describes a set of credentials that will be used when this run is invoked.
1785
- */
1786
- credentials?: Credentials;
1787
- }
1788
- /**
1789
- * The properties of a overridable value that can be passed to a task template.
1790
- */
1791
- export interface SetValue {
1792
- /**
1793
- * The name of the overridable value.
1794
- */
1795
- name: string;
1796
- /**
1797
- * The overridable value.
1798
- */
1799
- value: string;
1800
- /**
1801
- * Flag to indicate whether the value represents a secret or not. Default value: false.
1802
- */
1803
- isSecret?: boolean;
1804
- }
1805
- /**
1806
- * The request parameters for a scheduling run against a task file.
1807
- */
1808
- export interface FileTaskRunRequest {
1809
- /**
1810
- * Polymorphic Discriminator
1811
- */
1812
- type: "FileTaskRunRequest";
1813
- /**
1814
- * The value that indicates whether archiving is enabled for the run or not. Default value:
1815
- * false.
1816
- */
1817
- isArchiveEnabled?: boolean;
1818
- /**
1819
- * The template/definition file path relative to the source.
1820
- */
1821
- taskFilePath: string;
1822
- /**
1823
- * The values/parameters file path relative to the source.
1824
- */
1825
- valuesFilePath?: string;
1826
- /**
1827
- * The collection of overridable values that can be passed when running a task.
1828
- */
1829
- values?: SetValue[];
1830
- /**
1831
- * Run timeout in seconds. Default value: 3600.
1832
- */
1833
- timeout?: number;
1834
- /**
1835
- * The platform properties against which the run has to happen.
1836
- */
1837
- platform: PlatformProperties;
1838
- /**
1839
- * The machine configuration of the run agent.
1840
- */
1841
- agentConfiguration?: AgentProperties;
1842
- /**
1843
- * The URL(absolute or relative) of the source context. It can be an URL to a tar or git
1844
- * repository.
1845
- * If it is relative URL, the relative path should be obtained from calling
1846
- * listBuildSourceUploadUrl API.
1847
- */
1848
- sourceLocation?: string;
1849
- /**
1850
- * The properties that describes a set of credentials that will be used when this run is invoked.
1851
- */
1852
- credentials?: Credentials;
1853
- }
1854
- /**
1855
- * An interface representing OverrideTaskStepProperties.
1856
- */
1857
- export interface OverrideTaskStepProperties {
1858
- /**
1859
- * The source context against which run has to be queued.
1860
- */
1861
- contextPath?: string;
1862
- /**
1863
- * The file against which run has to be queued.
1864
- */
1865
- file?: string;
1866
- /**
1867
- * Gets or sets the collection of override arguments to be used when
1868
- * executing a build step.
1869
- */
1870
- argumentsProperty?: Argument[];
1871
- /**
1872
- * The name of the target build stage for the docker build.
1873
- */
1874
- target?: string;
1875
- /**
1876
- * The collection of overridable values that can be passed when running a Task.
1877
- */
1878
- values?: SetValue[];
1879
- /**
1880
- * Base64 encoded update trigger token that will be attached with the base image trigger webhook.
1881
- */
1882
- updateTriggerToken?: string;
1883
- }
1884
- /**
1885
- * The parameters for a task run request.
1886
- */
1887
- export interface TaskRunRequest {
1888
- /**
1889
- * Polymorphic Discriminator
1890
- */
1891
- type: "TaskRunRequest";
1892
- /**
1893
- * The value that indicates whether archiving is enabled for the run or not. Default value:
1894
- * false.
1895
- */
1896
- isArchiveEnabled?: boolean;
1897
- /**
1898
- * The resource ID of task against which run has to be queued.
1899
- */
1900
- taskId: string;
1901
- /**
1902
- * Set of overridable parameters that can be passed when running a Task.
1903
- */
1904
- overrideTaskStepProperties?: OverrideTaskStepProperties;
1905
- }
1906
- /**
1907
- * The parameters for a quick task run request.
1908
- */
1909
- export interface EncodedTaskRunRequest {
1910
- /**
1911
- * Polymorphic Discriminator
1912
- */
1913
- type: "EncodedTaskRunRequest";
1914
- /**
1915
- * The value that indicates whether archiving is enabled for the run or not. Default value:
1916
- * false.
1917
- */
1918
- isArchiveEnabled?: boolean;
1919
- /**
1920
- * Base64 encoded value of the template/definition file content.
1921
- */
1922
- encodedTaskContent: string;
1923
- /**
1924
- * Base64 encoded value of the parameters/values file content.
1925
- */
1926
- encodedValuesContent?: string;
1927
- /**
1928
- * The collection of overridable values that can be passed when running a task.
1929
- */
1930
- values?: SetValue[];
1931
- /**
1932
- * Run timeout in seconds. Default value: 3600.
1933
- */
1934
- timeout?: number;
1935
- /**
1936
- * The platform properties against which the run has to happen.
1937
- */
1938
- platform: PlatformProperties;
1939
- /**
1940
- * The machine configuration of the run agent.
1941
- */
1942
- agentConfiguration?: AgentProperties;
1943
- /**
1944
- * The URL(absolute or relative) of the source context. It can be an URL to a tar or git
1945
- * repository.
1946
- * If it is relative URL, the relative path should be obtained from calling
1947
- * listBuildSourceUploadUrl API.
1948
- */
1949
- sourceLocation?: string;
1950
- /**
1951
- * The properties that describes a set of credentials that will be used when this run is invoked.
1952
- */
1953
- credentials?: Credentials;
1954
- }
1955
- /**
1956
- * The Docker build step.
1957
- */
1958
- export interface DockerBuildStep {
1959
- /**
1960
- * Polymorphic Discriminator
1961
- */
1962
- type: "Docker";
1963
- /**
1964
- * List of base image dependencies for a step.
1965
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1966
- */
1967
- readonly baseImageDependencies?: BaseImageDependency[];
1968
- /**
1969
- * The URL(absolute or relative) of the source context for the task step.
1970
- */
1971
- contextPath?: string;
1972
- /**
1973
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
1974
- * step.
1975
- */
1976
- contextAccessToken?: string;
1977
- /**
1978
- * The fully qualified image names including the repository and tag.
1979
- */
1980
- imageNames?: string[];
1981
- /**
1982
- * The value of this property indicates whether the image built should be pushed to the registry
1983
- * or not. Default value: true.
1984
- */
1985
- isPushEnabled?: boolean;
1986
- /**
1987
- * The value of this property indicates whether the image cache is enabled or not. Default value:
1988
- * false.
1989
- */
1990
- noCache?: boolean;
1991
- /**
1992
- * The Docker file path relative to the source context.
1993
- */
1994
- dockerFilePath: string;
1995
- /**
1996
- * The name of the target build stage for the docker build.
1997
- */
1998
- target?: string;
1999
- /**
2000
- * The collection of override arguments to be used when executing this build step.
2001
- */
2002
- argumentsProperty?: Argument[];
2003
- }
2004
- /**
2005
- * The properties of a task step.
2006
- */
2007
- export interface FileTaskStep {
2008
- /**
2009
- * Polymorphic Discriminator
2010
- */
2011
- type: "FileTask";
2012
- /**
2013
- * List of base image dependencies for a step.
2014
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2015
- */
2016
- readonly baseImageDependencies?: BaseImageDependency[];
2017
- /**
2018
- * The URL(absolute or relative) of the source context for the task step.
2019
- */
2020
- contextPath?: string;
2021
- /**
2022
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
2023
- * step.
2024
- */
2025
- contextAccessToken?: string;
2026
- /**
2027
- * The task template/definition file path relative to the source context.
2028
- */
2029
- taskFilePath: string;
2030
- /**
2031
- * The task values/parameters file path relative to the source context.
2032
- */
2033
- valuesFilePath?: string;
2034
- /**
2035
- * The collection of overridable values that can be passed when running a task.
2036
- */
2037
- values?: SetValue[];
2038
- }
2039
- /**
2040
- * The properties of a encoded task step.
2041
- */
2042
- export interface EncodedTaskStep {
2043
- /**
2044
- * Polymorphic Discriminator
2045
- */
2046
- type: "EncodedTask";
2047
- /**
2048
- * List of base image dependencies for a step.
2049
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2050
- */
2051
- readonly baseImageDependencies?: BaseImageDependency[];
2052
- /**
2053
- * The URL(absolute or relative) of the source context for the task step.
2054
- */
2055
- contextPath?: string;
2056
- /**
2057
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
2058
- * step.
2059
- */
2060
- contextAccessToken?: string;
2061
- /**
2062
- * Base64 encoded value of the template/definition file content.
2063
- */
2064
- encodedTaskContent: string;
2065
- /**
2066
- * Base64 encoded value of the parameters/values file content.
2067
- */
2068
- encodedValuesContent?: string;
2069
- /**
2070
- * The collection of overridable values that can be passed when running a task.
2071
- */
2072
- values?: SetValue[];
2073
- }
2074
- /**
2075
- * The properties for updating a docker build step.
2076
- */
2077
- export interface DockerBuildStepUpdateParameters {
2078
- /**
2079
- * Polymorphic Discriminator
2080
- */
2081
- type: "Docker";
2082
- /**
2083
- * The URL(absolute or relative) of the source context for the task step.
2084
- */
2085
- contextPath?: string;
2086
- /**
2087
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
2088
- * step.
2089
- */
2090
- contextAccessToken?: string;
2091
- /**
2092
- * The fully qualified image names including the repository and tag.
2093
- */
2094
- imageNames?: string[];
2095
- /**
2096
- * The value of this property indicates whether the image built should be pushed to the registry
2097
- * or not.
2098
- */
2099
- isPushEnabled?: boolean;
2100
- /**
2101
- * The value of this property indicates whether the image cache is enabled or not.
2102
- */
2103
- noCache?: boolean;
2104
- /**
2105
- * The Docker file path relative to the source context.
2106
- */
2107
- dockerFilePath?: string;
2108
- /**
2109
- * The collection of override arguments to be used when executing this build step.
2110
- */
2111
- argumentsProperty?: Argument[];
2112
- /**
2113
- * The name of the target build stage for the docker build.
2114
- */
2115
- target?: string;
2116
- }
2117
- /**
2118
- * The properties of updating a task step.
2119
- */
2120
- export interface FileTaskStepUpdateParameters {
2121
- /**
2122
- * Polymorphic Discriminator
2123
- */
2124
- type: "FileTask";
2125
- /**
2126
- * The URL(absolute or relative) of the source context for the task step.
2127
- */
2128
- contextPath?: string;
2129
- /**
2130
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
2131
- * step.
2132
- */
2133
- contextAccessToken?: string;
2134
- /**
2135
- * The task template/definition file path relative to the source context.
2136
- */
2137
- taskFilePath?: string;
2138
- /**
2139
- * The values/parameters file path relative to the source context.
2140
- */
2141
- valuesFilePath?: string;
2142
- /**
2143
- * The collection of overridable values that can be passed when running a task.
2144
- */
2145
- values?: SetValue[];
2146
- }
2147
- /**
2148
- * The properties for updating encoded task step.
2149
- */
2150
- export interface EncodedTaskStepUpdateParameters {
2151
- /**
2152
- * Polymorphic Discriminator
2153
- */
2154
- type: "EncodedTask";
2155
- /**
2156
- * The URL(absolute or relative) of the source context for the task step.
2157
- */
2158
- contextPath?: string;
2159
- /**
2160
- * The token (git PAT or SAS token of storage account blob) associated with the context for a
2161
- * step.
2162
- */
2163
- contextAccessToken?: string;
2164
- /**
2165
- * Base64 encoded value of the template/definition file content.
2166
- */
2167
- encodedTaskContent?: string;
2168
- /**
2169
- * Base64 encoded value of the parameters/values file content.
2170
- */
2171
- encodedValuesContent?: string;
2172
- /**
2173
- * The collection of overridable values that can be passed when running a task.
2174
- */
2175
- values?: SetValue[];
2176
- }
2177
- /**
2178
- * An object that represents a scope map for a container registry.
2179
- */
2180
- export interface ScopeMap extends ProxyResource {
2181
- /**
2182
- * The user friendly description of the scope map.
2183
- */
2184
- description?: string;
2185
- /**
2186
- * The type of the scope map. E.g. BuildIn scope map.
2187
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2188
- */
2189
- readonly scopeMapType?: string;
2190
- /**
2191
- * The creation date of scope map.
2192
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2193
- */
2194
- readonly creationDate?: Date;
2195
- /**
2196
- * Provisioning state of the resource. Possible values include: 'Creating', 'Updating',
2197
- * 'Deleting', 'Succeeded', 'Failed', 'Canceled'
2198
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2199
- */
2200
- readonly provisioningState?: ProvisioningState;
2201
- /**
2202
- * The list of scoped permissions for registry artifacts.
2203
- * E.g. repositories/repository-name/pull,
2204
- * repositories/repository-name/delete
2205
- */
2206
- actions: string[];
2207
- }
2208
- /**
2209
- * The properties for updating the scope map.
2210
- */
2211
- export interface ScopeMapUpdateParameters {
2212
- /**
2213
- * The user friendly description of the scope map.
2214
- */
2215
- description?: string;
2216
- /**
2217
- * The list of scope permissions for registry artifacts.
2218
- * E.g. repositories/repository-name/pull,
2219
- * repositories/repository-name/delete
2220
- */
2221
- actions?: string[];
2222
- }
2223
- /**
2224
- * The properties of a certificate used for authenticating a token.
2225
- */
2226
- export interface TokenCertificate {
2227
- /**
2228
- * Possible values include: 'certificate1', 'certificate2'
2229
- */
2230
- name?: TokenCertificateName;
2231
- /**
2232
- * The expiry datetime of the certificate.
2233
- */
2234
- expiry?: Date;
2235
- /**
2236
- * The thumbprint of the certificate.
2237
- */
2238
- thumbprint?: string;
2239
- /**
2240
- * Base 64 encoded string of the public certificate1 in PEM format that will be used for
2241
- * authenticating the token.
2242
- */
2243
- encodedPemCertificate?: string;
2244
- }
2245
- /**
2246
- * The password that will be used for authenticating the token of a container registry.
2247
- */
2248
- export interface TokenPassword {
2249
- /**
2250
- * The password created datetime of the password.
2251
- */
2252
- creationTime?: Date;
2253
- /**
2254
- * The expiry datetime of the password.
2255
- */
2256
- expiry?: Date;
2257
- /**
2258
- * The password name "password" or "password2". Possible values include: 'password1', 'password2'
2259
- */
2260
- name?: TokenPasswordName;
2261
- /**
2262
- * The password value.
2263
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2264
- */
2265
- readonly value?: string;
2266
- }
2267
- /**
2268
- * The properties of the credentials that can be used for authenticating the token.
2269
- */
2270
- export interface TokenCredentialsProperties {
2271
- certificates?: TokenCertificate[];
2272
- passwords?: TokenPassword[];
2273
- }
2274
- /**
2275
- * An object that represents a token for a container registry.
2276
- */
2277
- export interface Token extends ProxyResource {
2278
- /**
2279
- * The creation date of scope map.
2280
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2281
- */
2282
- readonly creationDate?: Date;
2283
- /**
2284
- * Provisioning state of the resource. Possible values include: 'Creating', 'Updating',
2285
- * 'Deleting', 'Succeeded', 'Failed', 'Canceled'
2286
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
2287
- */
2288
- readonly provisioningState?: ProvisioningState;
2289
- /**
2290
- * The resource ID of the scope map to which the token will be associated with.
2291
- */
2292
- scopeMapId?: string;
2293
- /**
2294
- * The user/group/application object ID for which the token has to be created.
2295
- */
2296
- objectId?: string;
2297
- /**
2298
- * The credentials that can be used for authenticating the token.
2299
- */
2300
- credentials?: TokenCredentialsProperties;
2301
- /**
2302
- * The status of the token example enabled or disabled. Possible values include: 'enabled',
2303
- * 'disabled'
2304
- */
2305
- status?: Status;
2306
- }
2307
- /**
2308
- * The parameters for updating a token.
2309
- */
2310
- export interface TokenUpdateParameters {
2311
- /**
2312
- * The resource ID of the scope map to which the token will be associated with.
2313
- */
2314
- scopeMapId?: string;
2315
- /**
2316
- * The status of the token example enabled or disabled. Possible values include: 'enabled',
2317
- * 'disabled'
2318
- */
2319
- status?: Status;
2320
- /**
2321
- * The credentials that can be used for authenticating the token.
2322
- */
2323
- credentials?: TokenCredentialsProperties;
2324
- }
2325
- /**
2326
- * The parameters used to generate credentials for a specified token or user of a container
2327
- * registry.
2328
- */
2329
- export interface GenerateCredentialsParameters {
2330
- /**
2331
- * The resource ID of the token for which credentials have to be generated.
2332
- */
2333
- tokenId?: string;
2334
- /**
2335
- * The expiry date of the generated credentials after which the credentials become invalid.
2336
- * Default value: new Date('9999-12-31T15:59:59.9999999-08:00').
2337
- */
2338
- expiry?: Date;
2339
- /**
2340
- * Specifies name of the password which should be regenerated if any -- password or password2.
2341
- * Possible values include: 'password1', 'password2'
2342
- */
2343
- name?: TokenPasswordName;
2344
- }
2345
- /**
2346
- * The response from the GenerateCredentials operation.
2347
- */
2348
- export interface GenerateCredentialsResult {
2349
- /**
2350
- * The username for a container registry.
2351
- */
2352
- username?: string;
2353
- /**
2354
- * The list of passwords for a container registry.
2355
- */
2356
- passwords?: TokenPassword[];
2357
- }
2358
- /**
2359
- * Optional Parameters.
2360
- */
2361
- export interface RunsListOptionalParams extends msRest.RequestOptionsBase {
2362
- /**
2363
- * The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed
2364
- * string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.
2365
- */
2366
- filter?: string;
2367
- /**
2368
- * $top is supported for get list of runs, which limits the maximum number of runs to return.
2369
- */
2370
- top?: number;
2371
- }
2372
- /**
2373
- * An interface representing ContainerRegistryManagementClientOptions.
2374
- */
2375
- export interface ContainerRegistryManagementClientOptions extends AzureServiceClientOptions {
2376
- baseUri?: string;
2377
- }
2378
- /**
2379
- * @interface
2380
- * The result of a request to list container registries.
2381
- * @extends Array<Registry>
2382
- */
2383
- export interface RegistryListResult extends Array<Registry> {
2384
- /**
2385
- * The URI that can be used to request the next list of container registries.
2386
- */
2387
- nextLink?: string;
2388
- }
2389
- /**
2390
- * @interface
2391
- * The result of a request to list container registry operations.
2392
- * @extends Array<OperationDefinition>
2393
- */
2394
- export interface OperationListResult extends Array<OperationDefinition> {
2395
- /**
2396
- * The URI that can be used to request the next list of container registry operations.
2397
- */
2398
- nextLink?: string;
2399
- }
2400
- /**
2401
- * @interface
2402
- * The result of a request to list replications for a container registry.
2403
- * @extends Array<Replication>
2404
- */
2405
- export interface ReplicationListResult extends Array<Replication> {
2406
- /**
2407
- * The URI that can be used to request the next list of replications.
2408
- */
2409
- nextLink?: string;
2410
- }
2411
- /**
2412
- * @interface
2413
- * The result of a request to list webhooks for a container registry.
2414
- * @extends Array<Webhook>
2415
- */
2416
- export interface WebhookListResult extends Array<Webhook> {
2417
- /**
2418
- * The URI that can be used to request the next list of webhooks.
2419
- */
2420
- nextLink?: string;
2421
- }
2422
- /**
2423
- * @interface
2424
- * The result of a request to list events for a webhook.
2425
- * @extends Array<Event>
2426
- */
2427
- export interface EventListResult extends Array<Event> {
2428
- /**
2429
- * The URI that can be used to request the next list of events.
2430
- */
2431
- nextLink?: string;
2432
- }
2433
- /**
2434
- * @interface
2435
- * Collection of runs.
2436
- * @extends Array<Run>
2437
- */
2438
- export interface RunListResult extends Array<Run> {
2439
- /**
2440
- * The URI that can be used to request the next set of paged results.
2441
- */
2442
- nextLink?: string;
2443
- }
2444
- /**
2445
- * @interface
2446
- * The collection of tasks.
2447
- * @extends Array<Task>
2448
- */
2449
- export interface TaskListResult extends Array<Task> {
2450
- /**
2451
- * The URI that can be used to request the next set of paged results.
2452
- */
2453
- nextLink?: string;
2454
- }
2455
- /**
2456
- * @interface
2457
- * The result of a request to list scope maps for a container registry.
2458
- * @extends Array<ScopeMap>
2459
- */
2460
- export interface ScopeMapListResult extends Array<ScopeMap> {
2461
- /**
2462
- * The URI that can be used to request the next list of scope maps.
2463
- */
2464
- nextLink?: string;
2465
- }
2466
- /**
2467
- * @interface
2468
- * The result of a request to list tokens for a container registry.
2469
- * @extends Array<Token>
2470
- */
2471
- export interface TokenListResult extends Array<Token> {
2472
- /**
2473
- * The URI that can be used to request the next list of tokens.
2474
- */
2475
- nextLink?: string;
2476
- }
2477
- /**
2478
- * Defines values for ImportMode.
2479
- * Possible values include: 'NoForce', 'Force'
2480
- * @readonly
2481
- * @enum {string}
2482
- */
2483
- export declare type ImportMode = 'NoForce' | 'Force';
2484
- /**
2485
- * Defines values for SkuName.
2486
- * Possible values include: 'Classic', 'Basic', 'Standard', 'Premium'
2487
- * @readonly
2488
- * @enum {string}
2489
- */
2490
- export declare type SkuName = 'Classic' | 'Basic' | 'Standard' | 'Premium';
2491
- /**
2492
- * Defines values for SkuTier.
2493
- * Possible values include: 'Classic', 'Basic', 'Standard', 'Premium'
2494
- * @readonly
2495
- * @enum {string}
2496
- */
2497
- export declare type SkuTier = 'Classic' | 'Basic' | 'Standard' | 'Premium';
2498
- /**
2499
- * Defines values for ProvisioningState.
2500
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
2501
- * @readonly
2502
- * @enum {string}
2503
- */
2504
- export declare type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled';
2505
- /**
2506
- * Defines values for DefaultAction.
2507
- * Possible values include: 'Allow', 'Deny'
2508
- * @readonly
2509
- * @enum {string}
2510
- */
2511
- export declare type DefaultAction = 'Allow' | 'Deny';
2512
- /**
2513
- * Defines values for Action.
2514
- * Possible values include: 'Allow'
2515
- * @readonly
2516
- * @enum {string}
2517
- */
2518
- export declare type Action = 'Allow';
2519
- /**
2520
- * Defines values for PolicyStatus.
2521
- * Possible values include: 'enabled', 'disabled'
2522
- * @readonly
2523
- * @enum {string}
2524
- */
2525
- export declare type PolicyStatus = 'enabled' | 'disabled';
2526
- /**
2527
- * Defines values for TrustPolicyType.
2528
- * Possible values include: 'Notary'
2529
- * @readonly
2530
- * @enum {string}
2531
- */
2532
- export declare type TrustPolicyType = 'Notary';
2533
- /**
2534
- * Defines values for PasswordName.
2535
- * Possible values include: 'password', 'password2'
2536
- * @readonly
2537
- * @enum {string}
2538
- */
2539
- export declare type PasswordName = 'password' | 'password2';
2540
- /**
2541
- * Defines values for RegistryUsageUnit.
2542
- * Possible values include: 'Count', 'Bytes'
2543
- * @readonly
2544
- * @enum {string}
2545
- */
2546
- export declare type RegistryUsageUnit = 'Count' | 'Bytes';
2547
- /**
2548
- * Defines values for WebhookStatus.
2549
- * Possible values include: 'enabled', 'disabled'
2550
- * @readonly
2551
- * @enum {string}
2552
- */
2553
- export declare type WebhookStatus = 'enabled' | 'disabled';
2554
- /**
2555
- * Defines values for WebhookAction.
2556
- * Possible values include: 'push', 'delete', 'quarantine', 'chart_push', 'chart_delete'
2557
- * @readonly
2558
- * @enum {string}
2559
- */
2560
- export declare type WebhookAction = 'push' | 'delete' | 'quarantine' | 'chart_push' | 'chart_delete';
2561
- /**
2562
- * Defines values for RunStatus.
2563
- * Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled',
2564
- * 'Error', 'Timeout'
2565
- * @readonly
2566
- * @enum {string}
2567
- */
2568
- export declare type RunStatus = 'Queued' | 'Started' | 'Running' | 'Succeeded' | 'Failed' | 'Canceled' | 'Error' | 'Timeout';
2569
- /**
2570
- * Defines values for RunType.
2571
- * Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'
2572
- * @readonly
2573
- * @enum {string}
2574
- */
2575
- export declare type RunType = 'QuickBuild' | 'QuickRun' | 'AutoBuild' | 'AutoRun';
2576
- /**
2577
- * Defines values for OS.
2578
- * Possible values include: 'Windows', 'Linux'
2579
- * @readonly
2580
- * @enum {string}
2581
- */
2582
- export declare type OS = 'Windows' | 'Linux';
2583
- /**
2584
- * Defines values for Architecture.
2585
- * Possible values include: 'amd64', 'x86', '386', 'arm', 'arm64'
2586
- * @readonly
2587
- * @enum {string}
2588
- */
2589
- export declare type Architecture = 'amd64' | 'x86' | '386' | 'arm' | 'arm64';
2590
- /**
2591
- * Defines values for Variant.
2592
- * Possible values include: 'v6', 'v7', 'v8'
2593
- * @readonly
2594
- * @enum {string}
2595
- */
2596
- export declare type Variant = 'v6' | 'v7' | 'v8';
2597
- /**
2598
- * Defines values for ResourceIdentityType.
2599
- * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
2600
- * 'None'
2601
- * @readonly
2602
- * @enum {string}
2603
- */
2604
- export declare type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None';
2605
- /**
2606
- * Defines values for TaskStatus.
2607
- * Possible values include: 'Disabled', 'Enabled'
2608
- * @readonly
2609
- * @enum {string}
2610
- */
2611
- export declare type TaskStatus = 'Disabled' | 'Enabled';
2612
- /**
2613
- * Defines values for BaseImageDependencyType.
2614
- * Possible values include: 'BuildTime', 'RunTime'
2615
- * @readonly
2616
- * @enum {string}
2617
- */
2618
- export declare type BaseImageDependencyType = 'BuildTime' | 'RunTime';
2619
- /**
2620
- * Defines values for TriggerStatus.
2621
- * Possible values include: 'Disabled', 'Enabled'
2622
- * @readonly
2623
- * @enum {string}
2624
- */
2625
- export declare type TriggerStatus = 'Disabled' | 'Enabled';
2626
- /**
2627
- * Defines values for SourceControlType.
2628
- * Possible values include: 'Github', 'VisualStudioTeamService'
2629
- * @readonly
2630
- * @enum {string}
2631
- */
2632
- export declare type SourceControlType = 'Github' | 'VisualStudioTeamService';
2633
- /**
2634
- * Defines values for TokenType.
2635
- * Possible values include: 'PAT', 'OAuth'
2636
- * @readonly
2637
- * @enum {string}
2638
- */
2639
- export declare type TokenType = 'PAT' | 'OAuth';
2640
- /**
2641
- * Defines values for SourceTriggerEvent.
2642
- * Possible values include: 'commit', 'pullrequest'
2643
- * @readonly
2644
- * @enum {string}
2645
- */
2646
- export declare type SourceTriggerEvent = 'commit' | 'pullrequest';
2647
- /**
2648
- * Defines values for BaseImageTriggerType.
2649
- * Possible values include: 'All', 'Runtime'
2650
- * @readonly
2651
- * @enum {string}
2652
- */
2653
- export declare type BaseImageTriggerType = 'All' | 'Runtime';
2654
- /**
2655
- * Defines values for UpdateTriggerPayloadType.
2656
- * Possible values include: 'Default', 'Token'
2657
- * @readonly
2658
- * @enum {string}
2659
- */
2660
- export declare type UpdateTriggerPayloadType = 'Default' | 'Token';
2661
- /**
2662
- * Defines values for SourceRegistryLoginMode.
2663
- * Possible values include: 'None', 'Default'
2664
- * @readonly
2665
- * @enum {string}
2666
- */
2667
- export declare type SourceRegistryLoginMode = 'None' | 'Default';
2668
- /**
2669
- * Defines values for SecretObjectType.
2670
- * Possible values include: 'Opaque', 'Vaultsecret'
2671
- * @readonly
2672
- * @enum {string}
2673
- */
2674
- export declare type SecretObjectType = 'Opaque' | 'Vaultsecret';
2675
- /**
2676
- * Defines values for TokenCertificateName.
2677
- * Possible values include: 'certificate1', 'certificate2'
2678
- * @readonly
2679
- * @enum {string}
2680
- */
2681
- export declare type TokenCertificateName = 'certificate1' | 'certificate2';
2682
- /**
2683
- * Defines values for TokenPasswordName.
2684
- * Possible values include: 'password1', 'password2'
2685
- * @readonly
2686
- * @enum {string}
2687
- */
2688
- export declare type TokenPasswordName = 'password1' | 'password2';
2689
- /**
2690
- * Defines values for Status.
2691
- * Possible values include: 'enabled', 'disabled'
2692
- * @readonly
2693
- * @enum {string}
2694
- */
2695
- export declare type Status = 'enabled' | 'disabled';
2696
- /**
2697
- * Contains response data for the checkNameAvailability operation.
2698
- */
2699
- export declare type RegistriesCheckNameAvailabilityResponse = RegistryNameStatus & {
2700
- /**
2701
- * The underlying HTTP response.
2702
- */
2703
- _response: msRest.HttpResponse & {
2704
- /**
2705
- * The response body as text (string format)
2706
- */
2707
- bodyAsText: string;
2708
- /**
2709
- * The response body as parsed JSON or XML
2710
- */
2711
- parsedBody: RegistryNameStatus;
2712
- };
2713
- };
2714
- /**
2715
- * Contains response data for the get operation.
2716
- */
2717
- export declare type RegistriesGetResponse = Registry & {
2718
- /**
2719
- * The underlying HTTP response.
2720
- */
2721
- _response: msRest.HttpResponse & {
2722
- /**
2723
- * The response body as text (string format)
2724
- */
2725
- bodyAsText: string;
2726
- /**
2727
- * The response body as parsed JSON or XML
2728
- */
2729
- parsedBody: Registry;
2730
- };
2731
- };
2732
- /**
2733
- * Contains response data for the create operation.
2734
- */
2735
- export declare type RegistriesCreateResponse = Registry & {
2736
- /**
2737
- * The underlying HTTP response.
2738
- */
2739
- _response: msRest.HttpResponse & {
2740
- /**
2741
- * The response body as text (string format)
2742
- */
2743
- bodyAsText: string;
2744
- /**
2745
- * The response body as parsed JSON or XML
2746
- */
2747
- parsedBody: Registry;
2748
- };
2749
- };
2750
- /**
2751
- * Contains response data for the update operation.
2752
- */
2753
- export declare type RegistriesUpdateResponse = Registry & {
2754
- /**
2755
- * The underlying HTTP response.
2756
- */
2757
- _response: msRest.HttpResponse & {
2758
- /**
2759
- * The response body as text (string format)
2760
- */
2761
- bodyAsText: string;
2762
- /**
2763
- * The response body as parsed JSON or XML
2764
- */
2765
- parsedBody: Registry;
2766
- };
2767
- };
2768
- /**
2769
- * Contains response data for the listByResourceGroup operation.
2770
- */
2771
- export declare type RegistriesListByResourceGroupResponse = RegistryListResult & {
2772
- /**
2773
- * The underlying HTTP response.
2774
- */
2775
- _response: msRest.HttpResponse & {
2776
- /**
2777
- * The response body as text (string format)
2778
- */
2779
- bodyAsText: string;
2780
- /**
2781
- * The response body as parsed JSON or XML
2782
- */
2783
- parsedBody: RegistryListResult;
2784
- };
2785
- };
2786
- /**
2787
- * Contains response data for the list operation.
2788
- */
2789
- export declare type RegistriesListResponse = RegistryListResult & {
2790
- /**
2791
- * The underlying HTTP response.
2792
- */
2793
- _response: msRest.HttpResponse & {
2794
- /**
2795
- * The response body as text (string format)
2796
- */
2797
- bodyAsText: string;
2798
- /**
2799
- * The response body as parsed JSON or XML
2800
- */
2801
- parsedBody: RegistryListResult;
2802
- };
2803
- };
2804
- /**
2805
- * Contains response data for the listCredentials operation.
2806
- */
2807
- export declare type RegistriesListCredentialsResponse = RegistryListCredentialsResult & {
2808
- /**
2809
- * The underlying HTTP response.
2810
- */
2811
- _response: msRest.HttpResponse & {
2812
- /**
2813
- * The response body as text (string format)
2814
- */
2815
- bodyAsText: string;
2816
- /**
2817
- * The response body as parsed JSON or XML
2818
- */
2819
- parsedBody: RegistryListCredentialsResult;
2820
- };
2821
- };
2822
- /**
2823
- * Contains response data for the regenerateCredential operation.
2824
- */
2825
- export declare type RegistriesRegenerateCredentialResponse = RegistryListCredentialsResult & {
2826
- /**
2827
- * The underlying HTTP response.
2828
- */
2829
- _response: msRest.HttpResponse & {
2830
- /**
2831
- * The response body as text (string format)
2832
- */
2833
- bodyAsText: string;
2834
- /**
2835
- * The response body as parsed JSON or XML
2836
- */
2837
- parsedBody: RegistryListCredentialsResult;
2838
- };
2839
- };
2840
- /**
2841
- * Contains response data for the listUsages operation.
2842
- */
2843
- export declare type RegistriesListUsagesResponse = RegistryUsageListResult & {
2844
- /**
2845
- * The underlying HTTP response.
2846
- */
2847
- _response: msRest.HttpResponse & {
2848
- /**
2849
- * The response body as text (string format)
2850
- */
2851
- bodyAsText: string;
2852
- /**
2853
- * The response body as parsed JSON or XML
2854
- */
2855
- parsedBody: RegistryUsageListResult;
2856
- };
2857
- };
2858
- /**
2859
- * Contains response data for the scheduleRun operation.
2860
- */
2861
- export declare type RegistriesScheduleRunResponse = Run & {
2862
- /**
2863
- * The underlying HTTP response.
2864
- */
2865
- _response: msRest.HttpResponse & {
2866
- /**
2867
- * The response body as text (string format)
2868
- */
2869
- bodyAsText: string;
2870
- /**
2871
- * The response body as parsed JSON or XML
2872
- */
2873
- parsedBody: Run;
2874
- };
2875
- };
2876
- /**
2877
- * Contains response data for the getBuildSourceUploadUrl operation.
2878
- */
2879
- export declare type RegistriesGetBuildSourceUploadUrlResponse = SourceUploadDefinition & {
2880
- /**
2881
- * The underlying HTTP response.
2882
- */
2883
- _response: msRest.HttpResponse & {
2884
- /**
2885
- * The response body as text (string format)
2886
- */
2887
- bodyAsText: string;
2888
- /**
2889
- * The response body as parsed JSON or XML
2890
- */
2891
- parsedBody: SourceUploadDefinition;
2892
- };
2893
- };
2894
- /**
2895
- * Contains response data for the generateCredentials operation.
2896
- */
2897
- export declare type RegistriesGenerateCredentialsResponse = GenerateCredentialsResult & {
2898
- /**
2899
- * The underlying HTTP response.
2900
- */
2901
- _response: msRest.HttpResponse & {
2902
- /**
2903
- * The response body as text (string format)
2904
- */
2905
- bodyAsText: string;
2906
- /**
2907
- * The response body as parsed JSON or XML
2908
- */
2909
- parsedBody: GenerateCredentialsResult;
2910
- };
2911
- };
2912
- /**
2913
- * Contains response data for the beginCreate operation.
2914
- */
2915
- export declare type RegistriesBeginCreateResponse = Registry & {
2916
- /**
2917
- * The underlying HTTP response.
2918
- */
2919
- _response: msRest.HttpResponse & {
2920
- /**
2921
- * The response body as text (string format)
2922
- */
2923
- bodyAsText: string;
2924
- /**
2925
- * The response body as parsed JSON or XML
2926
- */
2927
- parsedBody: Registry;
2928
- };
2929
- };
2930
- /**
2931
- * Contains response data for the beginUpdate operation.
2932
- */
2933
- export declare type RegistriesBeginUpdateResponse = Registry & {
2934
- /**
2935
- * The underlying HTTP response.
2936
- */
2937
- _response: msRest.HttpResponse & {
2938
- /**
2939
- * The response body as text (string format)
2940
- */
2941
- bodyAsText: string;
2942
- /**
2943
- * The response body as parsed JSON or XML
2944
- */
2945
- parsedBody: Registry;
2946
- };
2947
- };
2948
- /**
2949
- * Contains response data for the beginScheduleRun operation.
2950
- */
2951
- export declare type RegistriesBeginScheduleRunResponse = Run & {
2952
- /**
2953
- * The underlying HTTP response.
2954
- */
2955
- _response: msRest.HttpResponse & {
2956
- /**
2957
- * The response body as text (string format)
2958
- */
2959
- bodyAsText: string;
2960
- /**
2961
- * The response body as parsed JSON or XML
2962
- */
2963
- parsedBody: Run;
2964
- };
2965
- };
2966
- /**
2967
- * Contains response data for the beginGenerateCredentials operation.
2968
- */
2969
- export declare type RegistriesBeginGenerateCredentialsResponse = GenerateCredentialsResult & {
2970
- /**
2971
- * The underlying HTTP response.
2972
- */
2973
- _response: msRest.HttpResponse & {
2974
- /**
2975
- * The response body as text (string format)
2976
- */
2977
- bodyAsText: string;
2978
- /**
2979
- * The response body as parsed JSON or XML
2980
- */
2981
- parsedBody: GenerateCredentialsResult;
2982
- };
2983
- };
2984
- /**
2985
- * Contains response data for the listByResourceGroupNext operation.
2986
- */
2987
- export declare type RegistriesListByResourceGroupNextResponse = RegistryListResult & {
2988
- /**
2989
- * The underlying HTTP response.
2990
- */
2991
- _response: msRest.HttpResponse & {
2992
- /**
2993
- * The response body as text (string format)
2994
- */
2995
- bodyAsText: string;
2996
- /**
2997
- * The response body as parsed JSON or XML
2998
- */
2999
- parsedBody: RegistryListResult;
3000
- };
3001
- };
3002
- /**
3003
- * Contains response data for the listNext operation.
3004
- */
3005
- export declare type RegistriesListNextResponse = RegistryListResult & {
3006
- /**
3007
- * The underlying HTTP response.
3008
- */
3009
- _response: msRest.HttpResponse & {
3010
- /**
3011
- * The response body as text (string format)
3012
- */
3013
- bodyAsText: string;
3014
- /**
3015
- * The response body as parsed JSON or XML
3016
- */
3017
- parsedBody: RegistryListResult;
3018
- };
3019
- };
3020
- /**
3021
- * Contains response data for the list operation.
3022
- */
3023
- export declare type OperationsListResponse = OperationListResult & {
3024
- /**
3025
- * The underlying HTTP response.
3026
- */
3027
- _response: msRest.HttpResponse & {
3028
- /**
3029
- * The response body as text (string format)
3030
- */
3031
- bodyAsText: string;
3032
- /**
3033
- * The response body as parsed JSON or XML
3034
- */
3035
- parsedBody: OperationListResult;
3036
- };
3037
- };
3038
- /**
3039
- * Contains response data for the listNext operation.
3040
- */
3041
- export declare type OperationsListNextResponse = OperationListResult & {
3042
- /**
3043
- * The underlying HTTP response.
3044
- */
3045
- _response: msRest.HttpResponse & {
3046
- /**
3047
- * The response body as text (string format)
3048
- */
3049
- bodyAsText: string;
3050
- /**
3051
- * The response body as parsed JSON or XML
3052
- */
3053
- parsedBody: OperationListResult;
3054
- };
3055
- };
3056
- /**
3057
- * Contains response data for the get operation.
3058
- */
3059
- export declare type ReplicationsGetResponse = Replication & {
3060
- /**
3061
- * The underlying HTTP response.
3062
- */
3063
- _response: msRest.HttpResponse & {
3064
- /**
3065
- * The response body as text (string format)
3066
- */
3067
- bodyAsText: string;
3068
- /**
3069
- * The response body as parsed JSON or XML
3070
- */
3071
- parsedBody: Replication;
3072
- };
3073
- };
3074
- /**
3075
- * Contains response data for the create operation.
3076
- */
3077
- export declare type ReplicationsCreateResponse = Replication & {
3078
- /**
3079
- * The underlying HTTP response.
3080
- */
3081
- _response: msRest.HttpResponse & {
3082
- /**
3083
- * The response body as text (string format)
3084
- */
3085
- bodyAsText: string;
3086
- /**
3087
- * The response body as parsed JSON or XML
3088
- */
3089
- parsedBody: Replication;
3090
- };
3091
- };
3092
- /**
3093
- * Contains response data for the update operation.
3094
- */
3095
- export declare type ReplicationsUpdateResponse = Replication & {
3096
- /**
3097
- * The underlying HTTP response.
3098
- */
3099
- _response: msRest.HttpResponse & {
3100
- /**
3101
- * The response body as text (string format)
3102
- */
3103
- bodyAsText: string;
3104
- /**
3105
- * The response body as parsed JSON or XML
3106
- */
3107
- parsedBody: Replication;
3108
- };
3109
- };
3110
- /**
3111
- * Contains response data for the list operation.
3112
- */
3113
- export declare type ReplicationsListResponse = ReplicationListResult & {
3114
- /**
3115
- * The underlying HTTP response.
3116
- */
3117
- _response: msRest.HttpResponse & {
3118
- /**
3119
- * The response body as text (string format)
3120
- */
3121
- bodyAsText: string;
3122
- /**
3123
- * The response body as parsed JSON or XML
3124
- */
3125
- parsedBody: ReplicationListResult;
3126
- };
3127
- };
3128
- /**
3129
- * Contains response data for the beginCreate operation.
3130
- */
3131
- export declare type ReplicationsBeginCreateResponse = Replication & {
3132
- /**
3133
- * The underlying HTTP response.
3134
- */
3135
- _response: msRest.HttpResponse & {
3136
- /**
3137
- * The response body as text (string format)
3138
- */
3139
- bodyAsText: string;
3140
- /**
3141
- * The response body as parsed JSON or XML
3142
- */
3143
- parsedBody: Replication;
3144
- };
3145
- };
3146
- /**
3147
- * Contains response data for the beginUpdate operation.
3148
- */
3149
- export declare type ReplicationsBeginUpdateResponse = Replication & {
3150
- /**
3151
- * The underlying HTTP response.
3152
- */
3153
- _response: msRest.HttpResponse & {
3154
- /**
3155
- * The response body as text (string format)
3156
- */
3157
- bodyAsText: string;
3158
- /**
3159
- * The response body as parsed JSON or XML
3160
- */
3161
- parsedBody: Replication;
3162
- };
3163
- };
3164
- /**
3165
- * Contains response data for the listNext operation.
3166
- */
3167
- export declare type ReplicationsListNextResponse = ReplicationListResult & {
3168
- /**
3169
- * The underlying HTTP response.
3170
- */
3171
- _response: msRest.HttpResponse & {
3172
- /**
3173
- * The response body as text (string format)
3174
- */
3175
- bodyAsText: string;
3176
- /**
3177
- * The response body as parsed JSON or XML
3178
- */
3179
- parsedBody: ReplicationListResult;
3180
- };
3181
- };
3182
- /**
3183
- * Contains response data for the get operation.
3184
- */
3185
- export declare type WebhooksGetResponse = Webhook & {
3186
- /**
3187
- * The underlying HTTP response.
3188
- */
3189
- _response: msRest.HttpResponse & {
3190
- /**
3191
- * The response body as text (string format)
3192
- */
3193
- bodyAsText: string;
3194
- /**
3195
- * The response body as parsed JSON or XML
3196
- */
3197
- parsedBody: Webhook;
3198
- };
3199
- };
3200
- /**
3201
- * Contains response data for the create operation.
3202
- */
3203
- export declare type WebhooksCreateResponse = Webhook & {
3204
- /**
3205
- * The underlying HTTP response.
3206
- */
3207
- _response: msRest.HttpResponse & {
3208
- /**
3209
- * The response body as text (string format)
3210
- */
3211
- bodyAsText: string;
3212
- /**
3213
- * The response body as parsed JSON or XML
3214
- */
3215
- parsedBody: Webhook;
3216
- };
3217
- };
3218
- /**
3219
- * Contains response data for the update operation.
3220
- */
3221
- export declare type WebhooksUpdateResponse = Webhook & {
3222
- /**
3223
- * The underlying HTTP response.
3224
- */
3225
- _response: msRest.HttpResponse & {
3226
- /**
3227
- * The response body as text (string format)
3228
- */
3229
- bodyAsText: string;
3230
- /**
3231
- * The response body as parsed JSON or XML
3232
- */
3233
- parsedBody: Webhook;
3234
- };
3235
- };
3236
- /**
3237
- * Contains response data for the list operation.
3238
- */
3239
- export declare type WebhooksListResponse = WebhookListResult & {
3240
- /**
3241
- * The underlying HTTP response.
3242
- */
3243
- _response: msRest.HttpResponse & {
3244
- /**
3245
- * The response body as text (string format)
3246
- */
3247
- bodyAsText: string;
3248
- /**
3249
- * The response body as parsed JSON or XML
3250
- */
3251
- parsedBody: WebhookListResult;
3252
- };
3253
- };
3254
- /**
3255
- * Contains response data for the ping operation.
3256
- */
3257
- export declare type WebhooksPingResponse = EventInfo & {
3258
- /**
3259
- * The underlying HTTP response.
3260
- */
3261
- _response: msRest.HttpResponse & {
3262
- /**
3263
- * The response body as text (string format)
3264
- */
3265
- bodyAsText: string;
3266
- /**
3267
- * The response body as parsed JSON or XML
3268
- */
3269
- parsedBody: EventInfo;
3270
- };
3271
- };
3272
- /**
3273
- * Contains response data for the getCallbackConfig operation.
3274
- */
3275
- export declare type WebhooksGetCallbackConfigResponse = CallbackConfig & {
3276
- /**
3277
- * The underlying HTTP response.
3278
- */
3279
- _response: msRest.HttpResponse & {
3280
- /**
3281
- * The response body as text (string format)
3282
- */
3283
- bodyAsText: string;
3284
- /**
3285
- * The response body as parsed JSON or XML
3286
- */
3287
- parsedBody: CallbackConfig;
3288
- };
3289
- };
3290
- /**
3291
- * Contains response data for the listEvents operation.
3292
- */
3293
- export declare type WebhooksListEventsResponse = EventListResult & {
3294
- /**
3295
- * The underlying HTTP response.
3296
- */
3297
- _response: msRest.HttpResponse & {
3298
- /**
3299
- * The response body as text (string format)
3300
- */
3301
- bodyAsText: string;
3302
- /**
3303
- * The response body as parsed JSON or XML
3304
- */
3305
- parsedBody: EventListResult;
3306
- };
3307
- };
3308
- /**
3309
- * Contains response data for the beginCreate operation.
3310
- */
3311
- export declare type WebhooksBeginCreateResponse = Webhook & {
3312
- /**
3313
- * The underlying HTTP response.
3314
- */
3315
- _response: msRest.HttpResponse & {
3316
- /**
3317
- * The response body as text (string format)
3318
- */
3319
- bodyAsText: string;
3320
- /**
3321
- * The response body as parsed JSON or XML
3322
- */
3323
- parsedBody: Webhook;
3324
- };
3325
- };
3326
- /**
3327
- * Contains response data for the beginUpdate operation.
3328
- */
3329
- export declare type WebhooksBeginUpdateResponse = Webhook & {
3330
- /**
3331
- * The underlying HTTP response.
3332
- */
3333
- _response: msRest.HttpResponse & {
3334
- /**
3335
- * The response body as text (string format)
3336
- */
3337
- bodyAsText: string;
3338
- /**
3339
- * The response body as parsed JSON or XML
3340
- */
3341
- parsedBody: Webhook;
3342
- };
3343
- };
3344
- /**
3345
- * Contains response data for the listNext operation.
3346
- */
3347
- export declare type WebhooksListNextResponse = WebhookListResult & {
3348
- /**
3349
- * The underlying HTTP response.
3350
- */
3351
- _response: msRest.HttpResponse & {
3352
- /**
3353
- * The response body as text (string format)
3354
- */
3355
- bodyAsText: string;
3356
- /**
3357
- * The response body as parsed JSON or XML
3358
- */
3359
- parsedBody: WebhookListResult;
3360
- };
3361
- };
3362
- /**
3363
- * Contains response data for the listEventsNext operation.
3364
- */
3365
- export declare type WebhooksListEventsNextResponse = EventListResult & {
3366
- /**
3367
- * The underlying HTTP response.
3368
- */
3369
- _response: msRest.HttpResponse & {
3370
- /**
3371
- * The response body as text (string format)
3372
- */
3373
- bodyAsText: string;
3374
- /**
3375
- * The response body as parsed JSON or XML
3376
- */
3377
- parsedBody: EventListResult;
3378
- };
3379
- };
3380
- /**
3381
- * Contains response data for the list operation.
3382
- */
3383
- export declare type RunsListResponse = RunListResult & {
3384
- /**
3385
- * The underlying HTTP response.
3386
- */
3387
- _response: msRest.HttpResponse & {
3388
- /**
3389
- * The response body as text (string format)
3390
- */
3391
- bodyAsText: string;
3392
- /**
3393
- * The response body as parsed JSON or XML
3394
- */
3395
- parsedBody: RunListResult;
3396
- };
3397
- };
3398
- /**
3399
- * Contains response data for the get operation.
3400
- */
3401
- export declare type RunsGetResponse = Run & {
3402
- /**
3403
- * The underlying HTTP response.
3404
- */
3405
- _response: msRest.HttpResponse & {
3406
- /**
3407
- * The response body as text (string format)
3408
- */
3409
- bodyAsText: string;
3410
- /**
3411
- * The response body as parsed JSON or XML
3412
- */
3413
- parsedBody: Run;
3414
- };
3415
- };
3416
- /**
3417
- * Contains response data for the update operation.
3418
- */
3419
- export declare type RunsUpdateResponse = Run & {
3420
- /**
3421
- * The underlying HTTP response.
3422
- */
3423
- _response: msRest.HttpResponse & {
3424
- /**
3425
- * The response body as text (string format)
3426
- */
3427
- bodyAsText: string;
3428
- /**
3429
- * The response body as parsed JSON or XML
3430
- */
3431
- parsedBody: Run;
3432
- };
3433
- };
3434
- /**
3435
- * Contains response data for the getLogSasUrl operation.
3436
- */
3437
- export declare type RunsGetLogSasUrlResponse = RunGetLogResult & {
3438
- /**
3439
- * The underlying HTTP response.
3440
- */
3441
- _response: msRest.HttpResponse & {
3442
- /**
3443
- * The response body as text (string format)
3444
- */
3445
- bodyAsText: string;
3446
- /**
3447
- * The response body as parsed JSON or XML
3448
- */
3449
- parsedBody: RunGetLogResult;
3450
- };
3451
- };
3452
- /**
3453
- * Contains response data for the beginUpdate operation.
3454
- */
3455
- export declare type RunsBeginUpdateResponse = Run & {
3456
- /**
3457
- * The underlying HTTP response.
3458
- */
3459
- _response: msRest.HttpResponse & {
3460
- /**
3461
- * The response body as text (string format)
3462
- */
3463
- bodyAsText: string;
3464
- /**
3465
- * The response body as parsed JSON or XML
3466
- */
3467
- parsedBody: Run;
3468
- };
3469
- };
3470
- /**
3471
- * Contains response data for the listNext operation.
3472
- */
3473
- export declare type RunsListNextResponse = RunListResult & {
3474
- /**
3475
- * The underlying HTTP response.
3476
- */
3477
- _response: msRest.HttpResponse & {
3478
- /**
3479
- * The response body as text (string format)
3480
- */
3481
- bodyAsText: string;
3482
- /**
3483
- * The response body as parsed JSON or XML
3484
- */
3485
- parsedBody: RunListResult;
3486
- };
3487
- };
3488
- /**
3489
- * Contains response data for the list operation.
3490
- */
3491
- export declare type TasksListResponse = TaskListResult & {
3492
- /**
3493
- * The underlying HTTP response.
3494
- */
3495
- _response: msRest.HttpResponse & {
3496
- /**
3497
- * The response body as text (string format)
3498
- */
3499
- bodyAsText: string;
3500
- /**
3501
- * The response body as parsed JSON or XML
3502
- */
3503
- parsedBody: TaskListResult;
3504
- };
3505
- };
3506
- /**
3507
- * Contains response data for the get operation.
3508
- */
3509
- export declare type TasksGetResponse = Task & {
3510
- /**
3511
- * The underlying HTTP response.
3512
- */
3513
- _response: msRest.HttpResponse & {
3514
- /**
3515
- * The response body as text (string format)
3516
- */
3517
- bodyAsText: string;
3518
- /**
3519
- * The response body as parsed JSON or XML
3520
- */
3521
- parsedBody: Task;
3522
- };
3523
- };
3524
- /**
3525
- * Contains response data for the create operation.
3526
- */
3527
- export declare type TasksCreateResponse = Task & {
3528
- /**
3529
- * The underlying HTTP response.
3530
- */
3531
- _response: msRest.HttpResponse & {
3532
- /**
3533
- * The response body as text (string format)
3534
- */
3535
- bodyAsText: string;
3536
- /**
3537
- * The response body as parsed JSON or XML
3538
- */
3539
- parsedBody: Task;
3540
- };
3541
- };
3542
- /**
3543
- * Contains response data for the update operation.
3544
- */
3545
- export declare type TasksUpdateResponse = Task & {
3546
- /**
3547
- * The underlying HTTP response.
3548
- */
3549
- _response: msRest.HttpResponse & {
3550
- /**
3551
- * The response body as text (string format)
3552
- */
3553
- bodyAsText: string;
3554
- /**
3555
- * The response body as parsed JSON or XML
3556
- */
3557
- parsedBody: Task;
3558
- };
3559
- };
3560
- /**
3561
- * Contains response data for the getDetails operation.
3562
- */
3563
- export declare type TasksGetDetailsResponse = Task & {
3564
- /**
3565
- * The underlying HTTP response.
3566
- */
3567
- _response: msRest.HttpResponse & {
3568
- /**
3569
- * The response body as text (string format)
3570
- */
3571
- bodyAsText: string;
3572
- /**
3573
- * The response body as parsed JSON or XML
3574
- */
3575
- parsedBody: Task;
3576
- };
3577
- };
3578
- /**
3579
- * Contains response data for the beginCreate operation.
3580
- */
3581
- export declare type TasksBeginCreateResponse = Task & {
3582
- /**
3583
- * The underlying HTTP response.
3584
- */
3585
- _response: msRest.HttpResponse & {
3586
- /**
3587
- * The response body as text (string format)
3588
- */
3589
- bodyAsText: string;
3590
- /**
3591
- * The response body as parsed JSON or XML
3592
- */
3593
- parsedBody: Task;
3594
- };
3595
- };
3596
- /**
3597
- * Contains response data for the beginUpdate operation.
3598
- */
3599
- export declare type TasksBeginUpdateResponse = Task & {
3600
- /**
3601
- * The underlying HTTP response.
3602
- */
3603
- _response: msRest.HttpResponse & {
3604
- /**
3605
- * The response body as text (string format)
3606
- */
3607
- bodyAsText: string;
3608
- /**
3609
- * The response body as parsed JSON or XML
3610
- */
3611
- parsedBody: Task;
3612
- };
3613
- };
3614
- /**
3615
- * Contains response data for the listNext operation.
3616
- */
3617
- export declare type TasksListNextResponse = TaskListResult & {
3618
- /**
3619
- * The underlying HTTP response.
3620
- */
3621
- _response: msRest.HttpResponse & {
3622
- /**
3623
- * The response body as text (string format)
3624
- */
3625
- bodyAsText: string;
3626
- /**
3627
- * The response body as parsed JSON or XML
3628
- */
3629
- parsedBody: TaskListResult;
3630
- };
3631
- };
3632
- /**
3633
- * Contains response data for the get operation.
3634
- */
3635
- export declare type ScopeMapsGetResponse = ScopeMap & {
3636
- /**
3637
- * The underlying HTTP response.
3638
- */
3639
- _response: msRest.HttpResponse & {
3640
- /**
3641
- * The response body as text (string format)
3642
- */
3643
- bodyAsText: string;
3644
- /**
3645
- * The response body as parsed JSON or XML
3646
- */
3647
- parsedBody: ScopeMap;
3648
- };
3649
- };
3650
- /**
3651
- * Contains response data for the create operation.
3652
- */
3653
- export declare type ScopeMapsCreateResponse = ScopeMap & {
3654
- /**
3655
- * The underlying HTTP response.
3656
- */
3657
- _response: msRest.HttpResponse & {
3658
- /**
3659
- * The response body as text (string format)
3660
- */
3661
- bodyAsText: string;
3662
- /**
3663
- * The response body as parsed JSON or XML
3664
- */
3665
- parsedBody: ScopeMap;
3666
- };
3667
- };
3668
- /**
3669
- * Contains response data for the update operation.
3670
- */
3671
- export declare type ScopeMapsUpdateResponse = ScopeMap & {
3672
- /**
3673
- * The underlying HTTP response.
3674
- */
3675
- _response: msRest.HttpResponse & {
3676
- /**
3677
- * The response body as text (string format)
3678
- */
3679
- bodyAsText: string;
3680
- /**
3681
- * The response body as parsed JSON or XML
3682
- */
3683
- parsedBody: ScopeMap;
3684
- };
3685
- };
3686
- /**
3687
- * Contains response data for the list operation.
3688
- */
3689
- export declare type ScopeMapsListResponse = ScopeMapListResult & {
3690
- /**
3691
- * The underlying HTTP response.
3692
- */
3693
- _response: msRest.HttpResponse & {
3694
- /**
3695
- * The response body as text (string format)
3696
- */
3697
- bodyAsText: string;
3698
- /**
3699
- * The response body as parsed JSON or XML
3700
- */
3701
- parsedBody: ScopeMapListResult;
3702
- };
3703
- };
3704
- /**
3705
- * Contains response data for the beginCreate operation.
3706
- */
3707
- export declare type ScopeMapsBeginCreateResponse = ScopeMap & {
3708
- /**
3709
- * The underlying HTTP response.
3710
- */
3711
- _response: msRest.HttpResponse & {
3712
- /**
3713
- * The response body as text (string format)
3714
- */
3715
- bodyAsText: string;
3716
- /**
3717
- * The response body as parsed JSON or XML
3718
- */
3719
- parsedBody: ScopeMap;
3720
- };
3721
- };
3722
- /**
3723
- * Contains response data for the beginUpdate operation.
3724
- */
3725
- export declare type ScopeMapsBeginUpdateResponse = ScopeMap & {
3726
- /**
3727
- * The underlying HTTP response.
3728
- */
3729
- _response: msRest.HttpResponse & {
3730
- /**
3731
- * The response body as text (string format)
3732
- */
3733
- bodyAsText: string;
3734
- /**
3735
- * The response body as parsed JSON or XML
3736
- */
3737
- parsedBody: ScopeMap;
3738
- };
3739
- };
3740
- /**
3741
- * Contains response data for the listNext operation.
3742
- */
3743
- export declare type ScopeMapsListNextResponse = ScopeMapListResult & {
3744
- /**
3745
- * The underlying HTTP response.
3746
- */
3747
- _response: msRest.HttpResponse & {
3748
- /**
3749
- * The response body as text (string format)
3750
- */
3751
- bodyAsText: string;
3752
- /**
3753
- * The response body as parsed JSON or XML
3754
- */
3755
- parsedBody: ScopeMapListResult;
3756
- };
3757
- };
3758
- /**
3759
- * Contains response data for the get operation.
3760
- */
3761
- export declare type TokensGetResponse = Token & {
3762
- /**
3763
- * The underlying HTTP response.
3764
- */
3765
- _response: msRest.HttpResponse & {
3766
- /**
3767
- * The response body as text (string format)
3768
- */
3769
- bodyAsText: string;
3770
- /**
3771
- * The response body as parsed JSON or XML
3772
- */
3773
- parsedBody: Token;
3774
- };
3775
- };
3776
- /**
3777
- * Contains response data for the create operation.
3778
- */
3779
- export declare type TokensCreateResponse = Token & {
3780
- /**
3781
- * The underlying HTTP response.
3782
- */
3783
- _response: msRest.HttpResponse & {
3784
- /**
3785
- * The response body as text (string format)
3786
- */
3787
- bodyAsText: string;
3788
- /**
3789
- * The response body as parsed JSON or XML
3790
- */
3791
- parsedBody: Token;
3792
- };
3793
- };
3794
- /**
3795
- * Contains response data for the update operation.
3796
- */
3797
- export declare type TokensUpdateResponse = Token & {
3798
- /**
3799
- * The underlying HTTP response.
3800
- */
3801
- _response: msRest.HttpResponse & {
3802
- /**
3803
- * The response body as text (string format)
3804
- */
3805
- bodyAsText: string;
3806
- /**
3807
- * The response body as parsed JSON or XML
3808
- */
3809
- parsedBody: Token;
3810
- };
3811
- };
3812
- /**
3813
- * Contains response data for the list operation.
3814
- */
3815
- export declare type TokensListResponse = TokenListResult & {
3816
- /**
3817
- * The underlying HTTP response.
3818
- */
3819
- _response: msRest.HttpResponse & {
3820
- /**
3821
- * The response body as text (string format)
3822
- */
3823
- bodyAsText: string;
3824
- /**
3825
- * The response body as parsed JSON or XML
3826
- */
3827
- parsedBody: TokenListResult;
3828
- };
3829
- };
3830
- /**
3831
- * Contains response data for the beginCreate operation.
3832
- */
3833
- export declare type TokensBeginCreateResponse = Token & {
3834
- /**
3835
- * The underlying HTTP response.
3836
- */
3837
- _response: msRest.HttpResponse & {
3838
- /**
3839
- * The response body as text (string format)
3840
- */
3841
- bodyAsText: string;
3842
- /**
3843
- * The response body as parsed JSON or XML
3844
- */
3845
- parsedBody: Token;
3846
- };
3847
- };
3848
- /**
3849
- * Contains response data for the beginUpdate operation.
3850
- */
3851
- export declare type TokensBeginUpdateResponse = Token & {
3852
- /**
3853
- * The underlying HTTP response.
3854
- */
3855
- _response: msRest.HttpResponse & {
3856
- /**
3857
- * The response body as text (string format)
3858
- */
3859
- bodyAsText: string;
3860
- /**
3861
- * The response body as parsed JSON or XML
3862
- */
3863
- parsedBody: Token;
3864
- };
3865
- };
3866
- /**
3867
- * Contains response data for the listNext operation.
3868
- */
3869
- export declare type TokensListNextResponse = TokenListResult & {
3870
- /**
3871
- * The underlying HTTP response.
3872
- */
3873
- _response: msRest.HttpResponse & {
3874
- /**
3875
- * The response body as text (string format)
3876
- */
3877
- bodyAsText: string;
3878
- /**
3879
- * The response body as parsed JSON or XML
3880
- */
3881
- parsedBody: TokenListResult;
3882
- };
3883
- };
3884
- //# sourceMappingURL=index.d.ts.map