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..ce4247da87ab 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. @@ -75,6 +75,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/exportPipelinesMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/exportPipelinesMappers.ts index 6ce33478909a..fc5dc69833af 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. @@ -71,6 +71,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/importPipelinesMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/importPipelinesMappers.ts index 06141ad4dce9..dbc4c347f7cf 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. @@ -71,6 +71,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/index.ts b/sdk/containerregistry/arm-containerregistry/src/models/index.ts index 596438e9d934..cc0dbc1df99f 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. @@ -91,12 +91,21 @@ export interface ProxyResource extends BaseResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; + /** + * Metadata pertaining to creation and last modification of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** * 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. */ @@ -117,6 +126,38 @@ export interface ExportPipeline extends ProxyResource { readonly provisioningState?: ProvisioningState; } +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: LastModifiedByType; + /** + * The timestamp of resource modification (UTC). + */ + lastModifiedAt?: Date; +} + /** * An interface representing ImportSourceCredentials. */ @@ -227,6 +268,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. */ @@ -756,6 +801,16 @@ export interface KeyVaultProperties { * The client id of the identity which will be used to access key vault. */ identity?: string; + /** + * Auto key rotation status for a CMK enabled registry. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly keyRotationEnabled?: boolean; + /** + * Timestamp of the last successful key rotation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastKeyRotationTimestamp?: Date; } /** @@ -800,6 +855,11 @@ export interface Resource extends BaseResource { * The tags of the resource. */ tags?: { [propertyName: string]: string }; + /** + * Metadata pertaining to creation and last modification of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -1456,6 +1516,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 +1722,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 +1815,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 +1849,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 +1871,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 +2172,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 +2188,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 +2197,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 +2429,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 +2525,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 +2615,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 +2704,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 +2735,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 +3223,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. */ @@ -3338,6 +3463,22 @@ export type PipelineOptions = 'OverwriteTags' | 'OverwriteBlobs' | 'DeleteSource */ export type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + +/** + * Defines values for LastModifiedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type LastModifiedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + /** * Defines values for ImportMode. * Possible values include: 'NoForce', 'Force' diff --git a/sdk/containerregistry/arm-containerregistry/src/models/mappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/mappers.ts index 6669d495a51b..c6a6edf4f862 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. @@ -135,6 +135,14 @@ export const ProxyResource: msRest.CompositeMapper = { type: { name: "String" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -147,6 +155,12 @@ export const ExportPipeline: msRest.CompositeMapper = { className: "ExportPipeline", modelProperties: { ...ProxyResource.type.modelProperties, + location: { + serializedName: "location", + type: { + name: "String" + } + }, identity: { serializedName: "identity", type: { @@ -184,6 +198,52 @@ export const ExportPipeline: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "SystemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const ImportSourceCredentials: msRest.CompositeMapper = { serializedName: "ImportSourceCredentials", type: { @@ -362,6 +422,12 @@ export const ImportPipeline: msRest.CompositeMapper = { className: "ImportPipeline", modelProperties: { ...ProxyResource.type.modelProperties, + location: { + serializedName: "location", + type: { + name: "String" + } + }, identity: { serializedName: "identity", type: { @@ -1228,6 +1294,20 @@ export const KeyVaultProperties: msRest.CompositeMapper = { type: { name: "String" } + }, + keyRotationEnabled: { + readOnly: true, + serializedName: "keyRotationEnabled", + type: { + name: "Boolean" + } + }, + lastKeyRotationTimestamp: { + readOnly: true, + serializedName: "lastKeyRotationTimestamp", + type: { + name: "DateTime" + } } } } @@ -1300,6 +1380,14 @@ export const Resource: msRest.CompositeMapper = { } } } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -2395,6 +2483,12 @@ export const RunRequest: msRest.CompositeMapper = { name: "String" } }, + logTemplate: { + serializedName: "logTemplate", + type: { + name: "String" + } + }, type: { required: true, serializedName: "type", @@ -2731,6 +2825,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 +2963,12 @@ export const RunGetLogResult: msRest.CompositeMapper = { type: { name: "String" } + }, + logArtifactLink: { + serializedName: "logArtifactLink", + type: { + name: "String" + } } } } @@ -2872,7 +2980,7 @@ export const TaskRun: msRest.CompositeMapper = { name: "Composite", className: "TaskRun", modelProperties: { - ...Resource.type.modelProperties, + ...ProxyResource.type.modelProperties, identity: { serializedName: "identity", type: { @@ -2907,6 +3015,12 @@ export const TaskRun: msRest.CompositeMapper = { type: { name: "String" } + }, + location: { + serializedName: "location", + type: { + name: "String" + } } } } @@ -2938,6 +3052,12 @@ export const TaskRunUpdateParameters: msRest.CompositeMapper = { name: "String" } }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -3410,7 +3530,6 @@ export const Task: msRest.CompositeMapper = { } }, platform: { - required: true, serializedName: "properties.platform", type: { name: "Composite", @@ -3442,7 +3561,6 @@ export const Task: msRest.CompositeMapper = { } }, step: { - required: true, serializedName: "properties.step", type: { name: "Composite", @@ -3462,6 +3580,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 +3956,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..27b3d40b29b9 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. @@ -71,6 +71,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/privateEndpointConnectionsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/privateEndpointConnectionsMappers.ts index a80e3a458518..86f09c621956 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. @@ -71,6 +71,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/registriesMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/registriesMappers.ts index 2d41555b3437..ac9088d242e2 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. @@ -90,6 +90,7 @@ export { SourceUploadDefinition, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/replicationsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/replicationsMappers.ts index 2971c20b9be4..31f2766e4375 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. @@ -72,6 +72,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/runsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/runsMappers.ts index 21a5b72c9e7e..e94db4c682ce 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. @@ -75,6 +75,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/scopeMapsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/scopeMapsMappers.ts index c6811c5044b7..04241dd9475c 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. @@ -72,6 +72,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/taskRunsMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/taskRunsMappers.ts index 9793b8c421b5..e705b7c1d31a 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. @@ -72,6 +72,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunListResult, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/tasksMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/tasksMappers.ts index d08d5820c381..593f0f03f2f5 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. @@ -80,6 +80,7 @@ export { SourceUpdateParameters, Status, StorageAccountProperties, + SystemData, Task, TaskListResult, TaskRun, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/tokensMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/tokensMappers.ts index ad7360923d51..cf0449b90827 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. @@ -70,6 +70,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Task, TaskRun, TaskRunRequest, diff --git a/sdk/containerregistry/arm-containerregistry/src/models/webhooksMappers.ts b/sdk/containerregistry/arm-containerregistry/src/models/webhooksMappers.ts index 8da5ba555d8a..b3e0c3c6dab5 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. @@ -80,6 +80,7 @@ export { SourceTriggerDescriptor, Status, StorageAccountProperties, + SystemData, Target, Task, TaskRun, 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 ],