@azure/arm-containerregistry 10.1.0-beta.2 → 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 (159) hide show
  1. package/CHANGELOG.md +32 -11
  2. package/README.md +1 -1
  3. package/dist/index.js +623 -167
  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/samples-dev/connectedRegistriesCreateSample.js +1 -1
  8. package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js +1 -1
  9. package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/connectedRegistriesGetSample.js +1 -1
  11. package/dist-esm/samples-dev/connectedRegistriesListSample.js +1 -1
  12. package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js +1 -1
  13. package/dist-esm/samples-dev/exportPipelinesCreateSample.js +1 -1
  14. package/dist-esm/samples-dev/exportPipelinesDeleteSample.js +1 -1
  15. package/dist-esm/samples-dev/exportPipelinesGetSample.js +1 -1
  16. package/dist-esm/samples-dev/exportPipelinesListSample.js +1 -1
  17. package/dist-esm/samples-dev/importPipelinesCreateSample.js +1 -1
  18. package/dist-esm/samples-dev/importPipelinesDeleteSample.js +1 -1
  19. package/dist-esm/samples-dev/importPipelinesGetSample.js +1 -1
  20. package/dist-esm/samples-dev/importPipelinesListSample.js +1 -1
  21. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  22. package/dist-esm/samples-dev/pipelineRunsCreateSample.js +2 -2
  23. package/dist-esm/samples-dev/pipelineRunsDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/pipelineRunsGetSample.js +1 -1
  25. package/dist-esm/samples-dev/pipelineRunsListSample.js +1 -1
  26. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  27. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  28. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  29. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  30. package/dist-esm/samples-dev/registriesCheckNameAvailabilitySample.js +2 -2
  31. package/dist-esm/samples-dev/registriesCreateSample.js +2 -2
  32. package/dist-esm/samples-dev/registriesDeleteSample.js +1 -1
  33. package/dist-esm/samples-dev/registriesGenerateCredentialsSample.js +1 -1
  34. package/dist-esm/samples-dev/registriesGetPrivateLinkResourceSample.js +1 -1
  35. package/dist-esm/samples-dev/registriesGetSample.js +1 -1
  36. package/dist-esm/samples-dev/registriesImportImageSample.js +3 -3
  37. package/dist-esm/samples-dev/registriesListByResourceGroupSample.js +1 -1
  38. package/dist-esm/samples-dev/registriesListCredentialsSample.js +1 -1
  39. package/dist-esm/samples-dev/registriesListPrivateLinkResourcesSample.js +1 -1
  40. package/dist-esm/samples-dev/registriesListSample.js +1 -1
  41. package/dist-esm/samples-dev/registriesListUsagesSample.js +1 -1
  42. package/dist-esm/samples-dev/registriesRegenerateCredentialSample.js +1 -1
  43. package/dist-esm/samples-dev/registriesUpdateSample.js +1 -1
  44. package/dist-esm/samples-dev/replicationsCreateSample.js +2 -2
  45. package/dist-esm/samples-dev/replicationsDeleteSample.js +1 -1
  46. package/dist-esm/samples-dev/replicationsGetSample.js +1 -1
  47. package/dist-esm/samples-dev/replicationsListSample.js +1 -1
  48. package/dist-esm/samples-dev/replicationsUpdateSample.js +1 -1
  49. package/dist-esm/samples-dev/scopeMapsCreateSample.js +1 -1
  50. package/dist-esm/samples-dev/scopeMapsDeleteSample.js +1 -1
  51. package/dist-esm/samples-dev/scopeMapsGetSample.js +1 -1
  52. package/dist-esm/samples-dev/scopeMapsListSample.js +1 -1
  53. package/dist-esm/samples-dev/scopeMapsUpdateSample.js +1 -1
  54. package/dist-esm/samples-dev/tokensCreateSample.js +1 -1
  55. package/dist-esm/samples-dev/tokensDeleteSample.js +1 -1
  56. package/dist-esm/samples-dev/tokensGetSample.js +1 -1
  57. package/dist-esm/samples-dev/tokensListSample.js +1 -1
  58. package/dist-esm/samples-dev/tokensUpdateSample.js +1 -1
  59. package/dist-esm/samples-dev/webhooksCreateSample.js +1 -1
  60. package/dist-esm/samples-dev/webhooksDeleteSample.js +1 -1
  61. package/dist-esm/samples-dev/webhooksGetCallbackConfigSample.js +1 -1
  62. package/dist-esm/samples-dev/webhooksGetSample.js +1 -1
  63. package/dist-esm/samples-dev/webhooksListEventsSample.js +1 -1
  64. package/dist-esm/samples-dev/webhooksListSample.js +1 -1
  65. package/dist-esm/samples-dev/webhooksPingSample.js +1 -1
  66. package/dist-esm/samples-dev/webhooksUpdateSample.js +1 -1
  67. package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
  68. package/dist-esm/src/containerRegistryManagementClient.js +25 -6
  69. package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
  70. package/dist-esm/src/index.d.ts +1 -0
  71. package/dist-esm/src/index.d.ts.map +1 -1
  72. package/dist-esm/src/index.js +1 -0
  73. package/dist-esm/src/index.js.map +1 -1
  74. package/dist-esm/src/models/index.d.ts +235 -59
  75. package/dist-esm/src/models/index.d.ts.map +1 -1
  76. package/dist-esm/src/models/index.js +141 -0
  77. package/dist-esm/src/models/index.js.map +1 -1
  78. package/dist-esm/src/models/mappers.d.ts +4 -1
  79. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  80. package/dist-esm/src/models/mappers.js +94 -33
  81. package/dist-esm/src/models/mappers.js.map +1 -1
  82. package/dist-esm/src/models/parameters.js +1 -1
  83. package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
  84. package/dist-esm/src/operations/agentPools.js +19 -7
  85. package/dist-esm/src/operations/agentPools.js.map +1 -1
  86. package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -1
  87. package/dist-esm/src/operations/connectedRegistries.js +19 -7
  88. package/dist-esm/src/operations/connectedRegistries.js.map +1 -1
  89. package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -1
  90. package/dist-esm/src/operations/exportPipelines.js +19 -7
  91. package/dist-esm/src/operations/exportPipelines.js.map +1 -1
  92. package/dist-esm/src/operations/importPipelines.d.ts.map +1 -1
  93. package/dist-esm/src/operations/importPipelines.js +19 -7
  94. package/dist-esm/src/operations/importPipelines.js.map +1 -1
  95. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  96. package/dist-esm/src/operations/operations.js +19 -7
  97. package/dist-esm/src/operations/operations.js.map +1 -1
  98. package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -1
  99. package/dist-esm/src/operations/pipelineRuns.js +19 -7
  100. package/dist-esm/src/operations/pipelineRuns.js.map +1 -1
  101. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  102. package/dist-esm/src/operations/privateEndpointConnections.js +19 -7
  103. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  104. package/dist-esm/src/operations/registries.d.ts.map +1 -1
  105. package/dist-esm/src/operations/registries.js +55 -21
  106. package/dist-esm/src/operations/registries.js.map +1 -1
  107. package/dist-esm/src/operations/replications.d.ts.map +1 -1
  108. package/dist-esm/src/operations/replications.js +19 -7
  109. package/dist-esm/src/operations/replications.js.map +1 -1
  110. package/dist-esm/src/operations/runs.d.ts.map +1 -1
  111. package/dist-esm/src/operations/runs.js +19 -7
  112. package/dist-esm/src/operations/runs.js.map +1 -1
  113. package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -1
  114. package/dist-esm/src/operations/scopeMaps.js +19 -7
  115. package/dist-esm/src/operations/scopeMaps.js.map +1 -1
  116. package/dist-esm/src/operations/taskRuns.d.ts.map +1 -1
  117. package/dist-esm/src/operations/taskRuns.js +19 -7
  118. package/dist-esm/src/operations/taskRuns.js.map +1 -1
  119. package/dist-esm/src/operations/tasks.d.ts.map +1 -1
  120. package/dist-esm/src/operations/tasks.js +19 -7
  121. package/dist-esm/src/operations/tasks.js.map +1 -1
  122. package/dist-esm/src/operations/tokens.d.ts.map +1 -1
  123. package/dist-esm/src/operations/tokens.js +19 -7
  124. package/dist-esm/src/operations/tokens.js.map +1 -1
  125. package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
  126. package/dist-esm/src/operations/webhooks.js +37 -14
  127. package/dist-esm/src/operations/webhooks.js.map +1 -1
  128. package/dist-esm/src/pagingHelper.d.ts +13 -0
  129. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  130. package/dist-esm/src/pagingHelper.js +32 -0
  131. package/dist-esm/src/pagingHelper.js.map +1 -0
  132. package/dist-esm/test/containerregistry_examples.d.ts.map +1 -1
  133. package/dist-esm/test/containerregistry_examples.js +16 -18
  134. package/dist-esm/test/containerregistry_examples.js.map +1 -1
  135. package/package.json +15 -11
  136. package/review/arm-containerregistry.api.md +177 -280
  137. package/src/containerRegistryManagementClient.ts +35 -5
  138. package/src/index.ts +1 -0
  139. package/src/models/index.ts +243 -60
  140. package/src/models/mappers.ts +98 -34
  141. package/src/models/parameters.ts +1 -1
  142. package/src/operations/agentPools.ts +27 -9
  143. package/src/operations/connectedRegistries.ts +26 -8
  144. package/src/operations/exportPipelines.ts +26 -8
  145. package/src/operations/importPipelines.ts +26 -8
  146. package/src/operations/operations.ts +21 -8
  147. package/src/operations/pipelineRuns.ts +26 -8
  148. package/src/operations/privateEndpointConnections.ts +26 -8
  149. package/src/operations/registries.ts +71 -29
  150. package/src/operations/replications.ts +26 -8
  151. package/src/operations/runs.ts +26 -8
  152. package/src/operations/scopeMaps.ts +26 -8
  153. package/src/operations/taskRuns.ts +27 -9
  154. package/src/operations/tasks.ts +26 -8
  155. package/src/operations/tokens.ts +26 -8
  156. package/src/operations/webhooks.ts +53 -22
  157. package/src/pagingHelper.ts +39 -0
  158. package/types/arm-containerregistry.d.ts +250 -60
  159. 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 {
@@ -304,6 +304,22 @@ export declare interface AuthInfoUpdateParameters {
304
304
  expiresIn?: number;
305
305
  }
306
306
 
307
+ /** The policy for using ARM audience token for a container registry. */
308
+ export declare interface AzureADAuthenticationAsArmPolicy {
309
+ /** The value that indicates whether the policy is enabled or not. */
310
+ status?: AzureADAuthenticationAsArmPolicyStatus;
311
+ }
312
+
313
+ /**
314
+ * Defines values for AzureADAuthenticationAsArmPolicyStatus. \
315
+ * {@link KnownAzureADAuthenticationAsArmPolicyStatus} can be used interchangeably with AzureADAuthenticationAsArmPolicyStatus,
316
+ * this enum contains the known values that the service supports.
317
+ * ### Known values supported by the service
318
+ * **enabled** \
319
+ * **disabled**
320
+ */
321
+ export declare type AzureADAuthenticationAsArmPolicyStatus = string;
322
+
307
323
  /** Properties that describe a base image dependency. */
308
324
  export declare interface BaseImageDependency {
309
325
  /** The type of the base image dependency. */
@@ -536,7 +552,7 @@ export declare interface ConnectedRegistriesUpdateOptionalParams extends coreCli
536
552
  export declare type ConnectedRegistriesUpdateResponse = ConnectedRegistry;
537
553
 
538
554
  /** An object that represents a connected registry for a container registry. */
539
- export declare type ConnectedRegistry = ProxyResource & {
555
+ export declare interface ConnectedRegistry extends ProxyResource {
540
556
  /**
541
557
  * Provisioning state of the resource.
542
558
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -579,7 +595,7 @@ export declare type ConnectedRegistry = ProxyResource & {
579
595
  readonly statusDetails?: StatusDetailProperties[];
580
596
  /** The list of notifications subscription information for the connected registry. */
581
597
  notificationsList?: string[];
582
- };
598
+ }
583
599
 
584
600
  /** The result of a request to list connected registries for a container registry. */
585
601
  export declare interface ConnectedRegistryListResult {
@@ -728,7 +744,7 @@ export declare interface CustomRegistryCredentials {
728
744
  export declare type DefaultAction = string;
729
745
 
730
746
  /** The parameters for a docker quick build. */
731
- export declare type DockerBuildRequest = RunRequest & {
747
+ export declare interface DockerBuildRequest extends RunRequest {
732
748
  /** Polymorphic discriminator, which specifies the different types this object can be */
733
749
  type: "DockerBuildRequest";
734
750
  /** The fully qualified image names including the repository and tag. */
@@ -756,10 +772,10 @@ export declare type DockerBuildRequest = RunRequest & {
756
772
  sourceLocation?: string;
757
773
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
758
774
  credentials?: Credentials;
759
- };
775
+ }
760
776
 
761
777
  /** The Docker build step. */
762
- export declare type DockerBuildStep = TaskStepProperties & {
778
+ export declare interface DockerBuildStep extends TaskStepProperties {
763
779
  /** Polymorphic discriminator, which specifies the different types this object can be */
764
780
  type: "Docker";
765
781
  /** The fully qualified image names including the repository and tag. */
@@ -774,10 +790,10 @@ export declare type DockerBuildStep = TaskStepProperties & {
774
790
  target?: string;
775
791
  /** The collection of override arguments to be used when executing this build step. */
776
792
  arguments?: Argument[];
777
- };
793
+ }
778
794
 
779
795
  /** The properties for updating a docker build step. */
780
- export declare type DockerBuildStepUpdateParameters = TaskStepUpdateParameters & {
796
+ export declare interface DockerBuildStepUpdateParameters extends TaskStepUpdateParameters {
781
797
  /** Polymorphic discriminator, which specifies the different types this object can be */
782
798
  type: "Docker";
783
799
  /** The fully qualified image names including the repository and tag. */
@@ -792,10 +808,10 @@ export declare type DockerBuildStepUpdateParameters = TaskStepUpdateParameters &
792
808
  arguments?: Argument[];
793
809
  /** The name of the target build stage for the docker build. */
794
810
  target?: string;
795
- };
811
+ }
796
812
 
797
813
  /** The parameters for a quick task run request. */
798
- export declare type EncodedTaskRunRequest = RunRequest & {
814
+ export declare interface EncodedTaskRunRequest extends RunRequest {
799
815
  /** Polymorphic discriminator, which specifies the different types this object can be */
800
816
  type: "EncodedTaskRunRequest";
801
817
  /** Base64 encoded value of the template/definition file content. */
@@ -817,10 +833,10 @@ export declare type EncodedTaskRunRequest = RunRequest & {
817
833
  sourceLocation?: string;
818
834
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
819
835
  credentials?: Credentials;
820
- };
836
+ }
821
837
 
822
838
  /** The properties of a encoded task step. */
823
- export declare type EncodedTaskStep = TaskStepProperties & {
839
+ export declare interface EncodedTaskStep extends TaskStepProperties {
824
840
  /** Polymorphic discriminator, which specifies the different types this object can be */
825
841
  type: "EncodedTask";
826
842
  /** Base64 encoded value of the template/definition file content. */
@@ -829,10 +845,10 @@ export declare type EncodedTaskStep = TaskStepProperties & {
829
845
  encodedValuesContent?: string;
830
846
  /** The collection of overridable values that can be passed when running a task. */
831
847
  values?: SetValue[];
832
- };
848
+ }
833
849
 
834
850
  /** The properties for updating encoded task step. */
835
- export declare type EncodedTaskStepUpdateParameters = TaskStepUpdateParameters & {
851
+ export declare interface EncodedTaskStepUpdateParameters extends TaskStepUpdateParameters {
836
852
  /** Polymorphic discriminator, which specifies the different types this object can be */
837
853
  type: "EncodedTask";
838
854
  /** Base64 encoded value of the template/definition file content. */
@@ -841,7 +857,7 @@ export declare type EncodedTaskStepUpdateParameters = TaskStepUpdateParameters &
841
857
  encodedValuesContent?: string;
842
858
  /** The collection of overridable values that can be passed when running a task. */
843
859
  values?: SetValue[];
844
- };
860
+ }
845
861
 
846
862
  export declare interface EncryptionProperty {
847
863
  /** Indicates whether or not the encryption is enabled for container registry. */
@@ -879,12 +895,12 @@ export declare interface ErrorResponseBody {
879
895
  }
880
896
 
881
897
  /** The event for a webhook. */
882
- declare type Event_2 = EventInfo & {
898
+ declare interface Event_2 extends EventInfo {
883
899
  /** The event request message sent to the service URI. */
884
900
  eventRequestMessage?: EventRequestMessage;
885
901
  /** The event response message received from the service URI. */
886
902
  eventResponseMessage?: EventResponseMessage;
887
- };
903
+ }
888
904
  export { Event_2 as Event }
889
905
 
890
906
  /** The content of the event request message. */
@@ -952,7 +968,7 @@ export declare interface EventResponseMessage {
952
968
  }
953
969
 
954
970
  /** An object that represents an export pipeline for a container registry. */
955
- export declare type ExportPipeline = ProxyResource & {
971
+ export declare interface ExportPipeline extends ProxyResource {
956
972
  /** The location of the export pipeline. */
957
973
  location?: string;
958
974
  /** The identity of the export pipeline. */
@@ -966,7 +982,7 @@ export declare type ExportPipeline = ProxyResource & {
966
982
  * NOTE: This property will not be serialized. It can only be populated by the server.
967
983
  */
968
984
  readonly provisioningState?: ProvisioningState;
969
- };
985
+ }
970
986
 
971
987
  /** The result of a request to list export pipelines for a container registry. */
972
988
  export declare interface ExportPipelineListResult {
@@ -1100,7 +1116,7 @@ export declare interface ExportPolicy {
1100
1116
  export declare type ExportPolicyStatus = string;
1101
1117
 
1102
1118
  /** The request parameters for a scheduling run against a task file. */
1103
- export declare type FileTaskRunRequest = RunRequest & {
1119
+ export declare interface FileTaskRunRequest extends RunRequest {
1104
1120
  /** Polymorphic discriminator, which specifies the different types this object can be */
1105
1121
  type: "FileTaskRunRequest";
1106
1122
  /** The template/definition file path relative to the source. */
@@ -1122,10 +1138,10 @@ export declare type FileTaskRunRequest = RunRequest & {
1122
1138
  sourceLocation?: string;
1123
1139
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
1124
1140
  credentials?: Credentials;
1125
- };
1141
+ }
1126
1142
 
1127
1143
  /** The properties of a task step. */
1128
- export declare type FileTaskStep = TaskStepProperties & {
1144
+ export declare interface FileTaskStep extends TaskStepProperties {
1129
1145
  /** Polymorphic discriminator, which specifies the different types this object can be */
1130
1146
  type: "FileTask";
1131
1147
  /** The task template/definition file path relative to the source context. */
@@ -1134,10 +1150,10 @@ export declare type FileTaskStep = TaskStepProperties & {
1134
1150
  valuesFilePath?: string;
1135
1151
  /** The collection of overridable values that can be passed when running a task. */
1136
1152
  values?: SetValue[];
1137
- };
1153
+ }
1138
1154
 
1139
1155
  /** The properties of updating a task step. */
1140
- export declare type FileTaskStepUpdateParameters = TaskStepUpdateParameters & {
1156
+ export declare interface FileTaskStepUpdateParameters extends TaskStepUpdateParameters {
1141
1157
  /** Polymorphic discriminator, which specifies the different types this object can be */
1142
1158
  type: "FileTask";
1143
1159
  /** The task template/definition file path relative to the source context. */
@@ -1146,7 +1162,7 @@ export declare type FileTaskStepUpdateParameters = TaskStepUpdateParameters & {
1146
1162
  valuesFilePath?: string;
1147
1163
  /** The collection of overridable values that can be passed when running a task. */
1148
1164
  values?: SetValue[];
1149
- };
1165
+ }
1150
1166
 
1151
1167
  /** The parameters used to generate credentials for a specified token or user of a container registry. */
1152
1168
  export declare interface GenerateCredentialsParameters {
@@ -1166,6 +1182,15 @@ export declare interface GenerateCredentialsResult {
1166
1182
  passwords?: TokenPassword[];
1167
1183
  }
1168
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
+
1169
1194
  /** Managed identity for the resource. */
1170
1195
  export declare interface IdentityProperties {
1171
1196
  /** The principal ID of resource identity. */
@@ -1229,7 +1254,7 @@ export declare interface ImportImageParameters {
1229
1254
  export declare type ImportMode = string;
1230
1255
 
1231
1256
  /** An object that represents an import pipeline for a container registry. */
1232
- export declare type ImportPipeline = ProxyResource & {
1257
+ export declare interface ImportPipeline extends ProxyResource {
1233
1258
  /** The location of the import pipeline. */
1234
1259
  location?: string;
1235
1260
  /** The identity of the import pipeline. */
@@ -1245,7 +1270,7 @@ export declare type ImportPipeline = ProxyResource & {
1245
1270
  * NOTE: This property will not be serialized. It can only be populated by the server.
1246
1271
  */
1247
1272
  readonly provisioningState?: ProvisioningState;
1248
- };
1273
+ }
1249
1274
 
1250
1275
  /** The result of a request to list import pipelines for a container registry. */
1251
1276
  export declare interface ImportPipelineListResult {
@@ -1427,334 +1452,475 @@ export declare interface KeyVaultProperties {
1427
1452
 
1428
1453
  /** Known values of {@link Action} that the service accepts. */
1429
1454
  export declare enum KnownAction {
1455
+ /** Allow */
1430
1456
  Allow = "Allow"
1431
1457
  }
1432
1458
 
1433
1459
  /** Known values of {@link ActionsRequired} that the service accepts. */
1434
1460
  export declare enum KnownActionsRequired {
1461
+ /** None */
1435
1462
  None = "None",
1463
+ /** Recreate */
1436
1464
  Recreate = "Recreate"
1437
1465
  }
1438
1466
 
1439
1467
  /** Known values of {@link ActivationStatus} that the service accepts. */
1440
1468
  export declare enum KnownActivationStatus {
1469
+ /** Active */
1441
1470
  Active = "Active",
1471
+ /** Inactive */
1442
1472
  Inactive = "Inactive"
1443
1473
  }
1444
1474
 
1445
1475
  /** Known values of {@link Architecture} that the service accepts. */
1446
1476
  export declare enum KnownArchitecture {
1477
+ /** Amd64 */
1447
1478
  Amd64 = "amd64",
1479
+ /** X86 */
1448
1480
  X86 = "x86",
1481
+ /** ThreeHundredEightySix */
1449
1482
  ThreeHundredEightySix = "386",
1483
+ /** Arm */
1450
1484
  Arm = "arm",
1485
+ /** Arm64 */
1451
1486
  Arm64 = "arm64"
1452
1487
  }
1453
1488
 
1454
1489
  /** Known values of {@link AuditLogStatus} that the service accepts. */
1455
1490
  export declare enum KnownAuditLogStatus {
1491
+ /** Enabled */
1456
1492
  Enabled = "Enabled",
1493
+ /** Disabled */
1457
1494
  Disabled = "Disabled"
1458
1495
  }
1459
1496
 
1497
+ /** Known values of {@link AzureADAuthenticationAsArmPolicyStatus} that the service accepts. */
1498
+ export declare enum KnownAzureADAuthenticationAsArmPolicyStatus {
1499
+ /** Enabled */
1500
+ Enabled = "enabled",
1501
+ /** Disabled */
1502
+ Disabled = "disabled"
1503
+ }
1504
+
1460
1505
  /** Known values of {@link BaseImageDependencyType} that the service accepts. */
1461
1506
  export declare enum KnownBaseImageDependencyType {
1507
+ /** BuildTime */
1462
1508
  BuildTime = "BuildTime",
1509
+ /** RunTime */
1463
1510
  RunTime = "RunTime"
1464
1511
  }
1465
1512
 
1466
1513
  /** Known values of {@link BaseImageTriggerType} that the service accepts. */
1467
1514
  export declare enum KnownBaseImageTriggerType {
1515
+ /** All */
1468
1516
  All = "All",
1517
+ /** Runtime */
1469
1518
  Runtime = "Runtime"
1470
1519
  }
1471
1520
 
1472
1521
  /** Known values of {@link CertificateType} that the service accepts. */
1473
1522
  export declare enum KnownCertificateType {
1523
+ /** LocalDirectory */
1474
1524
  LocalDirectory = "LocalDirectory"
1475
1525
  }
1476
1526
 
1477
1527
  /** Known values of {@link ConnectedRegistryMode} that the service accepts. */
1478
1528
  export declare enum KnownConnectedRegistryMode {
1529
+ /** ReadWrite */
1479
1530
  ReadWrite = "ReadWrite",
1531
+ /** ReadOnly */
1480
1532
  ReadOnly = "ReadOnly",
1533
+ /** Registry */
1481
1534
  Registry = "Registry",
1535
+ /** Mirror */
1482
1536
  Mirror = "Mirror"
1483
1537
  }
1484
1538
 
1485
1539
  /** Known values of {@link ConnectionState} that the service accepts. */
1486
1540
  export declare enum KnownConnectionState {
1541
+ /** Online */
1487
1542
  Online = "Online",
1543
+ /** Offline */
1488
1544
  Offline = "Offline",
1545
+ /** Syncing */
1489
1546
  Syncing = "Syncing",
1547
+ /** Unhealthy */
1490
1548
  Unhealthy = "Unhealthy"
1491
1549
  }
1492
1550
 
1493
1551
  /** Known values of {@link ConnectionStatus} that the service accepts. */
1494
1552
  export declare enum KnownConnectionStatus {
1553
+ /** Approved */
1495
1554
  Approved = "Approved",
1555
+ /** Pending */
1496
1556
  Pending = "Pending",
1557
+ /** Rejected */
1497
1558
  Rejected = "Rejected",
1559
+ /** Disconnected */
1498
1560
  Disconnected = "Disconnected"
1499
1561
  }
1500
1562
 
1501
1563
  /** Known values of {@link CreatedByType} that the service accepts. */
1502
1564
  export declare enum KnownCreatedByType {
1565
+ /** User */
1503
1566
  User = "User",
1567
+ /** Application */
1504
1568
  Application = "Application",
1569
+ /** ManagedIdentity */
1505
1570
  ManagedIdentity = "ManagedIdentity",
1571
+ /** Key */
1506
1572
  Key = "Key"
1507
1573
  }
1508
1574
 
1509
1575
  /** Known values of {@link DefaultAction} that the service accepts. */
1510
1576
  export declare enum KnownDefaultAction {
1577
+ /** Allow */
1511
1578
  Allow = "Allow",
1579
+ /** Deny */
1512
1580
  Deny = "Deny"
1513
1581
  }
1514
1582
 
1515
1583
  /** Known values of {@link EncryptionStatus} that the service accepts. */
1516
1584
  export declare enum KnownEncryptionStatus {
1585
+ /** Enabled */
1517
1586
  Enabled = "enabled",
1587
+ /** Disabled */
1518
1588
  Disabled = "disabled"
1519
1589
  }
1520
1590
 
1521
1591
  /** Known values of {@link ExportPolicyStatus} that the service accepts. */
1522
1592
  export declare enum KnownExportPolicyStatus {
1593
+ /** Enabled */
1523
1594
  Enabled = "enabled",
1595
+ /** Disabled */
1524
1596
  Disabled = "disabled"
1525
1597
  }
1526
1598
 
1527
1599
  /** Known values of {@link ImportMode} that the service accepts. */
1528
1600
  export declare enum KnownImportMode {
1601
+ /** NoForce */
1529
1602
  NoForce = "NoForce",
1603
+ /** Force */
1530
1604
  Force = "Force"
1531
1605
  }
1532
1606
 
1533
1607
  /** Known values of {@link LastModifiedByType} that the service accepts. */
1534
1608
  export declare enum KnownLastModifiedByType {
1609
+ /** User */
1535
1610
  User = "User",
1611
+ /** Application */
1536
1612
  Application = "Application",
1613
+ /** ManagedIdentity */
1537
1614
  ManagedIdentity = "ManagedIdentity",
1615
+ /** Key */
1538
1616
  Key = "Key"
1539
1617
  }
1540
1618
 
1541
1619
  /** Known values of {@link LogLevel} that the service accepts. */
1542
1620
  export declare enum KnownLogLevel {
1621
+ /** Debug */
1543
1622
  Debug = "Debug",
1623
+ /** Information */
1544
1624
  Information = "Information",
1625
+ /** Warning */
1545
1626
  Warning = "Warning",
1627
+ /** Error */
1546
1628
  Error = "Error",
1629
+ /** None */
1547
1630
  None = "None"
1548
1631
  }
1549
1632
 
1550
1633
  /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
1551
1634
  export declare enum KnownNetworkRuleBypassOptions {
1635
+ /** AzureServices */
1552
1636
  AzureServices = "AzureServices",
1637
+ /** None */
1553
1638
  None = "None"
1554
1639
  }
1555
1640
 
1556
1641
  /** Known values of {@link OS} that the service accepts. */
1557
1642
  export declare enum KnownOS {
1643
+ /** Windows */
1558
1644
  Windows = "Windows",
1645
+ /** Linux */
1559
1646
  Linux = "Linux"
1560
1647
  }
1561
1648
 
1562
1649
  /** Known values of {@link PipelineOptions} that the service accepts. */
1563
1650
  export declare enum KnownPipelineOptions {
1651
+ /** OverwriteTags */
1564
1652
  OverwriteTags = "OverwriteTags",
1653
+ /** OverwriteBlobs */
1565
1654
  OverwriteBlobs = "OverwriteBlobs",
1655
+ /** DeleteSourceBlobOnSuccess */
1566
1656
  DeleteSourceBlobOnSuccess = "DeleteSourceBlobOnSuccess",
1657
+ /** ContinueOnErrors */
1567
1658
  ContinueOnErrors = "ContinueOnErrors"
1568
1659
  }
1569
1660
 
1570
1661
  /** Known values of {@link PipelineRunSourceType} that the service accepts. */
1571
1662
  export declare enum KnownPipelineRunSourceType {
1663
+ /** AzureStorageBlob */
1572
1664
  AzureStorageBlob = "AzureStorageBlob"
1573
1665
  }
1574
1666
 
1575
1667
  /** Known values of {@link PipelineRunTargetType} that the service accepts. */
1576
1668
  export declare enum KnownPipelineRunTargetType {
1669
+ /** AzureStorageBlob */
1577
1670
  AzureStorageBlob = "AzureStorageBlob"
1578
1671
  }
1579
1672
 
1580
1673
  /** Known values of {@link PipelineSourceType} that the service accepts. */
1581
1674
  export declare enum KnownPipelineSourceType {
1675
+ /** AzureStorageBlobContainer */
1582
1676
  AzureStorageBlobContainer = "AzureStorageBlobContainer"
1583
1677
  }
1584
1678
 
1585
1679
  /** Known values of {@link PolicyStatus} that the service accepts. */
1586
1680
  export declare enum KnownPolicyStatus {
1681
+ /** Enabled */
1587
1682
  Enabled = "enabled",
1683
+ /** Disabled */
1588
1684
  Disabled = "disabled"
1589
1685
  }
1590
1686
 
1591
1687
  /** Known values of {@link ProvisioningState} that the service accepts. */
1592
1688
  export declare enum KnownProvisioningState {
1689
+ /** Creating */
1593
1690
  Creating = "Creating",
1691
+ /** Updating */
1594
1692
  Updating = "Updating",
1693
+ /** Deleting */
1595
1694
  Deleting = "Deleting",
1695
+ /** Succeeded */
1596
1696
  Succeeded = "Succeeded",
1697
+ /** Failed */
1597
1698
  Failed = "Failed",
1699
+ /** Canceled */
1598
1700
  Canceled = "Canceled"
1599
1701
  }
1600
1702
 
1601
1703
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1602
1704
  export declare enum KnownPublicNetworkAccess {
1705
+ /** Enabled */
1603
1706
  Enabled = "Enabled",
1707
+ /** Disabled */
1604
1708
  Disabled = "Disabled"
1605
1709
  }
1606
1710
 
1607
1711
  /** Known values of {@link RegistryUsageUnit} that the service accepts. */
1608
1712
  export declare enum KnownRegistryUsageUnit {
1713
+ /** Count */
1609
1714
  Count = "Count",
1715
+ /** Bytes */
1610
1716
  Bytes = "Bytes"
1611
1717
  }
1612
1718
 
1613
1719
  /** Known values of {@link RunStatus} that the service accepts. */
1614
1720
  export declare enum KnownRunStatus {
1721
+ /** Queued */
1615
1722
  Queued = "Queued",
1723
+ /** Started */
1616
1724
  Started = "Started",
1725
+ /** Running */
1617
1726
  Running = "Running",
1727
+ /** Succeeded */
1618
1728
  Succeeded = "Succeeded",
1729
+ /** Failed */
1619
1730
  Failed = "Failed",
1731
+ /** Canceled */
1620
1732
  Canceled = "Canceled",
1733
+ /** Error */
1621
1734
  Error = "Error",
1735
+ /** Timeout */
1622
1736
  Timeout = "Timeout"
1623
1737
  }
1624
1738
 
1625
1739
  /** Known values of {@link RunType} that the service accepts. */
1626
1740
  export declare enum KnownRunType {
1741
+ /** QuickBuild */
1627
1742
  QuickBuild = "QuickBuild",
1743
+ /** QuickRun */
1628
1744
  QuickRun = "QuickRun",
1745
+ /** AutoBuild */
1629
1746
  AutoBuild = "AutoBuild",
1747
+ /** AutoRun */
1630
1748
  AutoRun = "AutoRun"
1631
1749
  }
1632
1750
 
1633
1751
  /** Known values of {@link SecretObjectType} that the service accepts. */
1634
1752
  export declare enum KnownSecretObjectType {
1753
+ /** Opaque */
1635
1754
  Opaque = "Opaque",
1755
+ /** Vaultsecret */
1636
1756
  Vaultsecret = "Vaultsecret"
1637
1757
  }
1638
1758
 
1639
1759
  /** Known values of {@link SkuName} that the service accepts. */
1640
1760
  export declare enum KnownSkuName {
1761
+ /** Classic */
1641
1762
  Classic = "Classic",
1763
+ /** Basic */
1642
1764
  Basic = "Basic",
1765
+ /** Standard */
1643
1766
  Standard = "Standard",
1767
+ /** Premium */
1644
1768
  Premium = "Premium"
1645
1769
  }
1646
1770
 
1647
1771
  /** Known values of {@link SkuTier} that the service accepts. */
1648
1772
  export declare enum KnownSkuTier {
1773
+ /** Classic */
1649
1774
  Classic = "Classic",
1775
+ /** Basic */
1650
1776
  Basic = "Basic",
1777
+ /** Standard */
1651
1778
  Standard = "Standard",
1779
+ /** Premium */
1652
1780
  Premium = "Premium"
1653
1781
  }
1654
1782
 
1655
1783
  /** Known values of {@link SourceControlType} that the service accepts. */
1656
1784
  export declare enum KnownSourceControlType {
1785
+ /** Github */
1657
1786
  Github = "Github",
1787
+ /** VisualStudioTeamService */
1658
1788
  VisualStudioTeamService = "VisualStudioTeamService"
1659
1789
  }
1660
1790
 
1661
1791
  /** Known values of {@link SourceRegistryLoginMode} that the service accepts. */
1662
1792
  export declare enum KnownSourceRegistryLoginMode {
1793
+ /** None */
1663
1794
  None = "None",
1795
+ /** Default */
1664
1796
  Default = "Default"
1665
1797
  }
1666
1798
 
1667
1799
  /** Known values of {@link SourceTriggerEvent} that the service accepts. */
1668
1800
  export declare enum KnownSourceTriggerEvent {
1801
+ /** Commit */
1669
1802
  Commit = "commit",
1803
+ /** Pullrequest */
1670
1804
  Pullrequest = "pullrequest"
1671
1805
  }
1672
1806
 
1673
1807
  /** Known values of {@link StepType} that the service accepts. */
1674
1808
  export declare enum KnownStepType {
1809
+ /** Docker */
1675
1810
  Docker = "Docker",
1811
+ /** FileTask */
1676
1812
  FileTask = "FileTask",
1813
+ /** EncodedTask */
1677
1814
  EncodedTask = "EncodedTask"
1678
1815
  }
1679
1816
 
1680
1817
  /** Known values of {@link TaskStatus} that the service accepts. */
1681
1818
  export declare enum KnownTaskStatus {
1819
+ /** Disabled */
1682
1820
  Disabled = "Disabled",
1821
+ /** Enabled */
1683
1822
  Enabled = "Enabled"
1684
1823
  }
1685
1824
 
1686
1825
  /** Known values of {@link TlsStatus} that the service accepts. */
1687
1826
  export declare enum KnownTlsStatus {
1827
+ /** Enabled */
1688
1828
  Enabled = "Enabled",
1829
+ /** Disabled */
1689
1830
  Disabled = "Disabled"
1690
1831
  }
1691
1832
 
1692
1833
  /** Known values of {@link TokenCertificateName} that the service accepts. */
1693
1834
  export declare enum KnownTokenCertificateName {
1835
+ /** Certificate1 */
1694
1836
  Certificate1 = "certificate1",
1837
+ /** Certificate2 */
1695
1838
  Certificate2 = "certificate2"
1696
1839
  }
1697
1840
 
1698
1841
  /** Known values of {@link TokenPasswordName} that the service accepts. */
1699
1842
  export declare enum KnownTokenPasswordName {
1843
+ /** Password1 */
1700
1844
  Password1 = "password1",
1845
+ /** Password2 */
1701
1846
  Password2 = "password2"
1702
1847
  }
1703
1848
 
1704
1849
  /** Known values of {@link TokenStatus} that the service accepts. */
1705
1850
  export declare enum KnownTokenStatus {
1851
+ /** Enabled */
1706
1852
  Enabled = "enabled",
1853
+ /** Disabled */
1707
1854
  Disabled = "disabled"
1708
1855
  }
1709
1856
 
1710
1857
  /** Known values of {@link TokenType} that the service accepts. */
1711
1858
  export declare enum KnownTokenType {
1859
+ /** PAT */
1712
1860
  PAT = "PAT",
1861
+ /** OAuth */
1713
1862
  OAuth = "OAuth"
1714
1863
  }
1715
1864
 
1716
1865
  /** Known values of {@link TriggerStatus} that the service accepts. */
1717
1866
  export declare enum KnownTriggerStatus {
1867
+ /** Disabled */
1718
1868
  Disabled = "Disabled",
1869
+ /** Enabled */
1719
1870
  Enabled = "Enabled"
1720
1871
  }
1721
1872
 
1722
1873
  /** Known values of {@link TrustPolicyType} that the service accepts. */
1723
1874
  export declare enum KnownTrustPolicyType {
1875
+ /** Notary */
1724
1876
  Notary = "Notary"
1725
1877
  }
1726
1878
 
1727
1879
  /** Known values of {@link UpdateTriggerPayloadType} that the service accepts. */
1728
1880
  export declare enum KnownUpdateTriggerPayloadType {
1881
+ /** Default */
1729
1882
  Default = "Default",
1883
+ /** Token */
1730
1884
  Token = "Token"
1731
1885
  }
1732
1886
 
1733
1887
  /** Known values of {@link Variant} that the service accepts. */
1734
1888
  export declare enum KnownVariant {
1889
+ /** V6 */
1735
1890
  V6 = "v6",
1891
+ /** V7 */
1736
1892
  V7 = "v7",
1893
+ /** V8 */
1737
1894
  V8 = "v8"
1738
1895
  }
1739
1896
 
1740
1897
  /** Known values of {@link WebhookAction} that the service accepts. */
1741
1898
  export declare enum KnownWebhookAction {
1899
+ /** Push */
1742
1900
  Push = "push",
1901
+ /** Delete */
1743
1902
  Delete = "delete",
1903
+ /** Quarantine */
1744
1904
  Quarantine = "quarantine",
1905
+ /** ChartPush */
1745
1906
  ChartPush = "chart_push",
1907
+ /** ChartDelete */
1746
1908
  ChartDelete = "chart_delete"
1747
1909
  }
1748
1910
 
1749
1911
  /** Known values of {@link WebhookStatus} that the service accepts. */
1750
1912
  export declare enum KnownWebhookStatus {
1913
+ /** Enabled */
1751
1914
  Enabled = "enabled",
1915
+ /** Disabled */
1752
1916
  Disabled = "disabled"
1753
1917
  }
1754
1918
 
1755
1919
  /** Known values of {@link ZoneRedundancy} that the service accepts. */
1756
1920
  export declare enum KnownZoneRedundancy {
1921
+ /** Enabled */
1757
1922
  Enabled = "Enabled",
1923
+ /** Disabled */
1758
1924
  Disabled = "Disabled"
1759
1925
  }
1760
1926
 
@@ -1819,8 +1985,6 @@ export declare type NetworkRuleBypassOptions = string;
1819
1985
  export declare interface NetworkRuleSet {
1820
1986
  /** The default action of allow or deny when no other rules match. */
1821
1987
  defaultAction: DefaultAction;
1822
- /** The virtual network rules. */
1823
- virtualNetworkRules?: VirtualNetworkRule[];
1824
1988
  /** The IP ACL rules. */
1825
1989
  ipRules?: IPRule[];
1826
1990
  }
@@ -1947,6 +2111,17 @@ export declare interface OverrideTaskStepProperties {
1947
2111
  updateTriggerToken?: string;
1948
2112
  }
1949
2113
 
2114
+ /** The properties of a package type. */
2115
+ export declare interface PackageType {
2116
+ /** The name of the package type. */
2117
+ name?: string;
2118
+ /**
2119
+ * The endpoint of the package type.
2120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2121
+ */
2122
+ readonly endpoint?: string;
2123
+ }
2124
+
1950
2125
  /** The properties of the connected registry parent. */
1951
2126
  export declare interface ParentProperties {
1952
2127
  /** The resource ID of the parent to which the connected registry will be associated. */
@@ -1971,7 +2146,7 @@ export declare type PasswordName = "password" | "password2";
1971
2146
  export declare type PipelineOptions = string;
1972
2147
 
1973
2148
  /** An object that represents a pipeline run for a container registry. */
1974
- export declare type PipelineRun = ProxyResource & {
2149
+ export declare interface PipelineRun extends ProxyResource {
1975
2150
  /**
1976
2151
  * The provisioning state of a pipeline run.
1977
2152
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1986,7 +2161,7 @@ export declare type PipelineRun = ProxyResource & {
1986
2161
  readonly response?: PipelineRunResponse;
1987
2162
  /** How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed. */
1988
2163
  forceUpdateTag?: string;
1989
- };
2164
+ }
1990
2165
 
1991
2166
  /** The result of a request to list pipeline runs for a container registry. */
1992
2167
  export declare interface PipelineRunListResult {
@@ -2223,6 +2398,10 @@ export declare interface Policies {
2223
2398
  retentionPolicy?: RetentionPolicy;
2224
2399
  /** The export policy for a container registry. */
2225
2400
  exportPolicy?: ExportPolicy;
2401
+ /** The policy for using ARM audience token for a container registry. */
2402
+ azureADAuthenticationAsArmPolicy?: AzureADAuthenticationAsArmPolicy;
2403
+ /** The soft delete policy for a container registry. */
2404
+ softDeletePolicy?: SoftDeletePolicy;
2226
2405
  }
2227
2406
 
2228
2407
  /**
@@ -2242,7 +2421,7 @@ export declare interface PrivateEndpoint {
2242
2421
  }
2243
2422
 
2244
2423
  /** An object that represents a private endpoint connection for a container registry. */
2245
- export declare type PrivateEndpointConnection = ProxyResource & {
2424
+ export declare interface PrivateEndpointConnection extends ProxyResource {
2246
2425
  /** The resource of private endpoint. */
2247
2426
  privateEndpoint?: PrivateEndpoint;
2248
2427
  /** A collection of information about the state of the connection between service consumer and provider. */
@@ -2252,7 +2431,7 @@ export declare type PrivateEndpointConnection = ProxyResource & {
2252
2431
  * NOTE: This property will not be serialized. It can only be populated by the server.
2253
2432
  */
2254
2433
  readonly provisioningState?: ProvisioningState;
2255
- };
2434
+ }
2256
2435
 
2257
2436
  /** The result of a request to list private endpoint connections for a container registry. */
2258
2437
  export declare interface PrivateEndpointConnectionListResult {
@@ -2777,7 +2956,7 @@ export declare interface RegistriesUpdateOptionalParams extends coreClient.Opera
2777
2956
  export declare type RegistriesUpdateResponse = Registry;
2778
2957
 
2779
2958
  /** An object that represents a container registry. */
2780
- export declare type Registry = Resource & {
2959
+ export declare interface Registry extends Resource {
2781
2960
  /** The SKU of the container registry. */
2782
2961
  sku: Sku;
2783
2962
  /** The identity of the container registry. */
@@ -2830,7 +3009,7 @@ export declare type Registry = Resource & {
2830
3009
  zoneRedundancy?: ZoneRedundancy;
2831
3010
  /** Enables registry-wide pull from unauthenticated clients. */
2832
3011
  anonymousPullEnabled?: boolean;
2833
- };
3012
+ }
2834
3013
 
2835
3014
  /** The response from the ListCredentials operation. */
2836
3015
  export declare interface RegistryListCredentialsResult {
@@ -2931,7 +3110,7 @@ export declare interface RegistryUsageListResult {
2931
3110
  export declare type RegistryUsageUnit = string;
2932
3111
 
2933
3112
  /** An object that represents a replication for a container registry. */
2934
- export declare type Replication = Resource & {
3113
+ export declare interface Replication extends Resource {
2935
3114
  /**
2936
3115
  * The provisioning state of the replication at the time the operation was called.
2937
3116
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2946,7 +3125,7 @@ export declare type Replication = Resource & {
2946
3125
  regionEndpointEnabled?: boolean;
2947
3126
  /** Whether or not zone redundancy is enabled for this container registry replication */
2948
3127
  zoneRedundancy?: ZoneRedundancy;
2949
- };
3128
+ }
2950
3129
 
2951
3130
  /** The result of a request to list replications for a container registry. */
2952
3131
  export declare interface ReplicationListResult {
@@ -3150,7 +3329,7 @@ export declare interface RetentionPolicy {
3150
3329
  }
3151
3330
 
3152
3331
  /** Run resource properties */
3153
- export declare type Run = ProxyResource & {
3332
+ export declare interface Run extends ProxyResource {
3154
3333
  /** The unique identifier for the run. */
3155
3334
  runId?: string;
3156
3335
  /** The current status of the run. */
@@ -3201,7 +3380,7 @@ export declare type Run = ProxyResource & {
3201
3380
  provisioningState?: ProvisioningState;
3202
3381
  /** The value that indicates whether archiving is enabled or not. */
3203
3382
  isArchiveEnabled?: boolean;
3204
- };
3383
+ }
3205
3384
 
3206
3385
  /** Properties that are enabled for Odata querying on runs. */
3207
3386
  export declare interface RunFilter {
@@ -3409,7 +3588,7 @@ export declare interface RunUpdateParameters {
3409
3588
  }
3410
3589
 
3411
3590
  /** An object that represents a scope map for a container registry. */
3412
- export declare type ScopeMap = ProxyResource & {
3591
+ export declare interface ScopeMap extends ProxyResource {
3413
3592
  /** The user friendly description of the scope map. */
3414
3593
  description?: string;
3415
3594
  /**
@@ -3433,7 +3612,7 @@ export declare type ScopeMap = ProxyResource & {
3433
3612
  * repositories/repository-name/metadata/write
3434
3613
  */
3435
3614
  actions?: string[];
3436
- };
3615
+ }
3437
3616
 
3438
3617
  /** The result of a request to list scope maps for a container registry. */
3439
3618
  export declare interface ScopeMapListResult {
@@ -3647,6 +3826,19 @@ export declare type SkuName = string;
3647
3826
  */
3648
3827
  export declare type SkuTier = string;
3649
3828
 
3829
+ /** The soft delete policy for a container registry */
3830
+ export declare interface SoftDeletePolicy {
3831
+ /** The number of days after which a soft-deleted item is permanently deleted. */
3832
+ retentionDays?: number;
3833
+ /**
3834
+ * The timestamp when the policy was last updated.
3835
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3836
+ */
3837
+ readonly lastUpdatedTime?: Date;
3838
+ /** The value that indicates whether the policy is enabled or not. */
3839
+ status?: PolicyStatus;
3840
+ }
3841
+
3650
3842
  /** The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. */
3651
3843
  export declare interface Source {
3652
3844
  /** The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port. */
@@ -3834,6 +4026,12 @@ export declare interface StatusDetailProperties {
3834
4026
  */
3835
4027
  export declare type StepType = string;
3836
4028
 
4029
+ /** The properties of a storage account for a container registry. Only applicable to Classic SKU. */
4030
+ export declare interface StorageAccountProperties {
4031
+ /** The resource ID of the storage account. */
4032
+ id: string;
4033
+ }
4034
+
3837
4035
  /** The sync properties of the connected registry with its parent. */
3838
4036
  export declare interface SyncProperties {
3839
4037
  /** The resource ID of the ACR token used to authenticate the connected registry to its parent during sync. */
@@ -3908,7 +4106,7 @@ export declare interface Target {
3908
4106
  * The task that has the ARM resource and task properties.
3909
4107
  * The task will have all information to schedule a run against it.
3910
4108
  */
3911
- export declare type Task = Resource & {
4109
+ export declare interface Task extends Resource {
3912
4110
  /** Identity for the resource. */
3913
4111
  identity?: IdentityProperties;
3914
4112
  /**
@@ -3941,7 +4139,7 @@ export declare type Task = Resource & {
3941
4139
  logTemplate?: string;
3942
4140
  /** The value of this property indicates whether the task resource is system task or not. */
3943
4141
  isSystemTask?: boolean;
3944
- };
4142
+ }
3945
4143
 
3946
4144
  /** The collection of tasks. */
3947
4145
  export declare interface TaskListResult {
@@ -3955,7 +4153,7 @@ export declare interface TaskListResult {
3955
4153
  * The task run that has the ARM resource and properties.
3956
4154
  * The task run will have the information of request and result of a run.
3957
4155
  */
3958
- export declare type TaskRun = ProxyResource & {
4156
+ export declare interface TaskRun extends ProxyResource {
3959
4157
  /** Identity for the resource. */
3960
4158
  identity?: IdentityProperties;
3961
4159
  /** The location of the resource */
@@ -3974,7 +4172,7 @@ export declare type TaskRun = ProxyResource & {
3974
4172
  readonly runResult?: Run;
3975
4173
  /** How the run should be forced to rerun even if the run request configuration has not changed */
3976
4174
  forceUpdateTag?: string;
3977
- };
4175
+ }
3978
4176
 
3979
4177
  /** The collection of task runs. */
3980
4178
  export declare interface TaskRunListResult {
@@ -3985,14 +4183,14 @@ export declare interface TaskRunListResult {
3985
4183
  }
3986
4184
 
3987
4185
  /** The parameters for a task run request. */
3988
- export declare type TaskRunRequest = RunRequest & {
4186
+ export declare interface TaskRunRequest extends RunRequest {
3989
4187
  /** Polymorphic discriminator, which specifies the different types this object can be */
3990
4188
  type: "TaskRunRequest";
3991
4189
  /** The resource ID of task against which run has to be queued. */
3992
4190
  taskId: string;
3993
4191
  /** Set of overridable parameters that can be passed when running a Task. */
3994
4192
  overrideTaskStepProperties?: OverrideTaskStepProperties;
3995
- };
4193
+ }
3996
4194
 
3997
4195
  /** Interface representing a TaskRuns. */
3998
4196
  export declare interface TaskRuns {
@@ -4417,7 +4615,7 @@ export declare interface TlsProperties {
4417
4615
  export declare type TlsStatus = string;
4418
4616
 
4419
4617
  /** An object that represents a token for a container registry. */
4420
- export declare type Token = ProxyResource & {
4618
+ export declare interface Token extends ProxyResource {
4421
4619
  /**
4422
4620
  * The creation date of scope map.
4423
4621
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4434,7 +4632,7 @@ export declare type Token = ProxyResource & {
4434
4632
  credentials?: TokenCredentialsProperties;
4435
4633
  /** The status of the token example enabled or disabled. */
4436
4634
  status?: TokenStatus;
4437
- };
4635
+ }
4438
4636
 
4439
4637
  /** The properties of a certificate used for authenticating a token. */
4440
4638
  export declare interface TokenCertificate {
@@ -4723,16 +4921,8 @@ export declare interface UserIdentityProperties {
4723
4921
  */
4724
4922
  export declare type Variant = string;
4725
4923
 
4726
- /** Virtual network rule. */
4727
- export declare interface VirtualNetworkRule {
4728
- /** The action of virtual network rule. */
4729
- action?: Action;
4730
- /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
4731
- virtualNetworkResourceId: string;
4732
- }
4733
-
4734
4924
  /** An object that represents a webhook for a container registry. */
4735
- export declare type Webhook = Resource & {
4925
+ export declare interface Webhook extends Resource {
4736
4926
  /** The status of the webhook at the time the operation was called. */
4737
4927
  status?: WebhookStatus;
4738
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. */
@@ -4744,7 +4934,7 @@ export declare type Webhook = Resource & {
4744
4934
  * NOTE: This property will not be serialized. It can only be populated by the server.
4745
4935
  */
4746
4936
  readonly provisioningState?: ProvisioningState;
4747
- };
4937
+ }
4748
4938
 
4749
4939
  /**
4750
4940
  * Defines values for WebhookAction. \