@azure/arm-containerregistry 9.0.0-alpha.20211103.2 → 10.0.0-alpha.20211111.2

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 (80) hide show
  1. package/CHANGELOG.md +12 -13
  2. package/dist/index.js +705 -682
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/containerRegistryManagementClientContext.js +1 -1
  7. package/dist-esm/src/containerRegistryManagementClientContext.js.map +1 -1
  8. package/dist-esm/src/models/index.d.ts +185 -177
  9. package/dist-esm/src/models/index.d.ts.map +1 -1
  10. package/dist-esm/src/models/index.js +2 -0
  11. package/dist-esm/src/models/index.js.map +1 -1
  12. package/dist-esm/src/models/mappers.d.ts +16 -16
  13. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  14. package/dist-esm/src/models/mappers.js +312 -291
  15. package/dist-esm/src/models/mappers.js.map +1 -1
  16. package/dist-esm/src/models/parameters.d.ts +1 -1
  17. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  18. package/dist-esm/src/models/parameters.js +10 -10
  19. package/dist-esm/src/models/parameters.js.map +1 -1
  20. package/dist-esm/src/operations/connectedRegistries.d.ts +7 -7
  21. package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -1
  22. package/dist-esm/src/operations/connectedRegistries.js +30 -30
  23. package/dist-esm/src/operations/connectedRegistries.js.map +1 -1
  24. package/dist-esm/src/operations/exportPipelines.d.ts +7 -7
  25. package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -1
  26. package/dist-esm/src/operations/exportPipelines.js +27 -27
  27. package/dist-esm/src/operations/exportPipelines.js.map +1 -1
  28. package/dist-esm/src/operations/importPipelines.d.ts +7 -7
  29. package/dist-esm/src/operations/importPipelines.d.ts.map +1 -1
  30. package/dist-esm/src/operations/importPipelines.js +27 -27
  31. package/dist-esm/src/operations/importPipelines.js.map +1 -1
  32. package/dist-esm/src/operations/pipelineRuns.d.ts +7 -7
  33. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -1
  34. package/dist-esm/src/operations/pipelineRuns.js +27 -27
  35. package/dist-esm/src/operations/pipelineRuns.js.map +1 -1
  36. package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
  37. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  38. package/dist-esm/src/operations/privateEndpointConnections.js +27 -27
  39. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  40. package/dist-esm/src/operations/registries.d.ts +32 -32
  41. package/dist-esm/src/operations/registries.d.ts.map +1 -1
  42. package/dist-esm/src/operations/registries.js +102 -102
  43. package/dist-esm/src/operations/registries.js.map +1 -1
  44. package/dist-esm/src/operations/replications.d.ts +7 -7
  45. package/dist-esm/src/operations/replications.d.ts.map +1 -1
  46. package/dist-esm/src/operations/replications.js +27 -27
  47. package/dist-esm/src/operations/replications.js.map +1 -1
  48. package/dist-esm/src/operations/scopeMaps.d.ts +7 -7
  49. package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -1
  50. package/dist-esm/src/operations/scopeMaps.js +27 -27
  51. package/dist-esm/src/operations/scopeMaps.js.map +1 -1
  52. package/dist-esm/src/operations/tokens.d.ts +7 -7
  53. package/dist-esm/src/operations/tokens.d.ts.map +1 -1
  54. package/dist-esm/src/operations/tokens.js +27 -27
  55. package/dist-esm/src/operations/tokens.js.map +1 -1
  56. package/dist-esm/src/operations/webhooks.d.ts +11 -11
  57. package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
  58. package/dist-esm/src/operations/webhooks.js +39 -39
  59. package/dist-esm/src/operations/webhooks.js.map +1 -1
  60. package/dist-esm/src/operationsInterfaces/registries.d.ts +13 -13
  61. package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -1
  62. package/package.json +5 -6
  63. package/review/arm-containerregistry.api.md +13 -6
  64. package/src/containerRegistryManagementClientContext.ts +1 -1
  65. package/src/models/index.ts +215 -207
  66. package/src/models/mappers.ts +330 -308
  67. package/src/models/parameters.ts +11 -11
  68. package/src/operations/connectedRegistries.ts +40 -40
  69. package/src/operations/exportPipelines.ts +37 -37
  70. package/src/operations/importPipelines.ts +37 -37
  71. package/src/operations/pipelineRuns.ts +37 -37
  72. package/src/operations/privateEndpointConnections.ts +37 -37
  73. package/src/operations/registries.ts +152 -152
  74. package/src/operations/replications.ts +37 -37
  75. package/src/operations/scopeMaps.ts +37 -37
  76. package/src/operations/tokens.ts +37 -37
  77. package/src/operations/webhooks.ts +54 -54
  78. package/src/operationsInterfaces/registries.ts +21 -21
  79. package/types/arm-containerregistry.d.ts +27 -17
  80. package/types/tsdoc-metadata.json +1 -1
