@azure/arm-containerregistry 11.0.0-alpha.20250421.1 → 11.0.0-alpha.20250423.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 (209) hide show
  1. package/CHANGELOG.md +266 -0
  2. package/LICENSE +1 -1
  3. package/README.md +3 -3
  4. package/dist/browser/containerRegistryManagementClient.d.ts +3 -0
  5. package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
  6. package/dist/browser/containerRegistryManagementClient.js +28 -1
  7. package/dist/browser/containerRegistryManagementClient.js.map +1 -1
  8. package/dist/browser/models/index.d.ts +55 -58
  9. package/dist/browser/models/index.d.ts.map +1 -1
  10. package/dist/browser/models/index.js +10 -2
  11. package/dist/browser/models/index.js.map +1 -1
  12. package/dist/browser/models/mappers.d.ts +5 -3
  13. package/dist/browser/models/mappers.d.ts.map +1 -1
  14. package/dist/browser/models/mappers.js +87 -83
  15. package/dist/browser/models/mappers.js.map +1 -1
  16. package/dist/browser/models/parameters.d.ts +0 -1
  17. package/dist/browser/models/parameters.d.ts.map +1 -1
  18. package/dist/browser/models/parameters.js +1 -12
  19. package/dist/browser/models/parameters.js.map +1 -1
  20. package/dist/browser/operations/agentPools.d.ts +3 -3
  21. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  22. package/dist/browser/operations/agentPools.js +28 -17
  23. package/dist/browser/operations/agentPools.js.map +1 -1
  24. package/dist/browser/operations/registries.d.ts +1 -9
  25. package/dist/browser/operations/registries.d.ts.map +1 -1
  26. package/dist/browser/operations/registries.js +6 -58
  27. package/dist/browser/operations/registries.js.map +1 -1
  28. package/dist/browser/operations/runs.d.ts +2 -20
  29. package/dist/browser/operations/runs.d.ts.map +1 -1
  30. package/dist/browser/operations/runs.js +15 -122
  31. package/dist/browser/operations/runs.js.map +1 -1
  32. package/dist/browser/operations/taskRuns.d.ts +1 -9
  33. package/dist/browser/operations/taskRuns.d.ts.map +1 -1
  34. package/dist/browser/operations/taskRuns.js +17 -60
  35. package/dist/browser/operations/taskRuns.js.map +1 -1
  36. package/dist/browser/operations/tasks.d.ts +3 -30
  37. package/dist/browser/operations/tasks.d.ts.map +1 -1
  38. package/dist/browser/operations/tasks.js +31 -181
  39. package/dist/browser/operations/tasks.js.map +1 -1
  40. package/dist/browser/operationsInterfaces/agentPools.d.ts +3 -3
  41. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  42. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  43. package/dist/browser/operationsInterfaces/registries.d.ts +1 -9
  44. package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
  45. package/dist/browser/operationsInterfaces/registries.js.map +1 -1
  46. package/dist/browser/operationsInterfaces/runs.d.ts +2 -20
  47. package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/runs.js.map +1 -1
  49. package/dist/browser/operationsInterfaces/taskRuns.d.ts +1 -9
  50. package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
  51. package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
  52. package/dist/browser/operationsInterfaces/tasks.d.ts +3 -30
  53. package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
  54. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  55. package/dist/commonjs/containerRegistryManagementClient.d.ts +3 -0
  56. package/dist/commonjs/containerRegistryManagementClient.d.ts.map +1 -1
  57. package/dist/commonjs/containerRegistryManagementClient.js +28 -1
  58. package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
  59. package/dist/commonjs/models/index.d.ts +55 -58
  60. package/dist/commonjs/models/index.d.ts.map +1 -1
  61. package/dist/commonjs/models/index.js +12 -4
  62. package/dist/commonjs/models/index.js.map +1 -1
  63. package/dist/commonjs/models/mappers.d.ts +5 -3
  64. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  65. package/dist/commonjs/models/mappers.js +90 -86
  66. package/dist/commonjs/models/mappers.js.map +1 -1
  67. package/dist/commonjs/models/parameters.d.ts +0 -1
  68. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  69. package/dist/commonjs/models/parameters.js +3 -14
  70. package/dist/commonjs/models/parameters.js.map +1 -1
  71. package/dist/commonjs/operations/agentPools.d.ts +3 -3
  72. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  73. package/dist/commonjs/operations/agentPools.js +28 -17
  74. package/dist/commonjs/operations/agentPools.js.map +1 -1
  75. package/dist/commonjs/operations/registries.d.ts +1 -9
  76. package/dist/commonjs/operations/registries.d.ts.map +1 -1
  77. package/dist/commonjs/operations/registries.js +6 -58
  78. package/dist/commonjs/operations/registries.js.map +1 -1
  79. package/dist/commonjs/operations/runs.d.ts +2 -20
  80. package/dist/commonjs/operations/runs.d.ts.map +1 -1
  81. package/dist/commonjs/operations/runs.js +15 -122
  82. package/dist/commonjs/operations/runs.js.map +1 -1
  83. package/dist/commonjs/operations/taskRuns.d.ts +1 -9
  84. package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
  85. package/dist/commonjs/operations/taskRuns.js +17 -60
  86. package/dist/commonjs/operations/taskRuns.js.map +1 -1
  87. package/dist/commonjs/operations/tasks.d.ts +3 -30
  88. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  89. package/dist/commonjs/operations/tasks.js +31 -181
  90. package/dist/commonjs/operations/tasks.js.map +1 -1
  91. package/dist/commonjs/operationsInterfaces/agentPools.d.ts +3 -3
  92. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  93. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  94. package/dist/commonjs/operationsInterfaces/registries.d.ts +1 -9
  95. package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
  96. package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
  97. package/dist/commonjs/operationsInterfaces/runs.d.ts +2 -20
  98. package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
  99. package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
  100. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +1 -9
  101. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
  102. package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
  103. package/dist/commonjs/operationsInterfaces/tasks.d.ts +3 -30
  104. package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
  105. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  106. package/dist/esm/containerRegistryManagementClient.d.ts +3 -0
  107. package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
  108. package/dist/esm/containerRegistryManagementClient.js +28 -1
  109. package/dist/esm/containerRegistryManagementClient.js.map +1 -1
  110. package/dist/esm/models/index.d.ts +55 -58
  111. package/dist/esm/models/index.d.ts.map +1 -1
  112. package/dist/esm/models/index.js +10 -2
  113. package/dist/esm/models/index.js.map +1 -1
  114. package/dist/esm/models/mappers.d.ts +5 -3
  115. package/dist/esm/models/mappers.d.ts.map +1 -1
  116. package/dist/esm/models/mappers.js +87 -83
  117. package/dist/esm/models/mappers.js.map +1 -1
  118. package/dist/esm/models/parameters.d.ts +0 -1
  119. package/dist/esm/models/parameters.d.ts.map +1 -1
  120. package/dist/esm/models/parameters.js +1 -12
  121. package/dist/esm/models/parameters.js.map +1 -1
  122. package/dist/esm/operations/agentPools.d.ts +3 -3
  123. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  124. package/dist/esm/operations/agentPools.js +28 -17
  125. package/dist/esm/operations/agentPools.js.map +1 -1
  126. package/dist/esm/operations/registries.d.ts +1 -9
  127. package/dist/esm/operations/registries.d.ts.map +1 -1
  128. package/dist/esm/operations/registries.js +6 -58
  129. package/dist/esm/operations/registries.js.map +1 -1
  130. package/dist/esm/operations/runs.d.ts +2 -20
  131. package/dist/esm/operations/runs.d.ts.map +1 -1
  132. package/dist/esm/operations/runs.js +15 -122
  133. package/dist/esm/operations/runs.js.map +1 -1
  134. package/dist/esm/operations/taskRuns.d.ts +1 -9
  135. package/dist/esm/operations/taskRuns.d.ts.map +1 -1
  136. package/dist/esm/operations/taskRuns.js +17 -60
  137. package/dist/esm/operations/taskRuns.js.map +1 -1
  138. package/dist/esm/operations/tasks.d.ts +3 -30
  139. package/dist/esm/operations/tasks.d.ts.map +1 -1
  140. package/dist/esm/operations/tasks.js +31 -181
  141. package/dist/esm/operations/tasks.js.map +1 -1
  142. package/dist/esm/operationsInterfaces/agentPools.d.ts +3 -3
  143. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  144. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  145. package/dist/esm/operationsInterfaces/registries.d.ts +1 -9
  146. package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
  147. package/dist/esm/operationsInterfaces/registries.js.map +1 -1
  148. package/dist/esm/operationsInterfaces/runs.d.ts +2 -20
  149. package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
  150. package/dist/esm/operationsInterfaces/runs.js.map +1 -1
  151. package/dist/esm/operationsInterfaces/taskRuns.d.ts +1 -9
  152. package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
  153. package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
  154. package/dist/esm/operationsInterfaces/tasks.d.ts +3 -30
  155. package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
  156. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  157. package/dist/react-native/containerRegistryManagementClient.d.ts +3 -0
  158. package/dist/react-native/containerRegistryManagementClient.d.ts.map +1 -1
  159. package/dist/react-native/containerRegistryManagementClient.js +28 -1
  160. package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
  161. package/dist/react-native/models/index.d.ts +55 -58
  162. package/dist/react-native/models/index.d.ts.map +1 -1
  163. package/dist/react-native/models/index.js +10 -2
  164. package/dist/react-native/models/index.js.map +1 -1
  165. package/dist/react-native/models/mappers.d.ts +5 -3
  166. package/dist/react-native/models/mappers.d.ts.map +1 -1
  167. package/dist/react-native/models/mappers.js +87 -83
  168. package/dist/react-native/models/mappers.js.map +1 -1
  169. package/dist/react-native/models/parameters.d.ts +0 -1
  170. package/dist/react-native/models/parameters.d.ts.map +1 -1
  171. package/dist/react-native/models/parameters.js +1 -12
  172. package/dist/react-native/models/parameters.js.map +1 -1
  173. package/dist/react-native/operations/agentPools.d.ts +3 -3
  174. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  175. package/dist/react-native/operations/agentPools.js +28 -17
  176. package/dist/react-native/operations/agentPools.js.map +1 -1
  177. package/dist/react-native/operations/registries.d.ts +1 -9
  178. package/dist/react-native/operations/registries.d.ts.map +1 -1
  179. package/dist/react-native/operations/registries.js +6 -58
  180. package/dist/react-native/operations/registries.js.map +1 -1
  181. package/dist/react-native/operations/runs.d.ts +2 -20
  182. package/dist/react-native/operations/runs.d.ts.map +1 -1
  183. package/dist/react-native/operations/runs.js +15 -122
  184. package/dist/react-native/operations/runs.js.map +1 -1
  185. package/dist/react-native/operations/taskRuns.d.ts +1 -9
  186. package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
  187. package/dist/react-native/operations/taskRuns.js +17 -60
  188. package/dist/react-native/operations/taskRuns.js.map +1 -1
  189. package/dist/react-native/operations/tasks.d.ts +3 -30
  190. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  191. package/dist/react-native/operations/tasks.js +31 -181
  192. package/dist/react-native/operations/tasks.js.map +1 -1
  193. package/dist/react-native/operationsInterfaces/agentPools.d.ts +3 -3
  194. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  195. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  196. package/dist/react-native/operationsInterfaces/registries.d.ts +1 -9
  197. package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
  198. package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
  199. package/dist/react-native/operationsInterfaces/runs.d.ts +2 -20
  200. package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
  201. package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
  202. package/dist/react-native/operationsInterfaces/taskRuns.d.ts +1 -9
  203. package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
  204. package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
  205. package/dist/react-native/operationsInterfaces/tasks.d.ts +3 -30
  206. package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
  207. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  208. package/package.json +7 -7
  209. package/review/arm-containerregistry.api.md +57 -50
