@azure/arm-containerregistry 11.0.0 → 12.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/containerRegistryManagementClient.js +1 -1
  3. package/dist/browser/containerRegistryManagementClient.js.map +1 -1
  4. package/dist/browser/models/index.d.ts +158 -192
  5. package/dist/browser/models/index.d.ts.map +1 -1
  6. package/dist/browser/models/index.js.map +1 -1
  7. package/dist/browser/models/mappers.d.ts +16 -15
  8. package/dist/browser/models/mappers.d.ts.map +1 -1
  9. package/dist/browser/models/mappers.js +280 -319
  10. package/dist/browser/models/mappers.js.map +1 -1
  11. package/dist/browser/models/parameters.d.ts +1 -2
  12. package/dist/browser/models/parameters.d.ts.map +1 -1
  13. package/dist/browser/models/parameters.js +5 -18
  14. package/dist/browser/models/parameters.js.map +1 -1
  15. package/dist/browser/operations/agentPools.d.ts +37 -37
  16. package/dist/browser/operations/agentPools.d.ts.map +1 -1
  17. package/dist/browser/operations/agentPools.js +101 -90
  18. package/dist/browser/operations/agentPools.js.map +1 -1
  19. package/dist/browser/operations/registries.d.ts +7 -15
  20. package/dist/browser/operations/registries.d.ts.map +1 -1
  21. package/dist/browser/operations/registries.js +22 -79
  22. package/dist/browser/operations/registries.js.map +1 -1
  23. package/dist/browser/operations/runs.d.ts +18 -36
  24. package/dist/browser/operations/runs.d.ts.map +1 -1
  25. package/dist/browser/operations/runs.js +39 -156
  26. package/dist/browser/operations/runs.js.map +1 -1
  27. package/dist/browser/operations/taskRuns.d.ts +31 -39
  28. package/dist/browser/operations/taskRuns.d.ts.map +1 -1
  29. package/dist/browser/operations/taskRuns.js +79 -127
  30. package/dist/browser/operations/taskRuns.js.map +1 -1
  31. package/dist/browser/operations/tasks.d.ts +21 -48
  32. package/dist/browser/operations/tasks.d.ts.map +1 -1
  33. package/dist/browser/operations/tasks.js +62 -227
  34. package/dist/browser/operations/tasks.js.map +1 -1
  35. package/dist/browser/operationsInterfaces/agentPools.d.ts +29 -29
  36. package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
  37. package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
  38. package/dist/browser/operationsInterfaces/registries.d.ts +7 -15
  39. package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
  40. package/dist/browser/operationsInterfaces/registries.js.map +1 -1
  41. package/dist/browser/operationsInterfaces/runs.d.ts +14 -32
  42. package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
  43. package/dist/browser/operationsInterfaces/runs.js.map +1 -1
  44. package/dist/browser/operationsInterfaces/taskRuns.d.ts +23 -31
  45. package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
  46. package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
  47. package/dist/browser/operationsInterfaces/tasks.d.ts +17 -44
  48. package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
  49. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  50. package/dist/commonjs/containerRegistryManagementClient.js +1 -1
  51. package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
  52. package/dist/commonjs/models/index.d.ts +158 -192
  53. package/dist/commonjs/models/index.d.ts.map +1 -1
  54. package/dist/commonjs/models/index.js.map +1 -1
  55. package/dist/commonjs/models/mappers.d.ts +16 -15
  56. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  57. package/dist/commonjs/models/mappers.js +283 -322
  58. package/dist/commonjs/models/mappers.js.map +1 -1
  59. package/dist/commonjs/models/parameters.d.ts +1 -2
  60. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  61. package/dist/commonjs/models/parameters.js +7 -20
  62. package/dist/commonjs/models/parameters.js.map +1 -1
  63. package/dist/commonjs/operations/agentPools.d.ts +37 -37
  64. package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
  65. package/dist/commonjs/operations/agentPools.js +101 -90
  66. package/dist/commonjs/operations/agentPools.js.map +1 -1
  67. package/dist/commonjs/operations/registries.d.ts +7 -15
  68. package/dist/commonjs/operations/registries.d.ts.map +1 -1
  69. package/dist/commonjs/operations/registries.js +22 -79
  70. package/dist/commonjs/operations/registries.js.map +1 -1
  71. package/dist/commonjs/operations/runs.d.ts +18 -36
  72. package/dist/commonjs/operations/runs.d.ts.map +1 -1
  73. package/dist/commonjs/operations/runs.js +39 -156
  74. package/dist/commonjs/operations/runs.js.map +1 -1
  75. package/dist/commonjs/operations/taskRuns.d.ts +31 -39
  76. package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
  77. package/dist/commonjs/operations/taskRuns.js +79 -127
  78. package/dist/commonjs/operations/taskRuns.js.map +1 -1
  79. package/dist/commonjs/operations/tasks.d.ts +21 -48
  80. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  81. package/dist/commonjs/operations/tasks.js +62 -227
  82. package/dist/commonjs/operations/tasks.js.map +1 -1
  83. package/dist/commonjs/operationsInterfaces/agentPools.d.ts +29 -29
  84. package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
  85. package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
  86. package/dist/commonjs/operationsInterfaces/registries.d.ts +7 -15
  87. package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
  88. package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
  89. package/dist/commonjs/operationsInterfaces/runs.d.ts +14 -32
  90. package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
  91. package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
  92. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +23 -31
  93. package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
  94. package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
  95. package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -44
  96. package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
  97. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  98. package/dist/commonjs/tsdoc-metadata.json +1 -1
  99. package/dist/esm/containerRegistryManagementClient.js +1 -1
  100. package/dist/esm/containerRegistryManagementClient.js.map +1 -1
  101. package/dist/esm/models/index.d.ts +158 -192
  102. package/dist/esm/models/index.d.ts.map +1 -1
  103. package/dist/esm/models/index.js.map +1 -1
  104. package/dist/esm/models/mappers.d.ts +16 -15
  105. package/dist/esm/models/mappers.d.ts.map +1 -1
  106. package/dist/esm/models/mappers.js +280 -319
  107. package/dist/esm/models/mappers.js.map +1 -1
  108. package/dist/esm/models/parameters.d.ts +1 -2
  109. package/dist/esm/models/parameters.d.ts.map +1 -1
  110. package/dist/esm/models/parameters.js +5 -18
  111. package/dist/esm/models/parameters.js.map +1 -1
  112. package/dist/esm/operations/agentPools.d.ts +37 -37
  113. package/dist/esm/operations/agentPools.d.ts.map +1 -1
  114. package/dist/esm/operations/agentPools.js +101 -90
  115. package/dist/esm/operations/agentPools.js.map +1 -1
  116. package/dist/esm/operations/registries.d.ts +7 -15
  117. package/dist/esm/operations/registries.d.ts.map +1 -1
  118. package/dist/esm/operations/registries.js +22 -79
  119. package/dist/esm/operations/registries.js.map +1 -1
  120. package/dist/esm/operations/runs.d.ts +18 -36
  121. package/dist/esm/operations/runs.d.ts.map +1 -1
  122. package/dist/esm/operations/runs.js +39 -156
  123. package/dist/esm/operations/runs.js.map +1 -1
  124. package/dist/esm/operations/taskRuns.d.ts +31 -39
  125. package/dist/esm/operations/taskRuns.d.ts.map +1 -1
  126. package/dist/esm/operations/taskRuns.js +79 -127
  127. package/dist/esm/operations/taskRuns.js.map +1 -1
  128. package/dist/esm/operations/tasks.d.ts +21 -48
  129. package/dist/esm/operations/tasks.d.ts.map +1 -1
  130. package/dist/esm/operations/tasks.js +62 -227
  131. package/dist/esm/operations/tasks.js.map +1 -1
  132. package/dist/esm/operationsInterfaces/agentPools.d.ts +29 -29
  133. package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
  134. package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
  135. package/dist/esm/operationsInterfaces/registries.d.ts +7 -15
  136. package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
  137. package/dist/esm/operationsInterfaces/registries.js.map +1 -1
  138. package/dist/esm/operationsInterfaces/runs.d.ts +14 -32
  139. package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
  140. package/dist/esm/operationsInterfaces/runs.js.map +1 -1
  141. package/dist/esm/operationsInterfaces/taskRuns.d.ts +23 -31
  142. package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
  143. package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
  144. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -44
  145. package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
  146. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  147. package/dist/react-native/containerRegistryManagementClient.js +1 -1
  148. package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
  149. package/dist/react-native/models/index.d.ts +158 -192
  150. package/dist/react-native/models/index.d.ts.map +1 -1
  151. package/dist/react-native/models/index.js.map +1 -1
  152. package/dist/react-native/models/mappers.d.ts +16 -15
  153. package/dist/react-native/models/mappers.d.ts.map +1 -1
  154. package/dist/react-native/models/mappers.js +280 -319
  155. package/dist/react-native/models/mappers.js.map +1 -1
  156. package/dist/react-native/models/parameters.d.ts +1 -2
  157. package/dist/react-native/models/parameters.d.ts.map +1 -1
  158. package/dist/react-native/models/parameters.js +5 -18
  159. package/dist/react-native/models/parameters.js.map +1 -1
  160. package/dist/react-native/operations/agentPools.d.ts +37 -37
  161. package/dist/react-native/operations/agentPools.d.ts.map +1 -1
  162. package/dist/react-native/operations/agentPools.js +101 -90
  163. package/dist/react-native/operations/agentPools.js.map +1 -1
  164. package/dist/react-native/operations/registries.d.ts +7 -15
  165. package/dist/react-native/operations/registries.d.ts.map +1 -1
  166. package/dist/react-native/operations/registries.js +22 -79
  167. package/dist/react-native/operations/registries.js.map +1 -1
  168. package/dist/react-native/operations/runs.d.ts +18 -36
  169. package/dist/react-native/operations/runs.d.ts.map +1 -1
  170. package/dist/react-native/operations/runs.js +39 -156
  171. package/dist/react-native/operations/runs.js.map +1 -1
  172. package/dist/react-native/operations/taskRuns.d.ts +31 -39
  173. package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
  174. package/dist/react-native/operations/taskRuns.js +79 -127
  175. package/dist/react-native/operations/taskRuns.js.map +1 -1
  176. package/dist/react-native/operations/tasks.d.ts +21 -48
  177. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  178. package/dist/react-native/operations/tasks.js +62 -227
  179. package/dist/react-native/operations/tasks.js.map +1 -1
  180. package/dist/react-native/operationsInterfaces/agentPools.d.ts +29 -29
  181. package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
  182. package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
  183. package/dist/react-native/operationsInterfaces/registries.d.ts +7 -15
  184. package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
  185. package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
  186. package/dist/react-native/operationsInterfaces/runs.d.ts +14 -32
  187. package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
  188. package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
  189. package/dist/react-native/operationsInterfaces/taskRuns.d.ts +23 -31
  190. package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
  191. package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
  192. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -44
  193. package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
  194. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  195. package/package.json +17 -17