@@ -18,6 +18,7 @@ import {
18
18
  ScopeMap,
19
19
  ScopeMapsListNextOptionalParams,
20
20
  ScopeMapsListOptionalParams,
21
+ ScopeMapsListResponse,
21
22
  ScopeMapsGetOptionalParams,
22
23
  ScopeMapsGetResponse,
23
24
  ScopeMapsCreateOptionalParams,
@@ -26,7 +27,6 @@ import {
26
27
  ScopeMapUpdateParameters,
27
28
  ScopeMapsUpdateOptionalParams,
28
29
  ScopeMapsUpdateResponse,
29
- ScopeMapsListResponse,
30
30
  ScopeMapsListNextResponse
31
31
  } from "../models";
32
32
 
@@ -102,6 +102,23 @@ export class ScopeMapsImpl implements ScopeMaps {
102
102
  }
103
103
  }
104
104
 
105
+ /**
106
+ * Lists all the scope maps for the specified container registry.
107
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
108
+ * @param registryName The name of the container registry.
109
+ * @param options The options parameters.
110
+ */
111
+ private _list(
112
+ resourceGroupName: string,
113
+ registryName: string,
114
+ options?: ScopeMapsListOptionalParams
115
+ ): Promise<ScopeMapsListResponse> {
116
+ return this.client.sendOperationRequest(
117
+ { resourceGroupName, registryName, options },
118
+ listOperationSpec
119
+ );
120
+ }
121
+
105
122
  /**
106
123
  * Gets the properties of the specified scope map.
107
124
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -408,23 +425,6 @@ export class ScopeMapsImpl implements ScopeMaps {
408
425
  return poller.pollUntilDone();
409
426
  }
410
427
 
411
- /**
412
- * Lists all the scope maps for the specified container registry.
413
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
414
- * @param registryName The name of the container registry.
415
- * @param options The options parameters.
416
- */
417
- private _list(
418
- resourceGroupName: string,
419
- registryName: string,
420
- options?: ScopeMapsListOptionalParams
421
- ): Promise<ScopeMapsListResponse> {
422
- return this.client.sendOperationRequest(
423
- { resourceGroupName, registryName, options },
424
- listOperationSpec
425
- );
426
- }
427
-
428
428
  /**
429
429
  * ListNext
430
430
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -447,6 +447,25 @@ export class ScopeMapsImpl implements ScopeMaps {
447
447
  // Operation Specifications
448
448
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
449
449
 
450
+ const listOperationSpec: coreClient.OperationSpec = {
451
+ path:
452
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps",
453
+ httpMethod: "GET",
454
+ responses: {
455
+ 200: {
456
+ bodyMapper: Mappers.ScopeMapListResult
457
+ }
458
+ },
459
+ queryParameters: [Parameters.apiVersion],
460
+ urlParameters: [
461
+ Parameters.$host,
462
+ Parameters.subscriptionId,
463
+ Parameters.resourceGroupName,
464
+ Parameters.registryName
465
+ ],
466
+ headerParameters: [Parameters.accept],
467
+ serializer
468
+ };
450
469
  const getOperationSpec: coreClient.OperationSpec = {
451
470
  path:
452
471
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}",
@@ -544,25 +563,6 @@ const updateOperationSpec: coreClient.OperationSpec = {
544
563
  mediaType: "json",
545
564
  serializer
546
565
  };
547
- const listOperationSpec: coreClient.OperationSpec = {
548
- path:
549
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps",
550
- httpMethod: "GET",
551
- responses: {
552
- 200: {
553
- bodyMapper: Mappers.ScopeMapListResult
554
- }
555
- },
556
- queryParameters: [Parameters.apiVersion],
557
- urlParameters: [
558
- Parameters.$host,
559
- Parameters.subscriptionId,
560
- Parameters.resourceGroupName,
561
- Parameters.registryName
562
- ],
563
- headerParameters: [Parameters.accept],
564
- serializer
565
- };
566
566
  const listNextOperationSpec: coreClient.OperationSpec = {
567
567
  path: "{nextLink}",
568
568
  httpMethod: "GET",
@@ -18,6 +18,7 @@ import {
18
18
  Token,
19
19
  TokensListNextOptionalParams,
20
20
  TokensListOptionalParams,
21
+ TokensListResponse,
21
22
  TokensGetOptionalParams,
22
23
  TokensGetResponse,
23
24
  TokensCreateOptionalParams,
@@ -26,7 +27,6 @@ import {
26
27
  TokenUpdateParameters,
27
28
  TokensUpdateOptionalParams,
28
29
  TokensUpdateResponse,
29
- TokensListResponse,
30
30
  TokensListNextResponse
31
31
  } from "../models";
32
32
 
@@ -102,6 +102,23 @@ export class TokensImpl implements Tokens {
102
102
  }
103
103
  }
104
104
 
105
+ /**
106
+ * Lists all the tokens for the specified container registry.
107
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
108
+ * @param registryName The name of the container registry.
109
+ * @param options The options parameters.
110
+ */
111
+ private _list(
112
+ resourceGroupName: string,
113
+ registryName: string,
114
+ options?: TokensListOptionalParams
115
+ ): Promise<TokensListResponse> {
116
+ return this.client.sendOperationRequest(
117
+ { resourceGroupName, registryName, options },
118
+ listOperationSpec
119
+ );
120
+ }
121
+
105
122
  /**
106
123
  * Gets the properties of the specified token.
107
124
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -402,23 +419,6 @@ export class TokensImpl implements Tokens {
402
419
  return poller.pollUntilDone();
403
420
  }
404
421
 
405
- /**
406
- * Lists all the tokens for the specified container registry.
407
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
408
- * @param registryName The name of the container registry.
409
- * @param options The options parameters.
410
- */
411
- private _list(
412
- resourceGroupName: string,
413
- registryName: string,
414
- options?: TokensListOptionalParams
415
- ): Promise<TokensListResponse> {
416
- return this.client.sendOperationRequest(
417
- { resourceGroupName, registryName, options },
418
- listOperationSpec
419
- );
420
- }
421
-
422
422
  /**
423
423
  * ListNext
424
424
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -441,6 +441,25 @@ export class TokensImpl implements Tokens {
441
441
  // Operation Specifications
442
442
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
443
443
 
444
+ const listOperationSpec: coreClient.OperationSpec = {
445
+ path:
446
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens",
447
+ httpMethod: "GET",
448
+ responses: {
449
+ 200: {
450
+ bodyMapper: Mappers.TokenListResult
451
+ }
452
+ },
453
+ queryParameters: [Parameters.apiVersion],
454
+ urlParameters: [
455
+ Parameters.$host,
456
+ Parameters.subscriptionId,
457
+ Parameters.resourceGroupName,
458
+ Parameters.registryName
459
+ ],
460
+ headerParameters: [Parameters.accept],
461
+ serializer
462
+ };
444
463
  const getOperationSpec: coreClient.OperationSpec = {
445
464
  path:
446
465
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}",
@@ -538,25 +557,6 @@ const updateOperationSpec: coreClient.OperationSpec = {
538
557
  mediaType: "json",
539
558
  serializer
540
559
  };
541
- const listOperationSpec: coreClient.OperationSpec = {
542
- path:
543
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens",
544
- httpMethod: "GET",
545
- responses: {
546
- 200: {
547
- bodyMapper: Mappers.TokenListResult
548
- }
549
- },
550
- queryParameters: [Parameters.apiVersion],
551
- urlParameters: [
552
- Parameters.$host,
553
- Parameters.subscriptionId,
554
- Parameters.resourceGroupName,
555
- Parameters.registryName
556
- ],
557
- headerParameters: [Parameters.accept],
558
- serializer
559
- };
560
560
  const listNextOperationSpec: coreClient.OperationSpec = {
561
561
  path: "{nextLink}",
562
562
  httpMethod: "GET",
@@ -21,6 +21,7 @@ import {
21
21
  Event,
22
22
  WebhooksListEventsNextOptionalParams,
23
23
  WebhooksListEventsOptionalParams,
24
+ WebhooksListResponse,
24
25
  WebhooksGetOptionalParams,
25
26
  WebhooksGetResponse,
26
27
  WebhookCreateParameters,
@@ -30,12 +31,11 @@ import {
30
31
  WebhookUpdateParameters,
31
32
  WebhooksUpdateOptionalParams,
32
33
  WebhooksUpdateResponse,
33
- WebhooksListResponse,
34
34
  WebhooksPingOptionalParams,
35
35
  WebhooksPingResponse,
36
+ WebhooksListEventsResponse,
36
37
  WebhooksGetCallbackConfigOptionalParams,
37
38
  WebhooksGetCallbackConfigResponse,
38
- WebhooksListEventsResponse,
39
39
  WebhooksListNextResponse,
40
40
  WebhooksListEventsNextResponse
41
41
  } from "../models";
@@ -192,6 +192,23 @@ export class WebhooksImpl implements Webhooks {
192
192
  }
193
193
  }
194
194
 
195
+ /**
196
+ * Lists all the webhooks for the specified container registry.
197
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
198
+ * @param registryName The name of the container registry.
199
+ * @param options The options parameters.
200
+ */
201
+ private _list(
202
+ resourceGroupName: string,
203
+ registryName: string,
204
+ options?: WebhooksListOptionalParams
205
+ ): Promise<WebhooksListResponse> {
206
+ return this.client.sendOperationRequest(
207
+ { resourceGroupName, registryName, options },
208
+ listOperationSpec
209
+ );
210
+ }
211
+
195
212
  /**
196
213
  * Gets the properties of the specified webhook.
197
214
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -498,23 +515,6 @@ export class WebhooksImpl implements Webhooks {
498
515
  return poller.pollUntilDone();
499
516
  }
500
517
 
501
- /**
502
- * Lists all the webhooks for the specified container registry.
503
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
504
- * @param registryName The name of the container registry.
505
- * @param options The options parameters.
506
- */
507
- private _list(
508
- resourceGroupName: string,
509
- registryName: string,
510
- options?: WebhooksListOptionalParams
511
- ): Promise<WebhooksListResponse> {
512
- return this.client.sendOperationRequest(
513
- { resourceGroupName, registryName, options },
514
- listOperationSpec
515
- );
516
- }
517
-
518
518
  /**
519
519
  * Triggers a ping event to be sent to the webhook.
520
520
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -535,40 +535,40 @@ export class WebhooksImpl implements Webhooks {
535
535
  }
536
536
 
537
537
  /**
538
- * Gets the configuration of service URI and custom headers for the webhook.
538
+ * Lists recent events for the specified webhook.
539
539
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
540
540
  * @param registryName The name of the container registry.
541
541
  * @param webhookName The name of the webhook.
542
542
  * @param options The options parameters.
543
543
  */
