@azure/arm-containerregistry 11.0.0 → 12.0.0-alpha.20251224.3

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 +22 -22
@@ -1,8 +1,7 @@
1
1
  import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import type { Tasks } from "../operationsInterfaces/index.js";
3
3
  import type { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
4
- import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import type { Task, TasksListOptionalParams, TasksGetOptionalParams, TasksGetResponse, TasksCreateOptionalParams, TasksCreateResponse, TasksDeleteOptionalParams, TaskUpdateParameters, TasksUpdateOptionalParams, TasksUpdateResponse, TasksGetDetailsOptionalParams, TasksGetDetailsResponse } from "../models/index.js";
4
+ import type { Task, TasksListOptionalParams, TasksGetOptionalParams, TasksGetResponse, TasksCreateOptionalParams, TasksCreateResponse, TaskUpdateParameters, TasksUpdateOptionalParams, TasksUpdateResponse, TasksDeleteOptionalParams, TasksGetDetailsOptionalParams, TasksGetDetailsResponse } from "../models/index.js";
6
5
  /** Class containing Tasks operations. */
7
6
  export declare class TasksImpl implements Tasks {
8
7
  private readonly client;
@@ -13,8 +12,8 @@ export declare class TasksImpl implements Tasks {
13
12
  constructor(client: ContainerRegistryManagementClient);
14
13
  /**
15
14
  * Lists all the tasks for a specified container registry.
16
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
17
- * @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
18
17
  * @param options The options parameters.
19
18
  */
20
19
  list(resourceGroupName: string, registryName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<Task>;
@@ -22,83 +21,57 @@ export declare class TasksImpl implements Tasks {
22
21
  private listPagingAll;
23
22
  /**
24
23
  * Lists all the tasks for a specified container registry.
25
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
26
- * @param registryName The name of the container registry.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param registryName The name of the Registry
27
26
  * @param options The options parameters.
28
27
  */
29
28
  private _list;
30
29
  /**
31
30
  * Get the properties of a specified task.
32
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
33
- * @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
34
33
  * @param taskName The name of the container registry task.
35
34
  * @param options The options parameters.
36
35
  */
37
36
  get(resourceGroupName: string, registryName: string, taskName: string, options?: TasksGetOptionalParams): Promise<TasksGetResponse>;
38
37
  /**
39
38
  * Creates a task for a container registry with the specified parameters.
40
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
41
- * @param registryName The name of the container registry.
39
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
40
+ * @param registryName The name of the Registry
42
41
  * @param taskName The name of the container registry task.
43
42
  * @param taskCreateParameters The parameters for creating a task.
44
43
  * @param options The options parameters.
45
44
  */
46
- beginCreate(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<SimplePollerLike<OperationState<TasksCreateResponse>, TasksCreateResponse>>;
47
- /**
48
- * Creates a task for a container registry with the specified parameters.
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 taskCreateParameters The parameters for creating a task.
53
- * @param options The options parameters.
54
- */
55
- beginCreateAndWait(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<TasksCreateResponse>;
56
- /**
57
- * Deletes a specified task.
58
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
59
- * @param registryName The name of the container registry.
60
- * @param taskName The name of the container registry task.
61
- * @param options The options parameters.
62
- */
63
- beginDelete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
64
- /**
65
- * Deletes a specified task.
66
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
67
- * @param registryName The name of the container registry.
68
- * @param taskName The name of the container registry task.
69
- * @param options The options parameters.
70
- */
71
- beginDeleteAndWait(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
45
+ create(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<TasksCreateResponse>;
72
46
  /**
73
47
  * Updates a task with the specified parameters.
74
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
75
- * @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
76
50
  * @param taskName The name of the container registry task.
77
51
  * @param taskUpdateParameters The parameters for updating a task.
78
52
  * @param options The options parameters.
79
53
  */
80
- beginUpdate(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TasksUpdateResponse>, TasksUpdateResponse>>;
54
+ update(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
81
55
  /**
82
- * Updates a task with the specified parameters.
83
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
84
- * @param registryName The name of the container registry.
56
+ * Deletes a specified task.
57
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
+ * @param registryName The name of the Registry
85
59
  * @param taskName The name of the container registry task.
86
- * @param taskUpdateParameters The parameters for updating a task.
87
60
  * @param options The options parameters.
88
61
  */
89
- beginUpdateAndWait(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
62
+ delete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
90
63
  /**
91
64
  * Returns a task with extended information that includes all secrets.
92
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
93
- * @param registryName The name of the container registry.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param registryName The name of the Registry
94
67
  * @param taskName The name of the container registry task.
95
68
  * @param options The options parameters.
96
69
  */
97
70
  getDetails(resourceGroupName: string, registryName: string, taskName: string, options?: TasksGetDetailsOptionalParams): Promise<TasksGetDetailsResponse>;
98
71
  /**
99
72
  * ListNext
100
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
101
- * @param registryName The name of the container registry.
73
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
74
+ * @param registryName The name of the Registry
102
75
  * @param nextLink The nextLink from the previous successful call to the List method.
103
76
  * @param options The options parameters.
104
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/operations/tasks.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,IAAI,EAEJ,uBAAuB,EAEvB,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,yBAAyB,EACzB,mBAAmB,EACnB,6BAA6B,EAC7B,uBAAuB,EAExB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uBAAuB,GAChC,0BAA0B,CAAC,IAAI,CAAC;YAkBpB,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,gBAAgB,CAAC;IAO5B;;;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AsB,GAC/B,OAAO,CAAC,gBAAgB,CAAC;IAO5B;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,IAAI,EAC1B,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAa/B;;;;;;;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;IAa/B;;;;;;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;IAOhB;;;;;;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;IAOnC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -4,8 +4,6 @@ import { setContinuationToken } from "../pagingHelper.js";
4
4
  import * as coreClient from "@azure/core-client";
5
5
  import * as Mappers from "../models/mappers.js";
6
6
  import * as Parameters from "../models/parameters.js";
7
- import { createHttpPoller } from "@azure/core-lro";
8
- import { createLroSpec } from "../lroImpl.js";
9
7
  /// <reference lib="esnext.asynciterable" />
10
8
  /** Class containing Tasks operations. */
11
9
  export class TasksImpl {
@@ -19,8 +17,8 @@ export class TasksImpl {
19
17
  }
20
18
  /**
21
19
  * Lists all the tasks for a specified container registry.
22
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
23
- * @param registryName The name of the container registry.
20
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
+ * @param registryName The name of the Registry
24
22
  * @param options The options parameters.
25
23
  */
26
24
  list(resourceGroupName, registryName, options) {
@@ -65,8 +63,8 @@ export class TasksImpl {
65
63
  }
66
64
  /**
67
65
  * Lists all the tasks for a specified container registry.
68
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
69
- * @param registryName The name of the container registry.
66
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
+ * @param registryName The name of the Registry
70
68
  * @param options The options parameters.
71
69
  */
72
70
  _list(resourceGroupName, registryName, options) {
@@ -74,8 +72,8 @@ export class TasksImpl {
74
72
  }
75
73
  /**
76
74
  * Get the properties of a specified task.
77
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
78
- * @param registryName The name of the container registry.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param registryName The name of the Registry
79
77
  * @param taskName The name of the container registry task.
80
78
  * @param options The options parameters.
81
79
  */
@@ -84,198 +82,52 @@ export class TasksImpl {
84
82
  }
85
83
  /**
86
84
  * Creates a task for a container registry with the specified parameters.
87
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
88
- * @param registryName The name of the container registry.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param registryName The name of the Registry
89
87
  * @param taskName The name of the container registry task.
90
88
  * @param taskCreateParameters The parameters for creating a task.
91
89
  * @param options The options parameters.
92
90
  */
93
- async beginCreate(resourceGroupName, registryName, taskName, taskCreateParameters, options) {
94
- const directSendOperation = async (args, spec) => {
95
- return this.client.sendOperationRequest(args, spec);
96
- };
97
- const sendOperationFn = async (args, spec) => {
98
- let currentRawResponse = undefined;
99
- const providedCallback = args.options?.onResponse;
100
- const callback = (rawResponse, flatResponse) => {
101
- currentRawResponse = rawResponse;
102
- providedCallback?.(rawResponse, flatResponse);
103
- };
104
- const updatedArgs = {
105
- ...args,
106
- options: {
107
- ...args.options,
108
- onResponse: callback,
109
- },
110
- };
111
- const flatResponse = await directSendOperation(updatedArgs, spec);
112
- return {
113
- flatResponse,
114
- rawResponse: {
115
- statusCode: currentRawResponse.status,
116
- body: currentRawResponse.parsedBody,
117
- headers: currentRawResponse.headers.toJSON(),
118
- },
119
- };
120
- };
121
- const lro = createLroSpec({
122
- sendOperationFn,
123
- args: {
124
- resourceGroupName,
125
- registryName,
126
- taskName,
127
- taskCreateParameters,
128
- options,
129
- },
130
- spec: createOperationSpec,
131
- });
132
- const poller = await createHttpPoller(lro, {
133
- restoreFrom: options?.resumeFrom,
134
- intervalInMs: options?.updateIntervalInMs,
135
- });
136
- await poller.poll();
137
- return poller;
138
- }
139
- /**
140
- * Creates a task for a container registry with the specified parameters.
141
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
142
- * @param registryName The name of the container registry.
143
- * @param taskName The name of the container registry task.
144
- * @param taskCreateParameters The parameters for creating a task.
145
- * @param options The options parameters.
146
- */
147
- async beginCreateAndWait(resourceGroupName, registryName, taskName, taskCreateParameters, options) {
148
- const poller = await this.beginCreate(resourceGroupName, registryName, taskName, taskCreateParameters, options);
149
- return poller.pollUntilDone();
150
- }
151
- /**
152
- * Deletes a specified task.
153
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
154
- * @param registryName The name of the container registry.
155
- * @param taskName The name of the container registry task.
156
- * @param options The options parameters.
157
- */
158
- async beginDelete(resourceGroupName, registryName, taskName, options) {
159
- const directSendOperation = async (args, spec) => {
160
- return this.client.sendOperationRequest(args, spec);
161
- };
162
- const sendOperationFn = async (args, spec) => {
163
- let currentRawResponse = undefined;
164
- const providedCallback = args.options?.onResponse;
165
- const callback = (rawResponse, flatResponse) => {
166
- currentRawResponse = rawResponse;
167
- providedCallback?.(rawResponse, flatResponse);
168
- };
169
- const updatedArgs = {
170
- ...args,
171
- options: {
172
- ...args.options,
173
- onResponse: callback,
174
- },
175
- };
176
- const flatResponse = await directSendOperation(updatedArgs, spec);
177
- return {
178
- flatResponse,
179
- rawResponse: {
180
- statusCode: currentRawResponse.status,
181
- body: currentRawResponse.parsedBody,
182
- headers: currentRawResponse.headers.toJSON(),
183
- },
184
- };
185
- };
186
- const lro = createLroSpec({
187
- sendOperationFn,
188
- args: { resourceGroupName, registryName, taskName, options },
189
- spec: deleteOperationSpec,
190
- });
191
- const poller = await createHttpPoller(lro, {
192
- restoreFrom: options?.resumeFrom,
193
- intervalInMs: options?.updateIntervalInMs,
194
- });
195
- await poller.poll();
196
- return poller;
197
- }
198
- /**
199
- * Deletes a specified task.
200
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
201
- * @param registryName The name of the container registry.
202
- * @param taskName The name of the container registry task.
203
- * @param options The options parameters.
204
- */
205
- async beginDeleteAndWait(resourceGroupName, registryName, taskName, options) {
206
- const poller = await this.beginDelete(resourceGroupName, registryName, taskName, options);
207
- return poller.pollUntilDone();
91
+ create(resourceGroupName, registryName, taskName, taskCreateParameters, options) {
92
+ return this.client.sendOperationRequest({
93
+ resourceGroupName,
94
+ registryName,
95
+ taskName,
96
+ taskCreateParameters,
97
+ options,
98
+ }, createOperationSpec);
208
99
  }
209
100
  /**
210
101
  * Updates a task with the specified parameters.
211
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
212
- * @param registryName The name of the container registry.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param registryName The name of the Registry
213
104
  * @param taskName The name of the container registry task.
214
105
  * @param taskUpdateParameters The parameters for updating a task.
215
106
  * @param options The options parameters.
216
107
  */
217
- async beginUpdate(resourceGroupName, registryName, taskName, taskUpdateParameters, options) {
218
- const directSendOperation = async (args, spec) => {
219
- return this.client.sendOperationRequest(args, spec);
220
- };
221
- const sendOperationFn = async (args, spec) => {
222
- let currentRawResponse = undefined;
223
- const providedCallback = args.options?.onResponse;
224
- const callback = (rawResponse, flatResponse) => {
225
- currentRawResponse = rawResponse;
226
- providedCallback?.(rawResponse, flatResponse);
227
- };
228
- const updatedArgs = {
229
- ...args,
230
- options: {
231
- ...args.options,
232
- onResponse: callback,
233
- },
234
- };
235
- const flatResponse = await directSendOperation(updatedArgs, spec);
236
- return {
237
- flatResponse,
238
- rawResponse: {
239
- statusCode: currentRawResponse.status,
240
- body: currentRawResponse.parsedBody,
241
- headers: currentRawResponse.headers.toJSON(),
242
- },
243
- };
244
- };
245
- const lro = createLroSpec({
246
- sendOperationFn,
247
- args: {
248
- resourceGroupName,
249
- registryName,
250
- taskName,
251
- taskUpdateParameters,
252
- options,
253
- },
254
- spec: updateOperationSpec,
255
- });
256
- const poller = await createHttpPoller(lro, {
257
- restoreFrom: options?.resumeFrom,
258
- intervalInMs: options?.updateIntervalInMs,
259
- });
260
- await poller.poll();
261
- return poller;
108
+ update(resourceGroupName, registryName, taskName, taskUpdateParameters, options) {
109
+ return this.client.sendOperationRequest({
110
+ resourceGroupName,
111
+ registryName,
112
+ taskName,
113
+ taskUpdateParameters,
114
+ options,
115
+ }, updateOperationSpec);
262
116
  }
263
117
  /**
264
- * Updates a task with the specified parameters.
265
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
266
- * @param registryName The name of the container registry.
118
+ * Deletes a specified task.
119
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
+ * @param registryName The name of the Registry
267
121
  * @param taskName The name of the container registry task.
268
- * @param taskUpdateParameters The parameters for updating a task.
269
122
  * @param options The options parameters.
270
123
  */
271
- async beginUpdateAndWait(resourceGroupName, registryName, taskName, taskUpdateParameters, options) {
272
- const poller = await this.beginUpdate(resourceGroupName, registryName, taskName, taskUpdateParameters, options);
273
- return poller.pollUntilDone();
124
+ delete(resourceGroupName, registryName, taskName, options) {
125
+ return this.client.sendOperationRequest({ resourceGroupName, registryName, taskName, options }, deleteOperationSpec);
274
126
  }
275
127
  /**
276
128
  * Returns a task with extended information that includes all secrets.
277
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
278
- * @param registryName The name of the container registry.
129
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
+ * @param registryName The name of the Registry
279
131
  * @param taskName The name of the container registry task.
280
132
  * @param options The options parameters.
281
133
  */
@@ -284,8 +136,8 @@ export class TasksImpl {
284
136
  }
285
137
  /**
286
138
  * ListNext
287
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
288
- * @param registryName The name of the container registry.
139
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
140
+ * @param registryName The name of the Registry
289
141
  * @param nextLink The nextLink from the previous successful call to the List method.
290
142
  * @param options The options parameters.
291
143
  */
@@ -303,15 +155,15 @@ const listOperationSpec = {
303
155
  bodyMapper: Mappers.TaskListResult,
304
156
  },
305
157
  default: {
306
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
158
+ bodyMapper: Mappers.ErrorResponse,
307
159
  },
308
160
  },
309
161
  queryParameters: [Parameters.apiVersion1],
310
162
  urlParameters: [
311
163
  Parameters.$host,
312
164
  Parameters.subscriptionId,
165
+ Parameters.resourceGroupName,
313
166
  Parameters.registryName,
314
- Parameters.resourceGroupName1,
315
167
  ],
316
168
  headerParameters: [Parameters.accept],
317
169
  serializer,
@@ -324,15 +176,15 @@ const getOperationSpec = {
324
176
  bodyMapper: Mappers.Task,
325
177
  },
326
178
  default: {
327
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
179
+ bodyMapper: Mappers.ErrorResponse,
328
180
  },
329
181
  },
330
182
  queryParameters: [Parameters.apiVersion1],
331
183
  urlParameters: [
332
184
  Parameters.$host,
333
185
  Parameters.subscriptionId,
186
+ Parameters.resourceGroupName,
334
187
  Parameters.registryName,
335
- Parameters.resourceGroupName1,
336
188
  Parameters.taskName,
337
189
  ],
338
190
  headerParameters: [Parameters.accept],
@@ -348,14 +200,8 @@ const createOperationSpec = {
348
200
  201: {
349
201
  bodyMapper: Mappers.Task,
350
202
  },
351
- 202: {
352
- bodyMapper: Mappers.Task,
353
- },
354
- 204: {
355
- bodyMapper: Mappers.Task,
356
- },
357
203
  default: {
358
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
204
+ bodyMapper: Mappers.ErrorResponse,
359
205
  },
360
206
  },
361
207
  requestBody: Parameters.taskCreateParameters,
@@ -363,68 +209,57 @@ const createOperationSpec = {
363
209
  urlParameters: [
364
210
  Parameters.$host,
365
211
  Parameters.subscriptionId,
212
+ Parameters.resourceGroupName,
366
213
  Parameters.registryName,
367
- Parameters.resourceGroupName1,
368
214
  Parameters.taskName,
369
215
  ],
370
216
  headerParameters: [Parameters.accept, Parameters.contentType],
371
217
  mediaType: "json",
372
218
  serializer,
373
219
  };
374
- const deleteOperationSpec = {
220
+ const updateOperationSpec = {
375
221
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}",
376
- httpMethod: "DELETE",
222
+ httpMethod: "PATCH",
377
223
  responses: {
378
- 200: {},
379
- 201: {},
380
- 202: {},
381
- 204: {},
224
+ 200: {
225
+ bodyMapper: Mappers.Task,
226
+ },
382
227
  default: {
383
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
228
+ bodyMapper: Mappers.ErrorResponse,
384
229
  },
385
230
  },
231
+ requestBody: Parameters.taskUpdateParameters,
386
232
  queryParameters: [Parameters.apiVersion1],
387
233
  urlParameters: [
388
234
  Parameters.$host,
389
235
  Parameters.subscriptionId,
236
+ Parameters.resourceGroupName,
390
237
  Parameters.registryName,
391
- Parameters.resourceGroupName1,
392
238
  Parameters.taskName,
393
239
  ],
394
- headerParameters: [Parameters.accept],
240
+ headerParameters: [Parameters.accept, Parameters.contentType],
241
+ mediaType: "json",
395
242
  serializer,
396
243
  };
397
- const updateOperationSpec = {
244
+ const deleteOperationSpec = {
398
245
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}",
399
- httpMethod: "PATCH",
246
+ httpMethod: "DELETE",
400
247
  responses: {
401
- 200: {
402
- bodyMapper: Mappers.Task,
403
- },
404
- 201: {
405
- bodyMapper: Mappers.Task,
406
- },
407
- 202: {
408
- bodyMapper: Mappers.Task,
409
- },
410
- 204: {
411
- bodyMapper: Mappers.Task,
412
- },
248
+ 200: {},
249
+ 204: {},
413
250
  default: {
414
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
251
+ bodyMapper: Mappers.ErrorResponse,
415
252
  },
416
253
  },
417
- requestBody: Parameters.taskUpdateParameters,
418
254
  queryParameters: [Parameters.apiVersion1],
419
255
  urlParameters: [
420
256
  Parameters.$host,
421
257
  Parameters.subscriptionId,
258
+ Parameters.resourceGroupName,
422
259
  Parameters.registryName,
423
- Parameters.resourceGroupName1,
424
260
  Parameters.taskName,
425
261
  ],
426
- headerParameters: [Parameters.accept, Parameters.contentType],
427
- mediaType: "json",
262
+ headerParameters: [Parameters.accept],
428
263
  serializer,
429
264
  };
430
265
  const getDetailsOperationSpec = {
@@ -435,15 +270,15 @@ const getDetailsOperationSpec = {
435
270
  bodyMapper: Mappers.Task,
436
271
  },
437
272
  default: {
438
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
273
+ bodyMapper: Mappers.ErrorResponse,
439
274
  },
440
275
  },
441
276
  queryParameters: [Parameters.apiVersion1],
442
277
  urlParameters: [
443
278
  Parameters.$host,
444
279
  Parameters.subscriptionId,
280
+ Parameters.resourceGroupName,
445
281
  Parameters.registryName,
446
- Parameters.resourceGroupName1,
447
282
  Parameters.taskName,
448
283
  ],
449
284
  headerParameters: [Parameters.accept],
@@ -457,15 +292,15 @@ const listNextOperationSpec = {
457
292
  bodyMapper: Mappers.TaskListResult,
458
293
  },
459
294
  default: {
460
- bodyMapper: Mappers.ErrorResponseForContainerRegistry,
295
+ bodyMapper: Mappers.ErrorResponse,
461
296
  },
462
297
  },
463
298
  urlParameters: [
464
299
  Parameters.$host,
465
300
  Parameters.nextLink,
466
301
  Parameters.subscriptionId,
302
+ Parameters.resourceGroupName,
467
303
  Parameters.registryName,
468
- Parameters.resourceGroupName1,
469
304
  ],
470
305
  headerParameters: [Parameters.accept],
471
306
  serializer,