From 3fcdd5bb384ceb0e7033420ef66ebc3c43456413 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 30 Nov 2018 11:09:50 -0800 Subject: [PATCH 1/5] [AutoPR containerregistry/resource-manager] [ACR] Add empty resource group name validation, minor cleanup (#529) * Generated from 404ce04b1a1c4cac92a67328f319a021f320935a Add empty resource group name validation, minor cleanup * Generated from 9f8eefc2216772a9f2713725aec5ba1b92c26104 Add network rule set properties, empty resource group validation * Generated from 4acb1b6d259fdd431a87a4d4f3ce25458432078c Fix network rule set default value * Generated from 43b818a4578f6fa9b0237aad66b14d896ff6a614 Fix resource group name * Generated from 3e12549e66336e4ca6fa81b49aaf9ed7d2797cce Add network rule set properties, empty resource group validation * Generated from dd007e2442dd2126ce789aaad017872ea4adaa1e Add a missing comma --- .../@azure/arm-containerregistry/README.md | 53 +++++-------- .../lib/containerRegistryManagementClient.ts | 2 +- ...ontainerRegistryManagementClientContext.ts | 4 +- .../arm-containerregistry/lib/models/index.ts | 58 +++++++++++++- .../lib/models/mappers.ts | 75 ++++++++++++++++++- .../lib/models/parameters.ts | 5 +- .../lib/models/registriesMappers.ts | 2 + .../lib/models/replicationsMappers.ts | 2 + .../lib/models/runsMappers.ts | 2 + .../lib/models/tasksMappers.ts | 2 + .../lib/models/webhooksMappers.ts | 2 + .../lib/operations/operations.ts | 2 +- .../lib/operations/registries.ts | 4 +- .../lib/operations/replications.ts | 4 +- .../lib/operations/runs.ts | 4 +- .../lib/operations/tasks.ts | 4 +- .../lib/operations/webhooks.ts | 4 +- .../@azure/arm-containerregistry/package.json | 4 +- .../arm-containerregistry/rollup.config.js | 6 +- .../arm-containerregistry/tsconfig.json | 2 +- 20 files changed, 179 insertions(+), 62 deletions(-) diff --git a/packages/@azure/arm-containerregistry/README.md b/packages/@azure/arm-containerregistry/README.md index 8a2a9e99b9a9..e39eeee50c4c 100644 --- a/packages/@azure/arm-containerregistry/README.md +++ b/packages/@azure/arm-containerregistry/README.md @@ -1,34 +1,24 @@ -## Azure ContainerRegistryManagementClient SDK for JavaScript - +# Azure ContainerRegistryManagementClient SDK for JavaScript This package contains an isomorphic SDK for ContainerRegistryManagementClient. -### Currently supported environments - +## Currently supported environments - Node.js version 6.x.x or higher - Browser JavaScript -### How to Install - +## How to Install ``` npm install @azure/arm-containerregistry ``` -### How to use - -#### nodejs - Authentication, client creation and get registries as an example written in TypeScript. -##### Install @azure/ms-rest-nodeauth - -``` -npm install @azure/ms-rest-nodeauth -``` +## How to use -##### Sample code +### nodejs - Authentication, client creation and get registries as an example written in TypeScript. ```ts -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 * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as msRestNodeAuth from "ms-rest-nodeauth"; import { ContainerRegistryManagementClient, ContainerRegistryManagementModels, ContainerRegistryManagementMappers } from "@azure/arm-containerregistry"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -45,16 +35,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -#### browser - Authentication, client creation and get registries as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` - -##### Sample code - +### browser - Authentication, client creation and get registries as an example written in JavaScript. See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -63,11 +44,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-containerregistry sample - - - + + + - - + + ``` -## Related projects - -- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +# Related projects + - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts index fec95885a3b7..8c1c7393de0a 100644 --- a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts +++ b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; diff --git a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts index b0b07fb3826a..410269584c96 100644 --- a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts +++ b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts @@ -9,8 +9,8 @@ */ import * as Models from "./models"; -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; const packageName = "@azure/arm-containerregistry"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-containerregistry/lib/models/index.ts b/packages/@azure/arm-containerregistry/lib/models/index.ts index ecd9211c426e..d9ee8f7df228 100644 --- a/packages/@azure/arm-containerregistry/lib/models/index.ts +++ b/packages/@azure/arm-containerregistry/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import { BaseResource, CloudError, AzureServiceClientOptions } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; export { BaseResource, CloudError }; @@ -296,6 +296,40 @@ export interface StorageAccountProperties { id: string; } +/** + * @interface + * An interface representing VirtualNetworkRule. + * The virtual network rule for a container registry. + * + */ +export interface VirtualNetworkRule { + /** + * @member {string} id Resource ID of a subnet, for example: + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + */ + id: string; +} + +/** + * @interface + * An interface representing NetworkRuleSet. + * The network rule set for a container registry. + * + */ +export interface NetworkRuleSet { + /** + * @member {DefaultAction} defaultAction The default action of allow or deny + * when no other rules match. Possible values include: 'Allow', 'Deny'. + * Default value: 'Allow' . + */ + defaultAction: DefaultAction; + /** + * @member {VirtualNetworkRule[]} [virtualNetworkRules] The virtual network + * rules. + */ + virtualNetworkRules?: VirtualNetworkRule[]; +} + /** * @interface * An interface representing Resource. @@ -387,6 +421,11 @@ export interface Registry extends Resource { * SKU. */ storageAccount?: StorageAccountProperties; + /** + * @member {NetworkRuleSet} [networkRuleSet] The network rule set for a + * container registry. + */ + networkRuleSet?: NetworkRuleSet; } /** @@ -417,6 +456,11 @@ export interface RegistryUpdateParameters { * location as the container registry. */ storageAccount?: StorageAccountProperties; + /** + * @member {NetworkRuleSet} [networkRuleSet] The network rule set for a + * container registry. + */ + networkRuleSet?: NetworkRuleSet; } /** @@ -1541,7 +1585,7 @@ export interface TriggerProperties { * @interface * An interface representing Task. * The task that has the ARM resource and task properties. - * The task will have all information to schedule a run against it. + * The task will have all information to schedule a run against it. * * @extends Resource */ @@ -2504,6 +2548,14 @@ export type SkuTier = 'Classic' | 'Basic' | 'Standard' | 'Premium'; */ export type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled'; +/** + * Defines values for DefaultAction. + * Possible values include: 'Allow', 'Deny' + * @readonly + * @enum {string} + */ +export type DefaultAction = 'Allow' | 'Deny'; + /** * Defines values for PasswordName. * Possible values include: 'password', 'password2' diff --git a/packages/@azure/arm-containerregistry/lib/models/mappers.ts b/packages/@azure/arm-containerregistry/lib/models/mappers.ts index b8be8baaa0e7..add3fab8adff 100644 --- a/packages/@azure/arm-containerregistry/lib/models/mappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/mappers.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import { CloudErrorMapper, BaseResourceMapper } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; @@ -389,6 +389,53 @@ export const StorageAccountProperties: msRest.CompositeMapper = { } }; +export const VirtualNetworkRule: msRest.CompositeMapper = { + serializedName: "VirtualNetworkRule", + type: { + name: "Composite", + className: "VirtualNetworkRule", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkRuleSet: msRest.CompositeMapper = { + serializedName: "NetworkRuleSet", + type: { + name: "Composite", + className: "NetworkRuleSet", + modelProperties: { + defaultAction: { + required: true, + serializedName: "defaultAction", + defaultValue: 'Allow', + type: { + name: "String" + } + }, + virtualNetworkRules: { + serializedName: "virtualNetworkRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualNetworkRule" + } + } + } + } + } + } +}; + export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { @@ -495,6 +542,13 @@ export const Registry: msRest.CompositeMapper = { name: "Composite", className: "StorageAccountProperties" } + }, + networkRuleSet: { + serializedName: "properties.networkRuleSet", + type: { + name: "Composite", + className: "NetworkRuleSet" + } } } } @@ -536,6 +590,13 @@ export const RegistryUpdateParameters: msRest.CompositeMapper = { name: "Composite", className: "StorageAccountProperties" } + }, + networkRuleSet: { + serializedName: "properties.networkRuleSet", + type: { + name: "Composite", + className: "NetworkRuleSet" + } } } } @@ -2075,6 +2136,11 @@ export const Task: msRest.CompositeMapper = { serializedName: "properties.step", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "TaskStepProperties", className: "TaskStepProperties" } }, @@ -2361,6 +2427,11 @@ export const TaskUpdateParameters: msRest.CompositeMapper = { serializedName: "properties.step", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "TaskStepUpdateParameters", className: "TaskStepUpdateParameters" } }, diff --git a/packages/@azure/arm-containerregistry/lib/models/parameters.ts b/packages/@azure/arm-containerregistry/lib/models/parameters.ts index 6ca1bdad0386..69943378d643 100644 --- a/packages/@azure/arm-containerregistry/lib/models/parameters.ts +++ b/packages/@azure/arm-containerregistry/lib/models/parameters.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; export const acceptLanguage: msRest.OperationParameter = { parameterPath: "acceptLanguage", @@ -102,6 +102,9 @@ export const resourceGroupName: msRest.OperationURLParameter = { mapper: { required: true, serializedName: "resourceGroupName", + constraints: { + MinLength: 1 + }, type: { name: "String" } diff --git a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts index 8559a1c7f94c..b6ef11c8bb85 100644 --- a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts @@ -22,6 +22,8 @@ export { Sku, Status, StorageAccountProperties, + NetworkRuleSet, + VirtualNetworkRule, RegistryUpdateParameters, RegistryListResult, RegistryListCredentialsResult, diff --git a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts index bc18707606af..b7b7e8f15035 100644 --- a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts @@ -20,6 +20,8 @@ export { Registry, Sku, StorageAccountProperties, + NetworkRuleSet, + VirtualNetworkRule, Webhook, Task, PlatformProperties, diff --git a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts index 071ee3528573..6db3d84c362a 100644 --- a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts @@ -40,6 +40,8 @@ export { Sku, Status, StorageAccountProperties, + NetworkRuleSet, + VirtualNetworkRule, Replication, Webhook } from "../models/mappers"; diff --git a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts index e25bc0cf0139..f9e465b6a1b0 100644 --- a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts @@ -36,6 +36,8 @@ export { Sku, Status, StorageAccountProperties, + NetworkRuleSet, + VirtualNetworkRule, Replication, Webhook, ProxyResource, diff --git a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts index 10ca566a6b50..4e4efe34808f 100644 --- a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts @@ -32,6 +32,8 @@ export { Sku, Status, StorageAccountProperties, + NetworkRuleSet, + VirtualNetworkRule, Replication, Task, PlatformProperties, diff --git a/packages/@azure/arm-containerregistry/lib/operations/operations.ts b/packages/@azure/arm-containerregistry/lib/operations/operations.ts index f3336832e747..eb03f3332355 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/operations.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/operations.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/operationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/registries.ts b/packages/@azure/arm-containerregistry/lib/operations/registries.ts index 23020287122a..181ebda6dc96 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/registries.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/registries.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/registriesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/replications.ts b/packages/@azure/arm-containerregistry/lib/operations/replications.ts index 81ce0b1451ba..8af125651834 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/replications.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/replications.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/replicationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/runs.ts b/packages/@azure/arm-containerregistry/lib/operations/runs.ts index 8ce3e9f5e7ed..530d0f5a6cf5 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/runs.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/runs.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/runsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/tasks.ts b/packages/@azure/arm-containerregistry/lib/operations/tasks.ts index 1d473f71bbc9..6e7a627a18e9 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/tasks.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/tasks.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/tasksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts b/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts index 97a6a388abf8..184d4e4c1677 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/webhooksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/package.json b/packages/@azure/arm-containerregistry/package.json index f41742ccbffd..00aeac7d1c57 100644 --- a/packages/@azure/arm-containerregistry/package.json +++ b/packages/@azure/arm-containerregistry/package.json @@ -4,8 +4,8 @@ "description": "ContainerRegistryManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "ms-rest-azure-js": "^1.0.181", + "ms-rest-js": "^1.0.460", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-containerregistry/rollup.config.js b/packages/@azure/arm-containerregistry/rollup.config.js index 5d8e0b31e885..8dfbc0c1bfd1 100644 --- a/packages/@azure/arm-containerregistry/rollup.config.js +++ b/packages/@azure/arm-containerregistry/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/containerRegistryManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + external: ["ms-rest-js", "ms-rest-azure-js"], output: { file: "./dist/arm-containerregistry.js", format: "umd", name: "Azure.ArmContainerregistry", sourcemap: true, globals: { - "@azure/ms-rest-js": "msRest", - "@azure/ms-rest-azure-js": "msRestAzure" + "ms-rest-js": "msRest", + "ms-rest-azure-js": "msRestAzure" }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/packages/@azure/arm-containerregistry/tsconfig.json b/packages/@azure/arm-containerregistry/tsconfig.json index 51ea90961ce5..f32d1664f320 100644 --- a/packages/@azure/arm-containerregistry/tsconfig.json +++ b/packages/@azure/arm-containerregistry/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*.ts"], + "include": ["./lib/**/*"], "exclude": ["node_modules"] } From 76ece5203ccec44ca6307e3283fafa2fa0c1f957 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 12 Dec 2018 11:16:36 -0800 Subject: [PATCH 2/5] Generated from 7dae521fce44544031c25d3fcde7938dce5109c8 (#821) Add x-ms-client-name --- .../arm-containerregistry/lib/models/index.ts | 53 ++++++++++++++++--- .../lib/models/mappers.ts | 45 +++++++++++++++- .../lib/models/registriesMappers.ts | 1 + .../lib/models/replicationsMappers.ts | 1 + .../lib/models/runsMappers.ts | 1 + .../lib/models/tasksMappers.ts | 1 + .../lib/models/webhooksMappers.ts | 1 + 7 files changed, 94 insertions(+), 9 deletions(-) diff --git a/packages/@azure/arm-containerregistry/lib/models/index.ts b/packages/@azure/arm-containerregistry/lib/models/index.ts index d9ee8f7df228..fa2a8aa47e5b 100644 --- a/packages/@azure/arm-containerregistry/lib/models/index.ts +++ b/packages/@azure/arm-containerregistry/lib/models/index.ts @@ -299,15 +299,40 @@ export interface StorageAccountProperties { /** * @interface * An interface representing VirtualNetworkRule. - * The virtual network rule for a container registry. + * Virtual network rule. * */ export interface VirtualNetworkRule { /** - * @member {string} id Resource ID of a subnet, for example: + * @member {Action} [action] The action of virtual network rule. Possible + * values include: 'Allow'. Default value: 'Allow' . + */ + action?: Action; + /** + * @member {string} virtualNetworkResourceId Resource ID of a subnet, for + * example: * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */ - id: string; + virtualNetworkResourceId: string; +} + +/** + * @interface + * An interface representing IPRule. + * IP rule with specific IP or IP range in CIDR format. + * + */ +export interface IPRule { + /** + * @member {Action} [action] The action of IP ACL rule. Possible values + * include: 'Allow'. Default value: 'Allow' . + */ + action?: Action; + /** + * @member {string} iPAddressOrRange Specifies the IP or IP range in CIDR + * format. Only IPV4 address is allowed. + */ + iPAddressOrRange: string; } /** @@ -328,6 +353,10 @@ export interface NetworkRuleSet { * rules. */ virtualNetworkRules?: VirtualNetworkRule[]; + /** + * @member {IPRule[]} [ipRules] The IP ACL rules. + */ + ipRules?: IPRule[]; } /** @@ -1495,7 +1524,7 @@ export interface SourceProperties { */ sourceControlType: SourceControlType; /** - * @member {string} repositoryUrl The full URL to the source code respository + * @member {string} repositoryUrl The full URL to the source code repository */ repositoryUrl: string; /** @@ -1732,7 +1761,7 @@ export interface SourceUpdateParameters { sourceControlType?: SourceControlType; /** * @member {string} [repositoryUrl] The full URL to the source code - * respository + * repository */ repositoryUrl?: string; /** @@ -1942,7 +1971,7 @@ export interface DockerBuildRequest { agentConfiguration?: AgentProperties; /** * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repoistory. + * source context. It can be an URL to a tar or git repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -2018,7 +2047,7 @@ export interface FileTaskRunRequest { agentConfiguration?: AgentProperties; /** * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repoistory. + * source context. It can be an URL to a tar or git repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -2100,7 +2129,7 @@ export interface EncodedTaskRunRequest { agentConfiguration?: AgentProperties; /** * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repoistory. + * source context. It can be an URL to a tar or git repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -2556,6 +2585,14 @@ export type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeede */ export type DefaultAction = 'Allow' | 'Deny'; +/** + * Defines values for Action. + * Possible values include: 'Allow' + * @readonly + * @enum {string} + */ +export type Action = 'Allow'; + /** * Defines values for PasswordName. * Possible values include: 'password', 'password2' diff --git a/packages/@azure/arm-containerregistry/lib/models/mappers.ts b/packages/@azure/arm-containerregistry/lib/models/mappers.ts index add3fab8adff..c127fde0581b 100644 --- a/packages/@azure/arm-containerregistry/lib/models/mappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/mappers.ts @@ -395,7 +395,14 @@ export const VirtualNetworkRule: msRest.CompositeMapper = { name: "Composite", className: "VirtualNetworkRule", modelProperties: { - id: { + action: { + serializedName: "action", + defaultValue: 'Allow', + type: { + name: "String" + } + }, + virtualNetworkResourceId: { required: true, serializedName: "id", type: { @@ -406,6 +413,30 @@ export const VirtualNetworkRule: msRest.CompositeMapper = { } }; +export const IPRule: msRest.CompositeMapper = { + serializedName: "IPRule", + type: { + name: "Composite", + className: "IPRule", + modelProperties: { + action: { + serializedName: "action", + defaultValue: 'Allow', + type: { + name: "String" + } + }, + iPAddressOrRange: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + export const NetworkRuleSet: msRest.CompositeMapper = { serializedName: "NetworkRuleSet", type: { @@ -431,6 +462,18 @@ export const NetworkRuleSet: msRest.CompositeMapper = { } } } + }, + ipRules: { + serializedName: "ipRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPRule" + } + } + } } } } diff --git a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts index b6ef11c8bb85..cb61acf3390a 100644 --- a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts @@ -24,6 +24,7 @@ export { StorageAccountProperties, NetworkRuleSet, VirtualNetworkRule, + IPRule, RegistryUpdateParameters, RegistryListResult, RegistryListCredentialsResult, diff --git a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts index b7b7e8f15035..0faccd72342d 100644 --- a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts @@ -22,6 +22,7 @@ export { StorageAccountProperties, NetworkRuleSet, VirtualNetworkRule, + IPRule, Webhook, Task, PlatformProperties, diff --git a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts index 6db3d84c362a..98e6ee8712e6 100644 --- a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts @@ -42,6 +42,7 @@ export { StorageAccountProperties, NetworkRuleSet, VirtualNetworkRule, + IPRule, Replication, Webhook } from "../models/mappers"; diff --git a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts index f9e465b6a1b0..6220d24eb9ba 100644 --- a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts @@ -38,6 +38,7 @@ export { StorageAccountProperties, NetworkRuleSet, VirtualNetworkRule, + IPRule, Replication, Webhook, ProxyResource, diff --git a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts index 4e4efe34808f..499ee7df388a 100644 --- a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts @@ -34,6 +34,7 @@ export { StorageAccountProperties, NetworkRuleSet, VirtualNetworkRule, + IPRule, Replication, Task, PlatformProperties, From 28e908afde5628f60d29c1cce70a1cbcd8d885a7 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 13 Dec 2018 16:33:20 -0800 Subject: [PATCH 3/5] [AutoPR containerregistry/resource-manager] [ACR] Add Helm actions to webhook (#767) * Generated from a29e5ac2c16d843355e84adcd2b9c5f60dd4cbed update ACR webhook with Helm actions * Generated from a29e5ac2c16d843355e84adcd2b9c5f60dd4cbed update ACR webhook with Helm actions --- packages/@azure/arm-containerregistry/lib/models/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@azure/arm-containerregistry/lib/models/index.ts b/packages/@azure/arm-containerregistry/lib/models/index.ts index fa2a8aa47e5b..f0dcd0ccbdf4 100644 --- a/packages/@azure/arm-containerregistry/lib/models/index.ts +++ b/packages/@azure/arm-containerregistry/lib/models/index.ts @@ -2635,11 +2635,11 @@ export type WebhookStatus = 'enabled' | 'disabled'; /** * Defines values for WebhookAction. - * Possible values include: 'push', 'delete', 'quarantine' + * Possible values include: 'push', 'delete', 'quarantine', 'chart_push', 'chart_delete' * @readonly * @enum {string} */ -export type WebhookAction = 'push' | 'delete' | 'quarantine'; +export type WebhookAction = 'push' | 'delete' | 'quarantine' | 'chart_push' | 'chart_delete'; /** * Defines values for RunStatus. From 503578be6be9bac031e02adf6f3adffc46f0122a Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik Date: Mon, 7 Jan 2019 13:31:37 -0800 Subject: [PATCH 4/5] Generate version 4.4.0 of the SDK --- .../@azure/arm-containerregistry/LICENSE.txt | 2 +- .../@azure/arm-containerregistry/README.md | 36 +- .../lib/containerRegistryManagementClient.ts | 2 +- ...ontainerRegistryManagementClientContext.ts | 6 +- .../arm-containerregistry/lib/models/index.ts | 1440 ++++++----------- .../lib/models/mappers.ts | 66 +- .../lib/models/operationsMappers.ts | 13 +- .../lib/models/parameters.ts | 2 +- .../lib/models/registriesMappers.ts | 87 +- .../lib/models/replicationsMappers.ts | 59 +- .../lib/models/runsMappers.ts | 55 +- .../lib/models/tasksMappers.ts | 75 +- .../lib/models/webhooksMappers.ts | 73 +- .../lib/operations/operations.ts | 2 +- .../lib/operations/registries.ts | 4 +- .../lib/operations/replications.ts | 4 +- .../lib/operations/runs.ts | 4 +- .../lib/operations/tasks.ts | 4 +- .../lib/operations/webhooks.ts | 4 +- .../@azure/arm-containerregistry/package.json | 7 +- .../arm-containerregistry/rollup.config.js | 4 +- .../arm-containerregistry/tsconfig.json | 2 +- 22 files changed, 774 insertions(+), 1177 deletions(-) diff --git a/packages/@azure/arm-containerregistry/LICENSE.txt b/packages/@azure/arm-containerregistry/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-containerregistry/LICENSE.txt +++ b/packages/@azure/arm-containerregistry/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/@azure/arm-containerregistry/README.md b/packages/@azure/arm-containerregistry/README.md index e0b41cefd301..dff1335b95c4 100644 --- a/packages/@azure/arm-containerregistry/README.md +++ b/packages/@azure/arm-containerregistry/README.md @@ -1,19 +1,23 @@ -# Azure ContainerRegistryManagementClient SDK for JavaScript +## Azure ContainerRegistryManagementClient SDK for JavaScript + This package contains an isomorphic SDK for ContainerRegistryManagementClient. -## Currently supported environments +### Currently supported environments + - Node.js version 6.x.x or higher - Browser JavaScript -## How to Install +### How to Install + ```bash npm install @azure/arm-containerregistry ``` +### How to use -## How to use +#### nodejs - Authentication, client creation and get registries as an example written in TypeScript. -### nodejs - Authentication, client creation and get registries as an example written in TypeScript. +##### Install @azure/ms-rest-nodeauth ```bash npm install @azure/ms-rest-nodeauth @@ -22,9 +26,9 @@ npm install @azure/ms-rest-nodeauth ##### Sample code ```typescript -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; +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 subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -59,11 +63,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-containerregistry sample - - - + + + - - - + ``` -# Related projects - - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts index 8c1c7393de0a..fec95885a3b7 100644 --- a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts +++ b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClient.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; diff --git a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts index 410269584c96..5c07d8f620c8 100644 --- a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts +++ b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts @@ -9,11 +9,11 @@ */ import * as Models from "./models"; -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-containerregistry"; -const packageVersion = "0.1.0"; +const packageVersion = "4.4.0"; export class ContainerRegistryManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-containerregistry/lib/models/index.ts b/packages/@azure/arm-containerregistry/lib/models/index.ts index 88f6c9dca368..1b9ffa2c1ddf 100644 --- a/packages/@azure/arm-containerregistry/lib/models/index.ts +++ b/packages/@azure/arm-containerregistry/lib/models/index.ts @@ -1,1032 +1,836 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { BaseResource, CloudError, AzureServiceClientOptions } from "ms-rest-azure-js"; -import * as msRest from "ms-rest-js"; +import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface * An interface representing ImportSourceCredentials. */ export interface ImportSourceCredentials { /** - * @member {string} [username] The username to authenticate with the source - * registry. + * The username to authenticate with the source registry. */ username?: string; /** - * @member {string} password The password used to authenticate with the - * source registry. + * The password used to authenticate with the source registry. */ password: string; } /** - * @interface * An interface representing ImportSource. */ export interface ImportSource { /** - * @member {string} [resourceId] The resource identifier of the source Azure - * Container Registry. + * The resource identifier of the source Azure Container Registry. */ resourceId?: string; /** - * @member {string} [registryUri] The address of the source registry (e.g. - * 'mcr.microsoft.com'). + * The address of the source registry (e.g. 'mcr.microsoft.com'). */ registryUri?: string; /** - * @member {ImportSourceCredentials} [credentials] Credentials used when - * importing from a registry uri. + * Credentials used when importing from a registry uri. */ credentials?: ImportSourceCredentials; /** - * @member {string} sourceImage Repository name of the source image. - * Specify an image by repository ('hello-world'). This will use the 'latest' - * tag. + * Repository name of the source image. + * Specify an image by repository ('hello-world'). This will use the 'latest' tag. * Specify an image by tag ('hello-world:latest'). - * Specify an image by sha256-based manifest digest - * ('hello-world@sha256:abc123'). + * Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). */ sourceImage: string; } /** - * @interface * An interface representing ImportImageParameters. */ export interface ImportImageParameters { /** - * @member {ImportSource} source The source of the image. + * The source of the image. */ source: ImportSource; /** - * @member {string[]} [targetTags] List of strings of the form repo[:tag]. - * When tag is omitted the source will be used (or 'latest' if source tag is - * also omitted). + * List of strings of the form repo[:tag]. When tag is omitted the source will be used (or + * 'latest' if source tag is also omitted). */ targetTags?: string[]; /** - * @member {string[]} [untaggedTargetRepositories] List of strings of - * repository names to do a manifest only copy. No tag will be created. + * List of strings of repository names to do a manifest only copy. No tag will be created. */ untaggedTargetRepositories?: string[]; /** - * @member {ImportMode} [mode] When Force, any existing target tags will be - * overwritten. When NoForce, any existing target tags will fail the - * operation before any copying begins. Possible values include: 'NoForce', - * 'Force'. Default value: 'NoForce' . + * When Force, any existing target tags will be overwritten. When NoForce, any existing target + * tags will fail the operation before any copying begins. Possible values include: 'NoForce', + * 'Force'. Default value: 'NoForce'. */ mode?: ImportMode; } /** - * @interface - * An interface representing RegistryNameCheckRequest. * A request to check whether a container registry name is available. - * */ export interface RegistryNameCheckRequest { /** - * @member {string} name The name of the container registry. + * The name of the container registry. */ name: string; } /** - * @interface - * An interface representing RegistryNameStatus. - * The result of a request to check the availability of a container registry - * name. - * + * The result of a request to check the availability of a container registry name. */ export interface RegistryNameStatus { /** - * @member {boolean} [nameAvailable] The value that indicates whether the - * name is available. + * The value that indicates whether the name is available. */ nameAvailable?: boolean; /** - * @member {string} [reason] If any, the reason that the name is not - * available. + * If any, the reason that the name is not available. */ reason?: string; /** - * @member {string} [message] If any, the error message that provides more - * detail for the reason that the name is not available. + * If any, the error message that provides more detail for the reason that the name is not + * available. */ message?: string; } /** - * @interface - * An interface representing OperationDisplayDefinition. * The display information for a container registry operation. - * */ export interface OperationDisplayDefinition { /** - * @member {string} [provider] The resource provider name: - * Microsoft.ContainerRegistry. + * The resource provider name: Microsoft.ContainerRegistry. */ provider?: string; /** - * @member {string} [resource] The resource on which the operation is - * performed. + * The resource on which the operation is performed. */ resource?: string; /** - * @member {string} [operation] The operation that users can perform. + * The operation that users can perform. */ operation?: string; /** - * @member {string} [description] The description for the operation. + * The description for the operation. */ description?: string; } /** - * @interface - * An interface representing OperationMetricSpecificationDefinition. * The definition of Azure Monitoring metric. - * */ export interface OperationMetricSpecificationDefinition { /** - * @member {string} [name] Metric name. + * Metric name. */ name?: string; /** - * @member {string} [displayName] Metric display name. + * Metric display name. */ displayName?: string; /** - * @member {string} [displayDescription] Metric description. + * Metric description. */ displayDescription?: string; /** - * @member {string} [unit] Metric unit. + * Metric unit. */ unit?: string; /** - * @member {string} [aggregationType] Metric aggregation type. + * Metric aggregation type. */ aggregationType?: string; /** - * @member {string} [internalMetricName] Internal metric name. + * Internal metric name. */ internalMetricName?: string; } /** - * @interface - * An interface representing OperationServiceSpecificationDefinition. * The definition of Azure Monitoring metrics list. - * */ export interface OperationServiceSpecificationDefinition { /** - * @member {OperationMetricSpecificationDefinition[]} [metricSpecifications] * A list of Azure Monitoring metrics definition. */ metricSpecifications?: OperationMetricSpecificationDefinition[]; } /** - * @interface - * An interface representing OperationDefinition. * The definition of a container registry operation. - * */ export interface OperationDefinition { /** - * @member {string} [origin] The origin information of the container registry - * operation. + * The origin information of the container registry operation. */ origin?: string; /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation}. + * Operation name: {provider}/{resource}/{operation}. */ name?: string; /** - * @member {OperationDisplayDefinition} [display] The display information for - * the container registry operation. + * The display information for the container registry operation. */ display?: OperationDisplayDefinition; /** - * @member {OperationServiceSpecificationDefinition} [serviceSpecification] * The definition of Azure Monitoring service. */ serviceSpecification?: OperationServiceSpecificationDefinition; } /** - * @interface - * An interface representing Sku. * The SKU of a container registry. - * */ export interface Sku { /** - * @member {SkuName} name The SKU name of the container registry. Required - * for registry creation. Possible values include: 'Classic', 'Basic', - * 'Standard', 'Premium' + * The SKU name of the container registry. Required for registry creation. Possible values + * include: 'Classic', 'Basic', 'Standard', 'Premium' */ name: SkuName; /** - * @member {SkuTier} [tier] The SKU tier based on the SKU name. Possible - * values include: 'Classic', 'Basic', 'Standard', 'Premium' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The SKU tier based on the SKU name. Possible values include: 'Classic', 'Basic', 'Standard', + * 'Premium' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tier?: SkuTier; } /** - * @interface - * An interface representing Status. * The status of an Azure resource at the time the operation was called. - * */ export interface Status { /** - * @member {string} [displayStatus] The short label for the status. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The short label for the status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayStatus?: string; /** - * @member {string} [message] The detailed message for the status, including - * alerts and error messages. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The detailed message for the status, including alerts and error messages. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly message?: string; /** - * @member {Date} [timestamp] The timestamp when the status was changed to - * the current value. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The timestamp when the status was changed to the current value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timestamp?: Date; } /** - * @interface - * An interface representing StorageAccountProperties. - * The properties of a storage account for a container registry. Only - * applicable to Classic SKU. - * + * The properties of a storage account for a container registry. Only applicable to Classic SKU. */ export interface StorageAccountProperties { /** - * @member {string} id The resource ID of the storage account. + * The resource ID of the storage account. */ id: string; } /** - * @interface - * An interface representing VirtualNetworkRule. - * The virtual network rule for a container registry. - * + * Virtual network rule. */ export interface VirtualNetworkRule { /** - * @member {string} id Resource ID of a subnet, for example: + * The action of virtual network rule. Possible values include: 'Allow'. Default value: 'Allow'. + */ + action?: Action; + /** + * Resource ID of a subnet, for example: * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */ - id: string; + virtualNetworkResourceId: string; +} + +/** + * IP rule with specific IP or IP range in CIDR format. + */ +export interface IPRule { + /** + * The action of IP ACL rule. Possible values include: 'Allow'. Default value: 'Allow'. + */ + action?: Action; + /** + * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. + */ + iPAddressOrRange: string; } /** - * @interface - * An interface representing NetworkRuleSet. * The network rule set for a container registry. - * */ export interface NetworkRuleSet { /** - * @member {DefaultAction} defaultAction The default action of allow or deny - * when no other rules match. Possible values include: 'Allow', 'Deny'. - * Default value: 'Allow' . + * The default action of allow or deny when no other rules match. Possible values include: + * 'Allow', 'Deny'. Default value: 'Allow'. */ defaultAction: DefaultAction; /** - * @member {VirtualNetworkRule[]} [virtualNetworkRules] The virtual network - * rules. + * The virtual network rules. */ virtualNetworkRules?: VirtualNetworkRule[]; + /** + * The IP ACL rules. + */ + ipRules?: IPRule[]; } /** - * @interface - * An interface representing Resource. * An Azure resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] The resource ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location The location of the resource. This cannot be - * changed after the resource is created. + * The location of the resource. This cannot be changed after the resource is created. */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] The tags of the - * resource. + * The tags of the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Registry. * An object that represents a container registry. - * - * @extends Resource */ export interface Registry extends Resource { /** - * @member {Sku} sku The SKU of the container registry. + * The SKU of the container registry. */ sku: Sku; /** - * @member {string} [loginServer] The URL that can be used to log into the - * container registry. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The URL that can be used to log into the container registry. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly loginServer?: string; /** - * @member {Date} [creationDate] The creation date of the container registry - * in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation date of the container registry in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationDate?: Date; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the container registry at the time the operation was called. Possible - * values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', - * 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the container registry at the time the operation was called. + * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Status} [status] The status of the container registry at the time - * the operation was called. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The status of the container registry at the time the operation was called. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: Status; /** - * @member {boolean} [adminUserEnabled] The value that indicates whether the - * admin user is enabled. Default value: false . + * The value that indicates whether the admin user is enabled. Default value: false. */ adminUserEnabled?: boolean; /** - * @member {StorageAccountProperties} [storageAccount] The properties of the - * storage account for the container registry. Only applicable to Classic + * The properties of the storage account for the container registry. Only applicable to Classic * SKU. */ storageAccount?: StorageAccountProperties; /** - * @member {NetworkRuleSet} [networkRuleSet] The network rule set for a - * container registry. + * The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; } /** - * @interface - * An interface representing RegistryUpdateParameters. * The parameters for updating a container registry. - * */ export interface RegistryUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * container registry. + * The tags for the container registry. */ tags?: { [propertyName: string]: string }; /** - * @member {Sku} [sku] The SKU of the container registry. + * The SKU of the container registry. */ sku?: Sku; /** - * @member {boolean} [adminUserEnabled] The value that indicates whether the - * admin user is enabled. + * The value that indicates whether the admin user is enabled. */ adminUserEnabled?: boolean; /** - * @member {StorageAccountProperties} [storageAccount] The parameters of a - * storage account for the container registry. Only applicable to Classic - * SKU. If specified, the storage account must be in the same physical - * location as the container registry. + * The parameters of a storage account for the container registry. Only applicable to Classic + * SKU. If specified, the storage account must be in the same physical location as the container + * registry. */ storageAccount?: StorageAccountProperties; /** - * @member {NetworkRuleSet} [networkRuleSet] The network rule set for a - * container registry. + * The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; } /** - * @interface - * An interface representing RegistryPassword. * The login password for the container registry. - * */ export interface RegistryPassword { /** - * @member {PasswordName} [name] The password name. Possible values include: - * 'password', 'password2' + * The password name. Possible values include: 'password', 'password2' */ name?: PasswordName; /** - * @member {string} [value] The password value. + * The password value. */ value?: string; } /** - * @interface - * An interface representing RegistryListCredentialsResult. * The response from the ListCredentials operation. - * */ export interface RegistryListCredentialsResult { /** - * @member {string} [username] The username for a container registry. + * The username for a container registry. */ username?: string; /** - * @member {RegistryPassword[]} [passwords] The list of passwords for a - * container registry. + * The list of passwords for a container registry. */ passwords?: RegistryPassword[]; } /** - * @interface - * An interface representing RegenerateCredentialParameters. * The parameters used to regenerate the login credential. - * */ export interface RegenerateCredentialParameters { /** - * @member {PasswordName} name Specifies name of the password which should be - * regenerated -- password or password2. Possible values include: 'password', - * 'password2' + * Specifies name of the password which should be regenerated -- password or password2. Possible + * values include: 'password', 'password2' */ name: PasswordName; } /** - * @interface - * An interface representing RegistryUsage. * The quota usage for a container registry. - * */ export interface RegistryUsage { /** - * @member {string} [name] The name of the usage. + * The name of the usage. */ name?: string; /** - * @member {number} [limit] The limit of the usage. + * The limit of the usage. */ limit?: number; /** - * @member {number} [currentValue] The current value of the usage. + * The current value of the usage. */ currentValue?: number; /** - * @member {RegistryUsageUnit} [unit] The unit of measurement. Possible - * values include: 'Count', 'Bytes' + * The unit of measurement. Possible values include: 'Count', 'Bytes' */ unit?: RegistryUsageUnit; } /** - * @interface - * An interface representing RegistryUsageListResult. * The result of a request to get container registry quota usages. - * */ export interface RegistryUsageListResult { /** - * @member {RegistryUsage[]} [value] The list of container registry quota - * usages. + * The list of container registry quota usages. */ value?: RegistryUsage[]; } /** - * @interface - * An interface representing QuarantinePolicy. * An object that represents quarantine policy for a container registry. - * */ export interface QuarantinePolicy { /** - * @member {PolicyStatus} [status] The value that indicates whether the - * policy is enabled or not. Possible values include: 'enabled', 'disabled' + * The value that indicates whether the policy is enabled or not. Possible values include: + * 'enabled', 'disabled' */ status?: PolicyStatus; } /** - * @interface - * An interface representing TrustPolicy. * An object that represents content trust policy for a container registry. - * */ export interface TrustPolicy { /** - * @member {TrustPolicyType} [type] The type of trust policy. Possible values - * include: 'Notary' + * The type of trust policy. Possible values include: 'Notary' */ type?: TrustPolicyType; /** - * @member {PolicyStatus} [status] The value that indicates whether the - * policy is enabled or not. Possible values include: 'enabled', 'disabled' + * The value that indicates whether the policy is enabled or not. Possible values include: + * 'enabled', 'disabled' */ status?: PolicyStatus; } /** - * @interface - * An interface representing RegistryPolicies. * An object that represents policies for a container registry. - * */ export interface RegistryPolicies { /** - * @member {QuarantinePolicy} [quarantinePolicy] An object that represents - * quarantine policy for a container registry. + * An object that represents quarantine policy for a container registry. */ quarantinePolicy?: QuarantinePolicy; /** - * @member {TrustPolicy} [trustPolicy] An object that represents content - * trust policy for a container registry. + * An object that represents content trust policy for a container registry. */ trustPolicy?: TrustPolicy; } /** - * @interface - * An interface representing Replication. * An object that represents a replication for a container registry. - * - * @extends Resource */ export interface Replication extends Resource { /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the replication at the time the operation was called. Possible values - * include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', - * 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the replication at the time the operation was called. Possible + * values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Status} [status] The status of the replication at the time the - * operation was called. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The status of the replication at the time the operation was called. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: Status; } /** - * @interface - * An interface representing ReplicationUpdateParameters. * The parameters for updating a replication. - * */ export interface ReplicationUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * replication. + * The tags for the replication. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Webhook. * An object that represents a webhook for a container registry. - * - * @extends Resource */ export interface Webhook extends Resource { /** - * @member {WebhookStatus} [status] The status of the webhook at the time the - * operation was called. Possible values include: 'enabled', 'disabled' + * The status of the webhook at the time the operation was called. Possible values include: + * 'enabled', 'disabled' */ status?: WebhookStatus; /** - * @member {string} [scope] The scope of repositories where the event can be - * triggered. For example, 'foo:*' means events for all tags under repository - * 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to - * 'foo:latest'. Empty means all events. + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events + * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is + * equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** - * @member {WebhookAction[]} actions The list of actions that trigger the - * webhook to post notifications. + * The list of actions that trigger the webhook to post notifications. */ actions: WebhookAction[]; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the webhook at the time the operation was called. Possible values include: - * 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the webhook at the time the operation was called. Possible values + * include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; } /** - * @interface - * An interface representing WebhookCreateParameters. * The parameters for creating a webhook. - * */ export interface WebhookCreateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * webhook. + * The tags for the webhook. */ tags?: { [propertyName: string]: string }; /** - * @member {string} location The location of the webhook. This cannot be - * changed after the resource is created. + * The location of the webhook. This cannot be changed after the resource is created. */ location: string; /** - * @member {string} serviceUri The service URI for the webhook to post - * notifications. + * The service URI for the webhook to post notifications. */ serviceUri: string; /** - * @member {{ [propertyName: string]: string }} [customHeaders] Custom - * headers that will be added to the webhook notifications. + * Custom headers that will be added to the webhook notifications. */ customHeaders?: { [propertyName: string]: string }; /** - * @member {WebhookStatus} [status] The status of the webhook at the time the - * operation was called. Possible values include: 'enabled', 'disabled' + * The status of the webhook at the time the operation was called. Possible values include: + * 'enabled', 'disabled' */ status?: WebhookStatus; /** - * @member {string} [scope] The scope of repositories where the event can be - * triggered. For example, 'foo:*' means events for all tags under repository - * 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to - * 'foo:latest'. Empty means all events. + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events + * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is + * equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** - * @member {WebhookAction[]} actions The list of actions that trigger the - * webhook to post notifications. + * The list of actions that trigger the webhook to post notifications. */ actions: WebhookAction[]; } /** - * @interface - * An interface representing WebhookUpdateParameters. * The parameters for updating a webhook. - * */ export interface WebhookUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * webhook. + * The tags for the webhook. */ tags?: { [propertyName: string]: string }; /** - * @member {string} [serviceUri] The service URI for the webhook to post - * notifications. + * The service URI for the webhook to post notifications. */ serviceUri?: string; /** - * @member {{ [propertyName: string]: string }} [customHeaders] Custom - * headers that will be added to the webhook notifications. + * Custom headers that will be added to the webhook notifications. */ customHeaders?: { [propertyName: string]: string }; /** - * @member {WebhookStatus} [status] The status of the webhook at the time the - * operation was called. Possible values include: 'enabled', 'disabled' + * The status of the webhook at the time the operation was called. Possible values include: + * 'enabled', 'disabled' */ status?: WebhookStatus; /** - * @member {string} [scope] The scope of repositories where the event can be - * triggered. For example, 'foo:*' means events for all tags under repository - * 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to - * 'foo:latest'. Empty means all events. + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events + * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is + * equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** - * @member {WebhookAction[]} [actions] The list of actions that trigger the - * webhook to post notifications. + * The list of actions that trigger the webhook to post notifications. */ actions?: WebhookAction[]; } /** - * @interface - * An interface representing EventInfo. * The basic information of an event. - * */ export interface EventInfo { /** - * @member {string} [id] The event ID. + * The event ID. */ id?: string; } /** - * @interface - * An interface representing CallbackConfig. * The configuration of service URI and custom headers for the webhook. - * */ export interface CallbackConfig { /** - * @member {string} serviceUri The service URI for the webhook to post - * notifications. + * The service URI for the webhook to post notifications. */ serviceUri: string; /** - * @member {{ [propertyName: string]: string }} [customHeaders] Custom - * headers that will be added to the webhook notifications. + * Custom headers that will be added to the webhook notifications. */ customHeaders?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Target. * The target of the event. - * */ export interface Target { /** - * @member {string} [mediaType] The MIME type of the referenced object. + * The MIME type of the referenced object. */ mediaType?: string; /** - * @member {number} [size] The number of bytes of the content. Same as Length - * field. + * The number of bytes of the content. Same as Length field. */ size?: number; /** - * @member {string} [digest] The digest of the content, as defined by the - * Registry V2 HTTP API Specification. + * The digest of the content, as defined by the Registry V2 HTTP API Specification. */ digest?: string; /** - * @member {number} [length] The number of bytes of the content. Same as Size - * field. + * The number of bytes of the content. Same as Size field. */ length?: number; /** - * @member {string} [repository] The repository name. + * The repository name. */ repository?: string; /** - * @member {string} [url] The direct URL to the content. + * The direct URL to the content. */ url?: string; /** - * @member {string} [tag] The tag name. + * The tag name. */ tag?: string; } /** - * @interface - * An interface representing Request. * The request that generated the event. - * */ export interface Request { /** - * @member {string} [id] The ID of the request that initiated the event. + * The ID of the request that initiated the event. */ id?: string; /** - * @member {string} [addr] The IP or hostname and possibly port of the client - * connection that initiated the event. This is the RemoteAddr from the - * standard http request. + * The IP or hostname and possibly port of the client connection that initiated the event. This + * is the RemoteAddr from the standard http request. */ addr?: string; /** - * @member {string} [host] The externally accessible hostname of the registry - * instance, as specified by the http host header on incoming requests. + * The externally accessible hostname of the registry instance, as specified by the http host + * header on incoming requests. */ host?: string; /** - * @member {string} [method] The request method that generated the event. + * The request method that generated the event. */ method?: string; /** - * @member {string} [useragent] The user agent header of the request. + * The user agent header of the request. */ useragent?: string; } /** - * @interface - * An interface representing Actor. - * The agent that initiated the event. For most situations, this could be from - * the authorization context of the request. - * + * The agent that initiated the event. For most situations, this could be from the authorization + * context of the request. */ export interface Actor { /** - * @member {string} [name] The subject or username associated with the - * request context that generated the event. + * The subject or username associated with the request context that generated the event. */ name?: string; } /** - * @interface - * An interface representing Source. - * The registry node that generated the event. Put differently, while the actor - * initiates the event, the source generates it. - * + * The registry node that generated the event. Put differently, while the actor initiates the + * event, the source generates it. */ export interface Source { /** - * @member {string} [addr] The IP or hostname and the port of the registry - * node that generated the event. Generally, this will be resolved by - * os.Hostname() along with the running port. + * The IP or hostname and the port of the registry node that generated the event. Generally, this + * will be resolved by os.Hostname() along with the running port. */ addr?: string; /** - * @member {string} [instanceID] The running instance of an application. - * Changes after each restart. + * The running instance of an application. Changes after each restart. */ instanceID?: string; } /** - * @interface - * An interface representing EventContent. * The content of the event request message. - * */ export interface EventContent { /** - * @member {string} [id] The event ID. + * The event ID. */ id?: string; /** - * @member {Date} [timestamp] The time at which the event occurred. + * The time at which the event occurred. */ timestamp?: Date; /** - * @member {string} [action] The action that encompasses the provided event. + * The action that encompasses the provided event. */ action?: string; /** - * @member {Target} [target] The target of the event. + * The target of the event. */ target?: Target; /** - * @member {Request} [request] The request that generated the event. + * The request that generated the event. */ request?: Request; /** - * @member {Actor} [actor] The agent that initiated the event. For most - * situations, this could be from the authorization context of the request. + * The agent that initiated the event. For most situations, this could be from the authorization + * context of the request. */ actor?: Actor; /** - * @member {Source} [source] The registry node that generated the event. Put - * differently, while the actor initiates the event, the source generates it. + * The registry node that generated the event. Put differently, while the actor initiates the + * event, the source generates it. */ source?: Source; } /** - * @interface - * An interface representing EventRequestMessage. * The event request message sent to the service URI. - * */ export interface EventRequestMessage { /** - * @member {EventContent} [content] The content of the event request message. + * The content of the event request message. */ content?: EventContent; /** - * @member {{ [propertyName: string]: string }} [headers] The headers of the - * event request message. + * The headers of the event request message. */ headers?: { [propertyName: string]: string }; /** - * @member {string} [method] The HTTP method used to send the event request - * message. + * The HTTP method used to send the event request message. */ method?: string; /** - * @member {string} [requestUri] The URI used to send the event request - * message. + * The URI used to send the event request message. */ requestUri?: string; /** - * @member {string} [version] The HTTP message version. + * The HTTP message version. */ version?: string; } /** - * @interface - * An interface representing EventResponseMessage. * The event response message received from the service URI. - * */ export interface EventResponseMessage { /** - * @member {string} [content] The content of the event response message. + * The content of the event response message. */ content?: string; /** - * @member {{ [propertyName: string]: string }} [headers] The headers of the - * event response message. + * The headers of the event response message. */ headers?: { [propertyName: string]: string }; /** - * @member {string} [reasonPhrase] The reason phrase of the event response - * message. + * The reason phrase of the event response message. */ reasonPhrase?: string; /** - * @member {string} [statusCode] The status code of the event response - * message. + * The status code of the event response message. */ statusCode?: string; /** - * @member {string} [version] The HTTP message version. + * The HTTP message version. */ version?: string; } /** - * @interface - * An interface representing Event. * The event for a webhook. - * - * @extends EventInfo */ export interface Event extends EventInfo { /** - * @member {EventRequestMessage} [eventRequestMessage] The event request - * message sent to the service URI. + * The event request message sent to the service URI. */ eventRequestMessage?: EventRequestMessage; /** - * @member {EventResponseMessage} [eventResponseMessage] The event response - * message received from the service URI. + * The event response message received from the service URI. */ eventResponseMessage?: EventResponseMessage; } @@ -1037,380 +841,311 @@ export interface Event extends EventInfo { export type RunRequestUnion = RunRequest | DockerBuildRequest | FileTaskRunRequest | TaskRunRequest | EncodedTaskRunRequest; /** - * @interface - * An interface representing RunRequest. * The request parameters for scheduling a run. - * */ export interface RunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "RunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; } /** - * @interface - * An interface representing ImageDescriptor. * Properties for a registry image. - * */ export interface ImageDescriptor { /** - * @member {string} [registry] The registry login server. + * The registry login server. */ registry?: string; /** - * @member {string} [repository] The repository name. + * The repository name. */ repository?: string; /** - * @member {string} [tag] The tag name. + * The tag name. */ tag?: string; /** - * @member {string} [digest] The sha256-based digest of the image manifest. + * The sha256-based digest of the image manifest. */ digest?: string; } /** - * @interface - * An interface representing ImageUpdateTrigger. * The image update trigger that caused a build. - * */ export interface ImageUpdateTrigger { /** - * @member {string} [id] The unique ID of the trigger. + * The unique ID of the trigger. */ id?: string; /** - * @member {Date} [timestamp] The timestamp when the image update happened. + * The timestamp when the image update happened. */ timestamp?: Date; /** - * @member {ImageDescriptor[]} [images] The list of image updates that caused - * the build. + * The list of image updates that caused the build. */ images?: ImageDescriptor[]; } /** - * @interface - * An interface representing SourceTriggerDescriptor. * The source trigger that caused a run. - * */ export interface SourceTriggerDescriptor { /** - * @member {string} [id] The unique ID of the trigger. + * The unique ID of the trigger. */ id?: string; /** - * @member {string} [eventType] The event type of the trigger. + * The event type of the trigger. */ eventType?: string; /** - * @member {string} [commitId] The unique ID that identifies a commit. + * The unique ID that identifies a commit. */ commitId?: string; /** - * @member {string} [pullRequestId] The unique ID that identifies pull - * request. + * The unique ID that identifies pull request. */ pullRequestId?: string; /** - * @member {string} [repositoryUrl] The repository URL. + * The repository URL. */ repositoryUrl?: string; /** - * @member {string} [branchName] The branch name in the repository. + * The branch name in the repository. */ branchName?: string; /** - * @member {string} [providerType] The source control provider type. + * The source control provider type. */ providerType?: string; } /** - * @interface - * An interface representing PlatformProperties. * The platform properties against which the run has to happen. - * */ export interface PlatformProperties { /** - * @member {OS} os The operating system type required for the run. Possible - * values include: 'Windows', 'Linux' + * The operating system type required for the run. Possible values include: 'Windows', 'Linux' */ os: OS; /** - * @member {Architecture} [architecture] The OS architecture. Possible values - * include: 'amd64', 'x86', 'arm' + * The OS architecture. Possible values include: 'amd64', 'x86', 'arm' */ architecture?: Architecture; /** - * @member {Variant} [variant] Variant of the CPU. Possible values include: - * 'v6', 'v7', 'v8' + * Variant of the CPU. Possible values include: 'v6', 'v7', 'v8' */ variant?: Variant; } /** - * @interface - * An interface representing AgentProperties. * The properties that determine the run agent configuration. - * */ export interface AgentProperties { /** - * @member {number} [cpu] The CPU configuration in terms of number of cores - * required for the run. + * The CPU configuration in terms of number of cores required for the run. */ cpu?: number; } /** - * @interface - * An interface representing ProxyResource. - * The resource model definition for a ARM proxy resource. It will have - * everything other than required location and tags. - * - * @extends BaseResource + * The resource model definition for a ARM proxy resource. It will have everything other than + * required location and tags. */ export interface ProxyResource extends BaseResource { /** - * @member {string} [id] The resource ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * @interface - * An interface representing Run. * Run resource properties - * - * @extends ProxyResource */ export interface Run extends ProxyResource { /** - * @member {string} [runId] The unique identifier for the run. + * The unique identifier for the run. */ runId?: string; /** - * @member {RunStatus} [status] The current status of the run. Possible - * values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', - * 'Canceled', 'Error', 'Timeout' + * The current status of the run. Possible values include: 'Queued', 'Started', 'Running', + * 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout' */ status?: RunStatus; /** - * @member {Date} [lastUpdatedTime] The last updated time for the run. + * The last updated time for the run. */ lastUpdatedTime?: Date; /** - * @member {RunType} [runType] The type of run. Possible values include: - * 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' + * The type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' */ runType?: RunType; /** - * @member {Date} [createTime] The time the run was scheduled. + * The time the run was scheduled. */ createTime?: Date; /** - * @member {Date} [startTime] The time the run started. + * The time the run started. */ startTime?: Date; /** - * @member {Date} [finishTime] The time the run finished. + * The time the run finished. */ finishTime?: Date; /** - * @member {ImageDescriptor[]} [outputImages] The list of all images that - * were generated from the run. This is applicable if the run generates base - * image dependencies. + * The list of all images that were generated from the run. This is applicable if the run + * generates base image dependencies. */ outputImages?: ImageDescriptor[]; /** - * @member {string} [task] The task against which run was scheduled. + * The task against which run was scheduled. */ task?: string; /** - * @member {ImageUpdateTrigger} [imageUpdateTrigger] The image update trigger - * that caused the run. This is applicable if the task has base image trigger - * configured. + * The image update trigger that caused the run. This is applicable if the task has base image + * trigger configured. */ imageUpdateTrigger?: ImageUpdateTrigger; /** - * @member {SourceTriggerDescriptor} [sourceTrigger] The source trigger that - * caused the run. + * The source trigger that caused the run. */ sourceTrigger?: SourceTriggerDescriptor; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled or not. Default value: false . + * The value that indicates whether archiving is enabled or not. Default value: false. */ isArchiveEnabled?: boolean; /** - * @member {PlatformProperties} [platform] The platform properties against - * which the run will happen. + * The platform properties against which the run will happen. */ platform?: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * a run. Possible values include: 'Creating', 'Updating', 'Deleting', + * The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', * 'Succeeded', 'Failed', 'Canceled' */ provisioningState?: ProvisioningState; } /** - * @interface - * An interface representing SourceUploadDefinition. * The properties of a response to source upload request. - * */ export interface SourceUploadDefinition { /** - * @member {string} [uploadUrl] The URL where the client can upload the - * source. + * The URL where the client can upload the source. */ uploadUrl?: string; /** - * @member {string} [relativePath] The relative path to the source. This is - * used to submit the subsequent queue build request. + * The relative path to the source. This is used to submit the subsequent queue build request. */ relativePath?: string; } /** - * @interface - * An interface representing RunFilter. * Properties that are enabled for Odata querying on runs. - * */ export interface RunFilter { /** - * @member {string} [runId] The unique identifier for the run. + * The unique identifier for the run. */ runId?: string; /** - * @member {RunType} [runType] The type of run. Possible values include: - * 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' + * The type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' */ runType?: RunType; /** - * @member {RunStatus} [status] The current status of the run. Possible - * values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', - * 'Canceled', 'Error', 'Timeout' + * The current status of the run. Possible values include: 'Queued', 'Started', 'Running', + * 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout' */ status?: RunStatus; /** - * @member {Date} [createTime] The create time for a run. + * The create time for a run. */ createTime?: Date; /** - * @member {Date} [finishTime] The time the run finished. + * The time the run finished. */ finishTime?: Date; /** - * @member {string} [outputImageManifests] The list of comma-separated image - * manifests that were generated from the run. This is applicable if the run - * is of + * The list of comma-separated image manifests that were generated from the run. This is + * applicable if the run is of * build type. */ outputImageManifests?: string; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled or not. + * The value that indicates whether archiving is enabled or not. */ isArchiveEnabled?: boolean; /** - * @member {string} [taskName] The name of the task that the run corresponds - * to. + * The name of the task that the run corresponds to. */ taskName?: string; } /** - * @interface - * An interface representing RunUpdateParameters. * The set of run properties that can be updated. - * */ export interface RunUpdateParameters { /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled or not. + * The value that indicates whether archiving is enabled or not. */ isArchiveEnabled?: boolean; } /** - * @interface - * An interface representing RunGetLogResult. * The result of get log link operation. - * */ export interface RunGetLogResult { /** - * @member {string} [logLink] The link to logs for a run on a azure container - * registry. + * The link to logs for a run on a azure container registry. */ logLink?: string; } /** - * @interface - * An interface representing BaseImageDependency. * Properties that describe a base image dependency. - * */ export interface BaseImageDependency { /** - * @member {BaseImageDependencyType} [type] The type of the base image - * dependency. Possible values include: 'BuildTime', 'RunTime' + * The type of the base image dependency. Possible values include: 'BuildTime', 'RunTime' */ type?: BaseImageDependencyType; /** - * @member {string} [registry] The registry login server. + * The registry login server. */ registry?: string; /** - * @member {string} [repository] The repository name. + * The repository name. */ repository?: string; /** - * @member {string} [tag] The tag name. + * The tag name. */ tag?: string; /** - * @member {string} [digest] The sha256-based digest of the image manifest. + * The sha256-based digest of the image manifest. */ digest?: string; } @@ -1421,239 +1156,190 @@ export interface BaseImageDependency { export type TaskStepPropertiesUnion = TaskStepProperties | DockerBuildStep | FileTaskStep | EncodedTaskStep; /** - * @interface - * An interface representing TaskStepProperties. * Base properties for any task step. - * */ export interface TaskStepProperties { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "TaskStepProperties"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; } /** - * @interface - * An interface representing AuthInfo. * The authorization properties for accessing the source code repository. - * */ export interface AuthInfo { /** - * @member {TokenType} tokenType The type of Auth token. Possible values - * include: 'PAT', 'OAuth' + * The type of Auth token. Possible values include: 'PAT', 'OAuth' */ tokenType: TokenType; /** - * @member {string} token The access token used to access the source control - * provider. + * The access token used to access the source control provider. */ token: string; /** - * @member {string} [refreshToken] The refresh token used to refresh the - * access token. + * The refresh token used to refresh the access token. */ refreshToken?: string; /** - * @member {string} [scope] The scope of the access token. + * The scope of the access token. */ scope?: string; /** - * @member {number} [expiresIn] Time in seconds that the token remains valid + * Time in seconds that the token remains valid */ expiresIn?: number; } /** - * @interface - * An interface representing SourceProperties. * The properties of the source code repository. - * */ export interface SourceProperties { /** - * @member {SourceControlType} sourceControlType The type of source control - * service. Possible values include: 'Github', 'VisualStudioTeamService' + * The type of source control service. Possible values include: 'Github', + * 'VisualStudioTeamService' */ sourceControlType: SourceControlType; /** - * @member {string} repositoryUrl The full URL to the source code repository + * The full URL to the source code repository */ repositoryUrl: string; /** - * @member {string} [branch] The branch name of the source code. + * The branch name of the source code. */ branch?: string; /** - * @member {AuthInfo} [sourceControlAuthProperties] The authorization - * properties for accessing the source code repository and to set up + * The authorization properties for accessing the source code repository and to set up * webhooks for notifications. */ sourceControlAuthProperties?: AuthInfo; } /** - * @interface - * An interface representing SourceTrigger. * The properties of a source based trigger. - * */ export interface SourceTrigger { /** - * @member {SourceProperties} sourceRepository The properties that describes - * the source(code) for the task. + * The properties that describes the source(code) for the task. */ sourceRepository: SourceProperties; /** - * @member {SourceTriggerEvent[]} sourceTriggerEvents The source event - * corresponding to the trigger. + * The source event corresponding to the trigger. */ sourceTriggerEvents: SourceTriggerEvent[]; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing BaseImageTrigger. * The trigger based on base image dependency. - * */ export interface BaseImageTrigger { /** - * @member {BaseImageTriggerType} baseImageTriggerType The type of the auto - * trigger for base image dependency updates. Possible values include: 'All', - * 'Runtime' + * The type of the auto trigger for base image dependency updates. Possible values include: + * 'All', 'Runtime' */ baseImageTriggerType: BaseImageTriggerType; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing TriggerProperties. * The properties of a trigger. - * */ export interface TriggerProperties { /** - * @member {SourceTrigger[]} [sourceTriggers] The collection of triggers - * based on source code repository. + * The collection of triggers based on source code repository. */ sourceTriggers?: SourceTrigger[]; /** - * @member {BaseImageTrigger} [baseImageTrigger] The trigger based on base - * image dependencies. + * The trigger based on base image dependencies. */ baseImageTrigger?: BaseImageTrigger; } /** - * @interface - * An interface representing Task. * The task that has the ARM resource and task properties. * The task will have all information to schedule a run against it. - * - * @extends Resource */ export interface Task extends Resource { /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the task. Possible values include: 'Creating', 'Updating', 'Deleting', - * 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the task. Possible values include: 'Creating', 'Updating', + * 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Date} [creationDate] The creation date of task. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation date of task. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationDate?: Date; /** - * @member {TaskStatus} [status] The current status of task. Possible values - * include: 'Disabled', 'Enabled' + * The current status of task. Possible values include: 'Disabled', 'Enabled' */ status?: TaskStatus; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {TaskStepPropertiesUnion} step The properties of a task step. + * The properties of a task step. */ step: TaskStepPropertiesUnion; /** - * @member {TriggerProperties} [trigger] The properties that describe all - * triggers for the task. + * The properties that describe all triggers for the task. */ trigger?: TriggerProperties; } /** - * @interface - * An interface representing PlatformUpdateParameters. * The properties for updating the platform configuration. - * */ export interface PlatformUpdateParameters { /** - * @member {OS} [os] The operating system type required for the run. Possible - * values include: 'Windows', 'Linux' + * The operating system type required for the run. Possible values include: 'Windows', 'Linux' */ os?: OS; /** - * @member {Architecture} [architecture] The OS architecture. Possible values - * include: 'amd64', 'x86', 'arm' + * The OS architecture. Possible values include: 'amd64', 'x86', 'arm' */ architecture?: Architecture; /** - * @member {Variant} [variant] Variant of the CPU. Possible values include: - * 'v6', 'v7', 'v8' + * Variant of the CPU. Possible values include: 'v6', 'v7', 'v8' */ variant?: Variant; } @@ -1664,285 +1350,232 @@ export interface PlatformUpdateParameters { export type TaskStepUpdateParametersUnion = TaskStepUpdateParameters | DockerBuildStepUpdateParameters | FileTaskStepUpdateParameters | EncodedTaskStepUpdateParameters; /** - * @interface - * An interface representing TaskStepUpdateParameters. * Base properties for updating any task step. - * */ export interface TaskStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "TaskStepUpdateParameters"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; } /** - * @interface - * An interface representing AuthInfoUpdateParameters. * The authorization properties for accessing the source code repository. - * */ export interface AuthInfoUpdateParameters { /** - * @member {TokenType} [tokenType] The type of Auth token. Possible values - * include: 'PAT', 'OAuth' + * The type of Auth token. Possible values include: 'PAT', 'OAuth' */ tokenType?: TokenType; /** - * @member {string} [token] The access token used to access the source - * control provider. + * The access token used to access the source control provider. */ token?: string; /** - * @member {string} [refreshToken] The refresh token used to refresh the - * access token. + * The refresh token used to refresh the access token. */ refreshToken?: string; /** - * @member {string} [scope] The scope of the access token. + * The scope of the access token. */ scope?: string; /** - * @member {number} [expiresIn] Time in seconds that the token remains valid + * Time in seconds that the token remains valid */ expiresIn?: number; } /** - * @interface - * An interface representing SourceUpdateParameters. * The properties for updating the source code repository. - * */ export interface SourceUpdateParameters { /** - * @member {SourceControlType} [sourceControlType] The type of source control - * service. Possible values include: 'Github', 'VisualStudioTeamService' + * The type of source control service. Possible values include: 'Github', + * 'VisualStudioTeamService' */ sourceControlType?: SourceControlType; /** - * @member {string} [repositoryUrl] The full URL to the source code - * repository + * The full URL to the source code repository */ repositoryUrl?: string; /** - * @member {string} [branch] The branch name of the source code. + * The branch name of the source code. */ branch?: string; /** - * @member {AuthInfoUpdateParameters} [sourceControlAuthProperties] The - * authorization properties for accessing the source code repository and to - * set up + * The authorization properties for accessing the source code repository and to set up * webhooks for notifications. */ sourceControlAuthProperties?: AuthInfoUpdateParameters; } /** - * @interface - * An interface representing SourceTriggerUpdateParameters. * The properties for updating a source based trigger. - * */ export interface SourceTriggerUpdateParameters { /** - * @member {SourceUpdateParameters} [sourceRepository] The properties that - * describes the source(code) for the task. + * The properties that describes the source(code) for the task. */ sourceRepository?: SourceUpdateParameters; /** - * @member {SourceTriggerEvent[]} [sourceTriggerEvents] The source event - * corresponding to the trigger. + * The source event corresponding to the trigger. */ sourceTriggerEvents?: SourceTriggerEvent[]; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing BaseImageTriggerUpdateParameters. * The properties for updating base image dependency trigger. - * */ export interface BaseImageTriggerUpdateParameters { /** - * @member {BaseImageTriggerType} [baseImageTriggerType] The type of the auto - * trigger for base image dependency updates. Possible values include: 'All', - * 'Runtime' + * The type of the auto trigger for base image dependency updates. Possible values include: + * 'All', 'Runtime' */ baseImageTriggerType?: BaseImageTriggerType; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing TriggerUpdateParameters. * The properties for updating triggers. - * */ export interface TriggerUpdateParameters { /** - * @member {SourceTriggerUpdateParameters[]} [sourceTriggers] The collection - * of triggers based on source code repository. + * The collection of triggers based on source code repository. */ sourceTriggers?: SourceTriggerUpdateParameters[]; /** - * @member {BaseImageTriggerUpdateParameters} [baseImageTrigger] The trigger - * based on base image dependencies. + * The trigger based on base image dependencies. */ baseImageTrigger?: BaseImageTriggerUpdateParameters; } /** - * @interface - * An interface representing TaskUpdateParameters. * The parameters for updating a task. - * */ export interface TaskUpdateParameters { /** - * @member {TaskStatus} [status] The current status of task. Possible values - * include: 'Disabled', 'Enabled' + * The current status of task. Possible values include: 'Disabled', 'Enabled' */ status?: TaskStatus; /** - * @member {PlatformUpdateParameters} [platform] The platform properties - * against which the run has to happen. + * The platform properties against which the run has to happen. */ platform?: PlatformUpdateParameters; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {number} [timeout] Run timeout in seconds. + * Run timeout in seconds. */ timeout?: number; /** - * @member {TaskStepUpdateParametersUnion} [step] The properties for updating - * a task step. + * The properties for updating a task step. */ step?: TaskStepUpdateParametersUnion; /** - * @member {TriggerUpdateParameters} [trigger] The properties for updating - * trigger properties. + * The properties for updating trigger properties. */ trigger?: TriggerUpdateParameters; /** - * @member {{ [propertyName: string]: string }} [tags] The ARM resource tags. + * The ARM resource tags. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Argument. * The properties of a run argument. - * */ export interface Argument { /** - * @member {string} name The name of the argument. + * The name of the argument. */ name: string; /** - * @member {string} value The value of the argument. + * The value of the argument. */ value: string; /** - * @member {boolean} [isSecret] Flag to indicate whether the argument - * represents a secret and want to be removed from build logs. Default value: - * false . + * Flag to indicate whether the argument represents a secret and want to be removed from build + * logs. Default value: false. */ isSecret?: boolean; } /** - * @interface - * An interface representing DockerBuildRequest. * The parameters for a docker quick build. - * */ export interface DockerBuildRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "DockerBuildRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string[]} [imageNames] The fully qualified image names including - * the repository and tag. + * The fully qualified image names including the repository and tag. */ imageNames?: string[]; /** - * @member {boolean} [isPushEnabled] The value of this property indicates - * whether the image built should be pushed to the registry or not. Default - * value: true . + * The value of this property indicates whether the image built should be pushed to the registry + * or not. Default value: true. */ isPushEnabled?: boolean; /** - * @member {boolean} [noCache] The value of this property indicates whether - * the image cache is enabled or not. Default value: false . + * The value of this property indicates whether the image cache is enabled or not. Default value: + * false. */ noCache?: boolean; /** - * @member {string} dockerFilePath The Docker file path relative to the - * source location. + * The Docker file path relative to the source location. */ dockerFilePath: string; /** - * @member {Argument[]} [argumentsProperty] The collection of override - * arguments to be used when executing the run. + * The collection of override arguments to be used when executing the run. */ argumentsProperty?: Argument[]; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repository. + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git + * repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -1950,75 +1583,63 @@ export interface DockerBuildRequest { } /** - * @interface - * An interface representing SetValue. * The properties of a overridable value that can be passed to a task template. - * */ export interface SetValue { /** - * @member {string} name The name of the overridable value. + * The name of the overridable value. */ name: string; /** - * @member {string} value The overridable value. + * The overridable value. */ value: string; /** - * @member {boolean} [isSecret] Flag to indicate whether the value represents - * a secret or not. Default value: false . + * Flag to indicate whether the value represents a secret or not. Default value: false. */ isSecret?: boolean; } /** - * @interface - * An interface representing FileTaskRunRequest. * The request parameters for a scheduling run against a task file. - * */ export interface FileTaskRunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "FileTaskRunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string} taskFilePath The template/definition file path relative - * to the source. + * The template/definition file path relative to the source. */ taskFilePath: string; /** - * @member {string} [valuesFilePath] The values/parameters file path relative - * to the source. + * The values/parameters file path relative to the source. */ valuesFilePath?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repository. + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git + * repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -2026,81 +1647,68 @@ export interface FileTaskRunRequest { } /** - * @interface - * An interface representing TaskRunRequest. * The parameters for a task run request. - * */ export interface TaskRunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "TaskRunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string} taskName The name of task against which run has to be - * queued. + * The name of task against which run has to be queued. */ taskName: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing EncodedTaskRunRequest. * The parameters for a quick task run request. - * */ export interface EncodedTaskRunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "EncodedTaskRunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string} encodedTaskContent Base64 encoded value of the - * template/definition file content. + * Base64 encoded value of the template/definition file content. */ encodedTaskContent: string; /** - * @member {string} [encodedValuesContent] Base64 encoded value of the - * parameters/values file content. + * Base64 encoded value of the parameters/values file content. */ encodedValuesContent?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repository. + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git + * repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -2108,410 +1716,327 @@ export interface EncodedTaskRunRequest { } /** - * @interface - * An interface representing DockerBuildStep. * The Docker build step. - * */ export interface DockerBuildStep { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "Docker"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string[]} [imageNames] The fully qualified image names including - * the repository and tag. + * The fully qualified image names including the repository and tag. */ imageNames?: string[]; /** - * @member {boolean} [isPushEnabled] The value of this property indicates - * whether the image built should be pushed to the registry or not. Default - * value: true . + * The value of this property indicates whether the image built should be pushed to the registry + * or not. Default value: true. */ isPushEnabled?: boolean; /** - * @member {boolean} [noCache] The value of this property indicates whether - * the image cache is enabled or not. Default value: false . + * The value of this property indicates whether the image cache is enabled or not. Default value: + * false. */ noCache?: boolean; /** - * @member {string} dockerFilePath The Docker file path relative to the - * source context. + * The Docker file path relative to the source context. */ dockerFilePath: string; /** - * @member {Argument[]} [argumentsProperty] The collection of override - * arguments to be used when executing this build step. + * The collection of override arguments to be used when executing this build step. */ argumentsProperty?: Argument[]; } /** - * @interface - * An interface representing FileTaskStep. * The properties of a task step. - * */ export interface FileTaskStep { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "FileTask"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} taskFilePath The task template/definition file path - * relative to the source context. + * The task template/definition file path relative to the source context. */ taskFilePath: string; /** - * @member {string} [valuesFilePath] The task values/parameters file path - * relative to the source context. + * The task values/parameters file path relative to the source context. */ valuesFilePath?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing EncodedTaskStep. * The properties of a encoded task step. - * */ export interface EncodedTaskStep { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "EncodedTask"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} encodedTaskContent Base64 encoded value of the - * template/definition file content. + * Base64 encoded value of the template/definition file content. */ encodedTaskContent: string; /** - * @member {string} [encodedValuesContent] Base64 encoded value of the - * parameters/values file content. + * Base64 encoded value of the parameters/values file content. */ encodedValuesContent?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing DockerBuildStepUpdateParameters. * The properties for updating a docker build step. - * */ export interface DockerBuildStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "Docker"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string[]} [imageNames] The fully qualified image names including - * the repository and tag. + * The fully qualified image names including the repository and tag. */ imageNames?: string[]; /** - * @member {boolean} [isPushEnabled] The value of this property indicates - * whether the image built should be pushed to the registry or not. + * The value of this property indicates whether the image built should be pushed to the registry + * or not. */ isPushEnabled?: boolean; /** - * @member {boolean} [noCache] The value of this property indicates whether - * the image cache is enabled or not. + * The value of this property indicates whether the image cache is enabled or not. */ noCache?: boolean; /** - * @member {string} [dockerFilePath] The Docker file path relative to the - * source context. + * The Docker file path relative to the source context. */ dockerFilePath?: string; /** - * @member {Argument[]} [argumentsProperty] The collection of override - * arguments to be used when executing this build step. + * The collection of override arguments to be used when executing this build step. */ argumentsProperty?: Argument[]; } /** - * @interface - * An interface representing FileTaskStepUpdateParameters. * The properties of updating a task step. - * */ export interface FileTaskStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "FileTask"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} [taskFilePath] The task template/definition file path - * relative to the source context. + * The task template/definition file path relative to the source context. */ taskFilePath?: string; /** - * @member {string} [valuesFilePath] The values/parameters file path relative - * to the source context. + * The values/parameters file path relative to the source context. */ valuesFilePath?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing EncodedTaskStepUpdateParameters. * The properties for updating encoded task step. - * */ export interface EncodedTaskStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "EncodedTask"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} [encodedTaskContent] Base64 encoded value of the - * template/definition file content. + * Base64 encoded value of the template/definition file content. */ encodedTaskContent?: string; /** - * @member {string} [encodedValuesContent] Base64 encoded value of the - * parameters/values file content. + * Base64 encoded value of the parameters/values file content. */ encodedValuesContent?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing RunsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface RunsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] 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. + * 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; /** - * @member {number} [top] $top is supported for get list of runs, which - * limits the maximum number of runs to return. + * $top is supported for get list of runs, which limits the maximum number of runs to return. */ top?: number; } /** - * @interface * An interface representing ContainerRegistryManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface ContainerRegistryManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the RegistryListResult. * The result of a request to list container registries. - * * @extends Array */ export interface RegistryListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of container registries. + * The URI that can be used to request the next list of container registries. */ nextLink?: string; } /** * @interface - * An interface representing the OperationListResult. * The result of a request to list container registry operations. - * * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of container registry operations. + * The URI that can be used to request the next list of container registry operations. */ nextLink?: string; } /** * @interface - * An interface representing the ReplicationListResult. * The result of a request to list replications for a container registry. - * * @extends Array */ export interface ReplicationListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of replications. + * The URI that can be used to request the next list of replications. */ nextLink?: string; } /** * @interface - * An interface representing the WebhookListResult. * The result of a request to list webhooks for a container registry. - * * @extends Array */ export interface WebhookListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of webhooks. + * The URI that can be used to request the next list of webhooks. */ nextLink?: string; } /** * @interface - * An interface representing the EventListResult. * The result of a request to list events for a webhook. - * * @extends Array */ export interface EventListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of events. + * The URI that can be used to request the next list of events. */ nextLink?: string; } /** * @interface - * An interface representing the RunListResult. * Collection of runs. - * * @extends Array */ export interface RunListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * set of paged results. + * The URI that can be used to request the next set of paged results. */ nextLink?: string; } /** * @interface - * An interface representing the TaskListResult. * The collection of tasks. - * * @extends Array */ export interface TaskListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * set of paged results. + * The URI that can be used to request the next set of paged results. */ nextLink?: string; } @@ -2721,6 +2246,7 @@ export type RegistriesCheckNameAvailabilityResponse = RegistryNameStatus & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2740,6 +2266,7 @@ export type RegistriesGetResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2759,6 +2286,7 @@ export type RegistriesCreateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2778,6 +2306,7 @@ export type RegistriesUpdateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2797,6 +2326,7 @@ export type RegistriesListByResourceGroupResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2816,6 +2346,7 @@ export type RegistriesListResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2835,6 +2366,7 @@ export type RegistriesListCredentialsResponse = RegistryListCredentialsResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2854,6 +2386,7 @@ export type RegistriesRegenerateCredentialResponse = RegistryListCredentialsResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2873,6 +2406,7 @@ export type RegistriesListUsagesResponse = RegistryUsageListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2892,6 +2426,7 @@ export type RegistriesListPoliciesResponse = RegistryPolicies & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2911,6 +2446,7 @@ export type RegistriesUpdatePoliciesResponse = RegistryPolicies & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2930,6 +2466,7 @@ export type RegistriesScheduleRunResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2949,6 +2486,7 @@ export type RegistriesGetBuildSourceUploadUrlResponse = SourceUploadDefinition & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2968,6 +2506,7 @@ export type RegistriesBeginCreateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2987,6 +2526,7 @@ export type RegistriesBeginUpdateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3006,6 +2546,7 @@ export type RegistriesBeginUpdatePoliciesResponse = RegistryPolicies & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3025,6 +2566,7 @@ export type RegistriesBeginScheduleRunResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3044,6 +2586,7 @@ export type RegistriesListByResourceGroupNextResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3063,6 +2606,7 @@ export type RegistriesListNextResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3082,6 +2626,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3101,6 +2646,7 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3120,6 +2666,7 @@ export type ReplicationsGetResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3139,6 +2686,7 @@ export type ReplicationsCreateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3158,6 +2706,7 @@ export type ReplicationsUpdateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3177,6 +2726,7 @@ export type ReplicationsListResponse = ReplicationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3196,6 +2746,7 @@ export type ReplicationsBeginCreateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3215,6 +2766,7 @@ export type ReplicationsBeginUpdateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3234,6 +2786,7 @@ export type ReplicationsListNextResponse = ReplicationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3253,6 +2806,7 @@ export type WebhooksGetResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3272,6 +2826,7 @@ export type WebhooksCreateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3291,6 +2846,7 @@ export type WebhooksUpdateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3310,6 +2866,7 @@ export type WebhooksListResponse = WebhookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3329,6 +2886,7 @@ export type WebhooksPingResponse = EventInfo & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3348,6 +2906,7 @@ export type WebhooksGetCallbackConfigResponse = CallbackConfig & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3367,6 +2926,7 @@ export type WebhooksListEventsResponse = EventListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3386,6 +2946,7 @@ export type WebhooksBeginCreateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3405,6 +2966,7 @@ export type WebhooksBeginUpdateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3424,6 +2986,7 @@ export type WebhooksListNextResponse = WebhookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3443,6 +3006,7 @@ export type WebhooksListEventsNextResponse = EventListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3462,6 +3026,7 @@ export type RunsListResponse = RunListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3481,6 +3046,7 @@ export type RunsGetResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3500,6 +3066,7 @@ export type RunsUpdateResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3519,6 +3086,7 @@ export type RunsGetLogSasUrlResponse = RunGetLogResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3538,6 +3106,7 @@ export type RunsBeginUpdateResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3557,6 +3126,7 @@ export type RunsListNextResponse = RunListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3576,6 +3146,7 @@ export type TasksListResponse = TaskListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3595,6 +3166,7 @@ export type TasksGetResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3614,6 +3186,7 @@ export type TasksCreateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3633,6 +3206,7 @@ export type TasksUpdateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3652,6 +3226,7 @@ export type TasksGetDetailsResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3671,6 +3246,7 @@ export type TasksBeginCreateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3690,6 +3266,7 @@ export type TasksBeginUpdateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3709,6 +3286,7 @@ export type TasksListNextResponse = TaskListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/packages/@azure/arm-containerregistry/lib/models/mappers.ts b/packages/@azure/arm-containerregistry/lib/models/mappers.ts index add3fab8adff..7404bddc04b3 100644 --- a/packages/@azure/arm-containerregistry/lib/models/mappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/mappers.ts @@ -1,15 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CloudErrorMapper, BaseResourceMapper } from "ms-rest-azure-js"; -import * as msRest from "ms-rest-js"; +import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; @@ -395,7 +393,14 @@ export const VirtualNetworkRule: msRest.CompositeMapper = { name: "Composite", className: "VirtualNetworkRule", modelProperties: { - id: { + action: { + serializedName: "action", + defaultValue: 'Allow', + type: { + name: "String" + } + }, + virtualNetworkResourceId: { required: true, serializedName: "id", type: { @@ -406,6 +411,30 @@ export const VirtualNetworkRule: msRest.CompositeMapper = { } }; +export const IPRule: msRest.CompositeMapper = { + serializedName: "IPRule", + type: { + name: "Composite", + className: "IPRule", + modelProperties: { + action: { + serializedName: "action", + defaultValue: 'Allow', + type: { + name: "String" + } + }, + iPAddressOrRange: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + export const NetworkRuleSet: msRest.CompositeMapper = { serializedName: "NetworkRuleSet", type: { @@ -431,6 +460,18 @@ export const NetworkRuleSet: msRest.CompositeMapper = { } } } + }, + ipRules: { + serializedName: "ipRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPRule" + } + } + } } } } @@ -2136,11 +2177,6 @@ export const Task: msRest.CompositeMapper = { serializedName: "properties.step", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "TaskStepProperties", className: "TaskStepProperties" } }, @@ -2427,11 +2463,6 @@ export const TaskUpdateParameters: msRest.CompositeMapper = { serializedName: "properties.step", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "TaskStepUpdateParameters", className: "TaskStepUpdateParameters" } }, @@ -3251,4 +3282,5 @@ export const discriminators = { 'TaskStepUpdateParameters.Docker' : DockerBuildStepUpdateParameters, 'TaskStepUpdateParameters.FileTask' : FileTaskStepUpdateParameters, 'TaskStepUpdateParameters.EncodedTask' : EncodedTaskStepUpdateParameters + }; diff --git a/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts index 9d87431dc184..3c46c8651118 100644 --- a/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts @@ -1,20 +1,17 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - OperationListResult, + CloudError, OperationDefinition, OperationDisplayDefinition, - OperationServiceSpecificationDefinition, + OperationListResult, OperationMetricSpecificationDefinition, - CloudError + OperationServiceSpecificationDefinition } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/parameters.ts b/packages/@azure/arm-containerregistry/lib/models/parameters.ts index 69943378d643..2d55d32691dc 100644 --- a/packages/@azure/arm-containerregistry/lib/models/parameters.ts +++ b/packages/@azure/arm-containerregistry/lib/models/parameters.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; export const acceptLanguage: msRest.OperationParameter = { parameterPath: "acceptLanguage", diff --git a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts index cb61acf3390a..2ecd75f1e564 100644 --- a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts @@ -1,67 +1,64 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, + AgentProperties, + Argument, + AuthInfo, + BaseImageDependency, + BaseImageTrigger, + BaseResource, + CloudError, + DockerBuildRequest, + DockerBuildStep, + EncodedTaskRunRequest, + EncodedTaskStep, + FileTaskRunRequest, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, ImportImageParameters, ImportSource, ImportSourceCredentials, - CloudError, - RegistryNameCheckRequest, - RegistryNameStatus, - Registry, - Resource, - BaseResource, - Sku, - Status, - StorageAccountProperties, - NetworkRuleSet, - VirtualNetworkRule, IPRule, - RegistryUpdateParameters, - RegistryListResult, + NetworkRuleSet, + PlatformProperties, + ProxyResource, + QuarantinePolicy, + RegenerateCredentialParameters, + Registry, RegistryListCredentialsResult, + RegistryListResult, + RegistryNameCheckRequest, + RegistryNameStatus, RegistryPassword, - RegenerateCredentialParameters, - RegistryUsageListResult, - RegistryUsage, RegistryPolicies, - QuarantinePolicy, - TrustPolicy, - RunRequest, + RegistryUpdateParameters, + RegistryUsage, + RegistryUsageListResult, + Replication, + Resource, Run, - ProxyResource, - ImageDescriptor, - ImageUpdateTrigger, + RunRequest, + SetValue, + Sku, + SourceProperties, + SourceTrigger, SourceTriggerDescriptor, - PlatformProperties, - AgentProperties, SourceUploadDefinition, - Replication, - Webhook, + Status, + StorageAccountProperties, Task, + TaskRunRequest, TaskStepProperties, - BaseImageDependency, TriggerProperties, - SourceTrigger, - SourceProperties, - AuthInfo, - BaseImageTrigger, - DockerBuildRequest, - Argument, - FileTaskRunRequest, - SetValue, - TaskRunRequest, - EncodedTaskRunRequest, - DockerBuildStep, - FileTaskStep, - EncodedTaskStep + TrustPolicy, + VirtualNetworkRule, + Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts index 0faccd72342d..ed94c7a7e19d 100644 --- a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts @@ -1,48 +1,45 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - Replication, - Resource, + AgentProperties, + Argument, + AuthInfo, + BaseImageDependency, + BaseImageTrigger, BaseResource, - Status, CloudError, - ReplicationUpdateParameters, - ReplicationListResult, + DockerBuildStep, + EncodedTaskStep, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, + ProxyResource, Registry, + Replication, + ReplicationListResult, + ReplicationUpdateParameters, + Resource, + Run, + SetValue, Sku, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, + Status, StorageAccountProperties, - NetworkRuleSet, - VirtualNetworkRule, - IPRule, - Webhook, Task, - PlatformProperties, - AgentProperties, TaskStepProperties, - BaseImageDependency, TriggerProperties, - SourceTrigger, - SourceProperties, - AuthInfo, - BaseImageTrigger, - ProxyResource, - DockerBuildStep, - Argument, - FileTaskStep, - SetValue, - EncodedTaskStep, - Run, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor + VirtualNetworkRule, + Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts index 98e6ee8712e6..9526aad8f297 100644 --- a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts @@ -1,49 +1,46 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RunListResult, - Run, - ProxyResource, - BaseResource, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor, - PlatformProperties, AgentProperties, - CloudError, - RunUpdateParameters, - RunGetLogResult, - Resource, - Task, - TaskStepProperties, - BaseImageDependency, - TriggerProperties, - SourceTrigger, - SourceProperties, + Argument, AuthInfo, + BaseImageDependency, BaseImageTrigger, + BaseResource, + CloudError, DockerBuildStep, - Argument, - FileTaskStep, - SetValue, EncodedTaskStep, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, + ProxyResource, Registry, + Replication, + Resource, + Run, + RunGetLogResult, + RunListResult, + RunUpdateParameters, + SetValue, Sku, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, Status, StorageAccountProperties, - NetworkRuleSet, + Task, + TaskStepProperties, + TriggerProperties, VirtualNetworkRule, - IPRule, - Replication, Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts index 6220d24eb9ba..857144fe811c 100644 --- a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts @@ -1,58 +1,55 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - TaskListResult, - Task, - Resource, - BaseResource, - PlatformProperties, AgentProperties, - TaskStepProperties, - BaseImageDependency, - TriggerProperties, - SourceTrigger, - SourceProperties, + Argument, AuthInfo, + AuthInfoUpdateParameters, + BaseImageDependency, BaseImageTrigger, + BaseImageTriggerUpdateParameters, + BaseResource, CloudError, - TaskUpdateParameters, + DockerBuildStep, + DockerBuildStepUpdateParameters, + EncodedTaskStep, + EncodedTaskStepUpdateParameters, + FileTaskStep, + FileTaskStepUpdateParameters, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, PlatformUpdateParameters, - TaskStepUpdateParameters, - TriggerUpdateParameters, - SourceTriggerUpdateParameters, - SourceUpdateParameters, - AuthInfoUpdateParameters, - BaseImageTriggerUpdateParameters, + ProxyResource, Registry, + Replication, + Resource, + Run, + SetValue, Sku, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, + SourceTriggerUpdateParameters, + SourceUpdateParameters, Status, StorageAccountProperties, - NetworkRuleSet, + Task, + TaskListResult, + TaskStepProperties, + TaskStepUpdateParameters, + TaskUpdateParameters, + TriggerProperties, + TriggerUpdateParameters, VirtualNetworkRule, - IPRule, - Replication, - Webhook, - ProxyResource, - DockerBuildStep, - Argument, - FileTaskStep, - SetValue, - EncodedTaskStep, - DockerBuildStepUpdateParameters, - FileTaskStepUpdateParameters, - EncodedTaskStepUpdateParameters, - Run, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor + Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts index 499ee7df388a..73632104e62a 100644 --- a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts @@ -1,60 +1,57 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - Webhook, - Resource, + Actor, + AgentProperties, + Argument, + AuthInfo, + BaseImageDependency, + BaseImageTrigger, BaseResource, + CallbackConfig, CloudError, - WebhookCreateParameters, - WebhookUpdateParameters, - WebhookListResult, + DockerBuildStep, + EncodedTaskStep, + Event, + EventContent, EventInfo, - CallbackConfig, EventListResult, - Event, EventRequestMessage, - EventContent, - Target, - Request, - Actor, - Source, EventResponseMessage, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, + ProxyResource, Registry, + Replication, + Request, + Resource, + Run, + SetValue, Sku, + Source, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, Status, StorageAccountProperties, - NetworkRuleSet, - VirtualNetworkRule, - IPRule, - Replication, + Target, Task, - PlatformProperties, - AgentProperties, TaskStepProperties, - BaseImageDependency, TriggerProperties, - SourceTrigger, - SourceProperties, - AuthInfo, - BaseImageTrigger, - ProxyResource, - DockerBuildStep, - Argument, - FileTaskStep, - SetValue, - EncodedTaskStep, - Run, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor + VirtualNetworkRule, + Webhook, + WebhookCreateParameters, + WebhookListResult, + WebhookUpdateParameters } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/operations/operations.ts b/packages/@azure/arm-containerregistry/lib/operations/operations.ts index eb03f3332355..f3336832e747 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/operations.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/operations.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; +import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/operationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/registries.ts b/packages/@azure/arm-containerregistry/lib/operations/registries.ts index 181ebda6dc96..23020287122a 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/registries.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/registries.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/registriesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/replications.ts b/packages/@azure/arm-containerregistry/lib/operations/replications.ts index 8af125651834..81ce0b1451ba 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/replications.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/replications.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/replicationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/runs.ts b/packages/@azure/arm-containerregistry/lib/operations/runs.ts index 530d0f5a6cf5..8ce3e9f5e7ed 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/runs.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/runs.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/runsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/tasks.ts b/packages/@azure/arm-containerregistry/lib/operations/tasks.ts index 6e7a627a18e9..1d473f71bbc9 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/tasks.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/tasks.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/tasksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts b/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts index 184d4e4c1677..97a6a388abf8 100644 --- a/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts +++ b/packages/@azure/arm-containerregistry/lib/operations/webhooks.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/webhooksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-containerregistry/package.json b/packages/@azure/arm-containerregistry/package.json index a560f86bd45d..1ed1aaaab915 100644 --- a/packages/@azure/arm-containerregistry/package.json +++ b/packages/@azure/arm-containerregistry/package.json @@ -2,10 +2,10 @@ "name": "@azure/arm-containerregistry", "author": "Microsoft Corporation", "description": "ContainerRegistryManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.3.0", + "version": "4.4.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.2.4", + "@azure/ms-rest-js": "^1.2.6", "tslib": "^1.9.3" }, "keywords": [ @@ -44,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "lib/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/packages/@azure/arm-containerregistry/rollup.config.js b/packages/@azure/arm-containerregistry/rollup.config.js index ab5ff7152155..75df723c2ed4 100644 --- a/packages/@azure/arm-containerregistry/rollup.config.js +++ b/packages/@azure/arm-containerregistry/rollup.config.js @@ -17,8 +17,8 @@ const config = { name: "Azure.ArmContainerregistry", sourcemap: true, globals: { - "ms-rest-js": "msRest", - "ms-rest-azure-js": "msRestAzure" + "@azure/ms-rest-js": "msRest", + "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/packages/@azure/arm-containerregistry/tsconfig.json b/packages/@azure/arm-containerregistry/tsconfig.json index f32d1664f320..51ea90961ce5 100644 --- a/packages/@azure/arm-containerregistry/tsconfig.json +++ b/packages/@azure/arm-containerregistry/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*.ts"], "exclude": ["node_modules"] } From e2619c61387d9ef6934b05bafca394347d7776b4 Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik Date: Mon, 7 Jan 2019 14:02:44 -0800 Subject: [PATCH 5/5] Bump the version to 5.0.0 --- .../lib/containerRegistryManagementClientContext.ts | 2 +- packages/@azure/arm-containerregistry/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts index 5c07d8f620c8..4a4427e60210 100644 --- a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts +++ b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-containerregistry"; -const packageVersion = "4.4.0"; +const packageVersion = "5.0.0"; export class ContainerRegistryManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-containerregistry/package.json b/packages/@azure/arm-containerregistry/package.json index 1ed1aaaab915..7f9410617dc4 100644 --- a/packages/@azure/arm-containerregistry/package.json +++ b/packages/@azure/arm-containerregistry/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-containerregistry", "author": "Microsoft Corporation", "description": "ContainerRegistryManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.4.0", + "version": "5.0.0", "dependencies": { "@azure/ms-rest-azure-js": "^1.2.4", "@azure/ms-rest-js": "^1.2.6",