@azure/arm-containerregistry 10.0.0-beta.1 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/CHANGELOG.md +6 -20
  2. package/README.md +4 -0
  3. package/dist/index.js +3431 -7196
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/containerRegistryManagementClient.d.ts +5 -9
  8. package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
  9. package/dist-esm/src/containerRegistryManagementClient.js +32 -10
  10. package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
  11. package/dist-esm/src/index.d.ts +0 -1
  12. package/dist-esm/src/index.d.ts.map +1 -1
  13. package/dist-esm/src/index.js +0 -1
  14. package/dist-esm/src/index.js.map +1 -1
  15. package/dist-esm/src/models/index.d.ts +200 -1116
  16. package/dist-esm/src/models/index.d.ts.map +1 -1
  17. package/dist-esm/src/models/index.js +32 -121
  18. package/dist-esm/src/models/index.js.map +1 -1
  19. package/dist-esm/src/models/mappers.d.ts +10 -50
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  21. package/dist-esm/src/models/mappers.js +320 -1560
  22. package/dist-esm/src/models/mappers.js.map +1 -1
  23. package/dist-esm/src/models/parameters.d.ts +6 -21
  24. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  25. package/dist-esm/src/models/parameters.js +38 -158
  26. package/dist-esm/src/models/parameters.js.map +1 -1
  27. package/dist-esm/src/operations/agentPools.d.ts +2 -2
  28. package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
  29. package/dist-esm/src/operations/agentPools.js +2 -2
  30. package/dist-esm/src/operations/agentPools.js.map +1 -1
  31. package/dist-esm/src/operations/index.d.ts +0 -6
  32. package/dist-esm/src/operations/index.d.ts.map +1 -1
  33. package/dist-esm/src/operations/index.js +0 -6
  34. package/dist-esm/src/operations/index.js.map +1 -1
  35. package/dist-esm/src/operations/operations.d.ts +2 -2
  36. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  37. package/dist-esm/src/operations/operations.js.map +1 -1
  38. package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
  39. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  40. package/dist-esm/src/operations/privateEndpointConnections.js +1 -1
  41. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  42. package/dist-esm/src/operations/registries.d.ts +11 -19
  43. package/dist-esm/src/operations/registries.d.ts.map +1 -1
  44. package/dist-esm/src/operations/registries.js +31 -84
  45. package/dist-esm/src/operations/registries.js.map +1 -1
  46. package/dist-esm/src/operations/replications.d.ts +2 -2
  47. package/dist-esm/src/operations/replications.d.ts.map +1 -1
  48. package/dist-esm/src/operations/replications.js +2 -2
  49. package/dist-esm/src/operations/replications.js.map +1 -1
  50. package/dist-esm/src/operations/runs.d.ts +2 -2
  51. package/dist-esm/src/operations/runs.d.ts.map +1 -1
  52. package/dist-esm/src/operations/runs.js +3 -3
  53. package/dist-esm/src/operations/runs.js.map +1 -1
  54. package/dist-esm/src/operations/taskRuns.d.ts +2 -2
  55. package/dist-esm/src/operations/taskRuns.d.ts.map +1 -1
  56. package/dist-esm/src/operations/taskRuns.js +2 -2
  57. package/dist-esm/src/operations/taskRuns.js.map +1 -1
  58. package/dist-esm/src/operations/tasks.d.ts +2 -2
  59. package/dist-esm/src/operations/tasks.d.ts.map +1 -1
  60. package/dist-esm/src/operations/tasks.js +2 -2
  61. package/dist-esm/src/operations/tasks.js.map +1 -1
  62. package/dist-esm/src/operations/webhooks.d.ts +2 -2
  63. package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
  64. package/dist-esm/src/operations/webhooks.js +2 -2
  65. package/dist-esm/src/operations/webhooks.js.map +1 -1
  66. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  67. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  68. package/dist-esm/src/operationsInterfaces/index.js +0 -6
  69. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  70. package/dist-esm/src/operationsInterfaces/registries.d.ts +9 -17
  71. package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -1
  72. package/dist-esm/test/containerregistry_examples.d.ts +3 -1
  73. package/dist-esm/test/containerregistry_examples.d.ts.map +1 -1
  74. package/dist-esm/test/containerregistry_examples.js +89 -146
  75. package/dist-esm/test/containerregistry_examples.js.map +1 -1
  76. package/package.json +5 -4
  77. package/review/arm-containerregistry.api.md +17 -815
  78. package/src/containerRegistryManagementClient.ts +44 -27
  79. package/src/index.ts +0 -1
  80. package/src/models/index.ts +323 -1385
  81. package/src/models/mappers.ts +1508 -2838
  82. package/src/models/parameters.ts +39 -184
  83. package/src/operations/agentPools.ts +5 -5
  84. package/src/operations/index.ts +0 -6
  85. package/src/operations/operations.ts +3 -3
  86. package/src/operations/privateEndpointConnections.ts +4 -4
  87. package/src/operations/registries.ts +45 -129
  88. package/src/operations/replications.ts +5 -5
  89. package/src/operations/runs.ts +6 -6
  90. package/src/operations/taskRuns.ts +5 -5
  91. package/src/operations/tasks.ts +5 -5
  92. package/src/operations/webhooks.ts +5 -5
  93. package/src/operationsInterfaces/index.ts +0 -6
  94. package/src/operationsInterfaces/registries.ts +15 -34
  95. package/types/arm-containerregistry.d.ts +135 -1592
  96. package/types/tsdoc-metadata.json +1 -1
  97. package/dist-esm/src/containerRegistryManagementClientContext.d.ts +0 -15
  98. package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +0 -1
  99. package/dist-esm/src/containerRegistryManagementClientContext.js +0 -48
  100. package/dist-esm/src/containerRegistryManagementClientContext.js.map +0 -1
  101. package/dist-esm/src/operations/connectedRegistries.d.ts +0 -115
  102. package/dist-esm/src/operations/connectedRegistries.d.ts.map +0 -1
  103. package/dist-esm/src/operations/connectedRegistries.js +0 -503
  104. package/dist-esm/src/operations/connectedRegistries.js.map +0 -1
  105. package/dist-esm/src/operations/exportPipelines.d.ts +0 -81
  106. package/dist-esm/src/operations/exportPipelines.d.ts.map +0 -1
  107. package/dist-esm/src/operations/exportPipelines.js +0 -316
  108. package/dist-esm/src/operations/exportPipelines.js.map +0 -1
  109. package/dist-esm/src/operations/importPipelines.d.ts +0 -81
  110. package/dist-esm/src/operations/importPipelines.d.ts.map +0 -1
  111. package/dist-esm/src/operations/importPipelines.js +0 -316
  112. package/dist-esm/src/operations/importPipelines.js.map +0 -1
  113. package/dist-esm/src/operations/pipelineRuns.d.ts +0 -81
  114. package/dist-esm/src/operations/pipelineRuns.d.ts.map +0 -1
  115. package/dist-esm/src/operations/pipelineRuns.js +0 -316
  116. package/dist-esm/src/operations/pipelineRuns.js.map +0 -1
  117. package/dist-esm/src/operations/scopeMaps.d.ts +0 -99
  118. package/dist-esm/src/operations/scopeMaps.d.ts.map +0 -1
  119. package/dist-esm/src/operations/scopeMaps.js +0 -405
  120. package/dist-esm/src/operations/scopeMaps.js.map +0 -1
  121. package/dist-esm/src/operations/tokens.d.ts +0 -99
  122. package/dist-esm/src/operations/tokens.d.ts.map +0 -1
  123. package/dist-esm/src/operations/tokens.js +0 -405
  124. package/dist-esm/src/operations/tokens.js.map +0 -1
  125. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +0 -90
  126. package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +0 -1
  127. package/dist-esm/src/operationsInterfaces/connectedRegistries.js +0 -9
  128. package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +0 -1
  129. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +0 -56
  130. package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +0 -1
  131. package/dist-esm/src/operationsInterfaces/exportPipelines.js +0 -9
  132. package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +0 -1
  133. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +0 -56
  134. package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +0 -1
  135. package/dist-esm/src/operationsInterfaces/importPipelines.js +0 -9
  136. package/dist-esm/src/operationsInterfaces/importPipelines.js.map +0 -1
  137. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +0 -56
  138. package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
  139. package/dist-esm/src/operationsInterfaces/pipelineRuns.js +0 -9
  140. package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +0 -1
  141. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +0 -74
  142. package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +0 -1
  143. package/dist-esm/src/operationsInterfaces/scopeMaps.js +0 -9
  144. package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +0 -1
  145. package/dist-esm/src/operationsInterfaces/tokens.d.ts +0 -74
  146. package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +0 -1
  147. package/dist-esm/src/operationsInterfaces/tokens.js +0 -9
  148. package/dist-esm/src/operationsInterfaces/tokens.js.map +0 -1
  149. package/src/containerRegistryManagementClientContext.ts +0 -68
  150. package/src/operations/connectedRegistries.ts +0 -718
  151. package/src/operations/exportPipelines.ts +0 -449
  152. package/src/operations/importPipelines.ts +0 -449
  153. package/src/operations/pipelineRuns.ts +0 -449
  154. package/src/operations/scopeMaps.ts +0 -584
  155. package/src/operations/tokens.ts +0 -578
  156. package/src/operationsInterfaces/connectedRegistries.ts +0 -174
  157. package/src/operationsInterfaces/exportPipelines.ts +0 -109
  158. package/src/operationsInterfaces/importPipelines.ts +0 -109
  159. package/src/operationsInterfaces/pipelineRuns.ts +0 -109
  160. package/src/operationsInterfaces/scopeMaps.ts +0 -147
  161. package/src/operationsInterfaces/tokens.ts +0 -141
@@ -25,268 +25,6 @@ export type TaskStepUpdateParametersUnion =
25
25
  | FileTaskStepUpdateParameters
26
26
  | EncodedTaskStepUpdateParameters;
27
27
 