package/CHANGELOG.md CHANGED
@@ -1,5 +1,271 @@
1
1
  # Release History
2
2
 
3
+ ## 11.0.0-beta.5 (2025-04-21)
4
+ Compared with version 10.1.0
5
+
6
+ ### Features Added
7
+
8
+ - Added operation group Archives
9
+ - Added operation group ArchiveVersions
10
+ - Added operation group CacheRules
11
+ - Added operation group ConnectedRegistries
12
+ - Added operation group CredentialSets
13
+ - Added operation group ExportPipelines
14
+ - Added operation group ImportPipelines
15
+ - Added operation group PipelineRuns
16
+ - Added operation Registries.scheduleRun
17
+ - Added operation Runs.cancel
18
+ - Added operation Runs.update
19
+ - Added operation TaskRuns.delete
20
+ - Added operation Tasks.create
21
+ - Added operation Tasks.delete
22
+ - Added operation Tasks.update
23
+ - Added Interface ActivationProperties
24
+ - Added Interface AgentPoolsCreateHeaders
25
+ - Added Interface AgentPoolsDeleteHeaders
26
+ - Added Interface AgentPoolsUpdateHeaders
27
+ - Added Interface Archive
28
+ - Added Interface ArchiveListResult
29
+ - Added Interface ArchivePackageSourceProperties
30
+ - Added Interface ArchiveProperties
31
+ - Added Interface ArchivesCreateHeaders
32
+ - Added Interface ArchivesCreateOptionalParams
33
+ - Added Interface ArchivesDeleteHeaders
34
+ - Added Interface ArchivesDeleteOptionalParams
35
+ - Added Interface ArchivesGetOptionalParams
36
+ - Added Interface ArchivesListNextOptionalParams
37
+ - Added Interface ArchivesListOptionalParams
38
+ - Added Interface ArchivesUpdateOptionalParams
39
+ - Added Interface ArchiveUpdateParameters
40
+ - Added Interface ArchiveVersion
41
+ - Added Interface ArchiveVersionListResult
42
+ - Added Interface ArchiveVersionsCreateHeaders
43
+ - Added Interface ArchiveVersionsCreateOptionalParams
44
+ - Added Interface ArchiveVersionsDeleteHeaders
45
+ - Added Interface ArchiveVersionsDeleteOptionalParams
46
+ - Added Interface ArchiveVersionsGetOptionalParams
47
+ - Added Interface ArchiveVersionsListNextOptionalParams
48
+ - Added Interface ArchiveVersionsListOptionalParams
49
+ - Added Interface AuthCredential
50
+ - Added Interface AzureADAuthenticationAsArmPolicy
51
+ - Added Interface CacheRule
52
+ - Added Interface CacheRulesCreateHeaders
53
+ - Added Interface CacheRulesCreateOptionalParams
54
+ - Added Interface CacheRulesDeleteHeaders
55
+ - Added Interface CacheRulesDeleteOptionalParams
56
+ - Added Interface CacheRulesGetOptionalParams
57
+ - Added Interface CacheRulesListNextOptionalParams
58
+ - Added Interface CacheRulesListOptionalParams
59
+ - Added Interface CacheRulesListResult
60
+ - Added Interface CacheRulesUpdateHeaders
61
+ - Added Interface CacheRulesUpdateOptionalParams
62
+ - Added Interface CacheRuleUpdateParameters
63
+ - Added Interface ConnectedRegistriesCreateHeaders
64
+ - Added Interface ConnectedRegistriesCreateOptionalParams
65
+ - Added Interface ConnectedRegistriesDeactivateHeaders
66
+ - Added Interface ConnectedRegistriesDeactivateOptionalParams
67
+ - Added Interface ConnectedRegistriesDeleteHeaders
68
+ - Added Interface ConnectedRegistriesDeleteOptionalParams
69
+ - Added Interface ConnectedRegistriesGetOptionalParams
70
+ - Added Interface ConnectedRegistriesListNextOptionalParams
71
+ - Added Interface ConnectedRegistriesListOptionalParams
72
+ - Added Interface ConnectedRegistriesUpdateHeaders
73
+ - Added Interface ConnectedRegistriesUpdateOptionalParams
74
+ - Added Interface ConnectedRegistry
75
+ - Added Interface ConnectedRegistryListResult
76
+ - Added Interface ConnectedRegistryUpdateParameters
77
+ - Added Interface CredentialHealth
78
+ - Added Interface CredentialSet
79
+ - Added Interface CredentialSetListResult
80
+ - Added Interface CredentialSetsCreateHeaders
81
+ - Added Interface CredentialSetsCreateOptionalParams
82
+ - Added Interface CredentialSetsDeleteHeaders
83
+ - Added Interface CredentialSetsDeleteOptionalParams
84
+ - Added Interface CredentialSetsGetOptionalParams
85
+ - Added Interface CredentialSetsListNextOptionalParams
86
+ - Added Interface CredentialSetsListOptionalParams
87
+ - Added Interface CredentialSetsUpdateHeaders
88
+ - Added Interface CredentialSetsUpdateOptionalParams
89
+ - Added Interface CredentialSetUpdateParameters
90
+ - Added Interface DebianArchivePackageSourceProperties
91
+ - Added Interface DebianArchiveProperties
92
+ - Added Interface ErrorAdditionalInfo
93
+ - Added Interface ErrorDetail
94
+ - Added Interface ExportPipeline
95
+ - Added Interface ExportPipelineListResult
96
+ - Added Interface ExportPipelinesCreateHeaders
97
+ - Added Interface ExportPipelinesCreateOptionalParams
98
+ - Added Interface ExportPipelinesDeleteHeaders
99
+ - Added Interface ExportPipelinesDeleteOptionalParams
100
+ - Added Interface ExportPipelinesGetOptionalParams
101
+ - Added Interface ExportPipelinesListNextOptionalParams
102
+ - Added Interface ExportPipelinesListOptionalParams
103
+ - Added Interface ExportPipelineTargetProperties
104
+ - Added Interface GarbageCollectionProperties
105
+ - Added Interface ImportPipeline
106
+ - Added Interface ImportPipelineListResult
107
+ - Added Interface ImportPipelinesCreateHeaders
108
+ - Added Interface ImportPipelinesCreateOptionalParams
109
+ - Added Interface ImportPipelinesDeleteHeaders
110
+ - Added Interface ImportPipelinesDeleteOptionalParams
111
+ - Added Interface ImportPipelinesGetOptionalParams
112
+ - Added Interface ImportPipelinesListNextOptionalParams
113
+ - Added Interface ImportPipelinesListOptionalParams
114
+ - Added Interface ImportPipelineSourceProperties
115
+ - Added Interface LoggingProperties
116
+ - Added Interface LoginServerProperties
117
+ - Added Interface ParentProperties
118
+ - Added Interface PipelineRun
119
+ - Added Interface PipelineRunListResult
120
+ - Added Interface PipelineRunRequest
121
+ - Added Interface PipelineRunResponse
122
+ - Added Interface PipelineRunsCreateHeaders
123
+ - Added Interface PipelineRunsCreateOptionalParams
124
+ - Added Interface PipelineRunsDeleteHeaders
125
+ - Added Interface PipelineRunsDeleteOptionalParams
126
+ - Added Interface PipelineRunsGetOptionalParams
127
+ - Added Interface PipelineRunsListNextOptionalParams
128
+ - Added Interface PipelineRunsListOptionalParams
129
+ - Added Interface PipelineRunSourceProperties
130
+ - Added Interface PipelineRunTargetProperties
131
+ - Added Interface PipelineSourceTriggerDescriptor
132
+ - Added Interface PipelineSourceTriggerProperties
133
+ - Added Interface PipelineTriggerDescriptor
134
+ - Added Interface PipelineTriggerProperties
135
+ - Added Interface ProgressProperties
136
+ - Added Interface SoftDeletePolicy
137
+ - Added Interface StatusDetailProperties
138
+ - Added Interface SyncProperties
139
+ - Added Interface SyncUpdateProperties
140
+ - Added Interface TaskRunsCreateHeaders
141
+ - Added Interface TaskRunsUpdateHeaders
142
+ - Added Interface TlsCertificateProperties
143
+ - Added Interface TlsProperties
144
+ - Added Type Alias ActivationStatus
145
+ - Added Type Alias AgentPoolsDeleteResponse
146
+ - Added Type Alias ArchivesCreateResponse
147
+ - Added Type Alias ArchivesDeleteResponse
148
+ - Added Type Alias ArchivesGetResponse
149
+ - Added Type Alias ArchivesListNextResponse
150
+ - Added Type Alias ArchivesListResponse
151
+ - Added Type Alias ArchivesUpdateResponse
152
+ - Added Type Alias ArchiveVersionsCreateResponse
153
+ - Added Type Alias ArchiveVersionsDeleteResponse
154
+ - Added Type Alias ArchiveVersionsGetResponse
155
+ - Added Type Alias ArchiveVersionsListNextResponse
156
+ - Added Type Alias ArchiveVersionsListResponse
157
+ - Added Type Alias AuditLogStatus
158
+ - Added Type Alias AutoGeneratedDomainNameLabelScope
159
+ - Added Type Alias AzureADAuthenticationAsArmPolicyStatus
160
+ - Added Type Alias CacheRulesCreateResponse
161
+ - Added Type Alias CacheRulesDeleteResponse
162
+ - Added Type Alias CacheRulesGetResponse
163
+ - Added Type Alias CacheRulesListNextResponse
164
+ - Added Type Alias CacheRulesListResponse
165
+ - Added Type Alias CacheRulesUpdateResponse
166
+ - Added Type Alias CertificateType
167
+ - Added Type Alias ConnectedRegistriesCreateResponse
168
+ - Added Type Alias ConnectedRegistriesGetResponse
169
+ - Added Type Alias ConnectedRegistriesListNextResponse
170
+ - Added Type Alias ConnectedRegistriesListResponse
171
+ - Added Type Alias ConnectedRegistriesUpdateResponse
172
+ - Added Type Alias ConnectedRegistryMode
173
+ - Added Type Alias ConnectionState
174
+ - Added Type Alias CredentialHealthStatus
175
+ - Added Type Alias CredentialName
176
+ - Added Type Alias CredentialSetsCreateResponse
177
+ - Added Type Alias CredentialSetsDeleteResponse
178
+ - Added Type Alias CredentialSetsGetResponse
179
+ - Added Type Alias CredentialSetsListNextResponse
180
+ - Added Type Alias CredentialSetsListResponse
181
+ - Added Type Alias CredentialSetsUpdateResponse
182
+ - Added Type Alias ExportPipelinesCreateResponse
183
+ - Added Type Alias ExportPipelinesGetResponse
184
+ - Added Type Alias ExportPipelinesListNextResponse
185
+ - Added Type Alias ExportPipelinesListResponse
186
+ - Added Type Alias ImportPipelinesCreateResponse
187
+ - Added Type Alias ImportPipelinesGetResponse
188
+ - Added Type Alias ImportPipelinesListNextResponse
189
+ - Added Type Alias ImportPipelinesListResponse
190
+ - Added Type Alias LogLevel
191
+ - Added Type Alias MetadataSearch
192
+ - Added Type Alias PackageSourceType
193
+ - Added Type Alias PipelineOptions
194
+ - Added Type Alias PipelineRunsCreateResponse
195
+ - Added Type Alias PipelineRunsGetResponse
196
+ - Added Type Alias PipelineRunsListNextResponse
197
+ - Added Type Alias PipelineRunsListResponse
198
+ - Added Type Alias PipelineRunSourceType
199
+ - Added Type Alias PipelineRunTargetType
200
+ - Added Type Alias PipelineSourceType
201
+ - Added Type Alias RoleAssignmentMode
202
+ - Added Type Alias TlsStatus
203
+ - Interface ContainerRegistryManagementClientOptionalParams has a new optional parameter apiVersion
204
+ - Interface Policies has a new optional parameter azureADAuthenticationAsArmPolicy
205
+ - Interface Policies has a new optional parameter softDeletePolicy
206
+ - Interface Registry has a new optional parameter anonymousPullEnabled
207
+ - Interface Registry has a new optional parameter autoGeneratedDomainNameLabelScope
208
+ - Interface Registry has a new optional parameter metadataSearch
209
+ - Interface Registry has a new optional parameter roleAssignmentMode
210
+ - Interface RegistryNameCheckRequest has a new optional parameter autoGeneratedDomainNameLabelScope
211
+ - Interface RegistryNameCheckRequest has a new optional parameter resourceGroupName
212
+ - Interface RegistryNameStatus has a new optional parameter availableLoginServerName
213
+ - Interface RegistryUpdateParameters has a new optional parameter anonymousPullEnabled
214
+ - Interface RegistryUpdateParameters has a new optional parameter metadataSearch
215
+ - Interface RegistryUpdateParameters has a new optional parameter roleAssignmentMode
216
+ - Interface SourceRegistryCredentials has a new optional parameter identity
217
+ - Added Enum KnownActivationStatus
218
+ - Added Enum KnownAuditLogStatus
219
+ - Added Enum KnownAutoGeneratedDomainNameLabelScope
220
+ - Added Enum KnownAzureADAuthenticationAsArmPolicyStatus
221
+ - Added Enum KnownCertificateType
222
+ - Added Enum KnownConnectedRegistryMode
223
+ - Added Enum KnownConnectionState
224
+ - Added Enum KnownCredentialHealthStatus
225
+ - Added Enum KnownCredentialName
226
+ - Added Enum KnownLogLevel
227
+ - Added Enum KnownMetadataSearch
228
+ - Added Enum KnownPackageSourceType
229
+ - Added Enum KnownPipelineOptions
230
+ - Added Enum KnownPipelineRunSourceType
231
+ - Added Enum KnownPipelineRunTargetType
232
+ - Added Enum KnownPipelineSourceType
233
+ - Added Enum KnownRoleAssignmentMode
234
+ - Added Enum KnownTlsStatus
235
+
236
+ ### Breaking Changes
237
+
238
+ - Removed operation Registries.beginScheduleRun
239
+ - Removed operation Registries.beginScheduleRunAndWait
240
+ - Removed operation Runs.beginCancel
241
+ - Removed operation Runs.beginCancelAndWait
242
+ - Removed operation Runs.beginUpdate
243
+ - Removed operation Runs.beginUpdateAndWait
244
+ - Removed operation TaskRuns.beginDelete
245
+ - Removed operation TaskRuns.beginDeleteAndWait
246
+ - Removed operation Tasks.beginCreate
247
+ - Removed operation Tasks.beginCreateAndWait
248
+ - Removed operation Tasks.beginDelete
249
+ - Removed operation Tasks.beginDeleteAndWait
250
+ - Removed operation Tasks.beginUpdate
251
+ - Removed operation Tasks.beginUpdateAndWait
252
+ - Interface RegistriesScheduleRunOptionalParams no longer has parameter resumeFrom
253
+ - Interface RegistriesScheduleRunOptionalParams no longer has parameter updateIntervalInMs
254
+ - Interface RunsCancelOptionalParams no longer has parameter resumeFrom
255
+ - Interface RunsCancelOptionalParams no longer has parameter updateIntervalInMs
256
+ - Interface RunsUpdateOptionalParams no longer has parameter resumeFrom
257
+ - Interface RunsUpdateOptionalParams no longer has parameter updateIntervalInMs
258
+ - Interface TaskRunsDeleteOptionalParams no longer has parameter resumeFrom
259
+ - Interface TaskRunsDeleteOptionalParams no longer has parameter updateIntervalInMs
260
+ - Interface TasksCreateOptionalParams no longer has parameter resumeFrom
261
+ - Interface TasksCreateOptionalParams no longer has parameter updateIntervalInMs
262
+ - Interface TasksDeleteOptionalParams no longer has parameter resumeFrom
263
+ - Interface TasksDeleteOptionalParams no longer has parameter updateIntervalInMs
264
+ - Interface TasksUpdateOptionalParams no longer has parameter resumeFrom
265
+ - Interface TasksUpdateOptionalParams no longer has parameter updateIntervalInMs
266
+ - Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail
267
+
268
+
3
269
  ## 11.0.0-beta.4 (2025-02-14)
