@azure/arm-containerregistry 10.1.0-beta.3 → 10.1.0-beta.4

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 (92) hide show
  1. package/CHANGELOG.md +26 -8
  2. package/README.md +1 -1
  3. package/dist/index.js +512 -144
  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.map +1 -1
  8. package/dist-esm/src/containerRegistryManagementClient.js +20 -18
  9. package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
  10. package/dist-esm/src/index.d.ts +1 -0
  11. package/dist-esm/src/index.d.ts.map +1 -1
  12. package/dist-esm/src/index.js +1 -0
  13. package/dist-esm/src/index.js.map +1 -1
  14. package/dist-esm/src/models/index.d.ts +185 -50
  15. package/dist-esm/src/models/index.d.ts.map +1 -1
  16. package/dist-esm/src/models/index.js +135 -0
  17. package/dist-esm/src/models/index.js.map +1 -1
  18. package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
  19. package/dist-esm/src/operations/agentPools.js +19 -7
  20. package/dist-esm/src/operations/agentPools.js.map +1 -1
  21. package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -1
  22. package/dist-esm/src/operations/connectedRegistries.js +19 -7
  23. package/dist-esm/src/operations/connectedRegistries.js.map +1 -1
  24. package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -1
  25. package/dist-esm/src/operations/exportPipelines.js +19 -7
  26. package/dist-esm/src/operations/exportPipelines.js.map +1 -1
  27. package/dist-esm/src/operations/importPipelines.d.ts.map +1 -1
  28. package/dist-esm/src/operations/importPipelines.js +19 -7
  29. package/dist-esm/src/operations/importPipelines.js.map +1 -1
  30. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  31. package/dist-esm/src/operations/operations.js +19 -7
  32. package/dist-esm/src/operations/operations.js.map +1 -1
  33. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -1
  34. package/dist-esm/src/operations/pipelineRuns.js +19 -7
  35. package/dist-esm/src/operations/pipelineRuns.js.map +1 -1
  36. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  37. package/dist-esm/src/operations/privateEndpointConnections.js +19 -7
  38. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  39. package/dist-esm/src/operations/registries.d.ts.map +1 -1
  40. package/dist-esm/src/operations/registries.js +55 -21
  41. package/dist-esm/src/operations/registries.js.map +1 -1
  42. package/dist-esm/src/operations/replications.d.ts.map +1 -1
  43. package/dist-esm/src/operations/replications.js +19 -7
  44. package/dist-esm/src/operations/replications.js.map +1 -1
  45. package/dist-esm/src/operations/runs.d.ts.map +1 -1
  46. package/dist-esm/src/operations/runs.js +19 -7
  47. package/dist-esm/src/operations/runs.js.map +1 -1
  48. package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -1
  49. package/dist-esm/src/operations/scopeMaps.js +19 -7
  50. package/dist-esm/src/operations/scopeMaps.js.map +1 -1
  51. package/dist-esm/src/operations/taskRuns.d.ts.map +1 -1
  52. package/dist-esm/src/operations/taskRuns.js +19 -7
  53. package/dist-esm/src/operations/taskRuns.js.map +1 -1
  54. package/dist-esm/src/operations/tasks.d.ts.map +1 -1
  55. package/dist-esm/src/operations/tasks.js +19 -7
  56. package/dist-esm/src/operations/tasks.js.map +1 -1
  57. package/dist-esm/src/operations/tokens.d.ts.map +1 -1
  58. package/dist-esm/src/operations/tokens.js +19 -7
  59. package/dist-esm/src/operations/tokens.js.map +1 -1
  60. package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
  61. package/dist-esm/src/operations/webhooks.js +37 -14
  62. package/dist-esm/src/operations/webhooks.js.map +1 -1
  63. package/dist-esm/src/pagingHelper.d.ts +13 -0
  64. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  65. package/dist-esm/src/pagingHelper.js +32 -0
  66. package/dist-esm/src/pagingHelper.js.map +1 -0
  67. package/dist-esm/test/containerregistry_examples.d.ts.map +1 -1
  68. package/dist-esm/test/containerregistry_examples.js +16 -18
  69. package/dist-esm/test/containerregistry_examples.js.map +1 -1
  70. package/package.json +15 -11
  71. package/review/arm-containerregistry.api.md +143 -275
  72. package/src/containerRegistryManagementClient.ts +26 -20
  73. package/src/index.ts +1 -0
  74. package/src/models/index.ts +187 -50
  75. package/src/operations/agentPools.ts +27 -9
  76. package/src/operations/connectedRegistries.ts +26 -8
  77. package/src/operations/exportPipelines.ts +26 -8
  78. package/src/operations/importPipelines.ts +26 -8
  79. package/src/operations/operations.ts +21 -8
  80. package/src/operations/pipelineRuns.ts +26 -8
  81. package/src/operations/privateEndpointConnections.ts +26 -8
  82. package/src/operations/registries.ts +71 -29
  83. package/src/operations/replications.ts +26 -8
  84. package/src/operations/runs.ts +26 -8
  85. package/src/operations/scopeMaps.ts +26 -8
  86. package/src/operations/taskRuns.ts +27 -9
  87. package/src/operations/tasks.ts +26 -8
  88. package/src/operations/tokens.ts +26 -8
  89. package/src/operations/webhooks.ts +53 -22
  90. package/src/pagingHelper.ts +39 -0
  91. package/types/arm-containerregistry.d.ts +194 -50
  92. package/types/tsdoc-metadata.json +1 -1