544
- getCallbackConfig(
544
+ private _listEvents(
545
545
  resourceGroupName: string,
546
546
  registryName: string,
547
547
  webhookName: string,
548
- options?: WebhooksGetCallbackConfigOptionalParams
549
- ): Promise<WebhooksGetCallbackConfigResponse> {
548
+ options?: WebhooksListEventsOptionalParams
549
+ ): Promise<WebhooksListEventsResponse> {
550
550
  return this.client.sendOperationRequest(
551
551
  { resourceGroupName, registryName, webhookName, options },
552
- getCallbackConfigOperationSpec
552
+ listEventsOperationSpec
553
553
  );
554
554
  }
555
555
 
556
556
  /**
557
- * Lists recent events for the specified webhook.
557
+ * Gets the configuration of service URI and custom headers for the webhook.
558
558
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
559
559
  * @param registryName The name of the container registry.
560
560
  * @param webhookName The name of the webhook.
561
561
  * @param options The options parameters.
562
562
  */
563
- private _listEvents(
563
+ getCallbackConfig(
564
564
  resourceGroupName: string,
565
565
  registryName: string,
566
566
  webhookName: string,
567
- options?: WebhooksListEventsOptionalParams
568
- ): Promise<WebhooksListEventsResponse> {
567
+ options?: WebhooksGetCallbackConfigOptionalParams
568
+ ): Promise<WebhooksGetCallbackConfigResponse> {
569
569
  return this.client.sendOperationRequest(
570
570
  { resourceGroupName, registryName, webhookName, options },
571
- listEventsOperationSpec
571
+ getCallbackConfigOperationSpec
572
572
  );
573
573
  }
574
574
 
@@ -615,6 +615,25 @@ export class WebhooksImpl implements Webhooks {
615
615
  // Operation Specifications
616
616
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
617
617
 
618
+ const listOperationSpec: coreClient.OperationSpec = {
619
+ path:
620
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks",
621
+ httpMethod: "GET",
622
+ responses: {
623
+ 200: {
624
+ bodyMapper: Mappers.WebhookListResult
625
+ }
626
+ },
627
+ queryParameters: [Parameters.apiVersion],
628
+ urlParameters: [
629
+ Parameters.$host,
630
+ Parameters.subscriptionId,
631
+ Parameters.resourceGroupName,
632
+ Parameters.registryName
633
+ ],
634
+ headerParameters: [Parameters.accept],
635
+ serializer
636
+ };
618
637
  const getOperationSpec: coreClient.OperationSpec = {
619
638
  path:
620
639
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
@@ -712,25 +731,6 @@ const updateOperationSpec: coreClient.OperationSpec = {
712
731
  mediaType: "json",
713
732
  serializer
714
733
  };
715
- const listOperationSpec: coreClient.OperationSpec = {
716
- path:
717
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks",
718
- httpMethod: "GET",
719
- responses: {
720
- 200: {
721
- bodyMapper: Mappers.WebhookListResult
722
- }
723
- },
724
- queryParameters: [Parameters.apiVersion],
725
- urlParameters: [
726
- Parameters.$host,
727
- Parameters.subscriptionId,
728
- Parameters.resourceGroupName,
729
- Parameters.registryName
730
- ],
731
- headerParameters: [Parameters.accept],
732
- serializer
733
- };
734
734
  const pingOperationSpec: coreClient.OperationSpec = {
735
735
  path:
736
736
  "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping",
@@ -751,13 +751,13 @@ const pingOperationSpec: coreClient.OperationSpec = {
751
751
  headerParameters: [Parameters.accept],
752
752
  serializer
753
753
  };
754
- const getCallbackConfigOperationSpec: coreClient.OperationSpec = {
754
+ const listEventsOperationSpec: coreClient.OperationSpec = {
755
755
  path:
756
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig",
756
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents",
757
757
  httpMethod: "POST",
758
758
  responses: {
759
759
  200: {
760
- bodyMapper: Mappers.CallbackConfig
760
+ bodyMapper: Mappers.EventListResult
761
761
  }
762
762
  },
763
763
  queryParameters: [Parameters.apiVersion],
@@ -771,13 +771,13 @@ const getCallbackConfigOperationSpec: coreClient.OperationSpec = {
771
771
  headerParameters: [Parameters.accept],
772
772
  serializer
773
773
  };
774
- const listEventsOperationSpec: coreClient.OperationSpec = {
774
+ const getCallbackConfigOperationSpec: coreClient.OperationSpec = {
775
775
  path:
776
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents",
776
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig",
777
777
  httpMethod: "POST",
778
778
  responses: {
779
779
  200: {
780
- bodyMapper: Mappers.EventListResult
780
+ bodyMapper: Mappers.CallbackConfig
781
781
  }
782
782
  },
783
783
  queryParameters: [Parameters.apiVersion],
@@ -10,8 +10,8 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
10
  import { PollerLike, PollOperationState } from "@azure/core-lro";
11
11
  import {
12
12
  Registry,
13
- RegistriesListByResourceGroupOptionalParams,
14
13
  RegistriesListOptionalParams,
14
+ RegistriesListByResourceGroupOptionalParams,
15
15
  PrivateLinkResource,
16
16
  RegistriesListPrivateLinkResourcesOptionalParams,
17
17
  ImportImageParameters,
@@ -27,13 +27,13 @@ import {
27
27
  RegistryUpdateParameters,
28
28
  RegistriesUpdateOptionalParams,
29
29
  RegistriesUpdateResponse,
30
+ RegistriesListUsagesOptionalParams,
31
+ RegistriesListUsagesResponse,
30
32
  RegistriesListCredentialsOptionalParams,
31
33
  RegistriesListCredentialsResponse,
32
34
  RegenerateCredentialParameters,
33
35
  RegistriesRegenerateCredentialOptionalParams,
34
36
  RegistriesRegenerateCredentialResponse,
35
- RegistriesListUsagesOptionalParams,
36
- RegistriesListUsagesResponse,
37
37
  GenerateCredentialsParameters,
38
38
  RegistriesGenerateCredentialsOptionalParams,
39
39
  RegistriesGenerateCredentialsResponse,
@@ -47,6 +47,13 @@ import {
47
47
  /// <reference lib="esnext.asynciterable" />
48
48
  /** Interface representing a Registries. */
49
49
  export interface Registries {
50
+ /**
51
+ * Lists all the container registries under the specified subscription.
52
+ * @param options The options parameters.
53
+ */
54
+ list(
55
+ options?: RegistriesListOptionalParams
56
+ ): PagedAsyncIterableIterator<Registry>;
50
57
  /**
51
58
  * Lists all the container registries under the specified resource group.
52
59
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -56,13 +63,6 @@ export interface Registries {
56
63
  resourceGroupName: string,
57
64
  options?: RegistriesListByResourceGroupOptionalParams
58
65
  ): PagedAsyncIterableIterator<Registry>;
59
- /**
60
- * Lists all the container registries under the specified subscription.
61
- * @param options The options parameters.
62
- */
63
- list(
64
- options?: RegistriesListOptionalParams
65
- ): PagedAsyncIterableIterator<Registry>;
66
66
  /**
67
67
  * Lists the private link resources for a container registry.
68
68
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -205,6 +205,17 @@ export interface Registries {
205
205
  registryUpdateParameters: RegistryUpdateParameters,
206
206
  options?: RegistriesUpdateOptionalParams
207
207
  ): Promise<RegistriesUpdateResponse>;
208
+ /**
209
+ * Gets the quota usages for the specified container registry.
210
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
211
+ * @param registryName The name of the container registry.
212
+ * @param options The options parameters.
213
+ */
214
+ listUsages(
215
+ resourceGroupName: string,
216
+ registryName: string,
217
+ options?: RegistriesListUsagesOptionalParams
218
+ ): Promise<RegistriesListUsagesResponse>;
208
219
  /**
209
220
  * Lists the login credentials for the specified container registry.
210
221
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -230,17 +241,6 @@ export interface Registries {
230
241
  regenerateCredentialParameters: RegenerateCredentialParameters,
231
242
  options?: RegistriesRegenerateCredentialOptionalParams
232
243
  ): Promise<RegistriesRegenerateCredentialResponse>;
233
- /**
234
- * Gets the quota usages for the specified container registry.
235
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
236
- * @param registryName The name of the container registry.
237
- * @param options The options parameters.
238
- */
239
- listUsages(
240
- resourceGroupName: string,
241
- registryName: string,
242
- options?: RegistriesListUsagesOptionalParams
243
- ): Promise<RegistriesListUsagesResponse>;
244
244
  /**
245
245
  * Generate keys for a token of a specified container registry.
246
246
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -577,6 +577,8 @@ export declare type ConnectedRegistry = ProxyResource & {
577
577
  * NOTE: This property will not be serialized. It can only be populated by the server.
578
578
  */
579
579
  readonly statusDetails?: StatusDetailProperties[];
580
+ /** The list of notifications subscription information for the connected registry. */
581
+ notificationsList?: string[];
580
582
  };
581
583
 
582
584
  /** The result of a request to list connected registries for a container registry. */
@@ -592,6 +594,8 @@ export declare interface ConnectedRegistryListResult {
592
594
  * {@link KnownConnectedRegistryMode} can be used interchangeably with ConnectedRegistryMode,
593
595
  * this enum contains the known values that the service supports.
594
596
  * ### Known values supported by the service
597
+ * **ReadWrite** \
598
+ * **ReadOnly** \
595
599
  * **Registry** \
596
600
  * **Mirror**
597
601
  */
@@ -605,6 +609,8 @@ export declare interface ConnectedRegistryUpdateParameters {
605
609
  logging?: LoggingProperties;
606
610
  /** The list of the ACR token resource IDs used to authenticate clients to the connected registry. */
607
611
  clientTokenIds?: string[];
612
+ /** The list of notifications subscription information for the connected registry. */
613
+ notificationsList?: string[];
608
614
  }
609
615
 
610
616
  /**
@@ -883,12 +889,13 @@ export declare interface ErrorResponseBody {
883
889
  }
884
890
 
885
891
  /** The event for a webhook. */
886
- export declare type Event = EventInfo & {
892
+ declare type Event_2 = EventInfo & {
887
893
  /** The event request message sent to the service URI. */
888
894
  eventRequestMessage?: EventRequestMessage;
889
895
  /** The event response message received from the service URI. */
890
896
  eventResponseMessage?: EventResponseMessage;
891
897
  };
898
+ export { Event_2 as Event }
892
899
 
893
900
  /** The content of the event request message. */
894
901
  export declare interface EventContent {
@@ -901,7 +908,7 @@ export declare interface EventContent {
901
908
  /** The target of the event. */
902
909
  target?: Target;
903
910
  /** The request that generated the event. */
904
- request?: Request;
911
+ request?: Request_2;
905
912
  /** The agent that initiated the event. For most situations, this could be from the authorization context of the request. */
906
913
  actor?: Actor;
907
914
  /** The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. */
@@ -917,7 +924,7 @@ export declare interface EventInfo {
917
924
  /** The result of a request to list events for a webhook. */
918
925
  export declare interface EventListResult {
919
926
  /** The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events. */
920
- value?: Event[];
927
+ value?: Event_2[];
921
928
  /** The URI that can be used to request the next list of events. */
922
929
  nextLink?: string;
923
930
  }
@@ -1479,6 +1486,8 @@ export declare enum KnownCertificateType {
1479
1486
 
1480
1487
  /** Known values of {@link ConnectedRegistryMode} that the service accepts. */
1481
1488
  export declare enum KnownConnectedRegistryMode {
1489
+ ReadWrite = "ReadWrite",
1490
+ ReadOnly = "ReadOnly",
1482
1491
  Registry = "Registry",
1483
1492
  Mirror = "Mirror"
1484
1493
  }
@@ -2461,16 +2470,16 @@ export declare interface RegenerateCredentialParameters {
2461
2470
  /** Interface representing a Registries. */
2462
2471
  export declare interface Registries {
2463
2472
  /**
2464
- * Lists all the container registries under the specified resource group.
2465
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2473
+ * Lists all the container registries under the specified subscription.
2466
2474
  * @param options The options parameters.
2467
2475
  */
2468
- listByResourceGroup(resourceGroupName: string, options?: RegistriesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Registry>;
2476
+ list(options?: RegistriesListOptionalParams): PagedAsyncIterableIterator<Registry>;
2469
2477
  /**
2470
- * Lists all the container registries under the specified subscription.
2478
+ * Lists all the container registries under the specified resource group.
2479
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
2471
2480
  * @param options The options parameters.
2472
2481
  */
2473
- list(options?: RegistriesListOptionalParams): PagedAsyncIterableIterator<Registry>;
2482
+ listByResourceGroup(resourceGroupName: string, options?: RegistriesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Registry>;
2474
2483
  /**
2475
2484
  * Lists the private link resources for a container registry.
2476
2485
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -2554,6 +2563,13 @@ export declare interface Registries {
2554
2563
  * @param options The options parameters.
2555
2564
  */
2556
2565
  beginUpdateAndWait(resourceGroupName: string, registryName: string, registryUpdateParameters: RegistryUpdateParameters, options?: RegistriesUpdateOptionalParams): Promise<RegistriesUpdateResponse>;
2566
+ /**
2567
+ * Gets the quota usages for the specified container registry.
2568
+ * @param resourceGroupName The name of the resource group to which the container registry belongs.
2569
+ * @param registryName The name of the container registry.
2570
+ * @param options The options parameters.
2571
+ */
2572
+ listUsages(resourceGroupName: string, registryName: string, options?: RegistriesListUsagesOptionalParams): Promise<RegistriesListUsagesResponse>;
2557
2573
  /**
2558
2574
  * Lists the login credentials for the specified container registry.
2559
2575
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -2570,13 +2586,6 @@ export declare interface Registries {
2570
2586
  * @param options The options parameters.
2571
2587
  */
2572
2588
  regenerateCredential(resourceGroupName: string, registryName: string, regenerateCredentialParameters: RegenerateCredentialParameters, options?: RegistriesRegenerateCredentialOptionalParams): Promise<RegistriesRegenerateCredentialResponse>;
2573
- /**
2574
- * Gets the quota usages for the specified container registry.
2575
- * @param resourceGroupName The name of the resource group to which the container registry belongs.
2576
- * @param registryName The name of the container registry.
2577
- * @param options The options parameters.
2578
- */
2579
- listUsages(resourceGroupName: string, registryName: string, options?: RegistriesListUsagesOptionalParams): Promise<RegistriesListUsagesResponse>;
2580
2589
  /**
2581
2590
  * Generate keys for a token of a specified container registry.
2582
2591
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -3075,7 +3084,7 @@ export declare interface ReplicationUpdateParameters {
3075
3084
  }
3076
3085
 
3077
3086
  /** The request that generated the event. */
3078
- export declare interface Request {
3087
+ declare interface Request_2 {
3079
3088
  /** The ID of the request that initiated the event. */
3080
3089
  id?: string;
3081
3090
  /** The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request. */
@@ -3087,6 +3096,7 @@ export declare interface Request {
3087
3096
  /** The user agent header of the request. */
3088
3097
  useragent?: string;
3089
3098
  }
3099
+ export { Request_2 as Request }
3090
3100
 
3091
3101
  /** An Azure resource. */
3092
3102
  export declare interface Resource {
@@ -4790,7 +4800,7 @@ export declare interface Webhooks {
4790
4800
  * @param webhookName The name of the webhook.
4791
4801
  * @param options The options parameters.
4792
4802
  */
4793
- listEvents(resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksListEventsOptionalParams): PagedAsyncIterableIterator<Event>;
4803
+ listEvents(resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksListEventsOptionalParams): PagedAsyncIterableIterator<Event_2>;
4794
4804
  /**
4795
4805
  * Gets the properties of the specified webhook.
4796
4806
  * @param resourceGroupName The name of the resource group to which the container registry belongs.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.7.11"
8
+ "packageVersion": "7.18.19"
9
9
  }
10
10
  ]
11
11
  }