4
270
  Compared with version 10.1.0
5
271
 
package/LICENSE CHANGED
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -66,13 +66,12 @@ import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry"
66
66
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
67
67
  const credential = new InteractiveBrowserCredential({
68
68
  tenantId: "<YOUR_TENANT_ID>",
69
- clientId: "<YOUR_CLIENT_ID>",
70
- });
69
+ clientId: "<YOUR_CLIENT_ID>"
70
+ });
71
71
  const client = new ContainerRegistryManagementClient(credential, subscriptionId);
72
72
  ```
73
73
 
74
74
  ### JavaScript Bundle
75
-
76
75
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
77
76
 
78
77
  ## Key concepts
@@ -107,6 +106,7 @@ If you'd like to contribute to this library, please read the [contributing guide
107
106
 
108
107
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
109
108
 
109
+
110
110
  [azure_cli]: https://learn.microsoft.com/cli/azure
111
111
  [azure_sub]: https://azure.microsoft.com/free/
112
112
  [azure_sub]: https://azure.microsoft.com/free/
@@ -4,6 +4,7 @@ import { Archives, ArchiveVersions, CacheRules, ConnectedRegistries, CredentialS
4
4
  import { ContainerRegistryManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class ContainerRegistryManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
+ apiVersion: string;
7
8
  subscriptionId: string;
8
9
  /**
9
10
  * Initializes a new instance of the ContainerRegistryManagementClient class.
@@ -12,6 +13,8 @@ export declare class ContainerRegistryManagementClient extends coreClient.Servic
12
13
  * @param options The parameter options
13
14
  */
14
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerRegistryManagementClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
15
18
  archives: Archives;
16
19
  archiveVersions: ArchiveVersions;
17
20
  cacheRules: CacheRules;
@@ -1 +1 @@
1
- {"version":3,"file":"containerRegistryManagementClient.d.ts","sourceRoot":"","sources":["../../src/containerRegistryManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAsB7C,OAAO,EACL,QAAQ,EACR,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,EACV,YAAY,EACZ,0BAA0B,EAC1B,YAAY,EACZ,SAAS,EACT,MAAM,EACN,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,KAAK,EACN,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,+CAA+C,EAAE,MAAM,mBAAmB,CAAC;AAEpF,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;IA6F3D,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,cAAc,EAAE,cAAc,CAAC;IAC/B,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;CACd"}
1
+ {"version":3,"file":"containerRegistryManagementClient.d.ts","sourceRoot":"","sources":["../../src/containerRegistryManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAsB7C,OAAO,EACL,QAAQ,EACR,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,EACV,YAAY,EACZ,0BAA0B,EAC1B,YAAY,EACZ,SAAS,EACT,MAAM,EACN,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,KAAK,EACN,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,+CAA+C,EAAE,MAAM,mBAAmB,CAAC;AAEpF,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;IA+F3D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,cAAc,EAAE,cAAc,CAAC;IAC/B,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;CACd"}
@@ -31,7 +31,7 @@ export class ContainerRegistryManagementClient extends coreClient.ServiceClient
31
31
  requestContentType: "application/json; charset=utf-8",
32
32
  credential: credentials,
33
33
  };
34
- const packageDetails = `azsdk-js-arm-containerregistry/11.0.0-beta.4`;
34
+ const packageDetails = `azsdk-js-arm-containerregistry/11.0.0-beta.5`;
35
35
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
36
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
37
  : `${packageDetails}`;
@@ -64,6 +64,7 @@ export class ContainerRegistryManagementClient extends coreClient.ServiceClient
64
64
  this.subscriptionId = subscriptionId;
65
65
  // Assigning values to Constant parameters
66
66
  this.$host = options.$host || "https://management.azure.com";
67
+ this.apiVersion = options.apiVersion || "2025-03-01-preview";
67
68
  this.archives = new ArchivesImpl(this);
68
69
  this.archiveVersions = new ArchiveVersionsImpl(this);
69
70
  this.cacheRules = new CacheRulesImpl(this);
@@ -83,6 +84,32 @@ export class ContainerRegistryManagementClient extends coreClient.ServiceClient
83
84
  this.runs = new RunsImpl(this);
84
85
  this.taskRuns = new TaskRunsImpl(this);
85
86
  this.tasks = new TasksImpl(this);
87
+ this.addCustomApiVersionPolicy(options.apiVersion);
88
+ }
89
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
90
+ addCustomApiVersionPolicy(apiVersion) {
91
+ if (!apiVersion) {
92
+ return;
93
+ }
94
+ const apiVersionPolicy = {
95
+ name: "CustomApiVersionPolicy",
96
+ async sendRequest(request, next) {
97
+ const param = request.url.split("?");
98
+ if (param.length > 1) {
99
+ const newParams = param[1].split("&").map((item) => {
100
+ if (item.indexOf("api-version") > -1) {
101
+ return "api-version=" + apiVersion;
102
+ }
103
+ else {
104
+ return item;
105
+ }
106
+ });
107
+ request.url = param[0] + "?" + newParams.join("&");
108
+ }
109
+ return next(request);
110
+ },
111
+ };
112
+ this.pipeline.addPolicy(apiVersionPolicy);
86
113
  }
87
114
  }
88
115
  //# sourceMappingURL=containerRegistryManagementClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"containerRegistryManagementClient.js","sourceRoot":"","sources":["../../src/containerRegistryManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,8BAA8B,EAC9B,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,SAAS,GACV,MAAM,uBAAuB,CAAC;AAwB/B,MAAM,OAAO,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAI7E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAoD;YAChE,kBAAkB,EAAE,iCAAiC;YAC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a,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;CAqBF","sourcesContent":["/*\n * 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 */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ArchivesImpl,\n ArchiveVersionsImpl,\n CacheRulesImpl,\n ConnectedRegistriesImpl,\n CredentialSetsImpl,\n ExportPipelinesImpl,\n RegistriesImpl,\n ImportPipelinesImpl,\n OperationsImpl,\n PipelineRunsImpl,\n PrivateEndpointConnectionsImpl,\n ReplicationsImpl,\n ScopeMapsImpl,\n TokensImpl,\n WebhooksImpl,\n AgentPoolsImpl,\n RunsImpl,\n TaskRunsImpl,\n TasksImpl,\n} from \"./operations/index.js\";\nimport {\n Archives,\n ArchiveVersions,\n CacheRules,\n ConnectedRegistries,\n CredentialSets,\n ExportPipelines,\n Registries,\n ImportPipelines,\n Operations,\n PipelineRuns,\n PrivateEndpointConnections,\n Replications,\n ScopeMaps,\n Tokens,\n Webhooks,\n AgentPools,\n Runs,\n TaskRuns,\n Tasks,\n} from \"./operationsInterfaces/index.js\";\nimport { 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-beta.4`;\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:\n 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 ===\n 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 ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n 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.archives = new ArchivesImpl(this);\n this.archiveVersions = new ArchiveVersionsImpl(this);\n this.cacheRules = new CacheRulesImpl(this);\n this.connectedRegistries = new ConnectedRegistriesImpl(this);\n this.credentialSets = new CredentialSetsImpl(this);\n this.exportPipelines = new ExportPipelinesImpl(this);\n this.registries = new RegistriesImpl(this);\n this.importPipelines = new ImportPipelinesImpl(this);\n this.operations = new OperationsImpl(this);\n this.pipelineRuns = new PipelineRunsImpl(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 archives: Archives;\n archiveVersions: ArchiveVersions;\n cacheRules: CacheRules;\n connectedRegistries: ConnectedRegistries;\n credentialSets: CredentialSets;\n exportPipelines: ExportPipelines;\n registries: Registries;\n importPipelines: ImportPipelines;\n operations: Operations;\n pipelineRuns: PipelineRuns;\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;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,M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C,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAqBF","sourcesContent":["/*\n * 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 */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ArchivesImpl,\n ArchiveVersionsImpl,\n CacheRulesImpl,\n ConnectedRegistriesImpl,\n CredentialSetsImpl,\n ExportPipelinesImpl,\n RegistriesImpl,\n ImportPipelinesImpl,\n OperationsImpl,\n PipelineRunsImpl,\n PrivateEndpointConnectionsImpl,\n ReplicationsImpl,\n ScopeMapsImpl,\n TokensImpl,\n WebhooksImpl,\n AgentPoolsImpl,\n RunsImpl,\n TaskRunsImpl,\n TasksImpl,\n} from \"./operations/index.js\";\nimport {\n Archives,\n ArchiveVersions,\n CacheRules,\n ConnectedRegistries,\n CredentialSets,\n ExportPipelines,\n Registries,\n ImportPipelines,\n Operations,\n PipelineRuns,\n PrivateEndpointConnections,\n Replications,\n ScopeMaps,\n Tokens,\n Webhooks,\n AgentPools,\n Runs,\n TaskRuns,\n Tasks,\n} from \"./operationsInterfaces/index.js\";\nimport { ContainerRegistryManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerRegistryManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: 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-beta.5`;\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:\n 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 ===\n 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 ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n 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.apiVersion = options.apiVersion || \"2025-03-01-preview\";\n this.archives = new ArchivesImpl(this);\n this.archiveVersions = new ArchiveVersionsImpl(this);\n this.cacheRules = new CacheRulesImpl(this);\n this.connectedRegistries = new ConnectedRegistriesImpl(this);\n this.credentialSets = new CredentialSetsImpl(this);\n this.exportPipelines = new ExportPipelinesImpl(this);\n this.registries = new RegistriesImpl(this);\n this.importPipelines = new ImportPipelinesImpl(this);\n this.operations = new OperationsImpl(this);\n this.pipelineRuns = new PipelineRunsImpl(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 this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n archives: Archives;\n archiveVersions: ArchiveVersions;\n cacheRules: CacheRules;\n connectedRegistries: ConnectedRegistries;\n credentialSets: CredentialSets;\n exportPipelines: ExportPipelines;\n registries: Registries;\n importPipelines: ImportPipelines;\n operations: Operations;\n pipelineRuns: PipelineRuns;\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"]}
