diff --git a/sdk/containerregistry/arm-containerregistry/README.md b/sdk/containerregistry/arm-containerregistry/README.md index 2afe51005264..a420c130137d 100644 --- a/sdk/containerregistry/arm-containerregistry/README.md +++ b/sdk/containerregistry/arm-containerregistry/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-containerregistry ### How to use -#### nodejs - Authentication, client creation and get exportPipelines as an example written in TypeScript. +#### nodejs - client creation and get exportPipelines as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ContainerRegistryManagementClient, ContainerRegistryManagementModels, ContainerRegistryManagementMappers } from "@azure/arm-containerregistry"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/containerregistry/arm-containerregistry/rollup.config.js b/sdk/containerregistry/arm-containerregistry/rollup.config.js index 66c48646cb11..79faa6a294a4 100644 --- a/sdk/containerregistry/arm-containerregistry/rollup.config.js +++ b/sdk/containerregistry/arm-containerregistry/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts index 19afb901c50b..eb9a2dd85d30 100644 --- a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts +++ b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts index a0016e0583e5..5657072b773b 100644 --- a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts +++ b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/containerregistry/arm-containerregistry/src/models/agentPoolsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/agentPoolsMappers.ts index 154994c867f0..f9f40aa61520 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/agentPoolsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/agentPoolsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/exportPipelinesMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/exportPipelinesMappers.ts index 6ce33478909a..a72ae4628cdf 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/exportPipelinesMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/exportPipelinesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/importPipelinesMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/importPipelinesMappers.ts index 06141ad4dce9..a99e1f917b22 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/importPipelinesMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/importPipelinesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/index.ts b/sdk/containerregistry/arm-containerregistry/src/models/index.ts index 596438e9d934..4e0ef34e0e81 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/index.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -97,6 +97,10 @@ export interface ProxyResource extends BaseResource { * An object that represents an export pipeline for a container registry. */ export interface ExportPipeline extends ProxyResource { + /** + * The location of the export pipeline. + */ + location?: string; /** * The identity of the export pipeline. */ @@ -227,6 +231,10 @@ export interface PipelineTriggerProperties { * An object that represents an import pipeline for a container registry. */ export interface ImportPipeline extends ProxyResource { + /** + * The location of the import pipeline. + */ + location?: string; /** * The identity of the import pipeline. */ @@ -1456,6 +1464,10 @@ export interface RunRequest { * The dedicated agent pool for the run. */ agentPoolName?: string; + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; } /** @@ -1658,6 +1670,11 @@ export interface Run extends ProxyResource { * The update trigger token passed for the Run. */ updateTriggerToken?: string; + /** + * The image description for the log artifact. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly logArtifact?: ImageDescriptor; /** * The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', * 'Succeeded', 'Failed', 'Canceled' @@ -1746,13 +1763,17 @@ export interface RunGetLogResult { * The link to logs for a run on a azure container registry. */ logLink?: string; + /** + * The link to logs in registry for a run on a azure container registry. + */ + logArtifactLink?: string; } /** * The task run that has the ARM resource and properties. * The task run will have the information of request and result of a run. */ -export interface TaskRun extends Resource { +export interface TaskRun extends ProxyResource { /** * Identity for the resource. */ @@ -1776,6 +1797,10 @@ export interface TaskRun extends Resource { * How the run should be forced to rerun even if the run request configuration has not changed */ forceUpdateTag?: string; + /** + * The location of the resource + */ + location?: string; } /** @@ -1794,6 +1819,10 @@ export interface TaskRunUpdateParameters { * How the run should be forced to rerun even if the run request configuration has not changed */ forceUpdateTag?: string; + /** + * The location of the resource + */ + location?: string; /** * The ARM resource tags. */ @@ -2091,7 +2120,7 @@ export interface Task extends Resource { /** * The platform properties against which the run has to happen. */ - platform: PlatformProperties; + platform?: PlatformProperties; /** * The machine configuration of the run agent. */ @@ -2107,7 +2136,7 @@ export interface Task extends Resource { /** * The properties of a task step. */ - step: TaskStepPropertiesUnion; + step?: TaskStepPropertiesUnion; /** * The properties that describe all triggers for the task. */ @@ -2116,6 +2145,15 @@ export interface Task extends Resource { * The properties that describes a set of credentials that will be used when this run is invoked. */ credentials?: Credentials; + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; + /** + * The value of this property indicates whether the task resource is system task or not. Default + * value: false. + */ + isSystemTask?: boolean; } /** @@ -2339,6 +2377,10 @@ export interface TaskUpdateParameters { * The parameters that describes a set of credentials that will be used when this run is invoked. */ credentials?: Credentials; + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; /** * The ARM resource tags. */ @@ -2431,6 +2473,10 @@ export interface DockerBuildRequest { * The dedicated agent pool for the run. */ agentPoolName?: string; + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; /** * The fully qualified image names including the repository and tag. */ @@ -2517,6 +2563,10 @@ export interface FileTaskRunRequest { * The dedicated agent pool for the run. */ agentPoolName?: string; + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; /** * The template/definition file path relative to the source. */ @@ -2602,6 +2652,10 @@ export interface TaskRunRequest { * The dedicated agent pool for the run. */ agentPoolName?: string; + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; /** * The resource ID of task against which run has to be queued. */ @@ -2629,6 +2683,10 @@ export interface EncodedTaskRunRequest { * The dedicated agent pool for the run. */ agentPoolName?: string; + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; /** * Base64 encoded value of the template/definition file content. */ @@ -3113,6 +3171,21 @@ export interface RunsListOptionalParams extends msRest.RequestOptionsBase { top?: number; } +/** + * Optional Parameters. + */ +export interface RunsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed + * string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed. + */ + filter?: string; + /** + * $top is supported for get list of runs, which limits the maximum number of runs to return. + */ + top?: number; +} + /** * An interface representing ContainerRegistryManagementClientOptions. */ diff --git a/sdk/containerregistry/arm-containerregistry/src/models/mappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/mappers.ts index 6669d495a51b..e87a5d219916 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/mappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -147,6 +147,12 @@ export const ExportPipeline: msRest.CompositeMapper = { className: "ExportPipeline", modelProperties: { ...ProxyResource.type.modelProperties, + location: { + serializedName: "location", + type: { + name: "String" + } + }, identity: { serializedName: "identity", type: { @@ -362,6 +368,12 @@ export const ImportPipeline: msRest.CompositeMapper = { className: "ImportPipeline", modelProperties: { ...ProxyResource.type.modelProperties, + location: { + serializedName: "location", + type: { + name: "String" + } + }, identity: { serializedName: "identity", type: { @@ -2395,6 +2407,12 @@ export const RunRequest: msRest.CompositeMapper = { name: "String" } }, + logTemplate: { + serializedName: "logTemplate", + type: { + name: "String" + } + }, type: { required: true, serializedName: "type", @@ -2731,6 +2749,14 @@ export const Run: msRest.CompositeMapper = { name: "String" } }, + logArtifact: { + readOnly: true, + serializedName: "properties.logArtifact", + type: { + name: "Composite", + className: "ImageDescriptor" + } + }, provisioningState: { serializedName: "properties.provisioningState", type: { @@ -2861,6 +2887,12 @@ export const RunGetLogResult: msRest.CompositeMapper = { type: { name: "String" } + }, + logArtifactLink: { + serializedName: "logArtifactLink", + type: { + name: "String" + } } } } @@ -2872,7 +2904,7 @@ export const TaskRun: msRest.CompositeMapper = { name: "Composite", className: "TaskRun", modelProperties: { - ...Resource.type.modelProperties, + ...ProxyResource.type.modelProperties, identity: { serializedName: "identity", type: { @@ -2907,6 +2939,12 @@ export const TaskRun: msRest.CompositeMapper = { type: { name: "String" } + }, + location: { + serializedName: "location", + type: { + name: "String" + } } } } @@ -2938,6 +2976,12 @@ export const TaskRunUpdateParameters: msRest.CompositeMapper = { name: "String" } }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -3410,7 +3454,6 @@ export const Task: msRest.CompositeMapper = { } }, platform: { - required: true, serializedName: "properties.platform", type: { name: "Composite", @@ -3442,7 +3485,6 @@ export const Task: msRest.CompositeMapper = { } }, step: { - required: true, serializedName: "properties.step", type: { name: "Composite", @@ -3462,6 +3504,19 @@ export const Task: msRest.CompositeMapper = { name: "Composite", className: "Credentials" } + }, + logTemplate: { + serializedName: "properties.logTemplate", + type: { + name: "String" + } + }, + isSystemTask: { + serializedName: "properties.isSystemTask", + defaultValue: false, + type: { + name: "Boolean" + } } } } @@ -3825,6 +3880,12 @@ export const TaskUpdateParameters: msRest.CompositeMapper = { className: "Credentials" } }, + logTemplate: { + serializedName: "properties.logTemplate", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { diff --git a/sdk/containerregistry/arm-containerregistry/src/models/operationsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/operationsMappers.ts index 3c46c8651118..4266ef0521be 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/operationsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/parameters.ts b/sdk/containerregistry/arm-containerregistry/src/models/parameters.ts index e4868d2a59ba..2f56de388381 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/parameters.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -247,6 +246,11 @@ export const taskRunName: msRest.OperationURLParameter = { mapper: { required: true, serializedName: "taskRunName", + constraints: { + MaxLength: 50, + MinLength: 5, + Pattern: /^[a-zA-Z0-9-]*$/ + }, type: { name: "String" } diff --git a/sdk/containerregistry/arm-containerregistry/src/models/pipelineRunsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/pipelineRunsMappers.ts index a6f9593651eb..1ba4586fd5de 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/pipelineRunsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/pipelineRunsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/privateEndpointConnectionsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/privateEndpointConnectionsMappers.ts index a80e3a458518..071589abbcd1 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/privateEndpointConnectionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/registriesMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/registriesMappers.ts index 2d41555b3437..979233fba4b1 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/registriesMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/registriesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/replicationsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/replicationsMappers.ts index 2971c20b9be4..4a177c4f27d4 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/replicationsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/replicationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/runsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/runsMappers.ts index 21a5b72c9e7e..d1e13fb6b584 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/runsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/runsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/scopeMapsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/scopeMapsMappers.ts index c6811c5044b7..23b427f2c824 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/scopeMapsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/scopeMapsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/taskRunsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/taskRunsMappers.ts index 9793b8c421b5..3a90b1f4495f 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/taskRunsMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/taskRunsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/tasksMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/tasksMappers.ts index d08d5820c381..46450ea97651 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/tasksMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/tasksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/tokensMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/tokensMappers.ts index ad7360923d51..e5fbd2aebb6c 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/tokensMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/tokensMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/models/webhooksMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/webhooksMappers.ts index 8da5ba555d8a..af9551779f15 100644 --- a/sdk/containerregistry/arm-containerregistry/src/models/webhooksMappers.ts +++ b/sdk/containerregistry/arm-containerregistry/src/models/webhooksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/agentPools.ts b/sdk/containerregistry/arm-containerregistry/src/operations/agentPools.ts index 8a3c1081509d..4dd0e6d83ff5 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/agentPools.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/agentPools.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -449,6 +448,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/exportPipelines.ts b/sdk/containerregistry/arm-containerregistry/src/operations/exportPipelines.ts index c952f9f78504..d6f5b6f0537a 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/exportPipelines.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/exportPipelines.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -315,6 +314,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/importPipelines.ts b/sdk/containerregistry/arm-containerregistry/src/operations/importPipelines.ts index 0c9b947fbb4f..97715b931a7f 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/importPipelines.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/importPipelines.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -315,6 +314,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/index.ts b/sdk/containerregistry/arm-containerregistry/src/operations/index.ts index 3ddd95ccd214..2d60204089b0 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/index.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/operations.ts b/sdk/containerregistry/arm-containerregistry/src/operations/operations.ts index f3336832e747..5ccee4a0948a 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/operations.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/pipelineRuns.ts b/sdk/containerregistry/arm-containerregistry/src/operations/pipelineRuns.ts index 5802c113fb40..af27653cf2e3 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/pipelineRuns.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/pipelineRuns.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -315,6 +314,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/privateEndpointConnections.ts b/sdk/containerregistry/arm-containerregistry/src/operations/privateEndpointConnections.ts index e38c5f5c96f9..207016f80dd7 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/privateEndpointConnections.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/privateEndpointConnections.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -317,6 +316,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/registries.ts b/sdk/containerregistry/arm-containerregistry/src/operations/registries.ts index d924ab5b4c41..04abb5177d13 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/registries.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/registries.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -1022,6 +1021,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1043,6 +1045,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1064,6 +1069,9 @@ const listPrivateLinkResourcesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/replications.ts b/sdk/containerregistry/arm-containerregistry/src/operations/replications.ts index 81ce0b1451ba..1892af4f6d46 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/replications.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/replications.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -387,6 +386,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/runs.ts b/sdk/containerregistry/arm-containerregistry/src/operations/runs.ts index c0da70dd209a..16a9fcc29435 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/runs.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/runs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -206,7 +205,7 @@ export class Runs { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.RunsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -217,8 +216,8 @@ export class Runs { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.RunsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.RunsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -378,6 +377,11 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1, + Parameters.filter, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/scopeMaps.ts b/sdk/containerregistry/arm-containerregistry/src/operations/scopeMaps.ts index 9c89ef449eeb..6af3189f0b54 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/scopeMaps.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/scopeMaps.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -387,6 +386,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/taskRuns.ts b/sdk/containerregistry/arm-containerregistry/src/operations/taskRuns.ts index 91eb0fb2a635..e35838c33e4e 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/taskRuns.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/taskRuns.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -31,7 +30,7 @@ export class TaskRuns { * Gets the detailed information for a given task run. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The run request name. + * @param taskRunName The name of the task run. * @param [options] The optional parameters * @returns Promise */ @@ -39,14 +38,14 @@ export class TaskRuns { /** * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The run request name. + * @param taskRunName The name of the task run. * @param callback The callback */ get(resourceGroupName: string, registryName: string, taskRunName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The run request name. + * @param taskRunName The name of the task run. * @param options The optional parameters * @param callback The callback */ @@ -67,7 +66,7 @@ export class TaskRuns { * Creates a task run for a container registry with the specified parameters. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The name of task run. + * @param taskRunName The name of the task run. * @param taskRun The parameters of a run that needs to scheduled. * @param [options] The optional parameters * @returns Promise @@ -81,7 +80,7 @@ export class TaskRuns { * Deletes a specified task run resource. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The task run name. + * @param taskRunName The name of the task run. * @param [options] The optional parameters * @returns Promise */ @@ -94,7 +93,7 @@ export class TaskRuns { * Updates a task run with the specified parameters. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The task run name. + * @param taskRunName The name of the task run. * @param updateParameters The parameters for updating a task run. * @param [options] The optional parameters * @returns Promise @@ -108,7 +107,7 @@ export class TaskRuns { * Gets the detailed information for a given task run that includes all secrets. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The run request name. + * @param taskRunName The name of the task run. * @param [options] The optional parameters * @returns Promise */ @@ -116,14 +115,14 @@ export class TaskRuns { /** * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The run request name. + * @param taskRunName The name of the task run. * @param callback The callback */ getDetails(resourceGroupName: string, registryName: string, taskRunName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The run request name. + * @param taskRunName The name of the task run. * @param options The optional parameters * @param callback The callback */ @@ -176,7 +175,7 @@ export class TaskRuns { * Creates a task run for a container registry with the specified parameters. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The name of task run. + * @param taskRunName The name of the task run. * @param taskRun The parameters of a run that needs to scheduled. * @param [options] The optional parameters * @returns Promise @@ -198,7 +197,7 @@ export class TaskRuns { * Deletes a specified task run resource. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The task run name. + * @param taskRunName The name of the task run. * @param [options] The optional parameters * @returns Promise */ @@ -218,7 +217,7 @@ export class TaskRuns { * Updates a task run with the specified parameters. * @param resourceGroupName The name of the resource group to which the container registry belongs. * @param registryName The name of the container registry. - * @param taskRunName The task run name. + * @param taskRunName The name of the task run. * @param updateParameters The parameters for updating a task run. * @param [options] The optional parameters * @returns Promise @@ -449,6 +448,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/tasks.ts b/sdk/containerregistry/arm-containerregistry/src/operations/tasks.ts index b4e7ac93d557..6df0f1eb4259 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/tasks.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/tasks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -449,6 +448,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/tokens.ts b/sdk/containerregistry/arm-containerregistry/src/operations/tokens.ts index 3a141523baaf..f7688c39b6a5 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/tokens.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/tokens.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -387,6 +386,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/containerregistry/arm-containerregistry/src/operations/webhooks.ts b/sdk/containerregistry/arm-containerregistry/src/operations/webhooks.ts index 97a6a388abf8..d261329c0a81 100644 --- a/sdk/containerregistry/arm-containerregistry/src/operations/webhooks.ts +++ b/sdk/containerregistry/arm-containerregistry/src/operations/webhooks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -601,6 +600,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -622,6 +624,9 @@ const listEventsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ],