@azure/arm-containerregistry 11.0.0 → 12.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 (195) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/containerRegistryManagementClient.js +1 -1
  3. package/dist/browser/containerRegistryManagementClient.js.map +1 -1
  4. package/dist/browser/models/index.d.ts +158 -192
  5. package/dist/browser/models/index.d.ts.map +1 -1
  6. package/dist/browser/models/index.js.map +1 -1
  7. package/dist/browser/models/mappers.d.ts +16 -15
  8. package/dist/browser/models/mappers.d.ts.map +1 -1
  9. package/dist/browser/models/mappers.js +280 -319
  10. package/dist/browser/models/mappers.js.map +1 -1
  11. package/dist/browser/models/parameters.d.ts +1 -2
  12. package/dist/browser/models/parameters.d.ts.map +1 -1
  13. package/dist/browser/models/parameters.js +5 -18
  14. package/dist/browser/models/parameters.js.map +1 -1
  15. package/dist/browser/operations/agentPools.d.ts +37 -37
  16. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  17. package/dist/browser/operations/agentPools.js +101 -90
  18. package/dist/browser/operations/agentPools.js.map +1 -1
  19. package/dist/browser/operations/registries.d.ts +7 -15
  20. package/dist/browser/operations/registries.d.ts.map +1 -1
  21. package/dist/browser/operations/registries.js +22 -79
  22. package/dist/browser/operations/registries.js.map +1 -1
  23. package/dist/browser/operations/runs.d.ts +18 -36
  24. package/dist/browser/operations/runs.d.ts.map +1 -1
  25. package/dist/browser/operations/runs.js +39 -156
  26. package/dist/browser/operations/runs.js.map +1 -1
  27. package/dist/browser/operations/taskRuns.d.ts +31 -39
  28. package/dist/browser/operations/taskRuns.d.ts.map +1 -1
  29. package/dist/browser/operations/taskRuns.js +79 -127
  30. package/dist/browser/operations/taskRuns.js.map +1 -1
  31. package/dist/browser/operations/tasks.d.ts +21 -48
  32. package/dist/browser/operations/tasks.d.ts.map +1 -1
  33. package/dist/browser/operations/tasks.js +62 -227
  34. package/dist/browser/operations/tasks.js.map +1 -1
  35. package/dist/browser/operationsInterfaces/agentPools.d.ts +29 -29
  36. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  37. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  38. package/dist/browser/operationsInterfaces/registries.d.ts +7 -15
  39. package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
  40. package/dist/browser/operationsInterfaces/registries.js.map +1 -1
  41. package/dist/browser/operationsInterfaces/runs.d.ts +14 -32
  42. package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
  43. package/dist/browser/operationsInterfaces/runs.js.map +1 -1
  44. package/dist/browser/operationsInterfaces/taskRuns.d.ts +23 -31
  45. package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
  46. package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
  47. package/dist/browser/operationsInterfaces/tasks.d.ts +17 -44
  48. package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
  49. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  50. package/dist/commonjs/containerRegistryManagementClient.js +1 -1
  51. package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
  52. package/dist/commonjs/models/index.d.ts +158 -192
  53. package/dist/commonjs/models/index.d.ts.map +1 -1
  54. package/dist/commonjs/models/index.js.map +1 -1
  55. package/dist/commonjs/models/mappers.d.ts +16 -15
  56. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  57. package/dist/commonjs/models/mappers.js +283 -322
  58. package/dist/commonjs/models/mappers.js.map +1 -1
  59. package/dist/commonjs/models/parameters.d.ts +1 -2
  60. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  61. package/dist/commonjs/models/parameters.js +7 -20
  62. package/dist/commonjs/models/parameters.js.map +1 -1
  63. package/dist/commonjs/operations/agentPools.d.ts +37 -37
  64. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  65. package/dist/commonjs/operations/agentPools.js +101 -90
  66. package/dist/commonjs/operations/agentPools.js.map +1 -1
  67. package/dist/commonjs/operations/registries.d.ts +7 -15
  68. package/dist/commonjs/operations/registries.d.ts.map +1 -1
  69. package/dist/commonjs/operations/registries.js +22 -79
  70. package/dist/commonjs/operations/registries.js.map +1 -1
  71. package/dist/commonjs/operations/runs.d.ts +18 -36
  72. package/dist/commonjs/operations/runs.d.ts.map +1 -1
  73. package/dist/commonjs/operations/runs.js +39 -156
  74. package/dist/commonjs/operations/runs.js.map +1 -1
  75. package/dist/commonjs/operations/taskRuns.d.ts +31 -39
  76. package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
  77. package/dist/commonjs/operations/taskRuns.js +79 -127
  78. package/dist/commonjs/operations/taskRuns.js.map +1 -1
  79. package/dist/commonjs/operations/tasks.d.ts +21 -48
  80. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  81. package/dist/commonjs/operations/tasks.js +62 -227
  82. package/dist/commonjs/operations/tasks.js.map +1 -1
  83. package/dist/commonjs/operationsInterfaces/agentPools.d.ts +29 -29
  84. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  85. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  86. package/dist/commonjs/operationsInterfaces/registries.d.ts +7 -15
  87. package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
  88. package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
  89. package/dist/commonjs/operationsInterfaces/runs.d.ts +14 -32
  90. package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
  91. package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
  92. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +23 -31
  93. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
  94. package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
  95. package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -44
  96. package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
  97. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  98. package/dist/commonjs/tsdoc-metadata.json +1 -1
  99. package/dist/esm/containerRegistryManagementClient.js +1 -1
  100. package/dist/esm/containerRegistryManagementClient.js.map +1 -1
  101. package/dist/esm/models/index.d.ts +158 -192
  102. package/dist/esm/models/index.d.ts.map +1 -1
  103. package/dist/esm/models/index.js.map +1 -1
  104. package/dist/esm/models/mappers.d.ts +16 -15
  105. package/dist/esm/models/mappers.d.ts.map +1 -1
  106. package/dist/esm/models/mappers.js +280 -319
  107. package/dist/esm/models/mappers.js.map +1 -1
  108. package/dist/esm/models/parameters.d.ts +1 -2
  109. package/dist/esm/models/parameters.d.ts.map +1 -1
  110. package/dist/esm/models/parameters.js +5 -18
  111. package/dist/esm/models/parameters.js.map +1 -1
  112. package/dist/esm/operations/agentPools.d.ts +37 -37
  113. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  114. package/dist/esm/operations/agentPools.js +101 -90
  115. package/dist/esm/operations/agentPools.js.map +1 -1
  116. package/dist/esm/operations/registries.d.ts +7 -15
  117. package/dist/esm/operations/registries.d.ts.map +1 -1
  118. package/dist/esm/operations/registries.js +22 -79
  119. package/dist/esm/operations/registries.js.map +1 -1
  120. package/dist/esm/operations/runs.d.ts +18 -36
  121. package/dist/esm/operations/runs.d.ts.map +1 -1
  122. package/dist/esm/operations/runs.js +39 -156
  123. package/dist/esm/operations/runs.js.map +1 -1
  124. package/dist/esm/operations/taskRuns.d.ts +31 -39
  125. package/dist/esm/operations/taskRuns.d.ts.map +1 -1
  126. package/dist/esm/operations/taskRuns.js +79 -127
  127. package/dist/esm/operations/taskRuns.js.map +1 -1
  128. package/dist/esm/operations/tasks.d.ts +21 -48
  129. package/dist/esm/operations/tasks.d.ts.map +1 -1
  130. package/dist/esm/operations/tasks.js +62 -227
  131. package/dist/esm/operations/tasks.js.map +1 -1
  132. package/dist/esm/operationsInterfaces/agentPools.d.ts +29 -29
  133. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  134. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  135. package/dist/esm/operationsInterfaces/registries.d.ts +7 -15
  136. package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
  137. package/dist/esm/operationsInterfaces/registries.js.map +1 -1
  138. package/dist/esm/operationsInterfaces/runs.d.ts +14 -32
  139. package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
  140. package/dist/esm/operationsInterfaces/runs.js.map +1 -1
  141. package/dist/esm/operationsInterfaces/taskRuns.d.ts +23 -31
  142. package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
  143. package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
  144. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -44
  145. package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
  146. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  147. package/dist/react-native/containerRegistryManagementClient.js +1 -1
  148. package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
  149. package/dist/react-native/models/index.d.ts +158 -192
  150. package/dist/react-native/models/index.d.ts.map +1 -1
  151. package/dist/react-native/models/index.js.map +1 -1
  152. package/dist/react-native/models/mappers.d.ts +16 -15
  153. package/dist/react-native/models/mappers.d.ts.map +1 -1
  154. package/dist/react-native/models/mappers.js +280 -319
  155. package/dist/react-native/models/mappers.js.map +1 -1
  156. package/dist/react-native/models/parameters.d.ts +1 -2
  157. package/dist/react-native/models/parameters.d.ts.map +1 -1
  158. package/dist/react-native/models/parameters.js +5 -18
  159. package/dist/react-native/models/parameters.js.map +1 -1
  160. package/dist/react-native/operations/agentPools.d.ts +37 -37
  161. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  162. package/dist/react-native/operations/agentPools.js +101 -90
  163. package/dist/react-native/operations/agentPools.js.map +1 -1
  164. package/dist/react-native/operations/registries.d.ts +7 -15
  165. package/dist/react-native/operations/registries.d.ts.map +1 -1
  166. package/dist/react-native/operations/registries.js +22 -79
  167. package/dist/react-native/operations/registries.js.map +1 -1
  168. package/dist/react-native/operations/runs.d.ts +18 -36
  169. package/dist/react-native/operations/runs.d.ts.map +1 -1
  170. package/dist/react-native/operations/runs.js +39 -156
  171. package/dist/react-native/operations/runs.js.map +1 -1
  172. package/dist/react-native/operations/taskRuns.d.ts +31 -39
  173. package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
  174. package/dist/react-native/operations/taskRuns.js +79 -127
  175. package/dist/react-native/operations/taskRuns.js.map +1 -1
  176. package/dist/react-native/operations/tasks.d.ts +21 -48
  177. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  178. package/dist/react-native/operations/tasks.js +62 -227
  179. package/dist/react-native/operations/tasks.js.map +1 -1
  180. package/dist/react-native/operationsInterfaces/agentPools.d.ts +29 -29
  181. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  182. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  183. package/dist/react-native/operationsInterfaces/registries.d.ts +7 -15
  184. package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
  185. package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
  186. package/dist/react-native/operationsInterfaces/runs.d.ts +14 -32
  187. package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
  188. package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
  189. package/dist/react-native/operationsInterfaces/taskRuns.d.ts +23 -31
  190. package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
  191. package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
  192. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -44
  193. package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
  194. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  195. package/package.json +17 -17