@@ -1,7 +1,7 @@
1
1
  import type * as coreClient from "@azure/core-client";
2
- export type RunRequestUnion = RunRequest | DockerBuildRequest | FileTaskRunRequest | TaskRunRequest | EncodedTaskRunRequest;
3
- export type TaskStepPropertiesUnion = TaskStepProperties | DockerBuildStep | FileTaskStep | EncodedTaskStep;
4
- export type TaskStepUpdateParametersUnion = TaskStepUpdateParameters | DockerBuildStepUpdateParameters | FileTaskStepUpdateParameters | EncodedTaskStepUpdateParameters;
2
+ export type RunRequestUnion = RunRequest | DockerBuildRequest | EncodedTaskRunRequest | FileTaskRunRequest | TaskRunRequest;
3
+ export type TaskStepPropertiesUnion = TaskStepProperties | DockerBuildStep | EncodedTaskStep | FileTaskStep;
4
+ export type TaskStepUpdateParametersUnion = TaskStepUpdateParameters | DockerBuildStepUpdateParameters | EncodedTaskStepUpdateParameters | FileTaskStepUpdateParameters;
5
5
  /** The result of a request to list container registry operations. */
6
6
  export interface OperationListResult {
7
7
  /** The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations. */
@@ -917,30 +917,12 @@ export interface EventInfo {
917
917
  /** The event ID. */
918
918
  id?: string;
919
919
  }
920
- /** An error response from the Azure Container Registry service. */
921
- export interface ErrorResponseForContainerRegistry {
922
- /** Azure container registry build API error body. */
923
- error?: ErrorResponseBody;
924
- }
925
- /** An error response from the Azure Container Registry service. */
926
- export interface ErrorResponseBody {
927
- /** error code. */
928
- code: string;
929
- /** error message. */
930
- message: string;
931
- /** target of the particular error. */
932
- target?: string;
933
- /** an array of additional nested error response info objects, as described by this contract. */
934
- details?: InnerErrorDescription[];
935
- }
936
- /** inner error. */
937
- export interface InnerErrorDescription {
938
- /** error code. */
939
- code: string;
940
- /** error message. */
941
- message: string;
942
- /** target of the particular error. */
943
- target?: string;
920
+ /** The collection of agent pools. */
921
+ export interface AgentPoolListResult {
922
+ /** The collection value. */
923
+ value?: AgentPool[];
924
+ /** The URI that can be used to request the next set of paged results. */
925
+ nextLink?: string;
944
926
  }
945
927
  /** The parameters for updating an agent pool. */
946
928
  export interface AgentPoolUpdateParameters {
@@ -951,28 +933,24 @@ export interface AgentPoolUpdateParameters {
951
933
  /** The count of agent machine */
952
934
  count?: number;
953
935
  }
954
- /** The collection of agent pools. */
955
- export interface AgentPoolListResult {
956
- /** The collection value. */
957
- value?: AgentPool[];
958
- /** The URI that can be used to request the next set of paged results. */
959
- nextLink?: string;
960
- }
961
936
  /** The QueueStatus of Agent Pool */
962
937
  export interface AgentPoolQueueStatus {
963
938
  /** The number of pending runs in the queue */
964
939
  count?: number;
965
940
  }
966
- /** The request parameters for scheduling a run. */
967
- export interface RunRequest {
968
- /** Polymorphic discriminator, which specifies the different types this object can be */
969
- type: "DockerBuildRequest" | "FileTaskRunRequest" | "TaskRunRequest" | "EncodedTaskRunRequest";
970
- /** The value that indicates whether archiving is enabled for the run or not. */
971
- isArchiveEnabled?: boolean;
972
- /** The dedicated agent pool for the run. */
973
- agentPoolName?: string;
974
- /** The template that describes the repository and tag information for run log artifact. */
975
- logTemplate?: string;
941
+ /** The properties of a response to source upload request. */
942
+ export interface SourceUploadDefinition {
943
+ /** The URL where the client can upload the source. */
944
+ uploadUrl?: string;
945
+ /** The relative path to the source. This is used to submit the subsequent queue build request. */
946
+ relativePath?: string;
947
+ }
948
+ /** The collection of runs. */
949
+ export interface RunListResult {
950
+ /** The collection value. */
951
+ value?: Run[];
952
+ /** The URI that can be used to request the next set of paged results. */
953
+ nextLink?: string;
976
954
  }
977
955
  /** Properties for a registry image. */
978
956
  export interface ImageDescriptor {
@@ -1031,20 +1009,6 @@ export interface AgentProperties {
1031
1009
  /** The CPU configuration in terms of number of cores required for the run. */
1032
1010
  cpu?: number;
1033
1011
  }
1034
- /** The properties of a response to source upload request. */
1035
- export interface SourceUploadDefinition {
1036
- /** The URL where the client can upload the source. */
1037
- uploadUrl?: string;
1038
- /** The relative path to the source. This is used to submit the subsequent queue build request. */
1039
- relativePath?: string;
1040
- }
1041
- /** Collection of runs. */
1042
- export interface RunListResult {
1043
- /** The collection value. */
1044
- value?: Run[];
1045
- /** The URI that can be used to request the next set of paged results. */
1046
- nextLink?: string;
1047
- }
1048
1012
  /** The set of run properties that can be updated. */
1049
1013
  export interface RunUpdateParameters {
1050
1014
  /** The value that indicates whether archiving is enabled or not. */
@@ -1057,6 +1021,24 @@ export interface RunGetLogResult {
1057
1021
  /** The link to logs in registry for a run on a azure container registry. */
1058
1022
  logArtifactLink?: string;
1059
1023
  }
1024
+ /** The request parameters for scheduling a run. */
1025
+ export interface RunRequest {
1026
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1027
+ type: "DockerBuildRequest" | "EncodedTaskRunRequest" | "FileTaskRunRequest" | "TaskRunRequest";
1028
+ /** The value that indicates whether archiving is enabled for the run or not. */
1029
+ isArchiveEnabled?: boolean;
1030
+ /** The dedicated agent pool for the run. */
1031
+ agentPoolName?: string;
1032
+ /** The template that describes the repository and tag information for run log artifact. */
1033
+ logTemplate?: string;
1034
+ }
1035
+ /** The collection of task runs. */
1036
+ export interface TaskRunListResult {
1037
+ /** The collection value. */
1038
+ value?: TaskRun[];
1039
+ /** The URI that can be used to request the next set of paged results. */
1040
+ nextLink?: string;
1041
+ }
1060
1042
  /** The parameters for updating a task run. */
1061
1043
  export interface TaskRunUpdateParameters {
1062
1044
  /** Identity for the resource. */
@@ -1072,13 +1054,6 @@ export interface TaskRunUpdateParameters {
1072
1054
  /** How the run should be forced to rerun even if the run request configuration has not changed */
1073
1055
  forceUpdateTag?: string;
1074
1056
  }
1075
- /** The collection of task runs. */
1076
- export interface TaskRunListResult {
1077
- /** The collection value. */
1078
- value?: TaskRun[];
1079
- /** The URI that can be used to request the next set of paged results. */
1080
- nextLink?: string;
1081
- }
1082
1057
  /** The collection of tasks. */
1083
1058
  export interface TaskListResult {
1084
1059
  /** The collection value. */
@@ -1089,7 +1064,7 @@ export interface TaskListResult {
1089
1064
  /** Base properties for any task step. */
1090
1065
  export interface TaskStepProperties {
1091
1066
  /** Polymorphic discriminator, which specifies the different types this object can be */
1092
- type: "Docker" | "FileTask" | "EncodedTask";
1067
+ type: "Docker" | "EncodedTask" | "FileTask";
1093
1068
  /**
1094
1069
  * List of base image dependencies for a step.
1095
1070
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1197,6 +1172,12 @@ export interface Credentials {
1197
1172
  }
1198
1173
  /** Describes the credential parameters for accessing the source registry. */
1199
1174
  export interface SourceRegistryCredentials {
1175
+ /**
1176
+ * The Entra identity used for source registry login.
1177
+ * The value is `[system]` for system-assigned managed identity, `[caller]` for caller identity,
1178
+ * and client ID for user-assigned managed identity.
1179
+ */
1180
+ identity?: string;
1200
1181
  /**
1201
1182
  * The authentication mode which determines the source registry login scope. The credentials for the source registry
1202
1183
  * will be generated using the given scope. These credentials will be used to login to
@@ -1275,7 +1256,7 @@ export interface PlatformUpdateParameters {
1275
1256
  /** Base properties for updating any task step. */
1276
1257
  export interface TaskStepUpdateParameters {
1277
1258
  /** Polymorphic discriminator, which specifies the different types this object can be */
1278
- type: "Docker" | "FileTask" | "EncodedTask";
1259
+ type: "Docker" | "EncodedTask" | "FileTask";
1279
1260
  /** The URL(absolute or relative) of the source context for the task step. */
1280
1261
  contextPath?: string;
1281
1262
  /** The token (git PAT or SAS token of storage account blob) associated with the context for a step. */
@@ -1350,30 +1331,6 @@ export interface BaseImageTriggerUpdateParameters {
1350
1331
  /** The name of the trigger. */
1351
1332
  name: string;
1352
1333
  }
1353
- /** Properties that are enabled for Odata querying on runs. */
1354
- export interface RunFilter {
1355
- /** The unique identifier for the run. */
1356
- runId?: string;
1357
- /** The type of run. */
1358
- runType?: RunType;
1359
- /** The current status of the run. */
1360
- status?: RunStatus;
1361
- /** The create time for a run. */
1362
- createTime?: Date;
1363
- /** The time the run finished. */
1364
- finishTime?: Date;
1365
- /**
1366
- * The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of
1367
- * build type.
1368
- */
1369
- outputImageManifests?: string;
1370
- /** The value that indicates whether archiving is enabled or not. */
1371
- isArchiveEnabled?: boolean;
1372
- /** The name of the task that the run corresponds to. */
1373
- taskName?: string;
1374
- /** The name of the agent pool that the run corresponds to. */
1375
- agentPoolName?: string;
1376
- }
1377
1334
  /** The properties of a run argument. */
1378
1335
  export interface Argument {
1379
1336
  /** The name of the argument. */
@@ -1473,14 +1430,14 @@ export interface DockerBuildRequest extends RunRequest {
1473
1430
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
1474
1431
  credentials?: Credentials;
1475
1432
  }
1476
- /** The request parameters for a scheduling run against a task file. */
1477
- export interface FileTaskRunRequest extends RunRequest {
1433
+ /** The parameters for a quick task run request. */
1434
+ export interface EncodedTaskRunRequest extends RunRequest {
1478
1435
  /** Polymorphic discriminator, which specifies the different types this object can be */
1479
- type: "FileTaskRunRequest";
1480
- /** The template/definition file path relative to the source. */
1481
- taskFilePath: string;
1482
- /** The values/parameters file path relative to the source. */
1483
- valuesFilePath?: string;
1436
+ type: "EncodedTaskRunRequest";
1437
+ /** Base64 encoded value of the template/definition file content. */
1438
+ encodedTaskContent: string;
1439
+ /** Base64 encoded value of the parameters/values file content. */
1440
+ encodedValuesContent?: string;
1484
1441
  /** The collection of overridable values that can be passed when running a task. */
1485
1442
  values?: SetValue[];
1486
1443
  /** Run timeout in seconds. */
@@ -1497,23 +1454,14 @@ export interface FileTaskRunRequest extends RunRequest {
1497
1454
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
1498
1455
  credentials?: Credentials;
1499
1456
  }
1500
- /** The parameters for a task run request. */
1501
- export interface TaskRunRequest extends RunRequest {
1502
- /** Polymorphic discriminator, which specifies the different types this object can be */
1503
- type: "TaskRunRequest";
1504
- /** The resource ID of task against which run has to be queued. */
1505
- taskId: string;
1506
- /** Set of overridable parameters that can be passed when running a Task. */
1507
- overrideTaskStepProperties?: OverrideTaskStepProperties;
1508
- }
1509
- /** The parameters for a quick task run request. */
1510
- export interface EncodedTaskRunRequest extends RunRequest {
1457
+ /** The request parameters for a scheduling run against a task file. */
1458
+ export interface FileTaskRunRequest extends RunRequest {
1511
1459
  /** Polymorphic discriminator, which specifies the different types this object can be */
1512
- type: "EncodedTaskRunRequest";
1513
- /** Base64 encoded value of the template/definition file content. */
1514
- encodedTaskContent: string;
1515
- /** Base64 encoded value of the parameters/values file content. */
1516
- encodedValuesContent?: string;
1460
+ type: "FileTaskRunRequest";
1461
+ /** The template/definition file path relative to the source. */
1462
+ taskFilePath: string;
1463
+ /** The values/parameters file path relative to the source. */
1464
+ valuesFilePath?: string;
1517
1465
  /** The collection of overridable values that can be passed when running a task. */
1518
1466
  values?: SetValue[];
1519
1467
  /** Run timeout in seconds. */
@@ -1530,6 +1478,15 @@ export interface EncodedTaskRunRequest extends RunRequest {
1530
1478
  /** The properties that describes a set of credentials that will be used when this run is invoked. */
1531
1479
  credentials?: Credentials;
1532
1480
  }
1481
+ /** The parameters for a task run request. */
1482
+ export interface TaskRunRequest extends RunRequest {
1483
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1484
+ type: "TaskRunRequest";
1485
+ /** The resource ID of task against which run has to be queued. */
1486
+ taskId: string;
1487
+ /** Set of overridable parameters that can be passed when running a Task. */
1488
+ overrideTaskStepProperties?: OverrideTaskStepProperties;
1489
+ }
1533
1490
  /** The Docker build step. */
1534
1491
  export interface DockerBuildStep extends TaskStepProperties {
1535
1492
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1547,17 +1504,6 @@ export interface DockerBuildStep extends TaskStepProperties {
1547
1504
  /** The collection of override arguments to be used when executing this build step. */
1548
1505
  arguments?: Argument[];
1549
1506
  }
1550
- /** The properties of a task step. */
1551
- export interface FileTaskStep extends TaskStepProperties {
1552
- /** Polymorphic discriminator, which specifies the different types this object can be */
1553
- type: "FileTask";
1554
- /** The task template/definition file path relative to the source context. */
1555
- taskFilePath: string;
1556
- /** The task values/parameters file path relative to the source context. */
1557
- valuesFilePath?: string;
1558
- /** The collection of overridable values that can be passed when running a task. */
1559
- values?: SetValue[];
1560
- }
1561
1507
  /** The properties of a encoded task step. */
1562
1508
  export interface EncodedTaskStep extends TaskStepProperties {
1563
1509
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1569,6 +1515,17 @@ export interface EncodedTaskStep extends TaskStepProperties {
1569
1515
  /** The collection of overridable values that can be passed when running a task. */
1570
1516
  values?: SetValue[];
1571
1517
  }
1518
+ /** The properties of a task step. */
1519
+ export interface FileTaskStep extends TaskStepProperties {
1520
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1521
+ type: "FileTask";
1522
+ /** The task template/definition file path relative to the source context. */
1523
+ taskFilePath: string;
1524
+ /** The task values/parameters file path relative to the source context. */
1525
+ valuesFilePath?: string;
1526
+ /** The collection of overridable values that can be passed when running a task. */
1527
+ values?: SetValue[];
1528
+ }
1572
1529
  /** The properties for updating a docker build step. */
1573
1530
  export interface DockerBuildStepUpdateParameters extends TaskStepUpdateParameters {
1574
1531
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1586,17 +1543,6 @@ export interface DockerBuildStepUpdateParameters extends TaskStepUpdateParameter
1586
1543
  /** The name of the target build stage for the docker build. */
1587
1544
  target?: string;
1588
1545
  }
1589
- /** The properties of updating a task step. */
1590
- export interface FileTaskStepUpdateParameters extends TaskStepUpdateParameters {
1591
- /** Polymorphic discriminator, which specifies the different types this object can be */
1592
- type: "FileTask";
1593
- /** The task template/definition file path relative to the source context. */
1594
- taskFilePath?: string;
1595
- /** The values/parameters file path relative to the source context. */
1596
- valuesFilePath?: string;
1597
- /** The collection of overridable values that can be passed when running a task. */
1598
- values?: SetValue[];
1599
- }
1600
1546
  /** The properties for updating encoded task step. */
1601
1547
  export interface EncodedTaskStepUpdateParameters extends TaskStepUpdateParameters {
1602
1548
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1608,6 +1554,17 @@ export interface EncodedTaskStepUpdateParameters extends TaskStepUpdateParameter
1608
1554
  /** The collection of overridable values that can be passed when running a task. */
1609
1555
  values?: SetValue[];
1610
1556
  }
1557
+ /** The properties of updating a task step. */
1558
+ export interface FileTaskStepUpdateParameters extends TaskStepUpdateParameters {
1559
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1560
+ type: "FileTask";
1561
+ /** The task template/definition file path relative to the source context. */
1562
+ taskFilePath?: string;
1563
+ /** The values/parameters file path relative to the source context. */
1564
+ valuesFilePath?: string;
1565
+ /** The collection of overridable values that can be passed when running a task. */
1566
+ values?: SetValue[];
1567
+ }
1611
1568
  /** An object that represents a private endpoint connection for a container registry. */
1612
1569
  export interface PrivateEndpointConnection extends ProxyResource {
1613
1570
  /** The resource of private endpoint. */
@@ -2185,6 +2142,41 @@ export interface WebhooksDeleteHeaders {
2185
2142
  /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2186
2143
  retryAfter?: number;
2187
2144
  }
2145
+ /** Defines headers for AgentPools_create operation. */
2146
+ export interface AgentPoolsCreateHeaders {
2147
+ /** A link to the status monitor */
2148
+ azureAsyncOperation?: string;
2149
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2150
+ retryAfter?: number;
2151
+ }
2152
+ /** Defines headers for AgentPools_update operation. */
2153
+ export interface AgentPoolsUpdateHeaders {
2154
+ /** A link to the status monitor */
2155
+ azureAsyncOperation?: string;
2156
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2157
+ retryAfter?: number;
2158
+ }
2159
+ /** Defines headers for AgentPools_delete operation. */
2160
+ export interface AgentPoolsDeleteHeaders {
2161
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
2162
+ location?: string;
2163
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2164
+ retryAfter?: number;
2165
+ }
2166
+ /** Defines headers for TaskRuns_create operation. */
2167
+ export interface TaskRunsCreateHeaders {
2168
+ /** A link to the status monitor */
2169
+ azureAsyncOperation?: string;
2170
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2171
+ retryAfter?: number;
2172
+ }
2173
+ /** Defines headers for TaskRuns_update operation. */
2174
+ export interface TaskRunsUpdateHeaders {
2175
+ /** A link to the status monitor */
2176
+ azureAsyncOperation?: string;
2177
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
2178
+ retryAfter?: number;
2179
+ }
2188
2180
  /** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
2189
2181
  export declare enum KnownAutoGeneratedDomainNameLabelScope {
2190
2182
  /** Unsecure */
@@ -3188,20 +3180,16 @@ export interface RegistriesRegenerateCredentialOptionalParams extends coreClient
3188
3180
  /** Contains response data for the regenerateCredential operation. */
3189
3181
  export type RegistriesRegenerateCredentialResponse = RegistryListCredentialsResult;
3190
3182
  /** Optional parameters. */
3191
- export interface RegistriesScheduleRunOptionalParams extends coreClient.OperationOptions {
3192
- /** Delay to wait until next poll, in milliseconds. */
3193
- updateIntervalInMs?: number;
3194
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3195
- resumeFrom?: string;
3196
- }
3197
- /** Contains response data for the scheduleRun operation. */
3198
- export type RegistriesScheduleRunResponse = Run;
3199
- /** Optional parameters. */
3200
3183
  export interface RegistriesGetBuildSourceUploadUrlOptionalParams extends coreClient.OperationOptions {
3201
3184
  }
3202
3185
  /** Contains response data for the getBuildSourceUploadUrl operation. */
3203
3186
  export type RegistriesGetBuildSourceUploadUrlResponse = SourceUploadDefinition;
3204
3187
  /** Optional parameters. */
3188
+ export interface RegistriesScheduleRunOptionalParams extends coreClient.OperationOptions {
3189
+ }
3190
+ /** Contains response data for the scheduleRun operation. */
3191
+ export type RegistriesScheduleRunResponse = Run;
3192
+ /** Optional parameters. */
3205
3193
  export interface RegistriesListNextOptionalParams extends coreClient.OperationOptions {
3206
3194
  }
3207
3195
  /** Contains response data for the listNext operation. */
@@ -3561,6 +3549,11 @@ export interface WebhooksListEventsNextOptionalParams extends coreClient.Operati
3561
3549
  /** Contains response data for the listEventsNext operation. */
3562
3550
  export type WebhooksListEventsNextResponse = EventListResult;
3563
3551
  /** Optional parameters. */
3552
+ export interface AgentPoolsListOptionalParams extends coreClient.OperationOptions {
3553
+ }
3554
+ /** Contains response data for the list operation. */
3555
+ export type AgentPoolsListResponse = AgentPoolListResult;
3556
+ /** Optional parameters. */
3564
3557
  export interface AgentPoolsGetOptionalParams extends coreClient.OperationOptions {
3565
3558
  }
3566
3559
  /** Contains response data for the get operation. */
@@ -3575,26 +3568,23 @@ export interface AgentPoolsCreateOptionalParams extends coreClient.OperationOpti
3575
3568
  /** Contains response data for the create operation. */
3576
3569
  export type AgentPoolsCreateResponse = AgentPool;
3577
3570
  /** Optional parameters. */
3578
- export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOptions {
3571
+ export interface AgentPoolsUpdateOptionalParams extends coreClient.OperationOptions {
3579
3572
  /** Delay to wait until next poll, in milliseconds. */
3580
3573
  updateIntervalInMs?: number;
3581
3574
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3582
3575
  resumeFrom?: string;
3583
3576
  }
3577
+ /** Contains response data for the update operation. */
3578
+ export type AgentPoolsUpdateResponse = AgentPool;
3584
3579
  /** Optional parameters. */
3585
- export interface AgentPoolsUpdateOptionalParams extends coreClient.OperationOptions {
3580
+ export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOptions {
3586
3581
  /** Delay to wait until next poll, in milliseconds. */
3587
3582
  updateIntervalInMs?: number;
3588
3583
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3589
3584
  resumeFrom?: string;
3590
3585
  }
3591
- /** Contains response data for the update operation. */
3592
- export type AgentPoolsUpdateResponse = AgentPool;
3593
- /** Optional parameters. */
3594
- export interface AgentPoolsListOptionalParams extends coreClient.OperationOptions {
3595
- }
3596
- /** Contains response data for the list operation. */
3597
- export type AgentPoolsListResponse = AgentPoolListResult;
3586
+ /** Contains response data for the delete operation. */
3587
+ export type AgentPoolsDeleteResponse = AgentPoolsDeleteHeaders;
3598
3588
  /** Optional parameters. */
3599
3589
  export interface AgentPoolsGetQueueStatusOptionalParams extends coreClient.OperationOptions {
3600
3590
  }
@@ -3621,31 +3611,28 @@ export interface RunsGetOptionalParams extends coreClient.OperationOptions {
3621
3611
  export type RunsGetResponse = Run;
3622
3612
  /** Optional parameters. */
3623
3613
  export interface RunsUpdateOptionalParams extends coreClient.OperationOptions {
3624
- /** Delay to wait until next poll, in milliseconds. */
3625
- updateIntervalInMs?: number;
3626
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3627
- resumeFrom?: string;
3628
3614
  }
3629
3615
  /** Contains response data for the update operation. */
3630
3616
  export type RunsUpdateResponse = Run;
3631
3617
  /** Optional parameters. */
3618
+ export interface RunsCancelOptionalParams extends coreClient.OperationOptions {
3619
+ }
3620
+ /** Optional parameters. */
3632
3621
  export interface RunsGetLogSasUrlOptionalParams extends coreClient.OperationOptions {
3633
3622
  }
3634
3623
  /** Contains response data for the getLogSasUrl operation. */
3635
3624
  export type RunsGetLogSasUrlResponse = RunGetLogResult;
3636
3625
  /** Optional parameters. */
3637
- export interface RunsCancelOptionalParams extends coreClient.OperationOptions {
3638
- /** Delay to wait until next poll, in milliseconds. */
3639
- updateIntervalInMs?: number;
3640
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3641
- resumeFrom?: string;
3642
- }
3643
- /** Optional parameters. */
3644
3626
  export interface RunsListNextOptionalParams extends coreClient.OperationOptions {
3645
3627
  }
3646
3628
  /** Contains response data for the listNext operation. */
3647
3629
  export type RunsListNextResponse = RunListResult;
3648
3630
  /** Optional parameters. */
3631
+ export interface TaskRunsListOptionalParams extends coreClient.OperationOptions {
3632
+ }
3633
+ /** Contains response data for the list operation. */
3634
+ export type TaskRunsListResponse = TaskRunListResult;
3635
+ /** Optional parameters. */
3649
3636
  export interface TaskRunsGetOptionalParams extends coreClient.OperationOptions {
3650
3637
  }
3651
3638
  /** Contains response data for the get operation. */
@@ -3660,13 +3647,6 @@ export interface TaskRunsCreateOptionalParams extends coreClient.OperationOption
3660
3647
  /** Contains response data for the create operation. */
3661
3648
  export type TaskRunsCreateResponse = TaskRun;
3662
3649
  /** Optional parameters. */
3663
- export interface TaskRunsDeleteOptionalParams extends coreClient.OperationOptions {
3664
- /** Delay to wait until next poll, in milliseconds. */
3665
- updateIntervalInMs?: number;
3666
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3667
- resumeFrom?: string;
3668
- }
3669
- /** Optional parameters. */
3670
3650
  export interface TaskRunsUpdateOptionalParams extends coreClient.OperationOptions {
3671
3651
  /** Delay to wait until next poll, in milliseconds. */
3672
3652
  updateIntervalInMs?: number;
@@ -3676,16 +3656,14 @@ export interface TaskRunsUpdateOptionalParams extends coreClient.OperationOption
3676
3656
  /** Contains response data for the update operation. */
3677
3657
  export type TaskRunsUpdateResponse = TaskRun;
3678
3658
  /** Optional parameters. */
3659
+ export interface TaskRunsDeleteOptionalParams extends coreClient.OperationOptions {
3660
+ }
3661
+ /** Optional parameters. */
3679
3662
  export interface TaskRunsGetDetailsOptionalParams extends coreClient.OperationOptions {
3680
3663
  }
3681
3664
  /** Contains response data for the getDetails operation. */
3682
3665
  export type TaskRunsGetDetailsResponse = TaskRun;
3683
3666
  /** Optional parameters. */
3684
- export interface TaskRunsListOptionalParams extends coreClient.OperationOptions {
3685
- }
3686
- /** Contains response data for the list operation. */
3687
- export type TaskRunsListResponse = TaskRunListResult;
3688
- /** Optional parameters. */
3689
3667
  export interface TaskRunsListNextOptionalParams extends coreClient.OperationOptions {
3690
3668
  }
3691
3669
  /** Contains response data for the listNext operation. */
@@ -3702,30 +3680,18 @@ export interface TasksGetOptionalParams extends coreClient.OperationOptions {
3702
3680
  export type TasksGetResponse = Task;
3703
3681
  /** Optional parameters. */
3704
3682
  export interface TasksCreateOptionalParams extends coreClient.OperationOptions {
3705
- /** Delay to wait until next poll, in milliseconds. */
3706
- updateIntervalInMs?: number;
3707
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3708
- resumeFrom?: string;
3709
3683
  }
3710
3684
  /** Contains response data for the create operation. */
3711
3685
  export type TasksCreateResponse = Task;
3712
3686
  /** Optional parameters. */
3713
- export interface TasksDeleteOptionalParams extends coreClient.OperationOptions {
3714
- /** Delay to wait until next poll, in milliseconds. */
3715
- updateIntervalInMs?: number;
3716
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3717
- resumeFrom?: string;
3718
- }
3719
- /** Optional parameters. */
3720
3687
  export interface TasksUpdateOptionalParams extends coreClient.OperationOptions {
3721
- /** Delay to wait until next poll, in milliseconds. */
3722
- updateIntervalInMs?: number;
3723
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3724
- resumeFrom?: string;
3725
3688
  }
3726
3689
  /** Contains response data for the update operation. */
3727
3690
  export type TasksUpdateResponse = Task;
3728
3691
  /** Optional parameters. */
3692
+ export interface TasksDeleteOptionalParams extends coreClient.OperationOptions {
3693
+ }
3694
+ /** Optional parameters. */
3729
3695
  export interface TasksGetDetailsOptionalParams extends coreClient.OperationOptions {
3730
3696
  }
3731
3697
  /** Contains response data for the getDetails operation. */