@@ -814,6 +814,8 @@ export interface RegistryUpdateParameters {
814
814
  anonymousPullEnabled?: boolean;
815
815
  /** Determines whether registry artifacts are indexed for metadata search. */
816
816
  metadataSearch?: MetadataSearch;
817
+ /** Determines registry role assignment mode. */
818
+ roleAssignmentMode?: RoleAssignmentMode;
817
819
  }
818
820
  /** The result of a request to get container registry quota usages. */
819
821
  export interface RegistryUsageListResult {
@@ -1131,31 +1133,6 @@ export interface CallbackConfig {
1131
1133
  [propertyName: string]: string;
1132
1134
  };
1133
1135
  }
1134
- /** An error response from the Azure Container Registry service. */
1135
- export interface ErrorResponseForContainerRegistry {
1136
- /** Azure container registry build API error body. */
1137
- error?: ErrorResponseBody;
1138
- }
1139
- /** An error response from the Azure Container Registry service. */
1140
- export interface ErrorResponseBody {
1141
- /** error code. */
1142
- code: string;
1143
- /** error message. */
1144
- message: string;
1145
- /** target of the particular error. */
1146
- target?: string;
1147
- /** an array of additional nested error response info objects, as described by this contract. */
1148
- details?: InnerErrorDescription[];
1149
- }
1150
- /** inner error. */
1151
- export interface InnerErrorDescription {
1152
- /** error code. */
1153
- code: string;
1154
- /** error message. */
1155
- message: string;
1156
- /** target of the particular error. */
1157
- target?: string;
1158
- }
1159
1136
  /** The parameters for updating an agent pool. */