@@ -1,27 +1,27 @@
1
1
  import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import type { TaskRun, TaskRunsListOptionalParams, TaskRunsGetOptionalParams, TaskRunsGetResponse, TaskRunsCreateOptionalParams, TaskRunsCreateResponse, TaskRunsDeleteOptionalParams, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams, TaskRunsUpdateResponse, TaskRunsGetDetailsOptionalParams, TaskRunsGetDetailsResponse } from "../models/index.js";
3
+ import type { TaskRun, TaskRunsListOptionalParams, TaskRunsGetOptionalParams, TaskRunsGetResponse, TaskRunsCreateOptionalParams, TaskRunsCreateResponse, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams, TaskRunsUpdateResponse, TaskRunsDeleteOptionalParams, TaskRunsGetDetailsOptionalParams, TaskRunsGetDetailsResponse } from "../models/index.js";
4
4
  /** Interface representing a TaskRuns. */
5
5
  export interface TaskRuns {
6
6
  /**
7
7
  * Lists all the task runs for a specified container registry.
8
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
9
- * @param registryName The name of the container registry.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param registryName The name of the Registry
10
10
  * @param options The options parameters.
11
11
  */
12
12
  list(resourceGroupName: string, registryName: string, options?: TaskRunsListOptionalParams): PagedAsyncIterableIterator<TaskRun>;
13
13
  /**
14
14
  * Gets the detailed information for a given task run.
15
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
16
- * @param registryName The name of the container registry.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param registryName The name of the Registry
17
17
  * @param taskRunName The name of the task run.
18
18
  * @param options The options parameters.
19
19
  */
20
20
  get(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetOptionalParams): Promise<TaskRunsGetResponse>;
21
21
  /**
22
22
  * Creates a task run for a container registry with the specified parameters.
23
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
24
- * @param registryName The name of the container registry.
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param registryName The name of the Registry
25
25
  * @param taskRunName The name of the task run.
26
26
  * @param taskRun The parameters of a run that needs to scheduled.
27
27
  * @param options The options parameters.
@@ -29,33 +29,17 @@ export interface TaskRuns {
29
29
  beginCreate(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRunsCreateResponse>, TaskRunsCreateResponse>>;
30
30
  /**
31
31
  * Creates a task run for a container registry with the specified parameters.
32
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
33
- * @param registryName The name of the container registry.
32
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
+ * @param registryName The name of the Registry
34
34
  * @param taskRunName The name of the task run.
35
35
  * @param taskRun The parameters of a run that needs to scheduled.
36
36
  * @param options The options parameters.
37
37
  */
38
38
  beginCreateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<TaskRunsCreateResponse>;
39
- /**
40
- * Deletes a specified task run resource.
41
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
42
- * @param registryName The name of the container registry.
43
- * @param taskRunName The name of the task run.
44
- * @param options The options parameters.
45
- */
46
- beginDelete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
47
- /**
48
- * Deletes a specified task run resource.
49
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
50
- * @param registryName The name of the container registry.
51
- * @param taskRunName The name of the task run.
52
- * @param options The options parameters.
53
- */
54
- beginDeleteAndWait(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
55
39
  /**
56
40
  * Updates a task run with the specified parameters.
57
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
58
- * @param registryName The name of the container registry.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param registryName The name of the Registry
59
43
  * @param taskRunName The name of the task run.
60
44
  * @param updateParameters The parameters for updating a task run.
61
45
  * @param options The options parameters.
@@ -63,17 +47,25 @@ export interface TaskRuns {
63
47
  beginUpdate(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRunsUpdateResponse>, TaskRunsUpdateResponse>>;
64
48
  /**
65
49
  * Updates a task run with the specified parameters.
66
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
67
- * @param registryName The name of the container registry.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param registryName The name of the Registry
68
52
  * @param taskRunName The name of the task run.
69
53
  * @param updateParameters The parameters for updating a task run.
70
54
  * @param options The options parameters.
71
55
  */
72
56
  beginUpdateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<TaskRunsUpdateResponse>;
57
+ /**
58
+ * Deletes a specified task run resource.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param registryName The name of the Registry
61
+ * @param taskRunName The name of the task run.
62
+ * @param options The options parameters.
63
+ */
64
+ delete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
73
65
  /**
74
66
  * Gets the detailed information for a given task run that includes all secrets.
75
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
76
- * @param registryName The name of the container registry.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param registryName The name of the Registry
77
69
  * @param taskRunName The name of the task run.
78
70
  * @param options The options parameters.
79
71
  */
@@ -1 +1 @@
1
- {"version":3,"file":"taskRuns.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,OAAO,EACP,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,s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EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,uBAAuB,EACzC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,sBAAsB,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAC7F;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,uBAAuB,EACzC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CACxC"}
1
+ {"version":3,"file":"taskRuns.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,OAAO,EACP,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACv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AAC;IACnC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CACxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"taskRuns.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n TaskRun,\n TaskRunsListOptionalParams,\n TaskRunsGetOptionalParams,\n TaskRunsGetResponse,\n TaskRunsCreateOptionalParams,\n TaskRunsCreateResponse,\n TaskRunsDeleteOptionalParams,\n TaskRunUpdateParameters,\n TaskRunsUpdateOptionalParams,\n TaskRunsUpdateResponse,\n TaskRunsGetDetailsOptionalParams,\n TaskRunsGetDetailsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a TaskRuns. */\nexport interface TaskRuns {\n /**\n * Lists all the task runs for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: TaskRunsListOptionalParams,\n ): PagedAsyncIterableIterator<TaskRun>;\n /**\n * Gets the detailed information for a given task run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsGetOptionalParams,\n ): Promise<TaskRunsGetResponse>;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<TaskRunsCreateResponse>, TaskRunsCreateResponse>>;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<TaskRunsCreateResponse>;\n /**\n * Deletes a specified task run resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a specified task run resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Updates a task run with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param updateParameters The parameters for updating a task run.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n updateParameters: TaskRunUpdateParameters,\n options?: TaskRunsUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<TaskRunsUpdateResponse>, TaskRunsUpdateResponse>>;\n /**\n * Updates a task run with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param updateParameters The parameters for updating a task run.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n updateParameters: TaskRunUpdateParameters,\n options?: TaskRunsUpdateOptionalParams,\n ): Promise<TaskRunsUpdateResponse>;\n /**\n * Gets the detailed information for a given task run that includes all secrets.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsGetDetailsOptionalParams,\n ): Promise<TaskRunsGetDetailsResponse>;\n}\n"]}
1
+ {"version":3,"file":"taskRuns.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n TaskRun,\n TaskRunsListOptionalParams,\n TaskRunsGetOptionalParams,\n TaskRunsGetResponse,\n TaskRunsCreateOptionalParams,\n TaskRunsCreateResponse,\n TaskRunUpdateParameters,\n TaskRunsUpdateOptionalParams,\n TaskRunsUpdateResponse,\n TaskRunsDeleteOptionalParams,\n TaskRunsGetDetailsOptionalParams,\n TaskRunsGetDetailsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a TaskRuns. */\nexport interface TaskRuns {\n /**\n * Lists all the task runs for a specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: TaskRunsListOptionalParams,\n ): PagedAsyncIterableIterator<TaskRun>;\n /**\n * Gets the detailed information for a given task run.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsGetOptionalParams,\n ): Promise<TaskRunsGetResponse>;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<TaskRunsCreateResponse>, TaskRunsCreateResponse>>;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<TaskRunsCreateResponse>;\n /**\n * Updates a task run with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskRunName The name of the task run.\n * @param updateParameters The parameters for updating a task run.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n updateParameters: TaskRunUpdateParameters,\n options?: TaskRunsUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<TaskRunsUpdateResponse>, TaskRunsUpdateResponse>>;\n /**\n * Updates a task run with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskRunName The name of the task run.\n * @param updateParameters The parameters for updating a task run.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n updateParameters: TaskRunUpdateParameters,\n options?: TaskRunsUpdateOptionalParams,\n ): Promise<TaskRunsUpdateResponse>;\n /**\n * Deletes a specified task run resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets the detailed information for a given task run that includes all secrets.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsGetDetailsOptionalParams,\n ): Promise<TaskRunsGetDetailsResponse>;\n}\n"]}
@@ -1,79 +1,52 @@
1
1
  import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import type { Task, TasksListOptionalParams, TasksGetOptionalParams, TasksGetResponse, TasksCreateOptionalParams, TasksCreateResponse, TasksDeleteOptionalParams, TaskUpdateParameters, TasksUpdateOptionalParams, TasksUpdateResponse, TasksGetDetailsOptionalParams, TasksGetDetailsResponse } from "../models/index.js";
2
+ import type { Task, TasksListOptionalParams, TasksGetOptionalParams, TasksGetResponse, TasksCreateOptionalParams, TasksCreateResponse, TaskUpdateParameters, TasksUpdateOptionalParams, TasksUpdateResponse, TasksDeleteOptionalParams, TasksGetDetailsOptionalParams, TasksGetDetailsResponse } from "../models/index.js";
4
3
  /** Interface representing a Tasks. */
5
4
  export interface Tasks {
6
5
  /**
7
6
  * Lists all the tasks for a specified container registry.
8
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
9
- * @param registryName The name of the container registry.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param registryName The name of the Registry
10
9
  * @param options The options parameters.
11
10
  */
12
11
  list(resourceGroupName: string, registryName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<Task>;
13
12
  /**
14
13
  * Get the properties of a specified task.
15
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
16
- * @param registryName The name of the container registry.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param registryName The name of the Registry
17
16
  * @param taskName The name of the container registry task.
18
17
  * @param options The options parameters.
19
18
  */
20
19
  get(resourceGroupName: string, registryName: string, taskName: string, options?: TasksGetOptionalParams): Promise<TasksGetResponse>;
21
20
  /**
22
21
  * Creates a task for a container registry with the specified parameters.
23
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
24
- * @param registryName The name of the container registry.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param registryName The name of the Registry
25
24
  * @param taskName The name of the container registry task.
26
25
  * @param taskCreateParameters The parameters for creating a task.
27
26
  * @param options The options parameters.
28
27
  */
29
- beginCreate(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<SimplePollerLike<OperationState<TasksCreateResponse>, TasksCreateResponse>>;
30
- /**
31
- * Creates a task for a container registry with the specified parameters.
32
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
33
- * @param registryName The name of the container registry.
34
- * @param taskName The name of the container registry task.
35
- * @param taskCreateParameters The parameters for creating a task.
36
- * @param options The options parameters.
37
- */
38
- beginCreateAndWait(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<TasksCreateResponse>;
39
- /**
40
- * Deletes a specified task.
41
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
42
- * @param registryName The name of the container registry.
43
- * @param taskName The name of the container registry task.
44
- * @param options The options parameters.
45
- */
46
- beginDelete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
47
- /**
48
- * Deletes a specified task.
49
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
50
- * @param registryName The name of the container registry.
51
- * @param taskName The name of the container registry task.
52
- * @param options The options parameters.
53
- */
54
- beginDeleteAndWait(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
28
+ create(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<TasksCreateResponse>;
55
29
  /**
56
30
  * Updates a task with the specified parameters.
57
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
58
- * @param registryName The name of the container registry.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param registryName The name of the Registry
59
33
  * @param taskName The name of the container registry task.
60
34
  * @param taskUpdateParameters The parameters for updating a task.
61
35
  * @param options The options parameters.
62
36
  */
63
- beginUpdate(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TasksUpdateResponse>, TasksUpdateResponse>>;
37
+ update(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
64
38
  /**
65
- * Updates a task with the specified parameters.
66
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
67
- * @param registryName The name of the container registry.
39
+ * Deletes a specified task.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param registryName The name of the Registry
68
42
  * @param taskName The name of the container registry task.
69
- * @param taskUpdateParameters The parameters for updating a task.
70
43
  * @param options The options parameters.
71
44
  */
72
- beginUpdateAndWait(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
45
+ delete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
73
46
  /**
74
47
  * Returns a task with extended information that includes all secrets.
75
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
76
- * @param registryName The name of the container registry.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param registryName The name of the Registry
77
50
  * @param taskName The name of the container registry task.
78
51
  * @param options The options parameters.
79
52
  */
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,IAAI,EACJ,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,yBAAyB,EACzB,mBAAmB,EACnB,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uBAAuB,GAChC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACpC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,M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EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n Task,\n TasksListOptionalParams,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksCreateOptionalParams,\n TasksCreateResponse,\n TasksDeleteOptionalParams,\n TaskUpdateParameters,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksGetDetailsOptionalParams,\n TasksGetDetailsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Tasks. */\nexport interface Tasks {\n /**\n * Lists all the tasks for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): PagedAsyncIterableIterator<Task>;\n /**\n * Get the properties of a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetOptionalParams,\n ): Promise<TasksGetResponse>;\n /**\n * Creates a task for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskCreateParameters The parameters for creating a task.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskCreateParameters: Task,\n options?: TasksCreateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<TasksCreateResponse>, TasksCreateResponse>>;\n /**\n * Creates a task for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskCreateParameters The parameters for creating a task.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskCreateParameters: Task,\n options?: TasksCreateOptionalParams,\n ): Promise<TasksCreateResponse>;\n /**\n * Deletes a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Updates a task with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskUpdateParameters The parameters for updating a task.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskUpdateParameters: TaskUpdateParameters,\n options?: TasksUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<TasksUpdateResponse>, TasksUpdateResponse>>;\n /**\n * Updates a task with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskUpdateParameters The parameters for updating a task.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskUpdateParameters: TaskUpdateParameters,\n options?: TasksUpdateOptionalParams,\n ): Promise<TasksUpdateResponse>;\n /**\n * Returns a task with extended information that includes all secrets.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetDetailsOptionalParams,\n ): Promise<TasksGetDetailsResponse>;\n}\n"]}
1
+ {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type {\n Task,\n TasksListOptionalParams,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksCreateOptionalParams,\n TasksCreateResponse,\n TaskUpdateParameters,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksDeleteOptionalParams,\n TasksGetDetailsOptionalParams,\n TasksGetDetailsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Tasks. */\nexport interface Tasks {\n /**\n * Lists all the tasks for a specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): PagedAsyncIterableIterator<Task>;\n /**\n * Get the properties of a specified task.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetOptionalParams,\n ): Promise<TasksGetResponse>;\n /**\n * Creates a task for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskName The name of the container registry task.\n * @param taskCreateParameters The parameters for creating a task.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskCreateParameters: Task,\n options?: TasksCreateOptionalParams,\n ): Promise<TasksCreateResponse>;\n /**\n * Updates a task with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskName The name of the container registry task.\n * @param taskUpdateParameters The parameters for updating a task.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskUpdateParameters: TaskUpdateParameters,\n options?: TasksUpdateOptionalParams,\n ): Promise<TasksUpdateResponse>;\n /**\n * Deletes a specified task.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Returns a task with extended information that includes all secrets.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the Registry\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetDetailsOptionalParams,\n ): Promise<TasksGetDetailsResponse>;\n}\n"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.53.3"
8
+ "packageVersion": "7.55.2"
9
9
  }
10
10
  ]
11
11
  }
@@ -29,7 +29,7 @@ export class ContainerRegistryManagementClient extends coreClient.ServiceClient
29
29
  requestContentType: "application/json; charset=utf-8",
30
30
  credential: credentials,
31
31
  };
32
- const packageDetails = `azsdk-js-arm-containerregistry/11.0.0`;
32
+ const packageDetails = `azsdk-js-arm-containerregistry/12.0.0-beta.1`;
33
33
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
34
34
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
35
35
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"containerRegistryManagementClient.js","sourceRoot":"","sources":["../../src/containerRegistryManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,8BAA8B,EAC9B,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,SAAS,GACV,MAAM,uBAAuB,CAAC;AAmB/B,MAAM,OAAO,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,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AgB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,UAAU,CAAa;IACvB,UAAU,CAAa;IACvB,UAAU,CAAa;IACvB,mBAAmB,CAAsB;IACzC,cAAc,CAAiB;IAC/B,0BAA0B,CAA6B;IACvD,YAAY,CAAe;IAC3B,SAAS,CAAY;IACrB,MAAM,CAAS;IACf,QAAQ,CAAW;IACnB,UAAU,CAAa;IACvB,IAAI,CAAO;IACX,QAAQ,CAAW;IACnB,KAAK,CAAQ;CACd","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n RegistriesImpl,\n CacheRulesImpl,\n ConnectedRegistriesImpl,\n CredentialSetsImpl,\n PrivateEndpointConnectionsImpl,\n ReplicationsImpl,\n ScopeMapsImpl,\n TokensImpl,\n WebhooksImpl,\n AgentPoolsImpl,\n RunsImpl,\n TaskRunsImpl,\n TasksImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n Registries,\n CacheRules,\n ConnectedRegistries,\n CredentialSets,\n PrivateEndpointConnections,\n Replications,\n ScopeMaps,\n Tokens,\n Webhooks,\n AgentPools,\n Runs,\n TaskRuns,\n Tasks,\n} from \"./operationsInterfaces/index.js\";\nimport type { ContainerRegistryManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerRegistryManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ContainerRegistryManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ContainerRegistryManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ContainerRegistryManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-containerregistry/11.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.operations = new OperationsImpl(this);\n this.registries = new RegistriesImpl(this);\n this.cacheRules = new CacheRulesImpl(this);\n this.connectedRegistries = new ConnectedRegistriesImpl(this);\n this.credentialSets = new CredentialSetsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.replications = new ReplicationsImpl(this);\n this.scopeMaps = new ScopeMapsImpl(this);\n this.tokens = new TokensImpl(this);\n this.webhooks = new WebhooksImpl(this);\n this.agentPools = new AgentPoolsImpl(this);\n this.runs = new RunsImpl(this);\n this.taskRuns = new TaskRunsImpl(this);\n this.tasks = new TasksImpl(this);\n }\n\n operations: Operations;\n registries: Registries;\n cacheRules: CacheRules;\n connectedRegistries: ConnectedRegistries;\n credentialSets: CredentialSets;\n privateEndpointConnections: PrivateEndpointConnections;\n replications: Replications;\n scopeMaps: ScopeMaps;\n tokens: Tokens;\n webhooks: Webhooks;\n agentPools: AgentPools;\n runs: Runs;\n taskRuns: TaskRuns;\n tasks: Tasks;\n}\n"]}
1
+ {"version":3,"file":"containerRegistryManagementClient.js","sourceRoot":"","sources":["../../src/containerRegistryManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OA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CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,cAAc,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,UAAU,CAAa;IACvB,UAAU,CAAa;IACvB,UAAU,CAAa;IACvB,mBAAmB,CAAsB;IACzC,cAAc,CAAiB;IAC/B,0BAA0B,CAA6B;IACvD,YAAY,CAAe;IAC3B,SAAS,CAAY;IACrB,MAAM,CAAS;IACf,QAAQ,CAAW;IACnB,UAAU,CAAa;IACvB,IAAI,CAAO;IACX,QAAQ,CAAW;IACnB,KAAK,CAAQ;CACd","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n RegistriesImpl,\n CacheRulesImpl,\n ConnectedRegistriesImpl,\n CredentialSetsImpl,\n PrivateEndpointConnectionsImpl,\n ReplicationsImpl,\n ScopeMapsImpl,\n TokensImpl,\n WebhooksImpl,\n AgentPoolsImpl,\n RunsImpl,\n TaskRunsImpl,\n TasksImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n Registries,\n CacheRules,\n ConnectedRegistries,\n CredentialSets,\n PrivateEndpointConnections,\n Replications,\n ScopeMaps,\n Tokens,\n Webhooks,\n AgentPools,\n Runs,\n TaskRuns,\n Tasks,\n} from \"./operationsInterfaces/index.js\";\nimport type { ContainerRegistryManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerRegistryManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ContainerRegistryManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ContainerRegistryManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ContainerRegistryManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-containerregistry/12.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.operations = new OperationsImpl(this);\n this.registries = new RegistriesImpl(this);\n this.cacheRules = new CacheRulesImpl(this);\n this.connectedRegistries = new ConnectedRegistriesImpl(this);\n this.credentialSets = new CredentialSetsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.replications = new ReplicationsImpl(this);\n this.scopeMaps = new ScopeMapsImpl(this);\n this.tokens = new TokensImpl(this);\n this.webhooks = new WebhooksImpl(this);\n this.agentPools = new AgentPoolsImpl(this);\n this.runs = new RunsImpl(this);\n this.taskRuns = new TaskRunsImpl(this);\n this.tasks = new TasksImpl(this);\n }\n\n operations: Operations;\n registries: Registries;\n cacheRules: CacheRules;\n connectedRegistries: ConnectedRegistries;\n credentialSets: CredentialSets;\n privateEndpointConnections: PrivateEndpointConnections;\n replications: Replications;\n scopeMaps: ScopeMaps;\n tokens: Tokens;\n webhooks: Webhooks;\n agentPools: AgentPools;\n runs: Runs;\n taskRuns: TaskRuns;\n tasks: Tasks;\n}\n"]}