@@ -60,7 +60,7 @@ export declare interface Actor {
60
60
  * The agentpool that has the ARM resource and properties.
61
61
  * The agentpool will have all information to create an agent pool.
62
62
  */
63
- export declare type AgentPool = Resource & {
63
+ export declare interface AgentPool extends Resource {
64
64
  /** The count of agent machine */
65
65
  count?: number;
66
66
  /** The Tier of agent machine */
@@ -74,7 +74,7 @@ export declare type AgentPool = Resource & {
74
74
  * NOTE: This property will not be serialized. It can only be populated by the server.
75
75
  */
76
76
  readonly provisioningState?: ProvisioningState;
77
- };
77
+ }
78
78
 
79
79
  /** The collection of agent pools. */
80
80
  export declare interface AgentPoolListResult {
@@ -552,7 +552,7 @@ export declare interface ConnectedRegistriesUpdateOptionalParams extends coreCli
552
552
  export declare type ConnectedRegistriesUpdateResponse = ConnectedRegistry;
553
553
 
554
554
  /** An object that represents a connected registry for a container registry. */
555
- export declare type ConnectedRegistry = ProxyResource & {
555
+ export declare interface ConnectedRegistry extends ProxyResource {
556
556
  /**
557
557
  * Provisioning state of the resource.
558
558
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -595,7 +595,7 @@ export declare type ConnectedRegistry = ProxyResource & {
595
595
  readonly statusDetails?: StatusDetailProperties[];
596
596
  /** The list of notifications subscription information for the connected registry. */
597
597
  notificationsList?: string[];
598
- };
598
+ }
599
599
 
600
600
  /** The result of a request to list connected registries for a container registry. */
601
601
  export declare interface ConnectedRegistryListResult {
@@ -744,7 +744,7 @@ export declare interface CustomRegistryCredentials {
744
744
  export declare type DefaultAction = string;
745
745
 
746
746
  /** The parameters for a docker quick build. */
747
- export declare type DockerBuildRequest = RunRequest & {
747
+ export declare interface DockerBuildRequest extends RunRequest {
748
748
  /** Polymorphic discriminator, which specifies the different types this object can be */
749
749
  type: "DockerBuildRequest";
750
750
  /** The fully qualified image names including the repository and tag. */
@@ -772,10 +772,10 @@ export declare type DockerBuildRequest = RunRequest & {
772
772
  sourceLocation?: string;
773
773
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
774
774
  credentials?: Credentials;
775
- };
775
+ }
776
776
 
777
777
  /** The Docker build step. */
778
- export declare type DockerBuildStep = TaskStepProperties & {
778
+ export declare interface DockerBuildStep extends TaskStepProperties {
779
779
  /** Polymorphic discriminator, which specifies the different types this object can be */
780
780
  type: "Docker";
781
781
  /** The fully qualified image names including the repository and tag. */
@@ -790,10 +790,10 @@ export declare type DockerBuildStep = TaskStepProperties & {
790
790
  target?: string;
791
791
  /** The collection of override arguments to be used when executing this build step. */
792
792
  arguments?: Argument[];
793
- };
793
+ }
794
794
 
795
795
  /** The properties for updating a docker build step. */
796
- export declare type DockerBuildStepUpdateParameters = TaskStepUpdateParameters & {
796
+ export declare interface DockerBuildStepUpdateParameters extends TaskStepUpdateParameters {
797
797
  /** Polymorphic discriminator, which specifies the different types this object can be */
798
798
  type: "Docker";
799
799
  /** The fully qualified image names including the repository and tag. */
@@ -808,10 +808,10 @@ export declare type DockerBuildStepUpdateParameters = TaskStepUpdateParameters &
808
808
  arguments?: Argument[];
809
809
  /** The name of the target build stage for the docker build. */
810
810
  target?: string;
811
- };
811
+ }
812
812
 
813
813
  /** The parameters for a quick task run request. */
814
- export declare type EncodedTaskRunRequest = RunRequest & {
814
+ export declare interface EncodedTaskRunRequest extends RunRequest {
815
815
  /** Polymorphic discriminator, which specifies the different types this object can be */
816
816
  type: "EncodedTaskRunRequest";
817
817
  /** Base64 encoded value of the template/definition file content. */
@@ -833,10 +833,10 @@ export declare type EncodedTaskRunRequest = RunRequest & {
833
833
  sourceLocation?: string;
834
834
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
835
835
  credentials?: Credentials;
836
- };
836
+ }
837
837
 
838
838
  /** The properties of a encoded task step. */
839
- export declare type EncodedTaskStep = TaskStepProperties & {
839
+ export declare interface EncodedTaskStep extends TaskStepProperties {
840
840
  /** Polymorphic discriminator, which specifies the different types this object can be */
841
841
  type: "EncodedTask";
842
842
  /** Base64 encoded value of the template/definition file content. */
@@ -845,10 +845,10 @@ export declare type EncodedTaskStep = TaskStepProperties & {
845
845
  encodedValuesContent?: string;
846
846
  /** The collection of overridable values that can be passed when running a task. */
847
847
  values?: SetValue[];
848
- };
848
+ }
849
849
 
850
850
  /** The properties for updating encoded task step. */
851
- export declare type EncodedTaskStepUpdateParameters = TaskStepUpdateParameters & {
851
+ export declare interface EncodedTaskStepUpdateParameters extends TaskStepUpdateParameters {
852
852
  /** Polymorphic discriminator, which specifies the different types this object can be */
853
853
  type: "EncodedTask";
854
854
  /** Base64 encoded value of the template/definition file content. */
@@ -857,7 +857,7 @@ export declare type EncodedTaskStepUpdateParameters = TaskStepUpdateParameters &
857
857
  encodedValuesContent?: string;
858
858
  /** The collection of overridable values that can be passed when running a task. */
859
859
  values?: SetValue[];
860
- };
860
+ }
861
861
 
862
862
  export declare interface EncryptionProperty {
863
863
  /** Indicates whether or not the encryption is enabled for container registry. */
@@ -895,12 +895,12 @@ export declare interface ErrorResponseBody {
895
895
  }
896
896
 
897
897
  /** The event for a webhook. */
898
- declare type Event_2 = EventInfo & {
898
+ declare interface Event_2 extends EventInfo {
899
899
  /** The event request message sent to the service URI. */
900
900
  eventRequestMessage?: EventRequestMessage;
901
901
  /** The event response message received from the service URI. */
902
902
  eventResponseMessage?: EventResponseMessage;
903
- };
903
+ }
904
904
  export { Event_2 as Event }
905
905
 
906
906
  /** The content of the event request message. */
@@ -968,7 +968,7 @@ export declare interface EventResponseMessage {
968
968
  }
969
969
 
970
970
  /** An object that represents an export pipeline for a container registry. */
971
- export declare type ExportPipeline = ProxyResource & {
971
+ export declare interface ExportPipeline extends ProxyResource {
972
972
  /** The location of the export pipeline. */
973
973
  location?: string;
974
974
  /** The identity of the export pipeline. */
@@ -982,7 +982,7 @@ export declare type ExportPipeline = ProxyResource & {
982
982
  * NOTE: This property will not be serialized. It can only be populated by the server.
983
983
  */
984
984
  readonly provisioningState?: ProvisioningState;
985
- };
985
+ }
986
986
 
987
987
  /** The result of a request to list export pipelines for a container registry. */
988
988
  export declare interface ExportPipelineListResult {
@@ -1116,7 +1116,7 @@ export declare interface ExportPolicy {
1116
1116
  export declare type ExportPolicyStatus = string;
1117
1117
 
1118
1118
  /** The request parameters for a scheduling run against a task file. */
1119
- export declare type FileTaskRunRequest = RunRequest & {
1119
+ export declare interface FileTaskRunRequest extends RunRequest {
1120
1120
  /** Polymorphic discriminator, which specifies the different types this object can be */
1121
1121
  type: "FileTaskRunRequest";
1122
1122
  /** The template/definition file path relative to the source. */
@@ -1138,10 +1138,10 @@ export declare type FileTaskRunRequest = RunRequest & {
1138
1138
  sourceLocation?: string;
1139
1139
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
1140
1140
  credentials?: Credentials;
1141
- };
1141
+ }
1142
1142
 
1143
1143
  /** The properties of a task step. */
1144
- export declare type FileTaskStep = TaskStepProperties & {
1144
+ export declare interface FileTaskStep extends TaskStepProperties {
1145
1145
  /** Polymorphic discriminator, which specifies the different types this object can be */
1146
1146
  type: "FileTask";
1147
1147
  /** The task template/definition file path relative to the source context. */
@@ -1150,10 +1150,10 @@ export declare type FileTaskStep = TaskStepProperties & {
1150
1150
  valuesFilePath?: string;
1151
1151
  /** The collection of overridable values that can be passed when running a task. */
1152
1152
  values?: SetValue[];
1153
- };
1153
+ }
1154
1154
 
1155
1155
  /** The properties of updating a task step. */
1156
- export declare type FileTaskStepUpdateParameters = TaskStepUpdateParameters & {
1156
+ export declare interface FileTaskStepUpdateParameters extends TaskStepUpdateParameters {
1157
1157
  /** Polymorphic discriminator, which specifies the different types this object can be */
1158
1158
  type: "FileTask";
1159
1159
  /** The task template/definition file path relative to the source context. */
@@ -1162,7 +1162,7 @@ export declare type FileTaskStepUpdateParameters = TaskStepUpdateParameters & {
1162
1162
  valuesFilePath?: string;
1163
1163
  /** The collection of overridable values that can be passed when running a task. */
1164
1164
  values?: SetValue[];
1165
- };
1165
+ }
1166
1166
 
1167
1167
  /** The parameters used to generate credentials for a specified token or user of a container registry. */
1168
1168
  export declare interface GenerateCredentialsParameters {
@@ -1182,6 +1182,15 @@ export declare interface GenerateCredentialsResult {
1182
1182
  passwords?: TokenPassword[];
1183
1183
  }
1184
1184
 
1185
+ /**
1186
+ * Given a result page from a pageable operation, returns a
1187
+ * continuation token that can be used to begin paging from
1188
+ * that point later.
1189
+ * @param page A result object from calling .byPage() on a paged operation.
1190
+ * @returns The continuation token that can be passed into byPage().
1191
+ */
1192
+ export declare function getContinuationToken(page: unknown): string | undefined;
1193
+
1185
1194
  /** Managed identity for the resource. */
1186
1195
  export declare interface IdentityProperties {
1187
1196
  /** The principal ID of resource identity. */
@@ -1245,7 +1254,7 @@ export declare interface ImportImageParameters {
1245
1254
  export declare type ImportMode = string;
1246
1255
 
1247
1256
  /** An object that represents an import pipeline for a container registry. */
1248
- export declare type ImportPipeline = ProxyResource & {
1257
+ export declare interface ImportPipeline extends ProxyResource {
1249
1258
  /** The location of the import pipeline. */
1250
1259
  location?: string;
1251
1260
  /** The identity of the import pipeline. */
@@ -1261,7 +1270,7 @@ export declare type ImportPipeline = ProxyResource & {
1261
1270
  * NOTE: This property will not be serialized. It can only be populated by the server.
1262
1271
  */
1263
1272
  readonly provisioningState?: ProvisioningState;
1264
- };
1273
+ }
1265
1274
 
1266
1275
  /** The result of a request to list import pipelines for a container registry. */
1267
1276
  export declare interface ImportPipelineListResult {
@@ -1443,340 +1452,475 @@ export declare interface KeyVaultProperties {
1443
1452
 
1444
1453
  /** Known values of {@link Action} that the service accepts. */
1445
1454
  export declare enum KnownAction {
1455
+ /** Allow */
1446
1456
  Allow = "Allow"
1447
1457
  }
1448
1458
 
1449
1459
  /** Known values of {@link ActionsRequired} that the service accepts. */
1450
1460
  export declare enum KnownActionsRequired {
1461
+ /** None */
1451
1462
  None = "None",
1463
+ /** Recreate */
1452
1464
  Recreate = "Recreate"
1453
1465
  }
1454
1466
 
1455
1467
  /** Known values of {@link ActivationStatus} that the service accepts. */
1456
1468
  export declare enum KnownActivationStatus {
1469
+ /** Active */
1457
1470
  Active = "Active",
1471
+ /** Inactive */
1458
1472
  Inactive = "Inactive"
1459
1473
  }
1460
1474
 
1461
1475
  /** Known values of {@link Architecture} that the service accepts. */
1462
1476
  export declare enum KnownArchitecture {
1477
+ /** Amd64 */
1463
1478
  Amd64 = "amd64",
1479
+ /** X86 */
1464
1480
  X86 = "x86",
1481
+ /** ThreeHundredEightySix */
1465
1482
  ThreeHundredEightySix = "386",
1483
+ /** Arm */
1466
1484
  Arm = "arm",
1485
+ /** Arm64 */
1467
1486
  Arm64 = "arm64"
1468
1487
  }
1469
1488
 
1470
1489
  /** Known values of {@link AuditLogStatus} that the service accepts. */
1471
1490
  export declare enum KnownAuditLogStatus {
1491
+ /** Enabled */
1472
1492
  Enabled = "Enabled",
1493
+ /** Disabled */
1473
1494
  Disabled = "Disabled"
1474
1495
  }
1475
1496
 
1476
1497
  /** Known values of {@link AzureADAuthenticationAsArmPolicyStatus} that the service accepts. */
1477
1498
  export declare enum KnownAzureADAuthenticationAsArmPolicyStatus {
1499
+ /** Enabled */
1478
1500
  Enabled = "enabled",
1501
+ /** Disabled */
1479
1502
  Disabled = "disabled"
1480
1503
  }
1481
1504
 
1482
1505
  /** Known values of {@link BaseImageDependencyType} that the service accepts. */
1483
1506
  export declare enum KnownBaseImageDependencyType {
1507
+ /** BuildTime */
1484
1508
  BuildTime = "BuildTime",
1509
+ /** RunTime */
1485
1510
  RunTime = "RunTime"
1486
1511
  }
1487
1512
 
1488
1513
  /** Known values of {@link BaseImageTriggerType} that the service accepts. */
1489
1514
  export declare enum KnownBaseImageTriggerType {
1515
+ /** All */
1490
1516
  All = "All",
1517
+ /** Runtime */
1491
1518
  Runtime = "Runtime"
1492
1519
  }
1493
1520
 
1494
1521
  /** Known values of {@link CertificateType} that the service accepts. */
1495
1522
  export declare enum KnownCertificateType {
1523
+ /** LocalDirectory */
1496
1524
  LocalDirectory = "LocalDirectory"
1497
1525
  }
1498
1526
 
1499
1527
  /** Known values of {@link ConnectedRegistryMode} that the service accepts. */
1500
1528
  export declare enum KnownConnectedRegistryMode {
1529
+ /** ReadWrite */
1501
1530
  ReadWrite = "ReadWrite",
1531
+ /** ReadOnly */
1502
1532
  ReadOnly = "ReadOnly",
1533
+ /** Registry */
1503
1534
  Registry = "Registry",
1535
+ /** Mirror */
1504
1536
  Mirror = "Mirror"
1505
1537
  }
1506
1538
 
1507
1539
  /** Known values of {@link ConnectionState} that the service accepts. */
1508
1540
  export declare enum KnownConnectionState {
1541
+ /** Online */
1509
1542
  Online = "Online",
1543
+ /** Offline */
1510
1544
  Offline = "Offline",
1545
+ /** Syncing */
1511
1546
  Syncing = "Syncing",
1547
+ /** Unhealthy */
1512
1548
  Unhealthy = "Unhealthy"
1513
1549
  }
1514
1550
 
1515
1551
  /** Known values of {@link ConnectionStatus} that the service accepts. */
1516
1552
  export declare enum KnownConnectionStatus {
1553
+ /** Approved */
1517
1554
  Approved = "Approved",
1555
+ /** Pending */
1518
1556
  Pending = "Pending",
1557
+ /** Rejected */
1519
1558
  Rejected = "Rejected",
1559
+ /** Disconnected */
1520
1560
  Disconnected = "Disconnected"
1521
1561
  }
1522
1562
 
1523
1563
  /** Known values of {@link CreatedByType} that the service accepts. */
1524
1564
  export declare enum KnownCreatedByType {
1565
+ /** User */
1525
1566
  User = "User",
1567
+ /** Application */
1526
1568
  Application = "Application",
1569
+ /** ManagedIdentity */
1527
1570
  ManagedIdentity = "ManagedIdentity",
1571
+ /** Key */
1528
1572
  Key = "Key"
1529
1573
  }
1530
1574
 
1531
1575
  /** Known values of {@link DefaultAction} that the service accepts. */
1532
1576
  export declare enum KnownDefaultAction {
1577
+ /** Allow */
1533
1578
  Allow = "Allow",
1579
+ /** Deny */
1534
1580
  Deny = "Deny"
1535
1581
  }
1536
1582
 
1537
1583
  /** Known values of {@link EncryptionStatus} that the service accepts. */
1538
1584
  export declare enum KnownEncryptionStatus {
1585
+ /** Enabled */
1539
1586
  Enabled = "enabled",
1587
+ /** Disabled */
1540
1588
  Disabled = "disabled"
1541
1589
  }
1542
1590
 
1543
1591
  /** Known values of {@link ExportPolicyStatus} that the service accepts. */
1544
1592
  export declare enum KnownExportPolicyStatus {
1593
+ /** Enabled */
1545
1594
  Enabled = "enabled",
1595
+ /** Disabled */
1546
1596
  Disabled = "disabled"
1547
1597
  }
1548
1598
 
1549
1599
  /** Known values of {@link ImportMode} that the service accepts. */
1550
1600
  export declare enum KnownImportMode {
1601
+ /** NoForce */
1551
1602
  NoForce = "NoForce",
1603
+ /** Force */
1552
1604
  Force = "Force"
1553
1605
  }
1554
1606
 
1555
1607
  /** Known values of {@link LastModifiedByType} that the service accepts. */
1556
1608
  export declare enum KnownLastModifiedByType {
1609
+ /** User */
1557
1610
  User = "User",
1611
+ /** Application */
1558
1612
  Application = "Application",
1613
+ /** ManagedIdentity */
1559
1614
  ManagedIdentity = "ManagedIdentity",
1615
+ /** Key */
1560
1616
  Key = "Key"
1561
1617
  }
1562
1618
 
1563
1619
  /** Known values of {@link LogLevel} that the service accepts. */
1564
1620
  export declare enum KnownLogLevel {
1621
+ /** Debug */
1565
1622
  Debug = "Debug",
1623
+ /** Information */
1566
1624
  Information = "Information",
1625
+ /** Warning */
1567
1626
  Warning = "Warning",
1627
+ /** Error */
1568
1628
  Error = "Error",
1629
+ /** None */
1569
1630
  None = "None"
1570
1631
  }
1571
1632
 
1572
1633
  /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
1573
1634
  export declare enum KnownNetworkRuleBypassOptions {
1635
+ /** AzureServices */
1574
1636
  AzureServices = "AzureServices",
1637
+ /** None */
1575
1638
  None = "None"
1576
1639
  }
1577
1640
 
1578
1641
  /** Known values of {@link OS} that the service accepts. */
1579
1642
  export declare enum KnownOS {
1643
+ /** Windows */
1580
1644
  Windows = "Windows",
1645
+ /** Linux */
1581
1646
  Linux = "Linux"
1582
1647
  }
1583
1648
 
1584
1649
  /** Known values of {@link PipelineOptions} that the service accepts. */
1585
1650
  export declare enum KnownPipelineOptions {
1651
+ /** OverwriteTags */
1586
1652
  OverwriteTags = "OverwriteTags",
1653
+ /** OverwriteBlobs */
1587
1654
  OverwriteBlobs = "OverwriteBlobs",
1655
+ /** DeleteSourceBlobOnSuccess */
1588
1656
  DeleteSourceBlobOnSuccess = "DeleteSourceBlobOnSuccess",
1657
+ /** ContinueOnErrors */
1589
1658
  ContinueOnErrors = "ContinueOnErrors"
1590
1659
  }
1591
1660
 
1592
1661
  /** Known values of {@link PipelineRunSourceType} that the service accepts. */
1593
1662
  export declare enum KnownPipelineRunSourceType {
1663
+ /** AzureStorageBlob */
1594
1664
  AzureStorageBlob = "AzureStorageBlob"
1595
1665
  }
1596
1666
 
1597
1667
  /** Known values of {@link PipelineRunTargetType} that the service accepts. */
1598
1668
  export declare enum KnownPipelineRunTargetType {
1669
+ /** AzureStorageBlob */
1599
1670
  AzureStorageBlob = "AzureStorageBlob"
1600
1671
  }
1601
1672
 
1602
1673
  /** Known values of {@link PipelineSourceType} that the service accepts. */
1603
1674
  export declare enum KnownPipelineSourceType {
1675
+ /** AzureStorageBlobContainer */
1604
1676
  AzureStorageBlobContainer = "AzureStorageBlobContainer"
1605
1677
  }
1606
1678
 
1607
1679
  /** Known values of {@link PolicyStatus} that the service accepts. */
1608
1680
  export declare enum KnownPolicyStatus {
1681
+ /** Enabled */
1609
1682
  Enabled = "enabled",
1683
+ /** Disabled */
1610
1684
  Disabled = "disabled"
1611
1685
  }
1612
1686
 
1613
1687
  /** Known values of {@link ProvisioningState} that the service accepts. */
1614
1688
  export declare enum KnownProvisioningState {
1689
+ /** Creating */
1615
1690
  Creating = "Creating",
1691
+ /** Updating */
1616
1692
  Updating = "Updating",
1693
+ /** Deleting */
1617
1694
  Deleting = "Deleting",
1695
+ /** Succeeded */
1618
1696
  Succeeded = "Succeeded",
1697
+ /** Failed */
1619
1698
  Failed = "Failed",
1699
+ /** Canceled */
1620
1700
  Canceled = "Canceled"
1621
1701
  }
1622
1702
 
1623
1703
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1624
1704
  export declare enum KnownPublicNetworkAccess {
1705
+ /** Enabled */
1625
1706
  Enabled = "Enabled",
1707
+ /** Disabled */
1626
1708
  Disabled = "Disabled"
1627
1709
  }
1628
1710
 
1629
1711
  /** Known values of {@link RegistryUsageUnit} that the service accepts. */
1630
1712
  export declare enum KnownRegistryUsageUnit {
1713
+ /** Count */
1631
1714
  Count = "Count",
1715
+ /** Bytes */
1632
1716
  Bytes = "Bytes"
1633
1717
  }
1634
1718
 
1635
1719
  /** Known values of {@link RunStatus} that the service accepts. */
1636
1720
  export declare enum KnownRunStatus {
1721
+ /** Queued */
1637
1722
  Queued = "Queued",
1723
+ /** Started */
1638
1724
  Started = "Started",
1725
+ /** Running */
1639
1726
  Running = "Running",
1727
+ /** Succeeded */
1640
1728
  Succeeded = "Succeeded",
1729
+ /** Failed */
1641
1730
  Failed = "Failed",
1731
+ /** Canceled */
1642
1732
  Canceled = "Canceled",
1733
+ /** Error */
1643
1734
  Error = "Error",
1735
+ /** Timeout */
1644
1736
  Timeout = "Timeout"
1645
1737
  }
1646
1738
 
1647
1739
  /** Known values of {@link RunType} that the service accepts. */
1648
1740
  export declare enum KnownRunType {
1741
+ /** QuickBuild */
1649
1742
  QuickBuild = "QuickBuild",
1743
+ /** QuickRun */
1650
1744
  QuickRun = "QuickRun",
1745
+ /** AutoBuild */
1651
1746
  AutoBuild = "AutoBuild",
1747
+ /** AutoRun */
1652
1748
  AutoRun = "AutoRun"
1653
1749
  }
1654
1750
 
1655
1751
  /** Known values of {@link SecretObjectType} that the service accepts. */
1656
1752
  export declare enum KnownSecretObjectType {
1753
+ /** Opaque */
1657
1754
  Opaque = "Opaque",
1755
+ /** Vaultsecret */
1658
1756
  Vaultsecret = "Vaultsecret"
1659
1757
  }
1660
1758
 
1661
1759
  /** Known values of {@link SkuName} that the service accepts. */
1662
1760
  export declare enum KnownSkuName {
1761
+ /** Classic */
1663
1762
  Classic = "Classic",
1763
+ /** Basic */
1664
1764
  Basic = "Basic",
1765
+ /** Standard */
1665
1766
  Standard = "Standard",
1767
+ /** Premium */
1666
1768
  Premium = "Premium"
1667
1769
  }
1668
1770
 
1669
1771
  /** Known values of {@link SkuTier} that the service accepts. */
1670
1772
  export declare enum KnownSkuTier {
1773
+ /** Classic */
1671
1774
  Classic = "Classic",
1775
+ /** Basic */
1672
1776
  Basic = "Basic",
1777
+ /** Standard */
1673
1778
  Standard = "Standard",
1779
+ /** Premium */
1674
1780
  Premium = "Premium"
1675
1781
  }
1676
1782
 
1677
1783
  /** Known values of {@link SourceControlType} that the service accepts. */
1678
1784
  export declare enum KnownSourceControlType {
1785
+ /** Github */
1679
1786
  Github = "Github",
1787
+ /** VisualStudioTeamService */
1680
1788
  VisualStudioTeamService = "VisualStudioTeamService"
1681
1789
  }
1682
1790
 
1683
1791
  /** Known values of {@link SourceRegistryLoginMode} that the service accepts. */
1684
1792
  export declare enum KnownSourceRegistryLoginMode {
1793
+ /** None */
1685
1794
  None = "None",
1795
+ /** Default */
1686
1796
  Default = "Default"
1687
1797
  }
1688
1798
 
1689
1799
  /** Known values of {@link SourceTriggerEvent} that the service accepts. */
1690
1800
  export declare enum KnownSourceTriggerEvent {
1801
+ /** Commit */
1691
1802
  Commit = "commit",
1803
+ /** Pullrequest */
1692
1804
  Pullrequest = "pullrequest"
1693
1805
  }
1694
1806
 
1695
1807
  /** Known values of {@link StepType} that the service accepts. */
1696
1808
  export declare enum KnownStepType {
1809
+ /** Docker */
1697
1810
  Docker = "Docker",
1811
+ /** FileTask */
1698
1812
  FileTask = "FileTask",
1813
+ /** EncodedTask */
1699
1814
  EncodedTask = "EncodedTask"
1700
1815
  }
1701
1816
 
1702
1817
  /** Known values of {@link TaskStatus} that the service accepts. */
1703
1818
  export declare enum KnownTaskStatus {
1819
+ /** Disabled */
1704
1820
  Disabled = "Disabled",
1821
+ /** Enabled */
1705
1822
  Enabled = "Enabled"
1706
1823
  }
1707
1824
 
1708
1825
  /** Known values of {@link TlsStatus} that the service accepts. */
1709
1826
  export declare enum KnownTlsStatus {
1827
+ /** Enabled */
1710
1828
  Enabled = "Enabled",
1829
+ /** Disabled */
1711
1830
  Disabled = "Disabled"
1712
1831
  }
1713
1832
 
1714
1833
  /** Known values of {@link TokenCertificateName} that the service accepts. */
1715
1834
  export declare enum KnownTokenCertificateName {
1835
+ /** Certificate1 */
1716
1836
  Certificate1 = "certificate1",
1837
+ /** Certificate2 */
1717
1838
  Certificate2 = "certificate2"
1718
1839
  }
1719
1840
 
1720
1841
  /** Known values of {@link TokenPasswordName} that the service accepts. */
1721
1842
  export declare enum KnownTokenPasswordName {
1843
+ /** Password1 */
1722
1844
  Password1 = "password1",
1845
+ /** Password2 */
1723
1846
  Password2 = "password2"
1724
1847
  }
1725
1848
 
1726
1849
  /** Known values of {@link TokenStatus} that the service accepts. */
1727
1850
  export declare enum KnownTokenStatus {
1851
+ /** Enabled */
1728
1852
  Enabled = "enabled",
1853
+ /** Disabled */
1729
1854
  Disabled = "disabled"
1730
1855
  }
1731
1856
 
1732
1857
  /** Known values of {@link TokenType} that the service accepts. */
1733
1858
  export declare enum KnownTokenType {
1859
+ /** PAT */
1734
1860
  PAT = "PAT",
1861
+ /** OAuth */
1735
1862
  OAuth = "OAuth"
1736
1863
  }
1737
1864
 
1738
1865
  /** Known values of {@link TriggerStatus} that the service accepts. */
1739
1866
  export declare enum KnownTriggerStatus {
1867
+ /** Disabled */
1740
1868
  Disabled = "Disabled",
1869
+ /** Enabled */
1741
1870
  Enabled = "Enabled"
1742
1871
  }
1743
1872
 
1744
1873
  /** Known values of {@link TrustPolicyType} that the service accepts. */
1745
1874
  export declare enum KnownTrustPolicyType {
1875
+ /** Notary */
1746
1876
  Notary = "Notary"
1747
1877
  }
1748
1878
 
1749
1879
  /** Known values of {@link UpdateTriggerPayloadType} that the service accepts. */
1750
1880
  export declare enum KnownUpdateTriggerPayloadType {
1881
+ /** Default */
1751
1882
  Default = "Default",
1883
+ /** Token */
1752
1884
  Token = "Token"
1753
1885
  }
1754
1886
 
1755
1887
  /** Known values of {@link Variant} that the service accepts. */
1756
1888
  export declare enum KnownVariant {
1889
+ /** V6 */
1757
1890
  V6 = "v6",
1891
+ /** V7 */
1758
1892
  V7 = "v7",
1893
+ /** V8 */
1759
1894
  V8 = "v8"
1760
1895
  }
1761
1896
 
1762
1897
  /** Known values of {@link WebhookAction} that the service accepts. */
1763
1898
  export declare enum KnownWebhookAction {
1899
+ /** Push */
1764
1900
  Push = "push",
1901
+ /** Delete */
1765
1902
  Delete = "delete",
1903
+ /** Quarantine */
1766
1904
  Quarantine = "quarantine",
1905
+ /** ChartPush */
1767
1906
  ChartPush = "chart_push",
1907
+ /** ChartDelete */
1768
1908
  ChartDelete = "chart_delete"
1769
1909
  }
1770
1910
 
1771
1911
  /** Known values of {@link WebhookStatus} that the service accepts. */
1772
1912
  export declare enum KnownWebhookStatus {
1913
+ /** Enabled */
1773
1914
  Enabled = "enabled",
1915
+ /** Disabled */
1774
1916
  Disabled = "disabled"
1775
1917
  }
1776
1918
 
1777
1919
  /** Known values of {@link ZoneRedundancy} that the service accepts. */
1778
1920
  export declare enum KnownZoneRedundancy {
1921
+ /** Enabled */
1779
1922
  Enabled = "Enabled",
1923
+ /** Disabled */
1780
1924
  Disabled = "Disabled"
1781
1925
  }
1782
1926
 
@@ -2002,7 +2146,7 @@ export declare type PasswordName = "password" | "password2";
2002
2146
  export declare type PipelineOptions = string;
2003
2147
 
2004
2148
  /** An object that represents a pipeline run for a container registry. */
2005
- export declare type PipelineRun = ProxyResource & {
2149
+ export declare interface PipelineRun extends ProxyResource {
2006
2150
  /**
2007
2151
  * The provisioning state of a pipeline run.
2008
2152
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2017,7 +2161,7 @@ export declare type PipelineRun = ProxyResource & {
2017
2161
  readonly response?: PipelineRunResponse;
2018
2162
  /** How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed. */
2019
2163
  forceUpdateTag?: string;
2020
- };
2164
+ }
2021
2165
 
2022
2166
  /** The result of a request to list pipeline runs for a container registry. */
2023
2167
  export declare interface PipelineRunListResult {
@@ -2277,7 +2421,7 @@ export declare interface PrivateEndpoint {
2277
2421
  }
2278
2422
 
2279
2423
  /** An object that represents a private endpoint connection for a container registry. */
2280
- export declare type PrivateEndpointConnection = ProxyResource & {
2424
+ export declare interface PrivateEndpointConnection extends ProxyResource {
2281
2425
  /** The resource of private endpoint. */
2282
2426
  privateEndpoint?: PrivateEndpoint;
2283
2427
  /** A collection of information about the state of the connection between service consumer and provider. */
@@ -2287,7 +2431,7 @@ export declare type PrivateEndpointConnection = ProxyResource & {
2287
2431
  * NOTE: This property will not be serialized. It can only be populated by the server.
2288
2432
  */
2289
2433
  readonly provisioningState?: ProvisioningState;
2290
- };
2434
+ }
2291
2435
 
2292
2436
  /** The result of a request to list private endpoint connections for a container registry. */
2293
2437
  export declare interface PrivateEndpointConnectionListResult {
@@ -2812,7 +2956,7 @@ export declare interface RegistriesUpdateOptionalParams extends coreClient.Opera
2812
2956
  export declare type RegistriesUpdateResponse = Registry;
2813
2957
 
2814
2958
  /** An object that represents a container registry. */
2815
- export declare type Registry = Resource & {
2959
+ export declare interface Registry extends Resource {
2816
2960
  /** The SKU of the container registry. */
2817
2961
  sku: Sku;
2818
2962
  /** The identity of the container registry. */
@@ -2865,7 +3009,7 @@ export declare type Registry = Resource & {
2865
3009
  zoneRedundancy?: ZoneRedundancy;
2866
3010
  /** Enables registry-wide pull from unauthenticated clients. */
2867
3011
  anonymousPullEnabled?: boolean;
2868
- };
3012
+ }
2869
3013
 
2870
3014
  /** The response from the ListCredentials operation. */
2871
3015
  export declare interface RegistryListCredentialsResult {
@@ -2966,7 +3110,7 @@ export declare interface RegistryUsageListResult {
2966
3110
  export declare type RegistryUsageUnit = string;
2967
3111
 
2968
3112
  /** An object that represents a replication for a container registry. */
2969
- export declare type Replication = Resource & {
3113
+ export declare interface Replication extends Resource {
2970
3114
  /**
2971
3115
  * The provisioning state of the replication at the time the operation was called.
2972
3116
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2981,7 +3125,7 @@ export declare type Replication = Resource & {
2981
3125
  regionEndpointEnabled?: boolean;
2982
3126
  /** Whether or not zone redundancy is enabled for this container registry replication */
2983
3127
  zoneRedundancy?: ZoneRedundancy;
2984
- };
3128
+ }
2985
3129
 
2986
3130
  /** The result of a request to list replications for a container registry. */
2987
3131
  export declare interface ReplicationListResult {
@@ -3185,7 +3329,7 @@ export declare interface RetentionPolicy {
3185
3329
  }
3186
3330
 
3187
3331
  /** Run resource properties */
3188
- export declare type Run = ProxyResource & {
3332
+ export declare interface Run extends ProxyResource {
3189
3333
  /** The unique identifier for the run. */
3190
3334
  runId?: string;
3191
3335
  /** The current status of the run. */
@@ -3236,7 +3380,7 @@ export declare type Run = ProxyResource & {
3236
3380
  provisioningState?: ProvisioningState;
3237
3381
  /** The value that indicates whether archiving is enabled or not. */
3238
3382
  isArchiveEnabled?: boolean;
3239
- };
3383
+ }
3240
3384
 
3241
3385
  /** Properties that are enabled for Odata querying on runs. */
3242
3386
  export declare interface RunFilter {
@@ -3444,7 +3588,7 @@ export declare interface RunUpdateParameters {
3444
3588
  }
3445
3589
 
3446
3590
  /** An object that represents a scope map for a container registry. */
3447
- export declare type ScopeMap = ProxyResource & {
3591
+ export declare interface ScopeMap extends ProxyResource {
3448
3592
  /** The user friendly description of the scope map. */
3449
3593
  description?: string;
3450
3594
  /**
@@ -3468,7 +3612,7 @@ export declare type ScopeMap = ProxyResource & {
3468
3612
  * repositories/repository-name/metadata/write
3469
3613
  */
3470
3614
  actions?: string[];
3471
- };
3615
+ }
3472
3616
 
3473
3617
  /** The result of a request to list scope maps for a container registry. */
3474
3618
  export declare interface ScopeMapListResult {
@@ -3962,7 +4106,7 @@ export declare interface Target {
3962
4106
  * The task that has the ARM resource and task properties.
3963
4107
  * The task will have all information to schedule a run against it.
3964
4108
  */
3965
- export declare type Task = Resource & {
4109
+ export declare interface Task extends Resource {
3966
4110
  /** Identity for the resource. */
3967
4111
  identity?: IdentityProperties;
3968
4112
  /**
@@ -3995,7 +4139,7 @@ export declare type Task = Resource & {
3995
4139
  logTemplate?: string;
3996
4140
  /** The value of this property indicates whether the task resource is system task or not. */
3997
4141
  isSystemTask?: boolean;
3998
- };
4142
+ }
3999
4143
 
4000
4144
  /** The collection of tasks. */
4001
4145
  export declare interface TaskListResult {
@@ -4009,7 +4153,7 @@ export declare interface TaskListResult {
4009
4153
  * The task run that has the ARM resource and properties.
4010
4154
  * The task run will have the information of request and result of a run.
4011
4155
  */
4012
- export declare type TaskRun = ProxyResource & {
4156
+ export declare interface TaskRun extends ProxyResource {
4013
4157
  /** Identity for the resource. */
4014
4158
  identity?: IdentityProperties;
4015
4159
  /** The location of the resource */
@@ -4028,7 +4172,7 @@ export declare type TaskRun = ProxyResource & {
4028
4172
  readonly runResult?: Run;
4029
4173
  /** How the run should be forced to rerun even if the run request configuration has not changed */
4030
4174
  forceUpdateTag?: string;
4031
- };
4175
+ }
4032
4176
 
4033
4177
  /** The collection of task runs. */
4034
4178
  export declare interface TaskRunListResult {
@@ -4039,14 +4183,14 @@ export declare interface TaskRunListResult {
4039
4183
  }
4040
4184
 
4041
4185
  /** The parameters for a task run request. */
4042
- export declare type TaskRunRequest = RunRequest & {
4186
+ export declare interface TaskRunRequest extends RunRequest {
4043
4187
  /** Polymorphic discriminator, which specifies the different types this object can be */
4044
4188
  type: "TaskRunRequest";
4045
4189
  /** The resource ID of task against which run has to be queued. */
4046
4190
  taskId: string;
4047
4191
  /** Set of overridable parameters that can be passed when running a Task. */
4048
4192
  overrideTaskStepProperties?: OverrideTaskStepProperties;
4049
- };
4193
+ }
4050
4194
 
4051
4195
  /** Interface representing a TaskRuns. */
4052
4196
  export declare interface TaskRuns {
@@ -4471,7 +4615,7 @@ export declare interface TlsProperties {
4471
4615
  export declare type TlsStatus = string;
4472
4616
 
4473
4617
  /** An object that represents a token for a container registry. */
4474
- export declare type Token = ProxyResource & {
4618
+ export declare interface Token extends ProxyResource {
4475
4619
  /**
4476
4620
  * The creation date of scope map.
4477
4621
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4488,7 +4632,7 @@ export declare type Token = ProxyResource & {
4488
4632
  credentials?: TokenCredentialsProperties;
4489
4633
  /** The status of the token example enabled or disabled. */
4490
4634
  status?: TokenStatus;
4491
- };
4635
+ }
4492
4636
 
4493
4637
  /** The properties of a certificate used for authenticating a token. */
4494
4638
  export declare interface TokenCertificate {
@@ -4778,7 +4922,7 @@ export declare interface UserIdentityProperties {
4778
4922
  export declare type Variant = string;
4779
4923
 
4780
4924
  /** An object that represents a webhook for a container registry. */
4781
- export declare type Webhook = Resource & {
4925
+ export declare interface Webhook extends Resource {
4782
4926
  /** The status of the webhook at the time the operation was called. */
4783
4927
  status?: WebhookStatus;
4784
4928
  /** The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. */
@@ -4790,7 +4934,7 @@ export declare type Webhook = Resource & {
4790
4934
  * NOTE: This property will not be serialized. It can only be populated by the server.
4791
4935
  */
4792
4936
  readonly provisioningState?: ProvisioningState;
4793
- };
4937
+ }
4794
4938
 
4795
4939
  /**
4796
4940
  * Defines values for WebhookAction. \