1160
1137
  export interface AgentPoolUpdateParameters {
1161
1138
  /** The ARM resource tags. */
@@ -1411,6 +1388,12 @@ export interface Credentials {
1411
1388
  }
1412
1389
  /** Describes the credential parameters for accessing the source registry. */
1413
1390
  export interface SourceRegistryCredentials {
1391
+ /**
1392
+ * The Entra identity used for source registry login.
1393
+ * The value is `[system]` for system-assigned managed identity, `[caller]` for caller identity,
1394
+ * and client ID for user-assigned managed identity.
1395
+ */
1396
+ identity?: string;
1414
1397
  /**
1415
1398
  * The authentication mode which determines the source registry login scope. The credentials for the source registry
1416
1399
  * will be generated using the given scope. These credentials will be used to login to
@@ -2014,6 +1997,8 @@ export interface Registry extends Resource {
2014
1997
  metadataSearch?: MetadataSearch;
2015
1998
  /** Determines the domain name label reuse scope. */
2016
1999
  autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
2000
+ /** Determines registry role assignment mode. */
2001
+ roleAssignmentMode?: RoleAssignmentMode;
2017
2002
  }
2018
2003
  /** An object that represents a replication for a container registry. */
2019
2004
  export interface Replication extends Resource {
@@ -2431,6 +2416,26 @@ export interface WebhooksDeleteHeaders {
2431
2416
  export interface WebhooksUpdateHeaders {
2432
2417
  azureAsyncOperation?: string;
2433
2418
  }
2419
+ /** Defines headers for AgentPools_create operation. */
2420
+ export interface AgentPoolsCreateHeaders {
2421
+ azureAsyncOperation?: string;
2422
+ }
2423
+ /** Defines headers for AgentPools_delete operation. */
2424
+ export interface AgentPoolsDeleteHeaders {
2425
+ location?: string;
2426
+ }
2427
+ /** Defines headers for AgentPools_update operation. */
2428
+ export interface AgentPoolsUpdateHeaders {
2429
+ azureAsyncOperation?: string;
2430
+ }
2431
+ /** Defines headers for TaskRuns_create operation. */
2432
+ export interface TaskRunsCreateHeaders {
2433
+ azureAsyncOperation?: string;
2434
+ }
2435
+ /** Defines headers for TaskRuns_update operation. */
2436
+ export interface TaskRunsUpdateHeaders {
2437
+ azureAsyncOperation?: string;
2438
+ }
2434
2439
  /** Known values of {@link PackageSourceType} that the service accepts. */
2435
2440
  export declare enum KnownPackageSourceType {
2436
2441
  /** Remote */
@@ -2728,18 +2733,18 @@ export declare enum KnownPipelineSourceType {
2728
2733
  export type PipelineSourceType = string;
2729
2734
  /** Known values of {@link TriggerStatus} that the service accepts. */
2730
2735
  export declare enum KnownTriggerStatus {
2731
- /** Disabled */
2732
- Disabled = "Disabled",
2733
2736
  /** Enabled */
2734
- Enabled = "Enabled"
2737
+ Enabled = "Enabled",
2738
+ /** Disabled */
2739
+ Disabled = "Disabled"
2735
2740
  }
2736
2741
  /**
2737
2742
  * Defines values for TriggerStatus. \
2738
2743
  * {@link KnownTriggerStatus} can be used interchangeably with TriggerStatus,
2739
2744
  * this enum contains the known values that the service supports.
2740
2745
  * ### Known values supported by the service
2741
- * **Disabled** \
2742
- * **Enabled**
2746
+ * **Enabled** \
2747
+ * **Disabled**
2743
2748
  */
2744
2749
  export type TriggerStatus = string;
2745
2750
  /** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
@@ -3045,6 +3050,22 @@ export declare enum KnownMetadataSearch {
3045
3050
  * **Disabled**
3046
3051
  */
3047
3052
  export type MetadataSearch = string;
3053
+ /** Known values of {@link RoleAssignmentMode} that the service accepts. */
3054
+ export declare enum KnownRoleAssignmentMode {
3055
+ /** AbacRepositoryPermissions */
3056
+ AbacRepositoryPermissions = "AbacRepositoryPermissions",
3057
+ /** LegacyRegistryPermissions */
3058
+ LegacyRegistryPermissions = "LegacyRegistryPermissions"
3059
+ }
3060
+ /**
3061
+ * Defines values for RoleAssignmentMode. \
3062
+ * {@link KnownRoleAssignmentMode} can be used interchangeably with RoleAssignmentMode,
3063
+ * this enum contains the known values that the service supports.
3064
+ * ### Known values supported by the service
3065
+ * **AbacRepositoryPermissions** \
3066
+ * **LegacyRegistryPermissions**
3067
+ */
3068
+ export type RoleAssignmentMode = string;
3048
3069
  /** Known values of {@link RegistryUsageUnit} that the service accepts. */
3049
3070
  export declare enum KnownRegistryUsageUnit {
3050
3071
  /** Count */
@@ -3756,10 +3777,6 @@ export interface RegistriesGenerateCredentialsOptionalParams extends coreClient.
3756
3777
  export type RegistriesGenerateCredentialsResponse = GenerateCredentialsResult;
3757
3778
  /** Optional parameters. */
3758
3779
  export interface RegistriesScheduleRunOptionalParams extends coreClient.OperationOptions {
3759
- /** Delay to wait until next poll, in milliseconds. */
3760
- updateIntervalInMs?: number;
3761
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3762
- resumeFrom?: string;
3763
3780
  }
3764
3781
  /** Contains response data for the scheduleRun operation. */
3765
3782
  export type RegistriesScheduleRunResponse = Run;
@@ -4087,6 +4104,8 @@ export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOpti
4087
4104
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4088
4105
  resumeFrom?: string;
4089
4106
  }
4107
+ /** Contains response data for the delete operation. */
4108
+ export type AgentPoolsDeleteResponse = AgentPoolsDeleteHeaders;
4090
4109
  /** Optional parameters. */
4091
4110
  export interface AgentPoolsUpdateOptionalParams extends coreClient.OperationOptions {
4092
4111
  /** Delay to wait until next poll, in milliseconds. */
@@ -4127,10 +4146,6 @@ export interface RunsGetOptionalParams extends coreClient.OperationOptions {
4127
4146
  export type RunsGetResponse = Run;
4128
4147
  /** Optional parameters. */
4129
4148
  export interface RunsUpdateOptionalParams extends coreClient.OperationOptions {
4130
- /** Delay to wait until next poll, in milliseconds. */
4131
- updateIntervalInMs?: number;
4132
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4133
- resumeFrom?: string;
4134
4149
  }
4135
4150
  /** Contains response data for the update operation. */
4136
4151
  export type RunsUpdateResponse = Run;
@@ -4141,10 +4156,6 @@ export interface RunsGetLogSasUrlOptionalParams extends coreClient.OperationOpti
4141
4156
  export type RunsGetLogSasUrlResponse = RunGetLogResult;
4142
4157
  /** Optional parameters. */
4143
4158
  export interface RunsCancelOptionalParams extends coreClient.OperationOptions {
4144
- /** Delay to wait until next poll, in milliseconds. */
4145
- updateIntervalInMs?: number;
4146
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4147
- resumeFrom?: string;
4148
4159
  }
4149
4160
  /** Optional parameters. */
4150
4161
  export interface RunsListNextOptionalParams extends coreClient.OperationOptions {
@@ -4167,10 +4178,6 @@ export interface TaskRunsCreateOptionalParams extends coreClient.OperationOption
4167
4178
  export type TaskRunsCreateResponse = TaskRun;
4168
4179
  /** Optional parameters. */
4169
4180
  export interface TaskRunsDeleteOptionalParams extends coreClient.OperationOptions {
4170
- /** Delay to wait until next poll, in milliseconds. */
4171
- updateIntervalInMs?: number;
4172
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4173
- resumeFrom?: string;
4174
4181
  }
4175
4182
  /** Optional parameters. */
4176
4183
  export interface TaskRunsUpdateOptionalParams extends coreClient.OperationOptions {
@@ -4208,26 +4215,14 @@ export interface TasksGetOptionalParams extends coreClient.OperationOptions {
4208
4215
  export type TasksGetResponse = Task;
4209
4216
  /** Optional parameters. */
4210
4217
  export interface TasksCreateOptionalParams extends coreClient.OperationOptions {
4211
- /** Delay to wait until next poll, in milliseconds. */
4212
- updateIntervalInMs?: number;
4213
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4214
- resumeFrom?: string;
4215
4218
  }
4216
4219
  /** Contains response data for the create operation. */
4217
4220
  export type TasksCreateResponse = Task;
4218
4221
  /** Optional parameters. */
4219
4222
  export interface TasksDeleteOptionalParams extends coreClient.OperationOptions {
4220
- /** Delay to wait until next poll, in milliseconds. */
4221
- updateIntervalInMs?: number;
4222
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4223
- resumeFrom?: string;
4224
4223
  }
4225
4224
  /** Optional parameters. */
4226
4225
  export interface TasksUpdateOptionalParams extends coreClient.OperationOptions {
4227
- /** Delay to wait until next poll, in milliseconds. */
4228
- updateIntervalInMs?: number;
4229
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4230
- resumeFrom?: string;
4231
4226
  }
4232
4227
  /** Contains response data for the update operation. */
4233
4228
  export type TasksUpdateResponse = Task;
@@ -4245,6 +4240,8 @@ export type TasksListNextResponse = TaskListResult;
4245
4240
  export interface ContainerRegistryManagementClientOptionalParams extends coreClient.ServiceClientOptions {
4246
4241
  /** server parameter */
4247
4242
  $host?: string;
4243
+ /** Api Version */
4244
+ apiVersion?: string;
4248
4245
  /** Overrides client endpoint. */
4249
4246
  endpoint?: string;
4250
4247
  }