28
- /** The result of a request to list connected registries for a container registry. */
29
- export interface ConnectedRegistryListResult {
30
- /** The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries. */
31
- value?: ConnectedRegistry[];
32
- /** The URI that can be used to request the next list of connected registries. */
33
- nextLink?: string;
34
- }
35
-
36
- /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. */
37
- export interface ProxyResource {
38
- /**
39
- * The resource ID.
40
- * NOTE: This property will not be serialized. It can only be populated by the server.
41
- */
42
- readonly id?: string;
43
- /**
44
- * The name of the resource.
45
- * NOTE: This property will not be serialized. It can only be populated by the server.
46
- */
47
- readonly name?: string;
48
- /**
49
- * The type of the resource.
50
- * NOTE: This property will not be serialized. It can only be populated by the server.
51
- */
52
- readonly type?: string;
53
- /**
54
- * Metadata pertaining to creation and last modification of the resource.
55
- * NOTE: This property will not be serialized. It can only be populated by the server.
56
- */
57
- readonly systemData?: SystemData;
58
- }
59
-
60
- /** Metadata pertaining to creation and last modification of the resource. */
61
- export interface SystemData {
62
- /** The identity that created the resource. */
63
- createdBy?: string;
64
- /** The type of identity that created the resource. */
65
- createdByType?: CreatedByType;
66
- /** The timestamp of resource creation (UTC). */
67
- createdAt?: Date;
68
- /** The identity that last modified the resource. */
69
- lastModifiedBy?: string;
70
- /** The type of identity that last modified the resource. */
71
- lastModifiedByType?: LastModifiedByType;
72
- /** The timestamp of resource modification (UTC). */
73
- lastModifiedAt?: Date;
74
- }
75
-
76
- /** The activation properties of the connected registry. */
77
- export interface ActivationProperties {
78
- /**
79
- * The activation status of the connected registry.
80
- * NOTE: This property will not be serialized. It can only be populated by the server.
81
- */
82
- readonly status?: ActivationStatus;
83
- }
84
-
85
- /** The properties of the connected registry parent. */
86
- export interface ParentProperties {
87
- /** The resource ID of the parent to which the connected registry will be associated. */
88
- id?: string;
89
- /** The sync properties of the connected registry with its parent. */
90
- syncProperties: SyncProperties;
91
- }
92
-
93
- /** The sync properties of the connected registry with its parent. */
94
- export interface SyncProperties {
95
- /** The resource ID of the ACR token used to authenticate the connected registry to its parent during sync. */
96
- tokenId: string;
97
- /** The cron expression indicating the schedule that the connected registry will sync with its parent. */
98
- schedule?: string;
99
- /** The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */
100
- syncWindow?: string;
101
- /** The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */
102
- messageTtl: string;
103
- /**
104
- * The last time a sync occurred between the connected registry and its parent.
105
- * NOTE: This property will not be serialized. It can only be populated by the server.
106
- */
107
- readonly lastSyncTime?: Date;
108
- /**
109
- * The gateway endpoint used by the connected registry to communicate with its parent.
110
- * NOTE: This property will not be serialized. It can only be populated by the server.
111
- */
112
- readonly gatewayEndpoint?: string;
113
- }
114
-
115
- /** The login server properties of the connected registry. */
116
- export interface LoginServerProperties {
117
- /**
118
- * The host of the connected registry. Can be FQDN or IP.
119
- * NOTE: This property will not be serialized. It can only be populated by the server.
120
- */
121
- readonly host?: string;
122
- /**
123
- * The TLS properties of the connected registry login server.
124
- * NOTE: This property will not be serialized. It can only be populated by the server.
125
- */
126
- readonly tls?: TlsProperties;
127
- }
128
-
129
- /** The TLS properties of the connected registry login server. */
130
- export interface TlsProperties {
131
- /**
132
- * Indicates whether HTTPS is enabled for the login server.
133
- * NOTE: This property will not be serialized. It can only be populated by the server.
134
- */
135
- readonly status?: TlsStatus;
136
- /**
137
- * The certificate used to configure HTTPS for the login server.
138
- * NOTE: This property will not be serialized. It can only be populated by the server.
139
- */
140
- readonly certificate?: TlsCertificateProperties;
141
- }
142
-
143
- /** The TLS certificate properties of the connected registry login server. */
144
- export interface TlsCertificateProperties {
145
- /**
146
- * The type of certificate location.
147
- * NOTE: This property will not be serialized. It can only be populated by the server.
148
- */
149
- readonly type?: CertificateType;
150
- /**
151
- * Indicates the location of the certificates.
152
- * NOTE: This property will not be serialized. It can only be populated by the server.
153
- */
154
- readonly location?: string;
155
- }
156
-
157
- /** The logging properties of the connected registry. */
158
- export interface LoggingProperties {
159
- /** The verbosity of logs persisted on the connected registry. */
160
- logLevel?: LogLevel;
161
- /** Indicates whether audit logs are enabled on the connected registry. */
162
- auditLogStatus?: AuditLogStatus;
163
- }
164
-
165
- /** The status detail properties of the connected registry. */
166
- export interface StatusDetailProperties {
167
- /**
168
- * The component of the connected registry corresponding to the status.
169
- * NOTE: This property will not be serialized. It can only be populated by the server.
170
- */
171
- readonly type?: string;
172
- /**
173
- * The code of the status.
174
- * NOTE: This property will not be serialized. It can only be populated by the server.
175
- */
176
- readonly code?: string;
177
- /**
178
- * The description of the status.
179
- * NOTE: This property will not be serialized. It can only be populated by the server.
180
- */
181
- readonly description?: string;
182
- /**
183
- * The timestamp of the status.
184
- * NOTE: This property will not be serialized. It can only be populated by the server.
185
- */
186
- readonly timestamp?: Date;
187
- /**
188
- * The correlation ID of the status.
189
- * NOTE: This property will not be serialized. It can only be populated by the server.
190
- */
191
- readonly correlationId?: string;
192
- }
193
-
194
- /** An error response from the Azure Container Registry service. */
195
- export interface ErrorResponse {
196
- /** Azure container registry build API error body. */
197
- error?: ErrorResponseBody;
198
- }
199
-
200
- /** An error response from the Azure Container Registry service. */
201
- export interface ErrorResponseBody {
202
- /** error code. */
203
- code: string;
204
- /** error message. */
205
- message: string;
206
- /** target of the particular error. */
207
- target?: string;
208
- /** an array of additional nested error response info objects, as described by this contract. */
209
- details?: InnerErrorDescription;
210
- }
211
-
212
- /** inner error. */
213
- export interface InnerErrorDescription {
214
- /** error code. */
215
- code: string;
216
- /** error message. */
217
- message: string;
218
- /** target of the particular error. */
219
- target?: string;
220
- }
221
-
222
- /** The parameters for updating a connected registry. */
223
- export interface ConnectedRegistryUpdateParameters {
224
- /** The sync properties of the connected registry with its parent. */
225
- syncProperties?: SyncUpdateProperties;
226
- /** The logging properties of the connected registry. */
227
- logging?: LoggingProperties;
228
- /** The list of the ACR token resource IDs used to authenticate clients to the connected registry. */
229
- clientTokenIds?: string[];
230
- /** The list of notifications subscription information for the connected registry. */
231
- notificationsList?: string[];
232
- }
233
-
234
- /** The parameters for updating the sync properties of the connected registry with its parent. */
235
- export interface SyncUpdateProperties {
236
- /** The cron expression indicating the schedule that the connected registry will sync with its parent. */
237
- schedule?: string;
238
- /** The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */
239
- syncWindow?: string;
240
- /** The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */
241
- messageTtl?: string;
242
- }
243
-
244
- /** The result of a request to list export pipelines for a container registry. */
245
- export interface ExportPipelineListResult {
246
- /** The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines. */
247
- value?: ExportPipeline[];
248
- /** The URI that can be used to request the next list of pipeline runs. */
249
- nextLink?: string;
250
- }
251
-
252
- /** Managed identity for the resource. */
253
- export interface IdentityProperties {
254
- /** The principal ID of resource identity. */
255
- principalId?: string;
256
- /** The tenant ID of resource. */
257
- tenantId?: string;
258
- /** The identity type. */
259
- type?: ResourceIdentityType;
260
- /**
261
- * The list of user identities associated with the resource. The user identity
262
- * dictionary key references will be ARM resource ids in the form:
263
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/
264
- * providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
265
- */
266
- userAssignedIdentities?: { [propertyName: string]: UserIdentityProperties };
267
- }
268
-
269
- export interface UserIdentityProperties {
270
- /** The principal id of user assigned identity. */
271
- principalId?: string;
272
- /** The client id of user assigned identity. */
273
- clientId?: string;
274
- }
275
-
276
- /** The properties of the export pipeline target. */
277
- export interface ExportPipelineTargetProperties {
278
- /** The type of target for the export pipeline. */
279
- type?: string;
280
- /**
281
- * The target uri of the export pipeline.
282
- * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
283
- * When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName"
284
- */
285
- uri?: string;
286
- /** They key vault secret uri to obtain the target storage SAS token. */
287
- keyVaultUri: string;
288
- }
289
-
290
28
  export interface ImportImageParameters {
291
29
  /** The source of the image. */
292
30
  source: ImportSource;
@@ -321,38 +59,6 @@ export interface ImportSourceCredentials {
321
59
  password: string;
322
60
  }
323
61
 
324
- /** The result of a request to list import pipelines for a container registry. */
325
- export interface ImportPipelineListResult {
326
- /** The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines. */
327
- value?: ImportPipeline[];
328
- /** The URI that can be used to request the next list of pipeline runs. */
329
- nextLink?: string;
330
- }
331
-
332
- /** The properties of the import pipeline source. */
333
- export interface ImportPipelineSourceProperties {
334
- /** The type of source for the import pipeline. */
335
- type?: PipelineSourceType;
336
- /**
337
- * The source uri of the import pipeline.
338
- * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
339
- * When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName"
340
- */
341
- uri?: string;
342
- /** They key vault secret uri to obtain the source storage SAS token. */
343
- keyVaultUri: string;
344
- }
345
-
346
- export interface PipelineTriggerProperties {
347
- /** The source trigger properties of the pipeline. */
348
- sourceTrigger?: PipelineSourceTriggerProperties;
349
- }
350
-
351
- export interface PipelineSourceTriggerProperties {
352
- /** The current status of the source trigger. */
353
- status: TriggerStatus;
354
- }
355
-
356
62
  /** The result of a request to list container registry operations. */
357
63
  export interface OperationListResult {
358
64
  /** The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations. */
@@ -442,86 +148,6 @@ export interface RegistryNameStatus {
442
148
  message?: string;
443
149
  }
444
150
 
445
- /** The result of a request to list pipeline runs for a container registry. */
446
- export interface PipelineRunListResult {
447
- /** The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs. */
448
- value?: PipelineRun[];
449
- /** The URI that can be used to request the next list of pipeline runs. */
450
- nextLink?: string;
451
- }
452
-
453
- /** The request properties provided for a pipeline run. */
454
- export interface PipelineRunRequest {
455
- /** The resource ID of the pipeline to run. */
456
- pipelineResourceId?: string;
457
- /**
458
- * List of source artifacts to be transferred by the pipeline.
459
- * Specify an image by repository ('hello-world'). This will use the 'latest' tag.
460
- * Specify an image by tag ('hello-world:latest').
461
- * Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').
462
- */
463
- artifacts?: string[];
464
- /** The source properties of the pipeline run. */
465
- source?: PipelineRunSourceProperties;
466
- /** The target properties of the pipeline run. */
467
- target?: PipelineRunTargetProperties;
468
- /** The digest of the tar used to transfer the artifacts. */
469
- catalogDigest?: string;
470
- }
471
-
472
- export interface PipelineRunSourceProperties {
473
- /** The type of the source. */
474
- type?: PipelineRunSourceType;
475
- /** The name of the source. */
476
- name?: string;
477
- }
478
-
479
- export interface PipelineRunTargetProperties {
480
- /** The type of the target. */
481
- type?: PipelineRunTargetType;
482
- /** The name of the target. */
483
- name?: string;
484
- }
485
-
486
- /** The response properties returned for a pipeline run. */
487
- export interface PipelineRunResponse {
488
- /** The current status of the pipeline run. */
489
- status?: string;
490
- /** The artifacts imported in the pipeline run. */
491
- importedArtifacts?: string[];
492
- /** The current progress of the copy operation. */
493
- progress?: ProgressProperties;
494
- /** The time the pipeline run started. */
495
- startTime?: Date;
496
- /** The time the pipeline run finished. */
497
- finishTime?: Date;
498
- /** The source of the pipeline run. */
499
- source?: ImportPipelineSourceProperties;
500
- /** The target of the pipeline run. */
501
- target?: ExportPipelineTargetProperties;
502
- /** The digest of the tar used to transfer the artifacts. */
503
- catalogDigest?: string;
504
- /** The trigger that caused the pipeline run. */
505
- trigger?: PipelineTriggerDescriptor;
506
- /** The detailed error message for the pipeline run in the case of failure. */
507
- pipelineRunErrorMessage?: string;
508
- }
509
-
510
- export interface ProgressProperties {
511
- /** The percentage complete of the copy operation. */
512
- percentage?: string;
513
- }
514
-
515
- export interface PipelineTriggerDescriptor {
516
- /** The source trigger that caused the pipeline run. */
517
- sourceTrigger?: PipelineSourceTriggerDescriptor;
518
- }
519
-
520
- export interface PipelineSourceTriggerDescriptor {
521
- /** The timestamp when the source update happened. */
522
- timestamp?: Date;
523
- }
524
-
525
151
  /** The result of a request to list private endpoint connections for a container registry. */
526
152
  export interface PrivateEndpointConnectionListResult {
527
153
  /** The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections. */
@@ -546,16 +172,8 @@ export interface PrivateLinkServiceConnectionState {
546
172
  actionsRequired?: ActionsRequired;
547
173
  }
548
174
 
549
- /** The result of a request to list container registries. */
550
- export interface RegistryListResult {
551
- /** The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries. */
552
- value?: Registry[];
553
- /** The URI that can be used to request the next list of container registries. */
554
- nextLink?: string;
555
- }
556
-
557
- /** An Azure resource. */
558
- export interface Resource {
175
+ /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. */
176
+ export interface ProxyResource {
559
177
  /**
560
178
  * The resource ID.
561
179
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -571,10 +189,6 @@ export interface Resource {
571
189
  * NOTE: This property will not be serialized. It can only be populated by the server.
572
190
  */
573
191
  readonly type?: string;
574
- /** The location of the resource. This cannot be changed after the resource is created. */
575
- location: string;
576
- /** The tags of the resource. */
577
- tags?: { [propertyName: string]: string };
578
192
  /**
579
193
  * Metadata pertaining to creation and last modification of the resource.
580
194
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -582,6 +196,30 @@ export interface Resource {
582
196
  readonly systemData?: SystemData;
583
197
  }
584
198
 
199
+ /** Metadata pertaining to creation and last modification of the resource. */
200
+ export interface SystemData {
201
+ /** The identity that created the resource. */
202
+ createdBy?: string;
203
+ /** The type of identity that created the resource. */
204
+ createdByType?: CreatedByType;
205
+ /** The timestamp of resource creation (UTC). */
206
+ createdAt?: Date;
207
+ /** The identity that last modified the resource. */
208
+ lastModifiedBy?: string;
209
+ /** The type of identity that last modified the resource. */
210
+ lastModifiedByType?: LastModifiedByType;
211
+ /** The timestamp of resource modification (UTC). */
212
+ lastModifiedAt?: Date;
213
+ }
214
+
215
+ /** The result of a request to list container registries. */
216
+ export interface RegistryListResult {
217
+ /** The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries. */
218
+ value?: Registry[];
219
+ /** The URI that can be used to request the next list of container registries. */
220
+ nextLink?: string;
221
+ }
222
+
585
223
  /** The SKU of a container registry. */
586
224
  export interface Sku {
587
225
  /** The SKU name of the container registry. Required for registry creation. */
@@ -593,6 +231,30 @@ export interface Sku {
593
231
  readonly tier?: SkuTier;
594
232
  }
595
233
 
234
+ /** Managed identity for the resource. */
235
+ export interface IdentityProperties {
236
+ /** The principal ID of resource identity. */
237
+ principalId?: string;
238
+ /** The tenant ID of resource. */
239
+ tenantId?: string;
240
+ /** The identity type. */
241
+ type?: ResourceIdentityType;
242
+ /**
243
+ * The list of user identities associated with the resource. The user identity
244
+ * dictionary key references will be ARM resource ids in the form:
245
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/
246
+ * providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
247
+ */
248
+ userAssignedIdentities?: { [propertyName: string]: UserIdentityProperties };
249
+ }
250
+
251
+ export interface UserIdentityProperties {
252
+ /** The principal id of user assigned identity. */
253
+ principalId?: string;
254
+ /** The client id of user assigned identity. */
255
+ clientId?: string;
256
+ }
257
+
596
258
  /** The status of an Azure resource at the time the operation was called. */
597
259
  export interface Status {
598
260
  /**
@@ -616,20 +278,10 @@ export interface Status {
616
278
  export interface NetworkRuleSet {
617
279
  /** The default action of allow or deny when no other rules match. */
618
280
  defaultAction: DefaultAction;
619
- /** The virtual network rules. */
620
- virtualNetworkRules?: VirtualNetworkRule[];
621
281
  /** The IP ACL rules. */
622
282
  ipRules?: IPRule[];
623
283
  }
624
284
 
625
- /** Virtual network rule. */
626
- export interface VirtualNetworkRule {
627
- /** The action of virtual network rule. */
628
- action?: Action;
629
- /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
630
- virtualNetworkResourceId: string;
631
- }
632
-
633
285
  /** IP rule with specific IP or IP range in CIDR format. */
634
286
  export interface IPRule {
635
287
  /** The action of IP ACL rule. */
@@ -712,6 +364,34 @@ export interface KeyVaultProperties {
712
364
  readonly lastKeyRotationTimestamp?: Date;
713
365
  }
714
366
 
367
+ /** An Azure resource. */
368
+ export interface Resource {
369
+ /**
370
+ * The resource ID.
371
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
+ */
373
+ readonly id?: string;
374
+ /**
375
+ * The name of the resource.
376
+ * NOTE: This property will not be serialized. It can only be populated by the server.
377
+ */
378
+ readonly name?: string;
379
+ /**
380
+ * The type of the resource.
381
+ * NOTE: This property will not be serialized. It can only be populated by the server.
382
+ */
383
+ readonly type?: string;
384
+ /** The location of the resource. This cannot be changed after the resource is created. */
385
+ location: string;
386
+ /** The tags of the resource. */
387
+ tags?: { [propertyName: string]: string };
388
+ /**
389
+ * Metadata pertaining to creation and last modification of the resource.
390
+ * NOTE: This property will not be serialized. It can only be populated by the server.
391
+ */
392
+ readonly systemData?: SystemData;
393
+ }
394
+
715
395
  /** The parameters for updating a container registry. */
716
396
  export interface RegistryUpdateParameters {
717
397
  /** The identity of the container registry. */
@@ -734,8 +414,6 @@ export interface RegistryUpdateParameters {
734
414
  publicNetworkAccess?: PublicNetworkAccess;
735
415
  /** Whether to allow trusted Azure services to access a network restricted registry. */
736
416
  networkRuleBypassOptions?: NetworkRuleBypassOptions;
737
- /** Enables registry-wide pull from unauthenticated clients. */
738
- anonymousPullEnabled?: boolean;
739
417
  }
740
418
 
741
419
  /** The result of a request to get container registry quota usages. */
@@ -783,6 +461,34 @@ export interface PrivateLinkResource {
783
461
  requiredZoneNames?: string[];
784
462
  }
785
463
 
464
+ /** An error response from the Azure Container Registry service. */
465
+ export interface ErrorResponse {
466
+ /** Azure container registry build API error body. */
467
+ error?: ErrorResponseBody;
468
+ }
469
+
470
+ /** An error response from the Azure Container Registry service. */
471
+ export interface ErrorResponseBody {
472
+ /** error code. */
473
+ code: string;
474
+ /** error message. */
475
+ message: string;
476
+ /** target of the particular error. */
477
+ target?: string;
478
+ /** an array of additional nested error response info objects, as described by this contract. */
479
+ details?: InnerErrorDescription[];
480
+ }
481
+
482
+ /** inner error. */
483
+ export interface InnerErrorDescription {
484
+ /** error code. */
485
+ code: string;
486
+ /** error message. */
487
+ message: string;
488
+ /** target of the particular error. */
489
+ target?: string;
490
+ }
491
+
786
492
  /** The response from the ListCredentials operation. */
787
493
  export interface RegistryListCredentialsResult {
788
494
  /** The username for a container registry. */
@@ -821,94 +527,6 @@ export interface ReplicationUpdateParameters {
821
527
  regionEndpointEnabled?: boolean;
822
528
  }
823
529
 
824
- /** The result of a request to list scope maps for a container registry. */
825
- export interface ScopeMapListResult {
826
- /** The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps. */
827
- value?: ScopeMap[];
828
- /** The URI that can be used to request the next list of scope maps. */
829
- nextLink?: string;
830
- }
831
-
832
- /** The properties for updating the scope map. */
833
- export interface ScopeMapUpdateParameters {
834
- /** The user friendly description of the scope map. */
835
- description?: string;
836
- /**
837
- * The list of scope permissions for registry artifacts.
838
- * E.g. repositories/repository-name/pull,
839
- * repositories/repository-name/delete
840
- */
841
- actions?: string[];
842
- }
843
-
844
- /** The result of a request to list tokens for a container registry. */
845
- export interface TokenListResult {
846
- /** The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens. */
847
- value?: Token[];
848
- /** The URI that can be used to request the next list of tokens. */
849
- nextLink?: string;
850
- }
851
-
852
- /** The properties of the credentials that can be used for authenticating the token. */
853
- export interface TokenCredentialsProperties {
854
- certificates?: TokenCertificate[];
855
- passwords?: TokenPassword[];
856
- }
857
-
858
- /** The properties of a certificate used for authenticating a token. */
859
- export interface TokenCertificate {
860
- name?: TokenCertificateName;
861
- /** The expiry datetime of the certificate. */
862
- expiry?: Date;
863
- /** The thumbprint of the certificate. */
864
- thumbprint?: string;
865
- /** Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token. */
866
- encodedPemCertificate?: string;
867
- }
868
-
869
- /** The password that will be used for authenticating the token of a container registry. */
870
- export interface TokenPassword {
871
- /** The creation datetime of the password. */
872
- creationTime?: Date;
873
- /** The expiry datetime of the password. */
874
- expiry?: Date;
875
- /** The password name "password1" or "password2" */
876
- name?: TokenPasswordName;
877
- /**
878
- * The password value.
879
- * NOTE: This property will not be serialized. It can only be populated by the server.
880
- */
881
- readonly value?: string;
882
- }
883
-
884
- /** The parameters for updating a token. */
885
- export interface TokenUpdateParameters {
886
- /** The resource ID of the scope map to which the token will be associated with. */
887
- scopeMapId?: string;
888
- /** The status of the token example enabled or disabled. */
889
- status?: TokenStatus;
890
- /** The credentials that can be used for authenticating the token. */
891
- credentials?: TokenCredentialsProperties;
892
- }
893
-
894
- /** The parameters used to generate credentials for a specified token or user of a container registry. */
895
- export interface GenerateCredentialsParameters {
896
- /** The resource ID of the token for which credentials have to be generated. */
897
- tokenId?: string;
898
- /** The expiry date of the generated credentials after which the credentials become invalid. */
899
- expiry?: Date;
900
- /** Specifies name of the password which should be regenerated if any -- password1 or password2. */
901
- name?: TokenPasswordName;
902
- }
903
-
904
- /** The response from the GenerateCredentials operation. */
905
- export interface GenerateCredentialsResult {
906
- /** The username for a container registry. */
907
- username?: string;
908
- /** The list of passwords for a container registry. */
909
- passwords?: TokenPassword[];
910
- }
911
-
912
530
  /** The result of a request to list webhooks for a container registry. */
913
531
  export interface WebhookListResult {
914
532
  /** The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks. */
@@ -1511,12 +1129,21 @@ export interface BaseImageTriggerUpdateParameters {
1511
1129
  name: string;
1512
1130
  }
1513
1131
 
1514
- /** The Active Directory Object that will be used for authenticating the token of a container registry. */
1515
- export interface ActiveDirectoryObject {
1516
- /** The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry. */
1517
- objectId?: string;
1518
- /** The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry. */
1519
- tenantId?: string;
1132
+ /** The properties of a storage account for a container registry. Only applicable to Classic SKU. */
1133
+ export interface StorageAccountProperties {
1134
+ /** The resource ID of the storage account. */
1135
+ id: string;
1136
+ }
1137
+
1138
+ /** The properties of a package type. */
1139
+ export interface PackageType {
1140
+ /** The name of the package type. */
1141
+ name?: string;
1142
+ /**
1143
+ * The endpoint of the package type.
1144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1145
+ */
1146
+ readonly endpoint?: string;
1520
1147
  }
1521
1148
 
1522
1149
  /** Properties that are enabled for Odata querying on runs. */
@@ -1558,129 +1185,29 @@ export interface Argument {
1558
1185
  export interface SetValue {
1559
1186
  /** The name of the overridable value. */
1560
1187
  name: string;
1561
- /** The overridable value. */
1562
- value: string;
1563
- /** Flag to indicate whether the value represents a secret or not. */
1564
- isSecret?: boolean;
1565
- }
1566
-
1567
- export interface OverrideTaskStepProperties {
1568
- /** The source context against which run has to be queued. */
1569
- contextPath?: string;
1570
- /** The file against which run has to be queued. */
1571
- file?: string;
1572
- /**
1573
- * Gets or sets the collection of override arguments to be used when
1574
- * executing a build step.
1575
- */
1576
- arguments?: Argument[];
1577
- /** The name of the target build stage for the docker build. */
1578
- target?: string;
1579
- /** The collection of overridable values that can be passed when running a Task. */
1580
- values?: SetValue[];
1581
- /** Base64 encoded update trigger token that will be attached with the base image trigger webhook. */
1582
- updateTriggerToken?: string;
1583
- }
1584
-
1585
- /** An object that represents a connected registry for a container registry. */
1586
- export type ConnectedRegistry = ProxyResource & {
1587
- /**
1588
- * Provisioning state of the resource.
1589
- * NOTE: This property will not be serialized. It can only be populated by the server.
1590
- */
1591
- readonly provisioningState?: ProvisioningState;
1592
- /** The mode of the connected registry resource that indicates the permissions of the registry. */
1593
- mode?: ConnectedRegistryMode;
1594
- /**
1595
- * The current version of ACR runtime on the connected registry.
1596
- * NOTE: This property will not be serialized. It can only be populated by the server.
1597
- */
1598
- readonly version?: string;
1599
- /**
1600
- * The current connection state of the connected registry.
1601
- * NOTE: This property will not be serialized. It can only be populated by the server.
1602
- */
1603
- readonly connectionState?: ConnectionState;
1604
- /**
1605
- * The last activity time of the connected registry.
1606
- * NOTE: This property will not be serialized. It can only be populated by the server.
1607
- */
1608
- readonly lastActivityTime?: Date;
1609
- /**
1610
- * The activation properties of the connected registry.
1611
- * NOTE: This property will not be serialized. It can only be populated by the server.
1612
- */
1613
- readonly activation?: ActivationProperties;
1614
- /** The parent of the connected registry. */
1615
- parent?: ParentProperties;
1616
- /** The list of the ACR token resource IDs used to authenticate clients to the connected registry. */
1617
- clientTokenIds?: string[];
1618
- /** The login server properties of the connected registry. */
1619
- loginServer?: LoginServerProperties;
1620
- /** The logging properties of the connected registry. */
1621
- logging?: LoggingProperties;
1622
- /**
1623
- * The list of current statuses of the connected registry.
1624
- * NOTE: This property will not be serialized. It can only be populated by the server.
1625
- */
1626
- readonly statusDetails?: StatusDetailProperties[];
1627
- /** The list of notifications subscription information for the connected registry. */
1628
- notificationsList?: string[];
1629
- };
1630
-
1631
- /** An object that represents an export pipeline for a container registry. */
1632
- export type ExportPipeline = ProxyResource & {
1633
- /** The location of the export pipeline. */
1634
- location?: string;
1635
- /** The identity of the export pipeline. */
1636
- identity?: IdentityProperties;
1637
- /** The target properties of the export pipeline. */
1638
- target?: ExportPipelineTargetProperties;
1639
- /** The list of all options configured for the pipeline. */
1640
- options?: PipelineOptions[];
1641
- /**
1642
- * The provisioning state of the pipeline at the time the operation was called.
1643
- * NOTE: This property will not be serialized. It can only be populated by the server.
1644
- */
1645
- readonly provisioningState?: ProvisioningState;
1646
- };
1647
-
1648
- /** An object that represents an import pipeline for a container registry. */
1649
- export type ImportPipeline = ProxyResource & {
1650
- /** The location of the import pipeline. */
1651
- location?: string;
1652
- /** The identity of the import pipeline. */
1653
- identity?: IdentityProperties;
1654
- /** The source properties of the import pipeline. */
1655
- source?: ImportPipelineSourceProperties;
1656
- /** The properties that describe the trigger of the import pipeline. */
1657
- trigger?: PipelineTriggerProperties;
1658
- /** The list of all options configured for the pipeline. */
1659
- options?: PipelineOptions[];
1660
- /**
1661
- * The provisioning state of the pipeline at the time the operation was called.
1662
- * NOTE: This property will not be serialized. It can only be populated by the server.
1663
- */
1664
- readonly provisioningState?: ProvisioningState;
1665
- };
1188
+ /** The overridable value. */
1189
+ value: string;
1190
+ /** Flag to indicate whether the value represents a secret or not. */
1191
+ isSecret?: boolean;
1192
+ }
1666
1193
 
1667
- /** An object that represents a pipeline run for a container registry. */
1668
- export type PipelineRun = ProxyResource & {
1669
- /**
1670
- * The provisioning state of a pipeline run.
1671
- * NOTE: This property will not be serialized. It can only be populated by the server.
1672
- */
1673
- readonly provisioningState?: ProvisioningState;
1674
- /** The request parameters for a pipeline run. */
1675
- request?: PipelineRunRequest;
1194
+ export interface OverrideTaskStepProperties {
1195
+ /** The source context against which run has to be queued. */
1196
+ contextPath?: string;
1197
+ /** The file against which run has to be queued. */
1198
+ file?: string;
1676
1199
  /**
1677
- * The response of a pipeline run.
1678
- * NOTE: This property will not be serialized. It can only be populated by the server.
1200
+ * Gets or sets the collection of override arguments to be used when
1201
+ * executing a build step.
1679
1202
  */
1680
- readonly response?: PipelineRunResponse;
1681
- /** How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed. */
1682
- forceUpdateTag?: string;
1683
- };
1203
+ arguments?: Argument[];
1204
+ /** The name of the target build stage for the docker build. */
1205
+ target?: string;
1206
+ /** The collection of overridable values that can be passed when running a Task. */
1207
+ values?: SetValue[];
1208
+ /** Base64 encoded update trigger token that will be attached with the base image trigger webhook. */
1209
+ updateTriggerToken?: string;
1210
+ }
1684
1211
 
1685
1212
  /** An object that represents a private endpoint connection for a container registry. */
1686
1213
  export type PrivateEndpointConnection = ProxyResource & {
@@ -1695,53 +1222,6 @@ export type PrivateEndpointConnection = ProxyResource & {
1695
1222
  readonly provisioningState?: ProvisioningState;
1696
1223
  };
1697
1224
 
1698
- /** An object that represents a scope map for a container registry. */
1699
- export type ScopeMap = ProxyResource & {
1700
- /** The user friendly description of the scope map. */
1701
- description?: string;
1702
- /**
1703
- * The type of the scope map. E.g. BuildIn scope map.
1704
- * NOTE: This property will not be serialized. It can only be populated by the server.
1705
- */
1706
- readonly typePropertiesType?: string;
1707
- /**
1708
- * The creation date of scope map.
1709
- * NOTE: This property will not be serialized. It can only be populated by the server.
1710
- */
1711
- readonly creationDate?: Date;
1712
- /**
1713
- * Provisioning state of the resource.
1714
- * NOTE: This property will not be serialized. It can only be populated by the server.
1715
- */
1716
- readonly provisioningState?: ProvisioningState;
1717
- /**
1718
- * The list of scoped permissions for registry artifacts.
1719
- * E.g. repositories/repository-name/content/read,
1720
- * repositories/repository-name/metadata/write
1721
- */
1722
- actions?: string[];
1723
- };
1724
-
1725
- /** An object that represents a token for a container registry. */
1726
- export type Token = ProxyResource & {
1727
- /**
1728
- * The creation date of scope map.
1729
- * NOTE: This property will not be serialized. It can only be populated by the server.
1730
- */
1731
- readonly creationDate?: Date;
1732
- /**
1733
- * Provisioning state of the resource.
1734
- * NOTE: This property will not be serialized. It can only be populated by the server.
1735
- */
1736
- readonly provisioningState?: ProvisioningState;
1737
- /** The resource ID of the scope map to which the token will be associated with. */
1738
- scopeMapId?: string;
1739
- /** The credentials that can be used for authenticating the token. */
1740
- credentials?: TokenCredentialsProperties;
1741
- /** The status of the token example enabled or disabled. */
1742
- status?: TokenStatus;
1743
- };
1744
-
1745
1225
  /** Run resource properties */
1746
1226
  export type Run = ProxyResource & {
1747
1227
  /** The unique identifier for the run. */
@@ -1873,8 +1353,6 @@ export type Registry = Resource & {
1873
1353
  networkRuleBypassOptions?: NetworkRuleBypassOptions;
1874
1354
  /** Whether or not zone redundancy is enabled for this container registry */
1875
1355
  zoneRedundancy?: ZoneRedundancy;
1876
- /** Enables registry-wide pull from unauthenticated clients. */
1877
- anonymousPullEnabled?: boolean;
1878
1356
  };
1879
1357
 
1880
1358
  /** An object that represents a replication for a container registry. */
@@ -2051,314 +1529,106 @@ export type EncodedTaskRunRequest = RunRequest & {
2051
1529
  encodedTaskContent: string;
2052
1530
  /** Base64 encoded value of the parameters/values file content. */
2053
1531
  encodedValuesContent?: string;
2054
- /** The collection of overridable values that can be passed when running a task. */
2055
- values?: SetValue[];
2056
- /** Run timeout in seconds. */
2057
- timeout?: number;
2058
- /** The platform properties against which the run has to happen. */
2059
- platform: PlatformProperties;
2060
- /** The machine configuration of the run agent. */
2061
- agentConfiguration?: AgentProperties;
2062
- /**
2063
- * The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.
2064
- * If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.
2065
- */
2066
- sourceLocation?: string;
2067
- /** The properties that describes a set of credentials that will be used when this run is invoked. */
2068
- credentials?: Credentials;
2069
- };
2070
-
2071
- /** The Docker build step. */
2072
- export type DockerBuildStep = TaskStepProperties & {
2073
- /** Polymorphic discriminator, which specifies the different types this object can be */
2074
- type: "Docker";
2075
- /** The fully qualified image names including the repository and tag. */
2076
- imageNames?: string[];
2077
- /** The value of this property indicates whether the image built should be pushed to the registry or not. */
2078
- isPushEnabled?: boolean;
2079
- /** The value of this property indicates whether the image cache is enabled or not. */
2080
- noCache?: boolean;
2081
- /** The Docker file path relative to the source context. */
2082
- dockerFilePath: string;
2083
- /** The name of the target build stage for the docker build. */
2084
- target?: string;
2085
- /** The collection of override arguments to be used when executing this build step. */
2086
- arguments?: Argument[];
2087
- };
2088
-
2089
- /** The properties of a task step. */
2090
- export type FileTaskStep = TaskStepProperties & {
2091
- /** Polymorphic discriminator, which specifies the different types this object can be */
2092
- type: "FileTask";
2093
- /** The task template/definition file path relative to the source context. */
2094
- taskFilePath: string;
2095
- /** The task values/parameters file path relative to the source context. */
2096
- valuesFilePath?: string;
2097
- /** The collection of overridable values that can be passed when running a task. */
2098
- values?: SetValue[];
2099
- };
2100
-
2101
- /** The properties of a encoded task step. */
2102
- export type EncodedTaskStep = TaskStepProperties & {
2103
- /** Polymorphic discriminator, which specifies the different types this object can be */
2104
- type: "EncodedTask";
2105
- /** Base64 encoded value of the template/definition file content. */
2106
- encodedTaskContent: string;
2107
- /** Base64 encoded value of the parameters/values file content. */
2108
- encodedValuesContent?: string;
2109
- /** The collection of overridable values that can be passed when running a task. */
2110
- values?: SetValue[];
2111
- };
2112
-
2113
- /** The properties for updating a docker build step. */
2114
- export type DockerBuildStepUpdateParameters = TaskStepUpdateParameters & {
2115
- /** Polymorphic discriminator, which specifies the different types this object can be */
2116
- type: "Docker";
2117
- /** The fully qualified image names including the repository and tag. */
2118
- imageNames?: string[];
2119
- /** The value of this property indicates whether the image built should be pushed to the registry or not. */
2120
- isPushEnabled?: boolean;
2121
- /** The value of this property indicates whether the image cache is enabled or not. */
2122
- noCache?: boolean;
2123
- /** The Docker file path relative to the source context. */
2124
- dockerFilePath?: string;
2125
- /** The collection of override arguments to be used when executing this build step. */
2126
- arguments?: Argument[];
2127
- /** The name of the target build stage for the docker build. */
2128
- target?: string;
2129
- };
2130
-
2131
- /** The properties of updating a task step. */
2132
- export type FileTaskStepUpdateParameters = TaskStepUpdateParameters & {
2133
- /** Polymorphic discriminator, which specifies the different types this object can be */
2134
- type: "FileTask";
2135
- /** The task template/definition file path relative to the source context. */
2136
- taskFilePath?: string;
2137
- /** The values/parameters file path relative to the source context. */
2138
- valuesFilePath?: string;
2139
- /** The collection of overridable values that can be passed when running a task. */
2140
- values?: SetValue[];
2141
- };
2142
-
2143
- /** The properties for updating encoded task step. */
2144
- export type EncodedTaskStepUpdateParameters = TaskStepUpdateParameters & {
2145
- /** Polymorphic discriminator, which specifies the different types this object can be */
2146
- type: "EncodedTask";
2147
- /** Base64 encoded value of the template/definition file content. */
2148
- encodedTaskContent?: string;
2149
- /** Base64 encoded value of the parameters/values file content. */
2150
- encodedValuesContent?: string;
2151
- /** The collection of overridable values that can be passed when running a task. */
2152
- values?: SetValue[];
2153
- };
2154
-
2155
- /** Known values of {@link CreatedByType} that the service accepts. */
2156
- export enum KnownCreatedByType {
2157
- User = "User",
2158
- Application = "Application",
2159
- ManagedIdentity = "ManagedIdentity",
2160
- Key = "Key"
2161
- }
2162
-
2163
- /**
2164
- * Defines values for CreatedByType. \
2165
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2166
- * this enum contains the known values that the service supports.
2167
- * ### Known values supported by the service
2168
- * **User** \
2169
- * **Application** \
2170
- * **ManagedIdentity** \
2171
- * **Key**
2172
- */
2173
- export type CreatedByType = string;
2174
-
2175
- /** Known values of {@link LastModifiedByType} that the service accepts. */
2176
- export enum KnownLastModifiedByType {
2177
- User = "User",
2178
- Application = "Application",
2179
- ManagedIdentity = "ManagedIdentity",
2180
- Key = "Key"
2181
- }
2182
-
2183
- /**
2184
- * Defines values for LastModifiedByType. \
2185
- * {@link KnownLastModifiedByType} can be used interchangeably with LastModifiedByType,
2186
- * this enum contains the known values that the service supports.
2187
- * ### Known values supported by the service
2188
- * **User** \
2189
- * **Application** \
2190
- * **ManagedIdentity** \
2191
- * **Key**
2192
- */
2193
- export type LastModifiedByType = string;
2194
-
2195
- /** Known values of {@link ProvisioningState} that the service accepts. */
2196
- export enum KnownProvisioningState {
2197
- Creating = "Creating",
2198
- Updating = "Updating",
2199
- Deleting = "Deleting",
2200
- Succeeded = "Succeeded",
2201
- Failed = "Failed",
2202
- Canceled = "Canceled"
2203
- }
2204
-
2205
- /**
2206
- * Defines values for ProvisioningState. \
2207
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
2208
- * this enum contains the known values that the service supports.
2209
- * ### Known values supported by the service
2210
- * **Creating** \
2211
- * **Updating** \
2212
- * **Deleting** \
2213
- * **Succeeded** \
2214
- * **Failed** \
2215
- * **Canceled**
2216
- */
2217
- export type ProvisioningState = string;
2218
-
2219
- /** Known values of {@link ConnectedRegistryMode} that the service accepts. */
2220
- export enum KnownConnectedRegistryMode {
2221
- ReadWrite = "ReadWrite",
2222
- ReadOnly = "ReadOnly",
2223
- Registry = "Registry",
2224
- Mirror = "Mirror"
2225
- }
2226
-
2227
- /**
2228
- * Defines values for ConnectedRegistryMode. \
2229
- * {@link KnownConnectedRegistryMode} can be used interchangeably with ConnectedRegistryMode,
2230
- * this enum contains the known values that the service supports.
2231
- * ### Known values supported by the service
2232
- * **ReadWrite** \
2233
- * **ReadOnly** \
2234
- * **Registry** \
2235
- * **Mirror**
2236
- */
2237
- export type ConnectedRegistryMode = string;
2238
-
2239
- /** Known values of {@link ConnectionState} that the service accepts. */
2240
- export enum KnownConnectionState {
2241
- Online = "Online",
2242
- Offline = "Offline",
2243
- Syncing = "Syncing",
2244
- Unhealthy = "Unhealthy"
2245
- }
2246
-
2247
- /**
2248
- * Defines values for ConnectionState. \
2249
- * {@link KnownConnectionState} can be used interchangeably with ConnectionState,
2250
- * this enum contains the known values that the service supports.
2251
- * ### Known values supported by the service
2252
- * **Online** \
2253
- * **Offline** \
2254
- * **Syncing** \
2255
- * **Unhealthy**
2256
- */
2257
- export type ConnectionState = string;
2258
-
2259
- /** Known values of {@link ActivationStatus} that the service accepts. */
2260
- export enum KnownActivationStatus {
2261
- Active = "Active",
2262
- Inactive = "Inactive"
2263
- }
2264
-
2265
- /**
2266
- * Defines values for ActivationStatus. \
2267
- * {@link KnownActivationStatus} can be used interchangeably with ActivationStatus,
2268
- * this enum contains the known values that the service supports.
2269
- * ### Known values supported by the service
2270
- * **Active** \
2271
- * **Inactive**
2272
- */
2273
- export type ActivationStatus = string;
2274
-
2275
- /** Known values of {@link TlsStatus} that the service accepts. */
2276
- export enum KnownTlsStatus {
2277
- Enabled = "Enabled",
2278
- Disabled = "Disabled"
2279
- }
2280
-
2281
- /**
2282
- * Defines values for TlsStatus. \
2283
- * {@link KnownTlsStatus} can be used interchangeably with TlsStatus,
2284
- * this enum contains the known values that the service supports.
2285
- * ### Known values supported by the service
2286
- * **Enabled** \
2287
- * **Disabled**
2288
- */
2289
- export type TlsStatus = string;
2290
-
2291
- /** Known values of {@link CertificateType} that the service accepts. */
2292
- export enum KnownCertificateType {
2293
- LocalDirectory = "LocalDirectory"
2294
- }
2295
-
2296
- /**
2297
- * Defines values for CertificateType. \
2298
- * {@link KnownCertificateType} can be used interchangeably with CertificateType,
2299
- * this enum contains the known values that the service supports.
2300
- * ### Known values supported by the service
2301
- * **LocalDirectory**
2302
- */
2303
- export type CertificateType = string;
1532
+ /** The collection of overridable values that can be passed when running a task. */
1533
+ values?: SetValue[];
1534
+ /** Run timeout in seconds. */
1535
+ timeout?: number;
1536
+ /** The platform properties against which the run has to happen. */
1537
+ platform: PlatformProperties;
1538
+ /** The machine configuration of the run agent. */
1539
+ agentConfiguration?: AgentProperties;
1540
+ /**
1541
+ * The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.
1542
+ * If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.
1543
+ */
1544
+ sourceLocation?: string;
1545
+ /** The properties that describes a set of credentials that will be used when this run is invoked. */
1546
+ credentials?: Credentials;
1547
+ };
2304
1548
 
2305
- /** Known values of {@link LogLevel} that the service accepts. */
2306
- export enum KnownLogLevel {
2307
- Debug = "Debug",
2308
- Information = "Information",
2309
- Warning = "Warning",
2310
- Error = "Error",
2311
- None = "None"
2312
- }
1549
+ /** The Docker build step. */
1550
+ export type DockerBuildStep = TaskStepProperties & {
1551
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1552
+ type: "Docker";
1553
+ /** The fully qualified image names including the repository and tag. */
1554
+ imageNames?: string[];
1555
+ /** The value of this property indicates whether the image built should be pushed to the registry or not. */
1556
+ isPushEnabled?: boolean;
1557
+ /** The value of this property indicates whether the image cache is enabled or not. */
1558
+ noCache?: boolean;
1559
+ /** The Docker file path relative to the source context. */
1560
+ dockerFilePath: string;
1561
+ /** The name of the target build stage for the docker build. */
1562
+ target?: string;
1563
+ /** The collection of override arguments to be used when executing this build step. */
1564
+ arguments?: Argument[];
1565
+ };
2313
1566
 
2314
- /**
2315
- * Defines values for LogLevel. \
2316
- * {@link KnownLogLevel} can be used interchangeably with LogLevel,
2317
- * this enum contains the known values that the service supports.
2318
- * ### Known values supported by the service
2319
- * **Debug** \
2320
- * **Information** \
2321
- * **Warning** \
2322
- * **Error** \
2323
- * **None**
2324
- */
2325
- export type LogLevel = string;
1567
+ /** The properties of a task step. */
1568
+ export type FileTaskStep = TaskStepProperties & {
1569
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1570
+ type: "FileTask";
1571
+ /** The task template/definition file path relative to the source context. */
1572
+ taskFilePath: string;
1573
+ /** The task values/parameters file path relative to the source context. */
1574
+ valuesFilePath?: string;
1575
+ /** The collection of overridable values that can be passed when running a task. */
1576
+ values?: SetValue[];
1577
+ };
2326
1578
 
2327
- /** Known values of {@link AuditLogStatus} that the service accepts. */
2328
- export enum KnownAuditLogStatus {
2329
- Enabled = "Enabled",
2330
- Disabled = "Disabled"
2331
- }
1579
+ /** The properties of a encoded task step. */
1580
+ export type EncodedTaskStep = TaskStepProperties & {
1581
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1582
+ type: "EncodedTask";
1583
+ /** Base64 encoded value of the template/definition file content. */
1584
+ encodedTaskContent: string;
1585
+ /** Base64 encoded value of the parameters/values file content. */
1586
+ encodedValuesContent?: string;
1587
+ /** The collection of overridable values that can be passed when running a task. */
1588
+ values?: SetValue[];
1589
+ };
2332
1590
 
2333
- /**
2334
- * Defines values for AuditLogStatus. \
2335
- * {@link KnownAuditLogStatus} can be used interchangeably with AuditLogStatus,
2336
- * this enum contains the known values that the service supports.
2337
- * ### Known values supported by the service
2338
- * **Enabled** \
2339
- * **Disabled**
2340
- */
2341
- export type AuditLogStatus = string;
1591
+ /** The properties for updating a docker build step. */
1592
+ export type DockerBuildStepUpdateParameters = TaskStepUpdateParameters & {
1593
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1594
+ type: "Docker";
1595
+ /** The fully qualified image names including the repository and tag. */
1596
+ imageNames?: string[];
1597
+ /** The value of this property indicates whether the image built should be pushed to the registry or not. */
1598
+ isPushEnabled?: boolean;
1599
+ /** The value of this property indicates whether the image cache is enabled or not. */
1600
+ noCache?: boolean;
1601
+ /** The Docker file path relative to the source context. */
1602
+ dockerFilePath?: string;
1603
+ /** The collection of override arguments to be used when executing this build step. */
1604
+ arguments?: Argument[];
1605
+ /** The name of the target build stage for the docker build. */
1606
+ target?: string;
1607
+ };
2342
1608
 
2343
- /** Known values of {@link PipelineOptions} that the service accepts. */
2344
- export enum KnownPipelineOptions {
2345
- OverwriteTags = "OverwriteTags",
2346
- OverwriteBlobs = "OverwriteBlobs",
2347
- DeleteSourceBlobOnSuccess = "DeleteSourceBlobOnSuccess",
2348
- ContinueOnErrors = "ContinueOnErrors"
2349
- }
1609
+ /** The properties of updating a task step. */
1610
+ export type FileTaskStepUpdateParameters = TaskStepUpdateParameters & {
1611
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1612
+ type: "FileTask";
1613
+ /** The task template/definition file path relative to the source context. */
1614
+ taskFilePath?: string;
1615
+ /** The values/parameters file path relative to the source context. */
1616
+ valuesFilePath?: string;
1617
+ /** The collection of overridable values that can be passed when running a task. */
1618
+ values?: SetValue[];
1619
+ };
2350
1620
 
2351
- /**
2352
- * Defines values for PipelineOptions. \
2353
- * {@link KnownPipelineOptions} can be used interchangeably with PipelineOptions,
2354
- * this enum contains the known values that the service supports.
2355
- * ### Known values supported by the service
2356
- * **OverwriteTags** \
2357
- * **OverwriteBlobs** \
2358
- * **DeleteSourceBlobOnSuccess** \
2359
- * **ContinueOnErrors**
2360
- */
2361
- export type PipelineOptions = string;
1621
+ /** The properties for updating encoded task step. */
1622
+ export type EncodedTaskStepUpdateParameters = TaskStepUpdateParameters & {
1623
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1624
+ type: "EncodedTask";
1625
+ /** Base64 encoded value of the template/definition file content. */
1626
+ encodedTaskContent?: string;
1627
+ /** Base64 encoded value of the parameters/values file content. */
1628
+ encodedValuesContent?: string;
1629
+ /** The collection of overridable values that can be passed when running a task. */
1630
+ values?: SetValue[];
1631
+ };
2362
1632
 
2363
1633
  /** Known values of {@link ImportMode} that the service accepts. */
2364
1634
  export enum KnownImportMode {
@@ -2376,64 +1646,6 @@ export enum KnownImportMode {
2376
1646
  */
2377
1647
  export type ImportMode = string;
2378
1648
 
2379
- /** Known values of {@link PipelineSourceType} that the service accepts. */
2380
- export enum KnownPipelineSourceType {
2381
- AzureStorageBlobContainer = "AzureStorageBlobContainer"
2382
- }
2383
-
2384
- /**
2385
- * Defines values for PipelineSourceType. \
2386
- * {@link KnownPipelineSourceType} can be used interchangeably with PipelineSourceType,
2387
- * this enum contains the known values that the service supports.
2388
- * ### Known values supported by the service
2389
- * **AzureStorageBlobContainer**
2390
- */
2391
- export type PipelineSourceType = string;
2392
-
2393
- /** Known values of {@link TriggerStatus} that the service accepts. */
2394
- export enum KnownTriggerStatus {
2395
- Disabled = "Disabled",
2396
- Enabled = "Enabled"
2397
- }
2398
-
2399
- /**
2400
- * Defines values for TriggerStatus. \
2401
- * {@link KnownTriggerStatus} can be used interchangeably with TriggerStatus,
2402
- * this enum contains the known values that the service supports.
2403
- * ### Known values supported by the service
2404
- * **Disabled** \
2405
- * **Enabled**
2406
- */
2407
- export type TriggerStatus = string;
2408
-
2409
- /** Known values of {@link PipelineRunSourceType} that the service accepts. */
2410
- export enum KnownPipelineRunSourceType {
2411
- AzureStorageBlob = "AzureStorageBlob"
2412
- }
2413
-
2414
- /**
2415
- * Defines values for PipelineRunSourceType. \
2416
- * {@link KnownPipelineRunSourceType} can be used interchangeably with PipelineRunSourceType,
2417
- * this enum contains the known values that the service supports.
2418
- * ### Known values supported by the service
2419
- * **AzureStorageBlob**
2420
- */
2421
- export type PipelineRunSourceType = string;
2422
-
2423
- /** Known values of {@link PipelineRunTargetType} that the service accepts. */
2424
- export enum KnownPipelineRunTargetType {
2425
- AzureStorageBlob = "AzureStorageBlob"
2426
- }
2427
-
2428
- /**
2429
- * Defines values for PipelineRunTargetType. \
2430
- * {@link KnownPipelineRunTargetType} can be used interchangeably with PipelineRunTargetType,
2431
- * this enum contains the known values that the service supports.
2432
- * ### Known values supported by the service
2433
- * **AzureStorageBlob**
2434
- */
2435
- export type PipelineRunTargetType = string;
2436
-
2437
1649
  /** Known values of {@link ConnectionStatus} that the service accepts. */
2438
1650
  export enum KnownConnectionStatus {
2439
1651
  Approved = "Approved",
@@ -2470,6 +1682,70 @@ export enum KnownActionsRequired {
2470
1682
  */
2471
1683
  export type ActionsRequired = string;
2472
1684
 
1685
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1686
+ export enum KnownProvisioningState {
1687
+ Creating = "Creating",
1688
+ Updating = "Updating",
1689
+ Deleting = "Deleting",
1690
+ Succeeded = "Succeeded",
1691
+ Failed = "Failed",
1692
+ Canceled = "Canceled"
1693
+ }
1694
+
1695
+ /**
1696
+ * Defines values for ProvisioningState. \
1697
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1698
+ * this enum contains the known values that the service supports.
1699
+ * ### Known values supported by the service
1700
+ * **Creating** \
1701
+ * **Updating** \
1702
+ * **Deleting** \
1703
+ * **Succeeded** \
1704
+ * **Failed** \
1705
+ * **Canceled**
1706
+ */
1707
+ export type ProvisioningState = string;
1708
+
1709
+ /** Known values of {@link CreatedByType} that the service accepts. */
1710
+ export enum KnownCreatedByType {
1711
+ User = "User",
1712
+ Application = "Application",
1713
+ ManagedIdentity = "ManagedIdentity",
1714
+ Key = "Key"
1715
+ }
1716
+
1717
+ /**
1718
+ * Defines values for CreatedByType. \
1719
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1720
+ * this enum contains the known values that the service supports.
1721
+ * ### Known values supported by the service
1722
+ * **User** \
1723
+ * **Application** \
1724
+ * **ManagedIdentity** \
1725
+ * **Key**
1726
+ */
1727
+ export type CreatedByType = string;
1728
+
1729
+ /** Known values of {@link LastModifiedByType} that the service accepts. */
1730
+ export enum KnownLastModifiedByType {
1731
+ User = "User",
1732
+ Application = "Application",
1733
+ ManagedIdentity = "ManagedIdentity",
1734
+ Key = "Key"
1735
+ }
1736
+
1737
+ /**
1738
+ * Defines values for LastModifiedByType. \
1739
+ * {@link KnownLastModifiedByType} can be used interchangeably with LastModifiedByType,
1740
+ * this enum contains the known values that the service supports.
1741
+ * ### Known values supported by the service
1742
+ * **User** \
1743
+ * **Application** \
1744
+ * **ManagedIdentity** \
1745
+ * **Key**
1746
+ */
1747
+ export type LastModifiedByType = string;
1748
+
2473
1749
  /** Known values of {@link SkuName} that the service accepts. */
2474
1750
  export enum KnownSkuName {
2475
1751
  Classic = "Classic",
@@ -2666,54 +1942,6 @@ export enum KnownRegistryUsageUnit {
2666
1942
  */
2667
1943
  export type RegistryUsageUnit = string;
2668
1944
 
2669
- /** Known values of {@link TokenCertificateName} that the service accepts. */
2670
- export enum KnownTokenCertificateName {
2671
- Certificate1 = "certificate1",
2672
- Certificate2 = "certificate2"
2673
- }
2674
-
2675
- /**
2676
- * Defines values for TokenCertificateName. \
2677
- * {@link KnownTokenCertificateName} can be used interchangeably with TokenCertificateName,
2678
- * this enum contains the known values that the service supports.
2679
- * ### Known values supported by the service
2680
- * **certificate1** \
2681
- * **certificate2**
2682
- */
2683
- export type TokenCertificateName = string;
2684
-
2685
- /** Known values of {@link TokenPasswordName} that the service accepts. */
2686
- export enum KnownTokenPasswordName {
2687
- Password1 = "password1",
2688
- Password2 = "password2"
2689
- }
2690
-
2691
- /**
2692
- * Defines values for TokenPasswordName. \
2693
- * {@link KnownTokenPasswordName} can be used interchangeably with TokenPasswordName,
2694
- * this enum contains the known values that the service supports.
2695
- * ### Known values supported by the service
2696
- * **password1** \
2697
- * **password2**
2698
- */
2699
- export type TokenPasswordName = string;
2700
-
2701
- /** Known values of {@link TokenStatus} that the service accepts. */
2702
- export enum KnownTokenStatus {
2703
- Enabled = "enabled",
2704
- Disabled = "disabled"
2705
- }
2706
-
2707
- /**
2708
- * Defines values for TokenStatus. \
2709
- * {@link KnownTokenStatus} can be used interchangeably with TokenStatus,
2710
- * this enum contains the known values that the service supports.
2711
- * ### Known values supported by the service
2712
- * **enabled** \
2713
- * **disabled**
2714
- */
2715
- export type TokenStatus = string;
2716
-
2717
1945
  /** Known values of {@link WebhookStatus} that the service accepts. */
2718
1946
  export enum KnownWebhookStatus {
2719
1947
  Enabled = "enabled",
@@ -2904,7 +2132,23 @@ export enum KnownBaseImageDependencyType {
2904
2132
  * **BuildTime** \
2905
2133
  * **RunTime**
2906
2134
  */
2907
- export type BaseImageDependencyType = string;
2135
+ export type BaseImageDependencyType = string;
2136
+
2137
+ /** Known values of {@link TriggerStatus} that the service accepts. */
2138
+ export enum KnownTriggerStatus {
2139
+ Disabled = "Disabled",
2140
+ Enabled = "Enabled"
2141
+ }
2142
+
2143
+ /**
2144
+ * Defines values for TriggerStatus. \
2145
+ * {@link KnownTriggerStatus} can be used interchangeably with TriggerStatus,
2146
+ * this enum contains the known values that the service supports.
2147
+ * ### Known values supported by the service
2148
+ * **Disabled** \
2149
+ * **Enabled**
2150
+ */
2151
+ export type TriggerStatus = string;
2908
2152
 
2909
2153
  /** Known values of {@link SourceControlType} that the service accepts. */
2910
2154
  export enum KnownSourceControlType {
@@ -3026,117 +2270,6 @@ export type ResourceIdentityType =
3026
2270
  /** Defines values for PasswordName. */
3027
2271
  export type PasswordName = "password" | "password2";
3028
2272
 
3029
- /** Optional parameters. */
3030
- export interface ConnectedRegistriesListOptionalParams
3031
- extends coreClient.OperationOptions {
3032
- /** An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq. */
3033
- filter?: string;
3034
- }
3035
-
3036
- /** Contains response data for the list operation. */
3037
- export type ConnectedRegistriesListResponse = ConnectedRegistryListResult;
3038
-
3039
- /** Optional parameters. */
3040
- export interface ConnectedRegistriesGetOptionalParams
3041
- extends coreClient.OperationOptions {}
3042
-
3043
- /** Contains response data for the get operation. */
3044
- export type ConnectedRegistriesGetResponse = ConnectedRegistry;
3045
-
3046
- /** Optional parameters. */
3047
- export interface ConnectedRegistriesCreateOptionalParams
3048
- extends coreClient.OperationOptions {
3049
- /** Delay to wait until next poll, in milliseconds. */
3050
- updateIntervalInMs?: number;
3051
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3052
- resumeFrom?: string;
3053
- }
3054
-
3055
- /** Contains response data for the create operation. */
3056
- export type ConnectedRegistriesCreateResponse = ConnectedRegistry;
3057
-
3058
- /** Optional parameters. */
3059
- export interface ConnectedRegistriesDeleteOptionalParams
3060
- extends coreClient.OperationOptions {
3061
- /** Delay to wait until next poll, in milliseconds. */
3062
- updateIntervalInMs?: number;
3063
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3064
- resumeFrom?: string;
3065
- }
3066
-
3067
- /** Optional parameters. */
3068
- export interface ConnectedRegistriesUpdateOptionalParams
3069
- extends coreClient.OperationOptions {
3070
- /** Delay to wait until next poll, in milliseconds. */
3071
- updateIntervalInMs?: number;
3072
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3073
- resumeFrom?: string;
3074
- }
3075
-
3076
- /** Contains response data for the update operation. */
3077
- export type ConnectedRegistriesUpdateResponse = ConnectedRegistry;
3078
-
3079
- /** Optional parameters. */
3080
- export interface ConnectedRegistriesDeactivateOptionalParams
3081
- extends coreClient.OperationOptions {
3082
- /** Delay to wait until next poll, in milliseconds. */
3083
- updateIntervalInMs?: number;
3084
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3085
- resumeFrom?: string;
3086
- }
3087
-
3088
- /** Optional parameters. */
3089
- export interface ConnectedRegistriesListNextOptionalParams
3090
- extends coreClient.OperationOptions {
3091
- /** An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq. */
3092
- filter?: string;
3093
- }
3094
-
3095
- /** Contains response data for the listNext operation. */
3096
- export type ConnectedRegistriesListNextResponse = ConnectedRegistryListResult;
3097
-
3098
- /** Optional parameters. */
3099
- export interface ExportPipelinesListOptionalParams
3100
- extends coreClient.OperationOptions {}
3101
-
3102
- /** Contains response data for the list operation. */
3103
- export type ExportPipelinesListResponse = ExportPipelineListResult;
3104
-
3105
- /** Optional parameters. */
3106
- export interface ExportPipelinesGetOptionalParams
3107
- extends coreClient.OperationOptions {}
3108
-
3109
- /** Contains response data for the get operation. */
3110
- export type ExportPipelinesGetResponse = ExportPipeline;
3111
-
3112
- /** Optional parameters. */
3113
- export interface ExportPipelinesCreateOptionalParams
3114
- extends coreClient.OperationOptions {
3115
- /** Delay to wait until next poll, in milliseconds. */
3116
- updateIntervalInMs?: number;
3117
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3118
- resumeFrom?: string;
3119
- }
3120
-
3121
- /** Contains response data for the create operation. */
3122
- export type ExportPipelinesCreateResponse = ExportPipeline;
3123
-
3124
- /** Optional parameters. */
3125
- export interface ExportPipelinesDeleteOptionalParams
3126
- extends coreClient.OperationOptions {
3127
- /** Delay to wait until next poll, in milliseconds. */
3128
- updateIntervalInMs?: number;
3129
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3130
- resumeFrom?: string;
3131
- }
3132
-
3133
- /** Optional parameters. */
3134
- export interface ExportPipelinesListNextOptionalParams
3135
- extends coreClient.OperationOptions {}
3136
-
3137
- /** Contains response data for the listNext operation. */
3138
- export type ExportPipelinesListNextResponse = ExportPipelineListResult;
3139
-
3140
2273
  /** Optional parameters. */
3141
2274
  export interface RegistriesImportImageOptionalParams
3142
2275
  extends coreClient.OperationOptions {
@@ -3221,6 +2354,13 @@ export interface RegistriesListPrivateLinkResourcesOptionalParams
3221
2354
  /** Contains response data for the listPrivateLinkResources operation. */
3222
2355
  export type RegistriesListPrivateLinkResourcesResponse = PrivateLinkResourceListResult;
3223
2356
 
2357
+ /** Optional parameters. */
2358
+ export interface RegistriesGetPrivateLinkResourceOptionalParams
2359
+ extends coreClient.OperationOptions {}
2360
+
2361
+ /** Contains response data for the getPrivateLinkResource operation. */
2362
+ export type RegistriesGetPrivateLinkResourceResponse = PrivateLinkResource;
2363
+
3224
2364
  /** Optional parameters. */
3225
2365
  export interface RegistriesListCredentialsOptionalParams
3226
2366
  extends coreClient.OperationOptions {}
@@ -3235,18 +2375,6 @@ export interface RegistriesRegenerateCredentialOptionalParams
3235
2375
  /** Contains response data for the regenerateCredential operation. */
3236
2376
  export type RegistriesRegenerateCredentialResponse = RegistryListCredentialsResult;
3237
2377
 
3238
- /** Optional parameters. */
3239
- export interface RegistriesGenerateCredentialsOptionalParams
3240
- extends coreClient.OperationOptions {
3241
- /** Delay to wait until next poll, in milliseconds. */
3242
- updateIntervalInMs?: number;
3243
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3244
- resumeFrom?: string;
3245
- }
3246
-
3247
- /** Contains response data for the generateCredentials operation. */
3248
- export type RegistriesGenerateCredentialsResponse = GenerateCredentialsResult;
3249
-
3250
2378
  /** Optional parameters. */
3251
2379
  export interface RegistriesScheduleRunOptionalParams
3252
2380
  extends coreClient.OperationOptions {
@@ -3287,48 +2415,6 @@ export interface RegistriesListPrivateLinkResourcesNextOptionalParams
3287
2415
  /** Contains response data for the listPrivateLinkResourcesNext operation. */
3288
2416
  export type RegistriesListPrivateLinkResourcesNextResponse = PrivateLinkResourceListResult;
3289
2417
 
3290
- /** Optional parameters. */
3291
- export interface ImportPipelinesListOptionalParams
3292
- extends coreClient.OperationOptions {}
3293
-
3294
- /** Contains response data for the list operation. */
3295
- export type ImportPipelinesListResponse = ImportPipelineListResult;
3296
-
3297
- /** Optional parameters. */
3298
- export interface ImportPipelinesGetOptionalParams
3299
- extends coreClient.OperationOptions {}
3300
-
3301
- /** Contains response data for the get operation. */
3302
- export type ImportPipelinesGetResponse = ImportPipeline;
3303
-
3304
- /** Optional parameters. */
3305
- export interface ImportPipelinesCreateOptionalParams
3306
- extends coreClient.OperationOptions {
3307
- /** Delay to wait until next poll, in milliseconds. */
3308
- updateIntervalInMs?: number;
3309
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3310
- resumeFrom?: string;
3311
- }
3312
-
3313
- /** Contains response data for the create operation. */
3314
- export type ImportPipelinesCreateResponse = ImportPipeline;
3315
-
3316
- /** Optional parameters. */
3317
- export interface ImportPipelinesDeleteOptionalParams
3318
- extends coreClient.OperationOptions {
3319
- /** Delay to wait until next poll, in milliseconds. */
3320
- updateIntervalInMs?: number;
3321
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3322
- resumeFrom?: string;
3323
- }
3324
-
3325
- /** Optional parameters. */
3326
- export interface ImportPipelinesListNextOptionalParams
3327
- extends coreClient.OperationOptions {}
3328
-
3329
- /** Contains response data for the listNext operation. */
3330
- export type ImportPipelinesListNextResponse = ImportPipelineListResult;
3331
-
3332
2418
  /** Optional parameters. */
3333
2419
  export interface OperationsListOptionalParams
3334
2420
  extends coreClient.OperationOptions {}
@@ -3343,48 +2429,6 @@ export interface OperationsListNextOptionalParams
3343
2429
  /** Contains response data for the listNext operation. */
3344
2430
  export type OperationsListNextResponse = OperationListResult;
3345
2431
 
3346
- /** Optional parameters. */
3347
- export interface PipelineRunsListOptionalParams
3348
- extends coreClient.OperationOptions {}
3349
-
3350
- /** Contains response data for the list operation. */
3351
- export type PipelineRunsListResponse = PipelineRunListResult;
3352
-
3353
- /** Optional parameters. */
3354
- export interface PipelineRunsGetOptionalParams
3355
- extends coreClient.OperationOptions {}
3356
-
3357
- /** Contains response data for the get operation. */
3358
- export type PipelineRunsGetResponse = PipelineRun;
3359
-
3360
- /** Optional parameters. */
3361
- export interface PipelineRunsCreateOptionalParams
3362
- extends coreClient.OperationOptions {
3363
- /** Delay to wait until next poll, in milliseconds. */
3364
- updateIntervalInMs?: number;
3365
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3366
- resumeFrom?: string;
3367
- }
3368
-
3369
- /** Contains response data for the create operation. */
3370
- export type PipelineRunsCreateResponse = PipelineRun;
3371
-
3372
- /** Optional parameters. */
3373
- export interface PipelineRunsDeleteOptionalParams
3374
- extends coreClient.OperationOptions {
3375
- /** Delay to wait until next poll, in milliseconds. */
3376
- updateIntervalInMs?: number;
3377
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3378
- resumeFrom?: string;
3379
- }
3380
-
3381
- /** Optional parameters. */
3382
- export interface PipelineRunsListNextOptionalParams
3383
- extends coreClient.OperationOptions {}
3384
-
3385
- /** Contains response data for the listNext operation. */
3386
- export type PipelineRunsListNextResponse = PipelineRunListResult;
3387
-
3388
2432
  /** Optional parameters. */
3389
2433
  export interface PrivateEndpointConnectionsListOptionalParams
3390
2434
  extends coreClient.OperationOptions {}
@@ -3481,112 +2525,6 @@ export interface ReplicationsListNextOptionalParams
3481
2525
  /** Contains response data for the listNext operation. */
3482
2526
  export type ReplicationsListNextResponse = ReplicationListResult;
3483
2527
 
3484
- /** Optional parameters. */
3485
- export interface ScopeMapsListOptionalParams
3486
- extends coreClient.OperationOptions {}
3487
-
3488
- /** Contains response data for the list operation. */
3489
- export type ScopeMapsListResponse = ScopeMapListResult;
3490
-
3491
- /** Optional parameters. */
3492
- export interface ScopeMapsGetOptionalParams
3493
- extends coreClient.OperationOptions {}
3494
-
3495
- /** Contains response data for the get operation. */
3496
- export type ScopeMapsGetResponse = ScopeMap;
3497
-
3498
- /** Optional parameters. */
3499
- export interface ScopeMapsCreateOptionalParams
3500
- extends coreClient.OperationOptions {
3501
- /** Delay to wait until next poll, in milliseconds. */
3502
- updateIntervalInMs?: number;
3503
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3504
- resumeFrom?: string;
3505
- }
3506
-
3507
- /** Contains response data for the create operation. */
3508
- export type ScopeMapsCreateResponse = ScopeMap;
3509
-
3510
- /** Optional parameters. */
3511
- export interface ScopeMapsDeleteOptionalParams
3512
- extends coreClient.OperationOptions {
3513
- /** Delay to wait until next poll, in milliseconds. */
3514
- updateIntervalInMs?: number;
3515
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3516
- resumeFrom?: string;
3517
- }
3518
-
3519
- /** Optional parameters. */
3520
- export interface ScopeMapsUpdateOptionalParams
3521
- extends coreClient.OperationOptions {
3522
- /** Delay to wait until next poll, in milliseconds. */
3523
- updateIntervalInMs?: number;
3524
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3525
- resumeFrom?: string;
3526
- }
3527
-
3528
- /** Contains response data for the update operation. */
3529
- export type ScopeMapsUpdateResponse = ScopeMap;
3530
-
3531
- /** Optional parameters. */
3532
- export interface ScopeMapsListNextOptionalParams
3533
- extends coreClient.OperationOptions {}
3534
-
3535
- /** Contains response data for the listNext operation. */
3536
- export type ScopeMapsListNextResponse = ScopeMapListResult;
3537
-
3538
- /** Optional parameters. */
3539
- export interface TokensListOptionalParams extends coreClient.OperationOptions {}
3540
-
3541
- /** Contains response data for the list operation. */
3542
- export type TokensListResponse = TokenListResult;
3543
-
3544
- /** Optional parameters. */
3545
- export interface TokensGetOptionalParams extends coreClient.OperationOptions {}
3546
-
3547
- /** Contains response data for the get operation. */
3548
- export type TokensGetResponse = Token;
3549
-
3550
- /** Optional parameters. */
3551
- export interface TokensCreateOptionalParams
3552
- extends coreClient.OperationOptions {
3553
- /** Delay to wait until next poll, in milliseconds. */
3554
- updateIntervalInMs?: number;
3555
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3556
- resumeFrom?: string;
3557
- }
3558
-
3559
- /** Contains response data for the create operation. */
3560
- export type TokensCreateResponse = Token;
3561
-
3562
- /** Optional parameters. */
3563
- export interface TokensDeleteOptionalParams
3564
- extends coreClient.OperationOptions {
3565
- /** Delay to wait until next poll, in milliseconds. */
3566
- updateIntervalInMs?: number;
3567
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3568
- resumeFrom?: string;
3569
- }
3570
-
3571
- /** Optional parameters. */
3572
- export interface TokensUpdateOptionalParams
3573
- extends coreClient.OperationOptions {
3574
- /** Delay to wait until next poll, in milliseconds. */
3575
- updateIntervalInMs?: number;
3576
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3577
- resumeFrom?: string;
3578
- }
3579
-
3580
- /** Contains response data for the update operation. */
3581
- export type TokensUpdateResponse = Token;
3582
-
3583
- /** Optional parameters. */
3584
- export interface TokensListNextOptionalParams
3585
- extends coreClient.OperationOptions {}
3586
-
3587
- /** Contains response data for the listNext operation. */
3588
- export type TokensListNextResponse = TokenListResult;
3589
-
3590
2528
  /** Optional parameters. */
3591
2529
  export interface WebhooksListOptionalParams
3592
2530
  extends coreClient.OperationOptions {}